SDK for PHP 3.x

Client: Aws\RTBFabric\RTBFabricClient
Service ID: rtbfabric
Version: 2023-05-15

This page describes the parameters and results for the operations of the RTBFabric (2023-05-15), and shows how to use the Aws\RTBFabric\RTBFabricClient object to call the described operations. This documentation is specific to the 2023-05-15 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

AcceptLink ( array $params = [] )
Accepts a link request between RTB applications.
CreateInboundExternalLink ( array $params = [] )
Creates an inbound external link.
CreateLink ( array $params = [] )
Creates a new link between RTB applications.
CreateOutboundExternalLink ( array $params = [] )
Creates an outbound external link.
CreateRequesterGateway ( array $params = [] )
Creates a requester gateway.
CreateResponderGateway ( array $params = [] )
Creates a responder gateway.
DeleteInboundExternalLink ( array $params = [] )
Deletes an inbound external link.
DeleteLink ( array $params = [] )
Deletes a link between RTB applications.
DeleteOutboundExternalLink ( array $params = [] )
Deletes an outbound external link.
DeleteRequesterGateway ( array $params = [] )
Deletes a requester gateway.
DeleteResponderGateway ( array $params = [] )
Deletes a responder gateway.
GetInboundExternalLink ( array $params = [] )
Retrieves information about an inbound external link.
GetLink ( array $params = [] )
Retrieves information about a link between RTB applications.
GetOutboundExternalLink ( array $params = [] )
Retrieves information about an outbound external link.
GetRequesterGateway ( array $params = [] )
Retrieves information about a requester gateway.
GetResponderGateway ( array $params = [] )
Retrieves information about a responder gateway.
ListLinks ( array $params = [] )
Lists links associated with an RTB application.
ListRequesterGateways ( array $params = [] )
Lists requester gateways.
ListResponderGateways ( array $params = [] )
Lists reponder gateways.
ListTagsForResource ( array $params = [] )
Lists tags for a resource.
RejectLink ( array $params = [] )
Rejects a link request between RTB applications.
TagResource ( array $params = [] )
Assigns one or more tags (key-value pairs) to the specified resource.
UntagResource ( array $params = [] )
Removes a tag or tags from a resource.
UpdateLink ( array $params = [] )
Updates the configuration of a link between RTB applications.
UpdateLinkModuleFlow ( array $params = [] )
Updates a link module flow.
UpdateRequesterGateway ( array $params = [] )
Updates a requester gateway.
UpdateResponderGateway ( array $params = [] )
Updates a responder gateway.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListLinks
ListRequesterGateways
ListResponderGateways

Waiters

Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:

Waiter name API Operation Delay Max Attempts
InboundExternalLinkActive GetInboundExternalLink 30 5
LinkAccepted GetLink 30 5
LinkActive GetLink 30 5
OutboundExternalLinkActive GetOutboundExternalLink 30 5
RequesterGatewayActive GetRequesterGateway 30 5
RequesterGatewayDeleted GetRequesterGateway 30 5
ResponderGatewayActive GetResponderGateway 30 5
ResponderGatewayDeleted GetResponderGateway 30 5

Operations

$result = $client->acceptLink([/* ... */]);
$promise = $client->acceptLinkAsync([/* ... */]);

Accepts a link request between RTB applications.

When a requester RTB application requests to link with a responder RTB application, the responder can use this operation to accept the link request and establish the connection.

Parameter Syntax

$result = $client->acceptLink([
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH', // REQUIRED
                'httpCode' => '<string>', // REQUIRED
                'loggingTypes' => ['<string>', ...], // REQUIRED
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
    'logSettings' => [ // REQUIRED
        'applicationLogs' => [ // REQUIRED
            'sampling' => [ // REQUIRED
                'errorLog' => <float>, // REQUIRED
                'filterLog' => <float>, // REQUIRED
            ],
        ],
    ],
]);

Parameter Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

logSettings
Required: Yes
Type: LinkLogSettings structure

Settings for the application logs.

Result Syntax

[
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH',
                'httpCode' => '<string>',
                'loggingTypes' => ['<string>', ...],
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'createdAt' => <DateTime>,
    'direction' => 'RESPONSE|REQUEST',
    'flowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'peerGatewayId' => '<string>',
    'pendingFlowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
    'updatedAt' => <DateTime>,
]

Result Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was created.

direction
Type: string

The direction of the link.

flowModules
Type: Array of ModuleConfiguration structures

The configuration of flow modules.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

peerGatewayId
Required: Yes
Type: string

The unique identifier of the peer gateway.

pendingFlowModules
Type: Array of ModuleConfiguration structures

The configuration of pending flow modules.

status
Required: Yes
Type: string

The status of the link.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was updated.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Accepts a link request from requester gateway

$result = $client->acceptLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'logSettings' => [
        'applicationLogs' => [
            'sampling' => [
                'errorLog' => 100,
                'filterLog' => 0,
            ],
        ],
    ],
]);

Result syntax:

[
    'createdAt' => ,
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'peerGatewayId' => 'rtb-gw-87654321',
    'status' => 'ACCEPTED',
    'updatedAt' => ,
]
$result = $client->createInboundExternalLink([/* ... */]);
$promise = $client->createInboundExternalLinkAsync([/* ... */]);

Creates an inbound external link.

Parameter Syntax

$result = $client->createInboundExternalLink([
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH', // REQUIRED
                'httpCode' => '<string>', // REQUIRED
                'loggingTypes' => ['<string>', ...], // REQUIRED
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'clientToken' => '<string>', // REQUIRED
    'gatewayId' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

clientToken
Required: Yes
Type: string

The unique client token.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

Result Syntax

[
    'domainName' => '<string>',
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
domainName
Required: Yes
Type: string

The domain name.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the request.

Errors

ServiceQuotaExceededException:

The request could not be completed because you exceeded a service quota.

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Create an inbound external link for a responder gateway

$result = $client->createInboundExternalLink([
    'clientToken' => 'randomClientToken',
    'gatewayId' => 'rtb-gw-12345678',
]);

Result syntax:

[
    'domainName' => 'rtb-gw-12345678.example.com',
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'status' => 'ACTIVE',
]
$result = $client->createLink([/* ... */]);
$promise = $client->createLinkAsync([/* ... */]);

Creates a new link between RTB applications.

Establishes a connection that allows RTB applications to communicate and exchange bid requests and responses.

Parameter Syntax

$result = $client->createLink([
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH', // REQUIRED
                'httpCode' => '<string>', // REQUIRED
                'loggingTypes' => ['<string>', ...], // REQUIRED
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'gatewayId' => '<string>', // REQUIRED
    'httpResponderAllowed' => true || false,
    'logSettings' => [ // REQUIRED
        'applicationLogs' => [ // REQUIRED
            'sampling' => [ // REQUIRED
                'errorLog' => <float>, // REQUIRED
                'filterLog' => <float>, // REQUIRED
            ],
        ],
    ],
    'peerGatewayId' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

httpResponderAllowed
Type: boolean

Boolean to specify if an HTTP responder is allowed.

logSettings
Required: Yes
Type: LinkLogSettings structure

Settings for the application logs.

peerGatewayId
Required: Yes
Type: string

The unique identifier of the peer gateway.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

Result Syntax

[
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH',
                'httpCode' => '<string>',
                'loggingTypes' => ['<string>', ...],
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'createdAt' => <DateTime>,
    'customerProvidedId' => '<string>',
    'direction' => 'RESPONSE|REQUEST',
    'flowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'peerGatewayId' => '<string>',
    'pendingFlowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
    'updatedAt' => <DateTime>,
]

Result Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was created.

customerProvidedId
Type: string

The customer-provided unique identifier of the link.

direction
Type: string

The direction of the link.

flowModules
Type: Array of ModuleConfiguration structures

The configuration of flow modules.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

peerGatewayId
Required: Yes
Type: string

The unique identifier of the peer gateway.

pendingFlowModules
Type: Array of ModuleConfiguration structures

The configuration of pending flow modules.

status
Required: Yes
Type: string

The status of the request.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was updated.

Errors

ServiceQuotaExceededException:

The request could not be completed because you exceeded a service quota.

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Creates a new link between RTB applications

$result = $client->createLink([
    'gatewayId' => 'rtb-gw-12345678',
    'logSettings' => [
        'applicationLogs' => [
            'sampling' => [
                'errorLog' => 100,
                'filterLog' => 0,
            ],
        ],
    ],
    'peerGatewayId' => 'rtb-gw-87654321',
]);

Result syntax:

[
    'createdAt' => ,
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'peerGatewayId' => 'rtb-gw-87654321',
    'status' => 'PENDING_REQUEST',
    'updatedAt' => ,
]
$result = $client->createOutboundExternalLink([/* ... */]);
$promise = $client->createOutboundExternalLinkAsync([/* ... */]);

Creates an outbound external link.

Parameter Syntax

$result = $client->createOutboundExternalLink([
    'clientToken' => '<string>', // REQUIRED
    'gatewayId' => '<string>', // REQUIRED
    'publicEndpoint' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Required: Yes
Type: string

The unique client token.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

publicEndpoint
Required: Yes
Type: string

The public endpoint of the link.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

Result Syntax

[
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the request.

Errors

ServiceQuotaExceededException:

The request could not be completed because you exceeded a service quota.

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Create an outbound external link for a requester gateway to connect to external public responder endpoints

$result = $client->createOutboundExternalLink([
    'clientToken' => '12345678-1234-1234-1234-123456789012',
    'gatewayId' => 'rtb-gw-12345678',
    'publicEndpoint' => 'https://external-responder.example.com',
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'status' => 'ACTIVE',
]

CreateRequesterGateway

$result = $client->createRequesterGateway([/* ... */]);
$promise = $client->createRequesterGatewayAsync([/* ... */]);

Creates a requester gateway.

Parameter Syntax

$result = $client->createRequesterGateway([
    'clientToken' => '<string>', // REQUIRED
    'description' => '<string>',
    'securityGroupIds' => ['<string>', ...], // REQUIRED
    'subnetIds' => ['<string>', ...], // REQUIRED
    'tags' => ['<string>', ...],
    'vpcId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Required: Yes
Type: string

The unique client token.

description
Type: string

An optional description for the requester gateway.

securityGroupIds
Required: Yes
Type: Array of strings

The unique identifiers of the security groups.

subnetIds
Required: Yes
Type: Array of strings

The unique identifiers of the subnets.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

vpcId
Required: Yes
Type: string

The unique identifier of the Virtual Private Cloud (VPC).

Result Syntax

[
    'domainName' => '<string>',
    'gatewayId' => '<string>',
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]

Result Details

Members
domainName
Required: Yes
Type: string

The domain name of the requester gateway.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

status
Required: Yes
Type: string

The status of the request.

Errors

ServiceQuotaExceededException:

The request could not be completed because you exceeded a service quota.

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Create a requester gateway

Create requester gateway

$result = $client->createRequesterGateway([
    'clientToken' => '12345678-1234-1234-1234-123456789012',
    'description' => 'My requester gateway',
    'securityGroupIds' => [
        'sg-12345678',
    ],
    'subnetIds' => [
        'subnet-12345678',
        'subnet-87654321',
    ],
    'vpcId' => 'vpc-12345678',
]);

Result syntax:

[
    'domainName' => 'rtb-gw-12345678.example.com',
    'gatewayId' => 'rtb-gw-12345678',
    'status' => 'ACTIVE',
]

CreateResponderGateway

$result = $client->createResponderGateway([/* ... */]);
$promise = $client->createResponderGatewayAsync([/* ... */]);

Creates a responder gateway.

Parameter Syntax

$result = $client->createResponderGateway([
    'clientToken' => '<string>', // REQUIRED
    'description' => '<string>',
    'domainName' => '<string>',
    'managedEndpointConfiguration' => [
        'autoScalingGroups' => [
            'autoScalingGroupNames' => ['<string>', ...], // REQUIRED
            'roleArn' => '<string>', // REQUIRED
        ],
        'eksEndpoints' => [
            'clusterApiServerCaCertificateChain' => '<string>', // REQUIRED
            'clusterApiServerEndpointUri' => '<string>', // REQUIRED
            'clusterName' => '<string>', // REQUIRED
            'endpointsResourceName' => '<string>', // REQUIRED
            'endpointsResourceNamespace' => '<string>', // REQUIRED
            'roleArn' => '<string>', // REQUIRED
        ],
    ],
    'port' => <integer>, // REQUIRED
    'protocol' => 'HTTP|HTTPS', // REQUIRED
    'securityGroupIds' => ['<string>', ...], // REQUIRED
    'subnetIds' => ['<string>', ...], // REQUIRED
    'tags' => ['<string>', ...],
    'trustStoreConfiguration' => [
        'certificateAuthorityCertificates' => ['<string>', ...], // REQUIRED
    ],
    'vpcId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Required: Yes
Type: string

The unique client token.

description
Type: string

An optional description for the responder gateway.

domainName
Type: string

The domain name for the responder gateway.

managedEndpointConfiguration

The configuration for the managed endpoint.

port
Required: Yes
Type: int

The networking port to use.

protocol
Required: Yes
Type: string

The networking protocol to use.

securityGroupIds
Required: Yes
Type: Array of strings

The unique identifiers of the security groups.

subnetIds
Required: Yes
Type: Array of strings

The unique identifiers of the subnets.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

trustStoreConfiguration
Type: TrustStoreConfiguration structure

The configuration of the trust store.

vpcId
Required: Yes
Type: string

The unique identifier of the Virtual Private Cloud (VPC).

Result Syntax

[
    'gatewayId' => '<string>',
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

status
Required: Yes
Type: string

The status of the request.

Errors

ServiceQuotaExceededException:

The request could not be completed because you exceeded a service quota.

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Create a responder gateway

Create responder gateway

$result = $client->createResponderGateway([
    'clientToken' => '12345678-1234-1234-1234-123456789012',
    'description' => 'My responder gateway',
    'port' => 443,
    'protocol' => 'HTTPS',
    'securityGroupIds' => [
        'sg-12345678',
    ],
    'subnetIds' => [
        'subnet-12345678',
        'subnet-87654321',
    ],
    'vpcId' => 'vpc-12345678',
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'status' => 'ACTIVE',
]
$result = $client->deleteInboundExternalLink([/* ... */]);
$promise = $client->deleteInboundExternalLinkAsync([/* ... */]);

Deletes an inbound external link.

Parameter Syntax

$result = $client->deleteInboundExternalLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Delete an inbound external link

$result = $client->deleteInboundExternalLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'linkId' => 'link-87654321',
    'status' => 'DELETED',
]
$result = $client->deleteLink([/* ... */]);
$promise = $client->deleteLinkAsync([/* ... */]);

Deletes a link between RTB applications.

Permanently removes the connection between RTB applications. This action cannot be undone.

Parameter Syntax

$result = $client->deleteLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the link.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Deletes an existing link

$result = $client->deleteLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'linkId' => 'link-87654321',
    'status' => 'PENDING_DELETION',
]
$result = $client->deleteOutboundExternalLink([/* ... */]);
$promise = $client->deleteOutboundExternalLinkAsync([/* ... */]);

Deletes an outbound external link.

Parameter Syntax

$result = $client->deleteOutboundExternalLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Delete an outbound external link

$result = $client->deleteOutboundExternalLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'linkId' => 'link-87654321',
    'status' => 'DELETED',
]

DeleteRequesterGateway

$result = $client->deleteRequesterGateway([/* ... */]);
$promise = $client->deleteRequesterGatewayAsync([/* ... */]);

Deletes a requester gateway.

Parameter Syntax

$result = $client->deleteRequesterGateway([
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

Result Syntax

[
    'gatewayId' => '<string>',
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Delete a requester gateway

Delete requester gateway

$result = $client->deleteRequesterGateway([
    'gatewayId' => 'rtb-gw-12345678',
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'status' => 'PENDING_DELETION',
]

DeleteResponderGateway

$result = $client->deleteResponderGateway([/* ... */]);
$promise = $client->deleteResponderGatewayAsync([/* ... */]);

Deletes a responder gateway.

Parameter Syntax

$result = $client->deleteResponderGateway([
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

Result Syntax

[
    'gatewayId' => '<string>',
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Delete a responder gateway

Delete responder gateway

$result = $client->deleteResponderGateway([
    'gatewayId' => 'rtb-gw-12345678',
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'status' => 'PENDING_DELETION',
]
$result = $client->getInboundExternalLink([/* ... */]);
$promise = $client->getInboundExternalLinkAsync([/* ... */]);

Retrieves information about an inbound external link.

Parameter Syntax

$result = $client->getInboundExternalLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH',
                'httpCode' => '<string>',
                'loggingTypes' => ['<string>', ...],
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'createdAt' => <DateTime>,
    'domainName' => '<string>',
    'flowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'pendingFlowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the inbound external link was created.

domainName
Required: Yes
Type: string

The domain name.

flowModules
Type: Array of ModuleConfiguration structures

The configuration of flow modules.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

pendingFlowModules
Type: Array of ModuleConfiguration structures

The configuration of pending flow modules.

status
Required: Yes
Type: string

The status of the request.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs for the tag or tags assigned to the specified resource.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the inbound external link was updated.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Get details of an inbound external link

$result = $client->getInboundExternalLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'createdAt' => ,
    'domainName' => 'rtb-gw-12345678.example.com',
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'status' => 'ACTIVE',
    'updatedAt' => ,
]
$result = $client->getLink([/* ... */]);
$promise = $client->getLinkAsync([/* ... */]);

Retrieves information about a link between RTB applications.

Returns detailed information about the link configuration, status, and associated RTB applications.

Parameter Syntax

$result = $client->getLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH',
                'httpCode' => '<string>',
                'loggingTypes' => ['<string>', ...],
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'createdAt' => <DateTime>,
    'direction' => 'RESPONSE|REQUEST',
    'flowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'logSettings' => [
        'applicationLogs' => [
            'sampling' => [
                'errorLog' => <float>,
                'filterLog' => <float>,
            ],
        ],
    ],
    'peerGatewayId' => '<string>',
    'pendingFlowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was created.

direction
Type: string

The direction of the link.

flowModules
Type: Array of ModuleConfiguration structures

The configuration of flow modules.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

logSettings
Type: LinkLogSettings structure

Settings for the application logs.

peerGatewayId
Required: Yes
Type: string

The unique identifier of the peer gateway.

pendingFlowModules
Type: Array of ModuleConfiguration structures

The configuration of pending flow modules.

status
Required: Yes
Type: string

The status of the link.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs for the tag or tags assigned to the specified resource.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was updated.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Retrieves details of a specific link

$result = $client->getLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'createdAt' => ,
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'peerGatewayId' => 'rtb-gw-87654321',
    'status' => 'ACTIVE',
    'updatedAt' => ,
]
$result = $client->getOutboundExternalLink([/* ... */]);
$promise = $client->getOutboundExternalLinkAsync([/* ... */]);

Retrieves information about an outbound external link.

Parameter Syntax

$result = $client->getOutboundExternalLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'createdAt' => <DateTime>,
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'publicEndpoint' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the outbound external link was created.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

publicEndpoint
Required: Yes
Type: string

The public endpoint for the link.

status
Required: Yes
Type: string

The status of the request.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs for the tag or tags assigned to the specified resource.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the outbound external link was updated.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Get details of a specific outbound external link

$result = $client->getOutboundExternalLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'createdAt' => ,
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'publicEndpoint' => 'https://external-responder.example.com',
    'status' => 'ACTIVE',
    'updatedAt' => ,
]

GetRequesterGateway

$result = $client->getRequesterGateway([/* ... */]);
$promise = $client->getRequesterGatewayAsync([/* ... */]);

Retrieves information about a requester gateway.

Parameter Syntax

$result = $client->getRequesterGateway([
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

Result Syntax

[
    'activeLinksCount' => <integer>,
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'domainName' => '<string>',
    'gatewayId' => '<string>',
    'securityGroupIds' => ['<string>', ...],
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
    'subnetIds' => ['<string>', ...],
    'tags' => ['<string>', ...],
    'totalLinksCount' => <integer>,
    'updatedAt' => <DateTime>,
    'vpcId' => '<string>',
]

Result Details

Members
activeLinksCount
Type: int

The count of active links for the requester gateway.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the requester gateway was created.

description
Type: string

The description of the requester gateway.

domainName
Required: Yes
Type: string

The domain name of the requester gateway.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

securityGroupIds
Required: Yes
Type: Array of strings

The unique identifiers of the security groups.

status
Required: Yes
Type: string

The status of the request.

subnetIds
Required: Yes
Type: Array of strings

The unique identifiers of the subnets.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs for the tag or tags assigned to the specified resource.

totalLinksCount
Type: int

The total count of links for the requester gateway.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the requester gateway was updated.

vpcId
Required: Yes
Type: string

The unique identifier of the Virtual Private Cloud (VPC).

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Get requester gateway details

Get requester gateway

$result = $client->getRequesterGateway([
    'gatewayId' => 'rtb-gw-12345678',
]);

Result syntax:

[
    'activeLinksCount' => 2,
    'createdAt' => ,
    'description' => 'My requester gateway',
    'domainName' => 'rtb-gw-12345678.example.com',
    'gatewayId' => 'rtb-gw-12345678',
    'securityGroupIds' => [
        'sg-12345678',
    ],
    'status' => 'ACTIVE',
    'subnetIds' => [
        'subnet-12345678',
        'subnet-87654321',
    ],
    'totalLinksCount' => 5,
    'updatedAt' => ,
    'vpcId' => 'vpc-12345678',
]

GetResponderGateway

$result = $client->getResponderGateway([/* ... */]);
$promise = $client->getResponderGatewayAsync([/* ... */]);

Retrieves information about a responder gateway.

Parameter Syntax

$result = $client->getResponderGateway([
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

Result Syntax

[
    'activeLinksCount' => <integer>,
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'domainName' => '<string>',
    'gatewayId' => '<string>',
    'inboundLinksCount' => <integer>,
    'managedEndpointConfiguration' => [
        'autoScalingGroups' => [
            'autoScalingGroupNames' => ['<string>', ...],
            'roleArn' => '<string>',
        ],
        'eksEndpoints' => [
            'clusterApiServerCaCertificateChain' => '<string>',
            'clusterApiServerEndpointUri' => '<string>',
            'clusterName' => '<string>',
            'endpointsResourceName' => '<string>',
            'endpointsResourceNamespace' => '<string>',
            'roleArn' => '<string>',
        ],
    ],
    'port' => <integer>,
    'protocol' => 'HTTP|HTTPS',
    'securityGroupIds' => ['<string>', ...],
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
    'subnetIds' => ['<string>', ...],
    'tags' => ['<string>', ...],
    'totalLinksCount' => <integer>,
    'trustStoreConfiguration' => [
        'certificateAuthorityCertificates' => ['<string>', ...],
    ],
    'updatedAt' => <DateTime>,
    'vpcId' => '<string>',
]

Result Details

Members
activeLinksCount
Type: int

The count of active links for the responder gateway.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the responder gateway was created.

description
Type: string

The description of the responder gateway.

domainName
Type: string

The domain name of the responder gateway.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

inboundLinksCount
Type: int

The count of inbound links for the responder gateway.

managedEndpointConfiguration

The configuration of the managed endpoint.

port
Required: Yes
Type: int

The networking port.

protocol
Required: Yes
Type: string

The networking protocol.

securityGroupIds
Required: Yes
Type: Array of strings

The unique identifiers of the security groups.

status
Required: Yes
Type: string

The status of the request.

subnetIds
Required: Yes
Type: Array of strings

The unique identifiers of the subnets.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs for the tag or tags assigned to the specified resource.

totalLinksCount
Type: int

The total count of links for the responder gateway.

trustStoreConfiguration
Type: TrustStoreConfiguration structure

The configuration of the trust store.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the responder gateway was updated.

vpcId
Required: Yes
Type: string

The unique identifier of the Virtual Private Cloud (VPC).

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Get responder gateway details

Get responder gateway

$result = $client->getResponderGateway([
    'gatewayId' => 'rtb-gw-12345678',
]);

Result syntax:

[
    'activeLinksCount' => 2,
    'createdAt' => ,
    'description' => 'My responder gateway',
    'gatewayId' => 'rtb-gw-12345678',
    'inboundLinksCount' => 3,
    'port' => 443,
    'protocol' => 'HTTPS',
    'securityGroupIds' => [
        'sg-12345678',
    ],
    'status' => 'ACTIVE',
    'subnetIds' => [
        'subnet-12345678',
        'subnet-87654321',
    ],
    'totalLinksCount' => 5,
    'updatedAt' => ,
    'vpcId' => 'vpc-12345678',
]
$result = $client->listLinks([/* ... */]);
$promise = $client->listLinksAsync([/* ... */]);

Lists links associated with an RTB application.

Returns a list of all links for the specified RTB application, including their status and configuration details.

Parameter Syntax

$result = $client->listLinks([
    'gatewayId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

maxResults
Type: int

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

nextToken
Type: string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Result Syntax

[
    'links' => [
        [
            'attributes' => [
                'customerProvidedId' => '<string>',
                'responderErrorMasking' => [
                    [
                        'action' => 'NO_BID|PASSTHROUGH',
                        'httpCode' => '<string>',
                        'loggingTypes' => ['<string>', ...],
                        'responseLoggingPercentage' => <float>,
                    ],
                    // ...
                ],
            ],
            'createdAt' => <DateTime>,
            'direction' => 'RESPONSE|REQUEST',
            'flowModules' => [
                [
                    'dependsOn' => ['<string>', ...],
                    'moduleParameters' => [
                        'noBid' => [
                            'passThroughPercentage' => <float>,
                            'reason' => '<string>',
                            'reasonCode' => <integer>,
                        ],
                        'openRtbAttribute' => [
                            'action' => [
                                'headerTag' => [
                                    'name' => '<string>',
                                    'value' => '<string>',
                                ],
                                'noBid' => [
                                    'noBidReasonCode' => <integer>,
                                ],
                            ],
                            'filterConfiguration' => [
                                [
                                    'criteria' => [
                                        [
                                            'path' => '<string>',
                                            'values' => ['<string>', ...],
                                        ],
                                        // ...
                                    ],
                                ],
                                // ...
                            ],
                            'filterType' => 'INCLUDE|EXCLUDE',
                            'holdbackPercentage' => <float>,
                        ],
                    ],
                    'name' => '<string>',
                    'version' => '<string>',
                ],
                // ...
            ],
            'gatewayId' => '<string>',
            'linkId' => '<string>',
            'peerGatewayId' => '<string>',
            'pendingFlowModules' => [
                [
                    'dependsOn' => ['<string>', ...],
                    'moduleParameters' => [
                        'noBid' => [
                            'passThroughPercentage' => <float>,
                            'reason' => '<string>',
                            'reasonCode' => <integer>,
                        ],
                        'openRtbAttribute' => [
                            'action' => [
                                'headerTag' => [
                                    'name' => '<string>',
                                    'value' => '<string>',
                                ],
                                'noBid' => [
                                    'noBidReasonCode' => <integer>,
                                ],
                            ],
                            'filterConfiguration' => [
                                [
                                    'criteria' => [
                                        [
                                            'path' => '<string>',
                                            'values' => ['<string>', ...],
                                        ],
                                        // ...
                                    ],
                                ],
                                // ...
                            ],
                            'filterType' => 'INCLUDE|EXCLUDE',
                            'holdbackPercentage' => <float>,
                        ],
                    ],
                    'name' => '<string>',
                    'version' => '<string>',
                ],
                // ...
            ],
            'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
            'tags' => ['<string>', ...],
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
links
Type: Array of ListLinksResponseStructure structures

Information about created links.

nextToken
Type: string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Lists all links for the specified gateway

$result = $client->listLinks([
    'gatewayId' => 'rtb-gw-12345678',
    'maxResults' => 10,
]);

Result syntax:

[
    'links' => [
        [
            'createdAt' => ,
            'gatewayId' => 'rtb-gw-12345678',
            'linkId' => 'link-87654321',
            'peerGatewayId' => 'rtb-gw-87654321',
            'status' => 'ACTIVE',
            'updatedAt' => ,
        ],
    ],
]

ListRequesterGateways

$result = $client->listRequesterGateways([/* ... */]);
$promise = $client->listRequesterGatewaysAsync([/* ... */]);

Lists requester gateways.

Parameter Syntax

$result = $client->listRequesterGateways([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

nextToken
Type: string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Result Syntax

[
    'gatewayIds' => ['<string>', ...],
    'nextToken' => '<string>',
]

Result Details

Members
gatewayIds
Type: Array of strings

The unique identifier of the gateways.

nextToken
Type: string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Errors

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: List requester gateways with default pagination

Lists requester gateways using default pagination settings

$result = $client->listRequesterGateways([
    'maxResults' => 10,
]);

Result syntax:

[
    'gatewayIds' => [
        'rtb-gw-12345',
        'rtb-gw-67890',
    ],
]
Example 2: List requester gateways with pagination token

Lists requester gateways using a pagination token to get the next page

$result = $client->listRequesterGateways([
    'maxResults' => 5,
    'nextToken' => 'eyJsYXN0RXZhbHVhdGVkS2V5Ijp7ImlkIjp7IlMiOiJydGJhcHAtcmVxLTEyMzQ1In19fQ==',
]);

Result syntax:

[
    'gatewayIds' => [
        'rtb-gw-12345',
        'rtb-gw-09876',
    ],
    'nextToken' => 'eyJsYXN0RXZhbHVhdGVkS2V5Ijp7ImlkIjp7IlMiOiJydGJhcHAtcmVxLWZnaGlqIn19fQ==',
]

ListResponderGateways

$result = $client->listResponderGateways([/* ... */]);
$promise = $client->listResponderGatewaysAsync([/* ... */]);

Lists reponder gateways.

Parameter Syntax

$result = $client->listResponderGateways([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

nextToken
Type: string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Result Syntax

[
    'gatewayIds' => ['<string>', ...],
    'nextToken' => '<string>',
]

Result Details

Members
gatewayIds
Type: Array of strings

The unique identifier of the gateways.

nextToken
Type: string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Errors

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: List responder gateways with default pagination

Lists responder gateways using default pagination settings

$result = $client->listResponderGateways([
    'maxResults' => 10,
]);

Result syntax:

[
    'gatewayIds' => [
        'rtb-gw-54321',
        'rtb-gw-09876',
    ],
]
Example 2: List responder gateways with pagination token

Lists responder gateways using a pagination token to get the next page

$result = $client->listResponderGateways([
    'maxResults' => 3,
    'nextToken' => 'eyJsYXN0RXZhbHVhdGVkS2V5Ijp7ImlkIjp7IlMiOiJydGJhcHAtcmVzcC01NDMyMSJ9fX0=',
]);

Result syntax:

[
    'gatewayIds' => [
        'rtb-gw-12345',
        'rtb-gw-09876',
    ],
    'nextToken' => 'eyJsYXN0RXZhbHVhdGVkS2V5Ijp7ImlkIjp7IlMiOiJydGJhcHAtcmVzcC1hYmMzNCJ9fX0=',
]

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists tags for a resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs for the tag or tags assigned to the specified resource.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: List tags for a resource

Lists tags for a resource

$result = $client->listTagsForResource([
    'resourceArn' => 'arn:aws:rtbfabric:us-east-1:123456789012:gateway/rtb-gw-12345678',
]);

Result syntax:

[
    'tags' => [
        'Environment' => 'Production',
        'Team' => 'RTB',
    ],
]
$result = $client->rejectLink([/* ... */]);
$promise = $client->rejectLinkAsync([/* ... */]);

Rejects a link request between RTB applications.

When a requester RTB application requests to link with a responder RTB application, the responder can use this operation to decline the link request.

Parameter Syntax

$result = $client->rejectLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

Result Syntax

[
    'attributes' => [
        'customerProvidedId' => '<string>',
        'responderErrorMasking' => [
            [
                'action' => 'NO_BID|PASSTHROUGH',
                'httpCode' => '<string>',
                'loggingTypes' => ['<string>', ...],
                'responseLoggingPercentage' => <float>,
            ],
            // ...
        ],
    ],
    'createdAt' => <DateTime>,
    'direction' => 'RESPONSE|REQUEST',
    'flowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'peerGatewayId' => '<string>',
    'pendingFlowModules' => [
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [
                        'headerTag' => [
                            'name' => '<string>',
                            'value' => '<string>',
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [
                        [
                            'criteria' => [
                                [
                                    'path' => '<string>',
                                    'values' => ['<string>', ...],
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE',
                    'holdbackPercentage' => <float>,
                ],
            ],
            'name' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
    'updatedAt' => <DateTime>,
]

Result Details

Members
attributes
Type: LinkAttributes structure

Attributes of the link.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was created.

direction
Type: string

The direction of the link.

flowModules
Type: Array of ModuleConfiguration structures

The configuration of flow modules.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

peerGatewayId
Required: Yes
Type: string

The unique identifier of the peer gateway.

pendingFlowModules
Type: Array of ModuleConfiguration structures

The configuration of pending flow modules.

status
Required: Yes
Type: string

The status of the link.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was updated.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Rejects a requested link request

$result = $client->rejectLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
]);

Result syntax:

[
    'createdAt' => ,
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'peerGatewayId' => 'rtb-gw-87654321',
    'status' => 'REJECTED',
    'updatedAt' => ,
]

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Assigns one or more tags (key-value pairs) to the specified resource.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource that you want to tag.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Add tags to a resource

Adds tags to a resource

$result = $client->tagResource([
    'resourceArn' => 'arn:aws:rtbfabric:us-east-1:123456789012:gateway/rtb-gw-12345678',
    'tags' => [
        'Environment' => 'Production',
        'Team' => 'RTB',
    ],
]);

Result syntax:

[
]

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes a tag or tags from a resource.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource that you want to untag.

tagKeys
Required: Yes
Type: Array of strings

The keys of the key-value pairs for the tag or tags you want to remove from the specified resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Remove tags from a resource

Removes tags from a resource

$result = $client->untagResource([
    'resourceArn' => 'arn:aws:rtbfabric:us-east-1:123456789012:gateway/rtb-gw-12345678',
    'tagKeys' => [
        'Environment',
        'Team',
    ],
]);

Result syntax:

[
]
$result = $client->updateLink([/* ... */]);
$promise = $client->updateLinkAsync([/* ... */]);

Updates the configuration of a link between RTB applications.

Allows you to modify settings and parameters for an existing link.

Parameter Syntax

$result = $client->updateLink([
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
    'logSettings' => [
        'applicationLogs' => [ // REQUIRED
            'sampling' => [ // REQUIRED
                'errorLog' => <float>, // REQUIRED
                'filterLog' => <float>, // REQUIRED
            ],
        ],
    ],
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

logSettings
Type: LinkLogSettings structure

Settings for the application logs.

Result Syntax

[
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Updates configuration settings for an existing link

$result = $client->updateLink([
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'logSettings' => [
        'applicationLogs' => [
            'sampling' => [
                'errorLog' => 100,
                'filterLog' => 10,
            ],
        ],
    ],
]);

Result syntax:

[
    'linkId' => 'link-87654321',
    'status' => 'ACTIVE',
]

UpdateLinkModuleFlow

$result = $client->updateLinkModuleFlow([/* ... */]);
$promise = $client->updateLinkModuleFlowAsync([/* ... */]);

Updates a link module flow.

Parameter Syntax

$result = $client->updateLinkModuleFlow([
    'clientToken' => '<string>', // REQUIRED
    'gatewayId' => '<string>', // REQUIRED
    'linkId' => '<string>', // REQUIRED
    'modules' => [ // REQUIRED
        [
            'dependsOn' => ['<string>', ...],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => <float>,
                    'reason' => '<string>',
                    'reasonCode' => <integer>,
                ],
                'openRtbAttribute' => [
                    'action' => [ // REQUIRED
                        'headerTag' => [
                            'name' => '<string>', // REQUIRED
                            'value' => '<string>', // REQUIRED
                        ],
                        'noBid' => [
                            'noBidReasonCode' => <integer>,
                        ],
                    ],
                    'filterConfiguration' => [ // REQUIRED
                        [
                            'criteria' => [ // REQUIRED
                                [
                                    'path' => '<string>', // REQUIRED
                                    'values' => ['<string>', ...], // REQUIRED
                                ],
                                // ...
                            ],
                        ],
                        // ...
                    ],
                    'filterType' => 'INCLUDE|EXCLUDE', // REQUIRED
                    'holdbackPercentage' => <float>, // REQUIRED
                ],
            ],
            'name' => '<string>', // REQUIRED
            'version' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
clientToken
Required: Yes
Type: string

The unique client token.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

modules
Required: Yes
Type: Array of ModuleConfiguration structures

The configuration of a module.

Result Syntax

[
    'gatewayId' => '<string>',
    'linkId' => '<string>',
    'status' => 'PENDING_CREATION|PENDING_REQUEST|REQUESTED|ACCEPTED|ACTIVE|REJECTED|FAILED|PENDING_DELETION|DELETED|PENDING_UPDATE|PENDING_ISOLATION|ISOLATED|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

status
Required: Yes
Type: string

The status of the request.

Errors

ServiceQuotaExceededException:

The request could not be completed because you exceeded a service quota.

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Update link module flow

Update link module flow for link

$result = $client->updateLinkModuleFlow([
    'clientToken' => 'randomClientToken',
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'modules' => [
        [
            'version' => '1dot0dot0',
            'name' => 'noBidModule',
            'dependsOn' => [
            ],
            'moduleParameters' => [
                'noBid' => [
                    'passThroughPercentage' => 50,
                    'reason' => 'test',
                    'reasonCode' => 1,
                ],
            ],
        ],
    ],
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'linkId' => 'link-87654321',
    'status' => 'ACTIVE',
]

UpdateRequesterGateway

$result = $client->updateRequesterGateway([/* ... */]);
$promise = $client->updateRequesterGatewayAsync([/* ... */]);

Updates a requester gateway.

Parameter Syntax

$result = $client->updateRequesterGateway([
    'clientToken' => '<string>', // REQUIRED
    'description' => '<string>',
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Required: Yes
Type: string

The unique client token.

description
Type: string

An optional description for the requester gateway.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

Result Syntax

[
    'gatewayId' => '<string>',
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Update requester gateway

Update requester gateway

$result = $client->updateRequesterGateway([
    'clientToken' => '12345678-1234-1234-1234-123456789012',
    'description' => 'Updated requester gateway description',
    'gatewayId' => 'rtb-gw-12345678',
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'status' => 'PENDING_UPDATE',
]

UpdateResponderGateway

$result = $client->updateResponderGateway([/* ... */]);
$promise = $client->updateResponderGatewayAsync([/* ... */]);

Updates a responder gateway.

Parameter Syntax

$result = $client->updateResponderGateway([
    'clientToken' => '<string>', // REQUIRED
    'description' => '<string>',
    'domainName' => '<string>',
    'gatewayId' => '<string>', // REQUIRED
    'managedEndpointConfiguration' => [
        'autoScalingGroups' => [
            'autoScalingGroupNames' => ['<string>', ...], // REQUIRED
            'roleArn' => '<string>', // REQUIRED
        ],
        'eksEndpoints' => [
            'clusterApiServerCaCertificateChain' => '<string>', // REQUIRED
            'clusterApiServerEndpointUri' => '<string>', // REQUIRED
            'clusterName' => '<string>', // REQUIRED
            'endpointsResourceName' => '<string>', // REQUIRED
            'endpointsResourceNamespace' => '<string>', // REQUIRED
            'roleArn' => '<string>', // REQUIRED
        ],
    ],
    'port' => <integer>, // REQUIRED
    'protocol' => 'HTTP|HTTPS', // REQUIRED
    'trustStoreConfiguration' => [
        'certificateAuthorityCertificates' => ['<string>', ...], // REQUIRED
    ],
]);

Parameter Details

Members
clientToken
Required: Yes
Type: string

The unique client token.

description
Type: string

An optional description for the responder gateway.

domainName
Type: string

The domain name for the responder gateway.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

managedEndpointConfiguration

The configuration for the managed endpoint.

port
Required: Yes
Type: int

The networking port to use.

protocol
Required: Yes
Type: string

The networking protocol to use.

trustStoreConfiguration
Type: TrustStoreConfiguration structure

The configuration of the trust store.

Result Syntax

[
    'gatewayId' => '<string>',
    'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]

Result Details

Members
gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

status
Required: Yes
Type: string

The status of the request.

Errors

ResourceNotFoundException:

The request could not be completed because the resource does not exist.

ThrottlingException:

The request was denied due to request throttling.

AccessDeniedException:

The request could not be completed because you do not have sufficient access to perform this action.

ConflictException:

The request could not be completed because of a conflict in the current state of the resource.

InternalServerException:

The request could not be completed because of an internal server error. Try your call again.

ValidationException:

The request could not be completed because it fails satisfy the constraints specified by the service.

Examples

Example 1: Update responder gateway

Update responder gateway

$result = $client->updateResponderGateway([
    'clientToken' => '12345678-1234-1234-1234-123456789012',
    'description' => 'Updated responder gateway description',
    'gatewayId' => 'rtb-gw-12345678',
    'port' => 8080,
    'protocol' => 'HTTP',
]);

Result syntax:

[
    'gatewayId' => 'rtb-gw-12345678',
    'status' => 'PENDING_UPDATE',
]

Shapes

AccessDeniedException

Description

The request could not be completed because you do not have sufficient access to perform this action.

Members
message
Required: Yes
Type: string

Action

Description

Describes a bid action.

Members
headerTag
Type: HeaderTagAction structure

Describes the header tag for a bid action.

noBid
Type: NoBidAction structure

Describes a no bid action.

AutoScalingGroupsConfiguration

Description

Describes the configuration of an auto scaling group.

Members
autoScalingGroupNames
Required: Yes
Type: Array of strings

The names of the auto scaling group.

roleArn
Required: Yes
Type: string

The role ARN of the auto scaling group.

ConflictException

Description

The request could not be completed because of a conflict in the current state of the resource.

Members
message
Required: Yes
Type: string

EksEndpointsConfiguration

Description

Describes the configuration of an Amazon Elastic Kubernetes Service endpoint.

Members
clusterApiServerCaCertificateChain
Required: Yes
Type: string

The CA certificate chain of the cluster API server.

clusterApiServerEndpointUri
Required: Yes
Type: string

The URI of the cluster API server endpoint.

clusterName
Required: Yes
Type: string

The name of the cluster.

endpointsResourceName
Required: Yes
Type: string

The name of the endpoint resource.

endpointsResourceNamespace
Required: Yes
Type: string

The namespace of the endpoint resource.

roleArn
Required: Yes
Type: string

The role ARN for the cluster.

Filter

Description

Describes the configuration of a filter.

Members
criteria
Required: Yes
Type: Array of FilterCriterion structures

Describes the criteria for a filter.

FilterCriterion

Description

Describes the criteria for a filter.

Members
path
Required: Yes
Type: string

The path to filter.

values
Required: Yes
Type: Array of strings

The value to filter.

HeaderTagAction

Description

Describes the header tag for a bid action.

Members
name
Required: Yes
Type: string

The name of the bid action.

value
Required: Yes
Type: string

The value of the bid action.

InternalServerException

Description

The request could not be completed because of an internal server error. Try your call again.

Members
message
Required: Yes
Type: string

LinkApplicationLogConfiguration

Description

Describes the configuration of a link application log.

Members
sampling
Required: Yes
Type: LinkApplicationLogSampling structure

Describes a link application log sample.

LinkApplicationLogSampling

Description

Describes a link application log sample.

Members
errorLog
Required: Yes
Type: double

An error log entry.

filterLog
Required: Yes
Type: double

A filter log entry.

LinkAttributes

Description

Describes the attributes of a link.

Members
customerProvidedId
Type: string

The customer-provided unique identifier of the link.

responderErrorMasking
Type: Array of ResponderErrorMaskingForHttpCode structures

Describes the masking for HTTP error codes.

LinkLogSettings

Description

Describes the settings for a link log.

Members
applicationLogs
Required: Yes
Type: LinkApplicationLogConfiguration structure

Describes the configuration of a link application log.

ListLinksResponseStructure

Description

Describes a link.

Members
attributes
Type: LinkAttributes structure

Describes attributes of a link.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was created.

direction
Type: string

The direction of the link.

flowModules
Type: Array of ModuleConfiguration structures

Describes the configuration of flow modules.

gatewayId
Required: Yes
Type: string

The unique identifier of the gateway.

linkId
Required: Yes
Type: string

The unique identifier of the link.

peerGatewayId
Required: Yes
Type: string

The unique identifier of the peer gateway.

pendingFlowModules
Type: Array of ModuleConfiguration structures

Describes the configuration of pending flow modules.

status
Required: Yes
Type: string

The status of the link.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A map of the key-value pairs of the tag or tags to assign to the resource.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp of when the link was updated.

ManagedEndpointConfiguration

Description

Describes the configuration of a managed endpoint.

Members
autoScalingGroups

Describes the configuration of an auto scaling group.

eksEndpoints
Type: EksEndpointsConfiguration structure

Describes the configuration of an Amazon Elastic Kubernetes Service endpoint.

ModuleConfiguration

Description

Describes the configuration of a module.

Members
dependsOn
Type: Array of strings

The dependencies of the module.

moduleParameters
Type: ModuleParameters structure

Describes the parameters of a module.

name
Required: Yes
Type: string

The name of the module.

version
Type: string

The version of the module.

ModuleParameters

Description

Describes the parameters of a module.

Members
noBid
Type: NoBidModuleParameters structure

Describes the parameters of a no bid module.

openRtbAttribute

Describes the parameters of an open RTB attribute module.

NoBidAction

Description

Describes a no bid action.

Members
noBidReasonCode
Type: int

The reason code for the no bid action.

NoBidModuleParameters

Description

Describes the parameters of a no bid module.

Members
passThroughPercentage
Type: float

The pass through percentage.

reason
Type: string

The reason description.

reasonCode
Type: int

The reason code.

OpenRtbAttributeModuleParameters

Description

Describes the parameters of an open RTB attribute module.

Members
action
Required: Yes
Type: Action structure

Describes a bid action.

filterConfiguration
Required: Yes
Type: Array of Filter structures

Describes the configuration of a filter.

filterType
Required: Yes
Type: string

The filter type.

holdbackPercentage
Required: Yes
Type: float

The hold back percentage.

ResourceNotFoundException

Description

The request could not be completed because the resource does not exist.

Members
message
Required: Yes
Type: string

ResponderErrorMaskingForHttpCode

Description

Describes the masking for HTTP error codes.

Members
action
Required: Yes
Type: string

The action for the error..

httpCode
Required: Yes
Type: string

The HTTP error code.

loggingTypes
Required: Yes
Type: Array of strings

The error log type.

responseLoggingPercentage
Type: float

The percentage of response logging.

ServiceQuotaExceededException

Description

The request could not be completed because you exceeded a service quota.

Members
message
Required: Yes
Type: string

ThrottlingException

Description

The request was denied due to request throttling.

Members
message
Required: Yes
Type: string

TrustStoreConfiguration

Description

Describes the configuration of a trust store.

Members
certificateAuthorityCertificates
Required: Yes
Type: Array of strings

The certificate authority certificate.

ValidationException

Description

The request could not be completed because it fails satisfy the constraints specified by the service.

Members
message
Required: Yes
Type: string