RTBFabric 2023-05-15
- 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 gateways.
- AssociateCertificate ( array $params = [] )
- Associates an ACM certificate with a responder gateway.
- CreateInboundExternalLink ( array $params = [] )
- Creates an inbound external link.
- CreateLink ( array $params = [] )
- Creates a new link between gateways.
- CreateLinkRoutingRule ( array $params = [] )
- Creates a routing rule for a link.
- 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 gateways.
- DeleteLinkRoutingRule ( array $params = [] )
- Deletes a routing rule from a link.
- DeleteOutboundExternalLink ( array $params = [] )
- Deletes an outbound external link.
- DeleteRequesterGateway ( array $params = [] )
- Deletes a requester gateway.
- DeleteResponderGateway ( array $params = [] )
- Deletes a responder gateway.
- DisassociateCertificate ( array $params = [] )
- Removes a certificate association from a responder gateway.
- GetCertificateAssociation ( array $params = [] )
- Retrieves the details of a certificate association with a responder gateway.
- GetInboundExternalLink ( array $params = [] )
- Retrieves information about an inbound external link.
- GetLink ( array $params = [] )
- Retrieves information about a link between gateways.
- GetLinkRoutingRule ( array $params = [] )
- Retrieves the details of a routing rule for a link.
- 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.
- ListCertificateAssociations ( array $params = [] )
- Lists the certificate associations for a responder gateway.
- ListLinkRoutingRules ( array $params = [] )
- Lists the routing rules for a link.
- ListLinks ( array $params = [] )
- Lists links associated with gateways.
- 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 gateways.
- 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 gateways.
- UpdateLinkModuleFlow ( array $params = [] )
- Updates a link module flow.
- UpdateLinkRoutingRule ( array $params = [] )
- Updates a routing rule for a link.
- 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:
- ListCertificateAssociations
- ListLinkRoutingRules
- 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 |
|---|---|---|---|
| CertificateAssociated | GetCertificateAssociation | 15 | 8 |
| CertificateDisassociated | GetCertificateAssociation | 15 | 8 |
| InboundExternalLinkActive | GetInboundExternalLink | 30 | 5 |
| InboundExternalLinkDeleted | GetInboundExternalLink | 30 | 5 |
| LinkAccepted | GetLink | 30 | 5 |
| LinkActive | GetLink | 30 | 5 |
| LinkDeleted | GetLink | 30 | 5 |
| LinkRoutingRuleActive | GetLinkRoutingRule | 5 | 24 |
| LinkRoutingRuleDeleted | GetLinkRoutingRule | 5 | 24 |
| OutboundExternalLinkActive | GetOutboundExternalLink | 30 | 5 |
| OutboundExternalLinkDeleted | GetOutboundExternalLink | 30 | 5 |
| RequesterGatewayActive | GetRequesterGateway | 30 | 5 |
| RequesterGatewayDeleted | GetRequesterGateway | 30 | 5 |
| ResponderGatewayActive | GetResponderGateway | 30 | 5 |
| ResponderGatewayDeleted | GetResponderGateway | 30 | 5 |
Operations
AcceptLink
$result = $client->acceptLink([/* ... */]); $promise = $client->acceptLinkAsync([/* ... */]);
Accepts a link request between gateways.
When a requester gateway requests to link with a responder gateway, 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
],
],
],
'timeoutInMillis' => <integer>,
]);
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.
- timeoutInMillis
-
- Type: long (int|float)
The timeout value in milliseconds.
Result Syntax
[
'attributes' => [
'customerProvidedId' => '<string>',
'responderErrorMasking' => [
[
'action' => 'NO_BID|PASSTHROUGH',
'httpCode' => '<string>',
'loggingTypes' => ['<string>', ...],
'responseLoggingPercentage' => <float>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'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>,
],
'rateLimiter' => [
'tps' => <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>,
],
'rateLimiter' => [
'tps' => <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.
- connectivityType
-
- Type: string
The connectivity type 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
Describes the settings for a link log.
- 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
Example 1: Accept a link request
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' => ,
]
AssociateCertificate
$result = $client->associateCertificate([/* ... */]); $promise = $client->associateCertificateAsync([/* ... */]);
Associates an ACM certificate with a responder gateway.
Parameter Syntax
$result = $client->associateCertificate([
'acmCertificateArn' => '<string>', // REQUIRED
'clientToken' => '<string>', // REQUIRED
'gatewayId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate to associate.
- clientToken
-
- Required: Yes
- Type: string
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror. - gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
Result Syntax
[
'acmCertificateArn' => '<string>',
'gatewayId' => '<string>',
'status' => 'PENDING_ASSOCIATION|ASSOCIATED|PENDING_DISASSOCIATION|DISASSOCIATED|FAILED',
]
Result Details
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- status
-
- Required: Yes
- Type: string
The status of the certificate association.
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: Associate a certificate with a responder gateway
Associate an ACM certificate with a responder gateway
$result = $client->associateCertificate([
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'clientToken' => '550e8400-e29b-41d4-a716-446655440000',
'gatewayId' => 'rtb-gw-12345678',
]);
Result syntax:
[
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'gatewayId' => 'rtb-gw-12345678',
'status' => 'PENDING_ASSOCIATION',
]
CreateInboundExternalLink
$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
'logSettings' => [ // REQUIRED
'applicationLogs' => [ // REQUIRED
'sampling' => [ // REQUIRED
'errorLog' => <float>, // REQUIRED
'filterLog' => <float>, // 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.
- logSettings
-
- Required: Yes
- Type: LinkLogSettings structure
Settings for the application logs.
- 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
Example 1: Create an inbound external link
Create an inbound external link for a responder gateway
$result = $client->createInboundExternalLink([
'clientToken' => 'randomClientToken',
'gatewayId' => 'rtb-gw-12345678',
'logSettings' => [
'applicationLogs' => [
'sampling' => [
'errorLog' => 100,
'filterLog' => 0,
],
],
],
]);
Result syntax:
[
'domainName' => 'rtb-gw-12345678.example.com',
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'status' => 'ACTIVE',
]
CreateLink
$result = $client->createLink([/* ... */]); $promise = $client->createLinkAsync([/* ... */]);
Creates a new link between gateways.
Establishes a connection that allows gateways 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>', ...],
'timeoutInMillis' => <integer>,
]);
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.
- timeoutInMillis
-
- Type: long (int|float)
The timeout value in milliseconds.
Result Syntax
[
'attributes' => [
'customerProvidedId' => '<string>',
'responderErrorMasking' => [
[
'action' => 'NO_BID|PASSTHROUGH',
'httpCode' => '<string>',
'loggingTypes' => ['<string>', ...],
'responseLoggingPercentage' => <float>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'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>,
],
'rateLimiter' => [
'tps' => <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>,
],
'rateLimiter' => [
'tps' => <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.
- connectivityType
-
- Type: string
The connectivity type 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.
- logSettings
-
- Type: LinkLogSettings structure
Describes the settings for a link log.
- 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
Example 1: Create a standard link between gateways
Creates a new link between two RTB applications. Requires peerGatewayId to specify the target gateway.
$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' => ,
]
CreateLinkRoutingRule
$result = $client->createLinkRoutingRule([/* ... */]); $promise = $client->createLinkRoutingRuleAsync([/* ... */]);
Creates a routing rule for a link.
Routing rules use priority-based evaluation where lower priority numbers are evaluated first. Each rule specifies conditions that must all match for the rule to apply.
Parameter Syntax
$result = $client->createLinkRoutingRule([
'clientToken' => '<string>', // REQUIRED
'conditions' => [ // REQUIRED
'hostHeader' => '<string>',
'hostHeaderWildcard' => '<string>',
'pathExact' => '<string>',
'pathPrefix' => '<string>',
'queryStringEquals' => [
'key' => '<string>', // REQUIRED
'value' => '<string>', // REQUIRED
],
'queryStringExists' => '<string>',
],
'gatewayId' => '<string>', // REQUIRED
'linkId' => '<string>', // REQUIRED
'priority' => <integer>, // REQUIRED
'tags' => ['<string>', ...],
]);
Parameter Details
Members
- clientToken
-
- Required: Yes
- Type: string
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror. - conditions
-
- Required: Yes
- Type: RuleCondition structure
The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- linkId
-
- Required: Yes
- Type: string
The unique identifier of the link.
- priority
-
- Required: Yes
- Type: int
The priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a 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
[
'createdAt' => <DateTime>,
'ruleId' => '<string>',
'status' => 'CREATION_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETION_IN_PROGRESS|DELETED|FAILED',
]
Result Details
Members
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the routing rule was created.
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
- status
-
- Required: Yes
- Type: string
The status of the routing rule.
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: Create a link routing rule
Create a routing rule with host header and path prefix conditions
$result = $client->createLinkRoutingRule([
'clientToken' => '550e8400-e29b-41d4-a716-446655440000',
'conditions' => [
'hostHeader' => 'api.customer.com',
'pathPrefix' => '/openrtb/',
],
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'priority' => 10,
]);
Result syntax:
[
'createdAt' => ,
'ruleId' => 'rule-abc123def456',
'status' => 'CREATION_IN_PROGRESS',
]
CreateOutboundExternalLink
$result = $client->createOutboundExternalLink([/* ... */]); $promise = $client->createOutboundExternalLinkAsync([/* ... */]);
Creates an outbound external link.
Parameter Syntax
$result = $client->createOutboundExternalLink([
'attributes' => [
'customerProvidedId' => '<string>',
'responderErrorMasking' => [
[
'action' => 'NO_BID|PASSTHROUGH', // REQUIRED
'httpCode' => '<string>', // REQUIRED
'loggingTypes' => ['<string>', ...], // REQUIRED
'responseLoggingPercentage' => <float>,
],
// ...
],
],
'clientToken' => '<string>', // REQUIRED
'gatewayId' => '<string>', // REQUIRED
'logSettings' => [ // REQUIRED
'applicationLogs' => [ // REQUIRED
'sampling' => [ // REQUIRED
'errorLog' => <float>, // REQUIRED
'filterLog' => <float>, // REQUIRED
],
],
],
'publicEndpoint' => '<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.
- logSettings
-
- Required: Yes
- Type: LinkLogSettings structure
Settings for the application logs.
- 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.
- 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: Create an outbound external link
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',
'logSettings' => [
'applicationLogs' => [
'sampling' => [
'errorLog' => 100,
'filterLog' => 0,
],
],
],
'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.
A domain name or managed endpoint is required.
Parameter Syntax
$result = $client->createResponderGateway([
'clientToken' => '<string>', // REQUIRED
'description' => '<string>',
'domainName' => '<string>',
'gatewayType' => 'EXTERNAL|INTERNAL',
'listenerConfig' => [
'protocols' => ['<string>', ...], // REQUIRED
],
'managedEndpointConfiguration' => [
'autoScalingGroups' => [
'autoScalingGroupNames' => ['<string>', ...], // REQUIRED
'healthCheckConfig' => [
'healthyThresholdCount' => <integer>,
'intervalSeconds' => <integer>,
'path' => '<string>', // REQUIRED
'port' => <integer>, // REQUIRED
'protocol' => 'HTTP|HTTPS',
'statusCodeMatcher' => '<string>',
'timeoutMs' => <integer>,
'unhealthyThresholdCount' => <integer>,
],
'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.
- gatewayType
-
- Type: string
The type of gateway. Valid values are
EXTERNALorINTERNAL. - listenerConfig
-
- Type: ListenerConfig structure
Listener configuration for the protocols (HTTP, HTTPS, or both) accepted by the gateway.
- managedEndpointConfiguration
-
- Type: ManagedEndpointConfiguration structure
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
[
'externalInboundEndpoint' => '<string>',
'gatewayId' => '<string>',
'listenerConfig' => [
'protocols' => ['<string>', ...],
],
'status' => 'PENDING_CREATION|ACTIVE|PENDING_DELETION|DELETED|ERROR|PENDING_UPDATE|ISOLATED|PENDING_ISOLATION|PENDING_RESTORATION',
]
Result Details
Members
- externalInboundEndpoint
-
- Type: string
The external inbound endpoint for the responder gateway.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- listenerConfig
-
- Type: ListenerConfig structure
The listener configuration for the responder 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',
]
DeleteInboundExternalLink
$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
Example 1: Delete an inbound external link
Delete an inbound external link
$result = $client->deleteInboundExternalLink([
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
]);
Result syntax:
[
'linkId' => 'link-87654321',
'status' => 'DELETED',
]
DeleteLink
$result = $client->deleteLink([/* ... */]); $promise = $client->deleteLinkAsync([/* ... */]);
Deletes a link between gateways.
Permanently removes the connection between gateways. 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
Example 1: Delete a link
Deletes an existing link
$result = $client->deleteLink([
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
]);
Result syntax:
[
'linkId' => 'link-87654321',
'status' => 'PENDING_DELETION',
]
DeleteLinkRoutingRule
$result = $client->deleteLinkRoutingRule([/* ... */]); $promise = $client->deleteLinkRoutingRuleAsync([/* ... */]);
Deletes a routing rule from a link.
Parameter Syntax
$result = $client->deleteLinkRoutingRule([
'gatewayId' => '<string>', // REQUIRED
'linkId' => '<string>', // REQUIRED
'ruleId' => '<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.
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
Result Syntax
[
'ruleId' => '<string>',
'status' => 'CREATION_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETION_IN_PROGRESS|DELETED|FAILED',
]
Result Details
Members
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
- status
-
- Required: Yes
- Type: string
The status of the routing rule.
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: Delete a link routing rule
Delete a link routing rule
$result = $client->deleteLinkRoutingRule([
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'ruleId' => 'rule-abc123def456',
]);
Result syntax:
[
'ruleId' => 'rule-abc123def456',
'status' => 'DELETION_IN_PROGRESS',
]
DeleteOutboundExternalLink
$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
Example 1: Delete an outbound external link
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.
- 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: 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.
- 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: Delete a responder gateway
Delete responder gateway
$result = $client->deleteResponderGateway([
'gatewayId' => 'rtb-gw-12345678',
]);
Result syntax:
[
'gatewayId' => 'rtb-gw-12345678',
'status' => 'PENDING_DELETION',
]
DisassociateCertificate
$result = $client->disassociateCertificate([/* ... */]); $promise = $client->disassociateCertificateAsync([/* ... */]);
Removes a certificate association from a responder gateway.
Parameter Syntax
$result = $client->disassociateCertificate([
'acmCertificateArn' => '<string>', // REQUIRED
'gatewayId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate to disassociate.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
Result Syntax
[
'acmCertificateArn' => '<string>',
'gatewayId' => '<string>',
'status' => 'PENDING_ASSOCIATION|ASSOCIATED|PENDING_DISASSOCIATION|DISASSOCIATED|FAILED',
]
Result Details
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- status
-
- Required: Yes
- Type: string
The status of the certificate association.
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: Disassociate a certificate from a responder gateway
Remove an ACM certificate association from a responder gateway
$result = $client->disassociateCertificate([
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'gatewayId' => 'rtb-gw-12345678',
]);
Result syntax:
[
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'gatewayId' => 'rtb-gw-12345678',
'status' => 'PENDING_DISASSOCIATION',
]
GetCertificateAssociation
$result = $client->getCertificateAssociation([/* ... */]); $promise = $client->getCertificateAssociationAsync([/* ... */]);
Retrieves the details of a certificate association with a responder gateway.
Parameter Syntax
$result = $client->getCertificateAssociation([
'acmCertificateArn' => '<string>', // REQUIRED
'gatewayId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
Result Syntax
[
'acmCertificateArn' => '<string>',
'associatedAt' => <DateTime>,
'gatewayId' => '<string>',
'status' => 'PENDING_ASSOCIATION|ASSOCIATED|PENDING_DISASSOCIATION|DISASSOCIATED|FAILED',
'updatedAt' => <DateTime>,
]
Result Details
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate.
- associatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the certificate was associated.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- status
-
- Required: Yes
- Type: string
The status of the certificate association.
- updatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the certificate association was last 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
Example 1: Get certificate association details from a responder gateway
Retrieve details of an ACM certificate association with a responder gateway
$result = $client->getCertificateAssociation([
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'gatewayId' => 'rtb-gw-12345678',
]);
Result syntax:
[
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'associatedAt' => ,
'gatewayId' => 'rtb-gw-12345678',
'status' => 'ASSOCIATED',
'updatedAt' => ,
]
GetInboundExternalLink
$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>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'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>,
],
'rateLimiter' => [
'tps' => <float>,
],
],
'name' => '<string>',
'version' => '<string>',
],
// ...
],
'gatewayId' => '<string>',
'linkId' => '<string>',
'logSettings' => [
'applicationLogs' => [
'sampling' => [
'errorLog' => <float>,
'filterLog' => <float>,
],
],
],
'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>,
],
'rateLimiter' => [
'tps' => <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.
- connectivityType
-
- Type: string
The connectivity type 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.
- logSettings
-
- Type: LinkLogSettings structure
Settings for the application logs.
- 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
Example 1: Get inbound external link details
Get details of an inbound external link
$result = $client->getInboundExternalLink([
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
]);
Result syntax:
[
'createdAt' => ,
'domainName' => 'rtb-gw-12345678.123456789012.gateway.rtbfabric.us-east-1.amazonaws.com',
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'status' => 'ACTIVE',
'updatedAt' => ,
]
GetLink
$result = $client->getLink([/* ... */]); $promise = $client->getLinkAsync([/* ... */]);
Retrieves information about a link between gateways.
Returns detailed information about the link configuration, status, and associated gateways.
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>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'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>,
],
'rateLimiter' => [
'tps' => <float>,
],
],
'name' => '<string>',
'version' => '<string>',
],
// ...
],
'gatewayId' => '<string>',
'httpResponderAllowed' => true || false,
'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>,
],
'rateLimiter' => [
'tps' => <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>', ...],
'timeoutInMillis' => <integer>,
'updatedAt' => <DateTime>,
]
Result Details
Members
- attributes
-
- Type: LinkAttributes structure
Attributes of the link.
- connectivityType
-
- Type: string
The connectivity type 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.
- httpResponderAllowed
-
- Type: boolean
Boolean to specify if an HTTP responder is allowed.
- 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.
- timeoutInMillis
-
- Type: long (int|float)
The timeout value in milliseconds.
- 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
Example 1: Get link details
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' => ,
]
GetLinkRoutingRule
$result = $client->getLinkRoutingRule([/* ... */]); $promise = $client->getLinkRoutingRuleAsync([/* ... */]);
Retrieves the details of a routing rule for a link.
Parameter Syntax
$result = $client->getLinkRoutingRule([
'gatewayId' => '<string>', // REQUIRED
'linkId' => '<string>', // REQUIRED
'ruleId' => '<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.
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
Result Syntax
[
'conditions' => [
'hostHeader' => '<string>',
'hostHeaderWildcard' => '<string>',
'pathExact' => '<string>',
'pathPrefix' => '<string>',
'queryStringEquals' => [
'key' => '<string>',
'value' => '<string>',
],
'queryStringExists' => '<string>',
],
'createdAt' => <DateTime>,
'gatewayId' => '<string>',
'linkId' => '<string>',
'priority' => <integer>,
'ruleId' => '<string>',
'status' => 'CREATION_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETION_IN_PROGRESS|DELETED|FAILED',
'tags' => ['<string>', ...],
'updatedAt' => <DateTime>,
]
Result Details
Members
- conditions
-
- Required: Yes
- Type: RuleCondition structure
The conditions for the routing rule.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the routing rule was created.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- linkId
-
- Required: Yes
- Type: string
The unique identifier of the link.
- priority
-
- Required: Yes
- Type: int
The priority of the routing rule.
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
- status
-
- Required: Yes
- Type: string
The status of the routing rule.
- 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 routing rule was last 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
Example 1: Get link routing rule details
Get details of a link routing rule
$result = $client->getLinkRoutingRule([
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'ruleId' => 'rule-abc123def456',
]);
Result syntax:
[
'conditions' => [
'hostHeader' => 'api.customer.com',
'pathPrefix' => '/openrtb/',
],
'createdAt' => ,
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'priority' => 10,
'ruleId' => 'rule-abc123def456',
'status' => 'ACTIVE',
'updatedAt' => ,
]
GetOutboundExternalLink
$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
[
'attributes' => [
'customerProvidedId' => '<string>',
'responderErrorMasking' => [
[
'action' => 'NO_BID|PASSTHROUGH',
'httpCode' => '<string>',
'loggingTypes' => ['<string>', ...],
'responseLoggingPercentage' => <float>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'createdAt' => <DateTime>,
'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>,
],
'rateLimiter' => [
'tps' => <float>,
],
],
'name' => '<string>',
'version' => '<string>',
],
// ...
],
'gatewayId' => '<string>',
'linkId' => '<string>',
'logSettings' => [
'applicationLogs' => [
'sampling' => [
'errorLog' => <float>,
'filterLog' => <float>,
],
],
],
'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>,
],
'rateLimiter' => [
'tps' => <float>,
],
],
'name' => '<string>',
'version' => '<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
- attributes
-
- Type: LinkAttributes structure
Describes the attributes of a link.
- connectivityType
-
- Type: string
The connectivity type of the link.
- createdAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the outbound external link was created.
- 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.
- pendingFlowModules
-
- Type: Array of ModuleConfiguration structures
The configuration of pending flow modules.
- 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
Example 1: Get outbound external link details
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>',
'externalInboundEndpoint' => '<string>',
'gatewayId' => '<string>',
'gatewayType' => 'EXTERNAL|INTERNAL',
'inboundLinksCount' => <integer>,
'linksRequestedCount' => <integer>,
'listenerConfig' => [
'protocols' => ['<string>', ...],
],
'managedEndpointConfiguration' => [
'autoScalingGroups' => [
'autoScalingGroupNames' => ['<string>', ...],
'healthCheckConfig' => [
'healthyThresholdCount' => <integer>,
'intervalSeconds' => <integer>,
'path' => '<string>',
'port' => <integer>,
'protocol' => 'HTTP|HTTPS',
'statusCodeMatcher' => '<string>',
'timeoutMs' => <integer>,
'unhealthyThresholdCount' => <integer>,
],
'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.
- externalInboundEndpoint
-
- Type: string
The external inbound endpoint for the responder gateway.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- gatewayType
-
- Type: string
The type of gateway. Valid values are
EXTERNALorINTERNAL. - inboundLinksCount
-
- Type: int
Deprecated. Use 'linksRequestedCount' instead.
- linksRequestedCount
-
- Type: int
The count of requested links waiting for the responder gateway to accept or reject.
- listenerConfig
-
- Type: ListenerConfig structure
The listener configuration for the responder gateway.
- managedEndpointConfiguration
-
- Type: ManagedEndpointConfiguration structure
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,
'linksRequestedCount' => 3,
'port' => 443,
'protocol' => 'HTTPS',
'securityGroupIds' => [
'sg-12345678',
],
'status' => 'ACTIVE',
'subnetIds' => [
'subnet-12345678',
'subnet-87654321',
],
'totalLinksCount' => 5,
'updatedAt' => ,
'vpcId' => 'vpc-12345678',
]
ListCertificateAssociations
$result = $client->listCertificateAssociations([/* ... */]); $promise = $client->listCertificateAssociationsAsync([/* ... */]);
Lists the certificate associations for a responder gateway.
Parameter Syntax
$result = $client->listCertificateAssociations([
'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
nextTokento 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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
[
'certificateAssociations' => [
[
'acmCertificateArn' => '<string>',
'associatedAt' => <DateTime>,
'status' => 'PENDING_ASSOCIATION|ASSOCIATED|PENDING_DISASSOCIATION|DISASSOCIATED|FAILED',
'updatedAt' => <DateTime>,
],
// ...
],
'nextToken' => '<string>',
]
Result Details
Members
- certificateAssociations
-
- Required: Yes
- Type: Array of CertificateAssociationSummary structures
The list of certificate associations for the gateway.
- nextToken
-
- Type: string
If
nextTokenis returned, there are more results available. The value ofnextTokenis 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
Example 1: List certificate associations for a responder gateway
Retrieve all certificate associations for a responder gateway
$result = $client->listCertificateAssociations([
'gatewayId' => 'rtb-gw-12345678',
'maxResults' => 5,
]);
Result syntax:
[
'certificateAssociations' => [
[
'acmCertificateArn' => 'arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012',
'associatedAt' => ,
'status' => 'ASSOCIATED',
'updatedAt' => ,
],
],
'nextToken' => 'token123',
]
ListLinkRoutingRules
$result = $client->listLinkRoutingRules([/* ... */]); $promise = $client->listLinkRoutingRulesAsync([/* ... */]);
Lists the routing rules for a link.
Parameter Syntax
$result = $client->listLinkRoutingRules([
'gatewayId' => '<string>', // REQUIRED
'linkId' => '<string>', // REQUIRED
'maxResults' => <integer>,
'nextToken' => '<string>',
]);
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.
- maxResults
-
- Type: int
The maximum number of results that are returned per call. You can use
nextTokento 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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
[
'nextToken' => '<string>',
'rules' => [
[
'conditions' => [
'hostHeader' => '<string>',
'hostHeaderWildcard' => '<string>',
'pathExact' => '<string>',
'pathPrefix' => '<string>',
'queryStringEquals' => [
'key' => '<string>',
'value' => '<string>',
],
'queryStringExists' => '<string>',
],
'createdAt' => <DateTime>,
'priority' => <integer>,
'ruleId' => '<string>',
'status' => 'CREATION_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETION_IN_PROGRESS|DELETED|FAILED',
'updatedAt' => <DateTime>,
],
// ...
],
]
Result Details
Members
- nextToken
-
- Type: string
If
nextTokenis returned, there are more results available. The value ofnextTokenis 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. - rules
-
- Type: Array of LinkRoutingRuleSummary structures
The list of routing rules for 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.
- 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 link routing rules
List all routing rules for a link
$result = $client->listLinkRoutingRules([
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'maxResults' => 10,
]);
Result syntax:
[
'nextToken' => 'token123',
'rules' => [
[
'conditions' => [
'hostHeader' => 'api.customer.com',
],
'createdAt' => ,
'priority' => 10,
'ruleId' => 'rule-abc123def456',
'status' => 'ACTIVE',
'updatedAt' => ,
],
],
]
ListLinks
$result = $client->listLinks([/* ... */]); $promise = $client->listLinksAsync([/* ... */]);
Lists links associated with gateways.
Returns a list of all links for the specified gateways, 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
nextTokento 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'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>,
],
'rateLimiter' => [
'tps' => <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>,
],
'rateLimiter' => [
'tps' => <float>,
],
],
'name' => '<string>',
'version' => '<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>,
],
// ...
],
'nextToken' => '<string>',
]
Result Details
Members
- links
-
- Type: Array of ListLinksResponseStructure structures
Information about created links.
- nextToken
-
- Type: string
If
nextTokenis returned, there are more results available. The value ofnextTokenis 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
Example 1: List links for a gateway
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
nextTokento 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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
nextTokento 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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
nextTokenis returned, there are more results available. The value ofnextTokenis 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',
],
]
RejectLink
$result = $client->rejectLink([/* ... */]); $promise = $client->rejectLinkAsync([/* ... */]);
Rejects a link request between gateways.
When a requester gateway requests to link with a responder gateway, 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>,
],
// ...
],
],
'connectivityType' => 'DEFAULT|PUBLIC_INGRESS|PUBLIC_EGRESS|EXTERNAL_INBOUND',
'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>,
],
'rateLimiter' => [
'tps' => <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>,
],
'rateLimiter' => [
'tps' => <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.
- connectivityType
-
- Type: string
The connectivity type 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
Describes the settings for a link log.
- 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
Example 1: Reject a link request
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
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
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:
[ ]
UpdateLink
$result = $client->updateLink([/* ... */]); $promise = $client->updateLinkAsync([/* ... */]);
Updates the configuration of a link between gateways.
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
],
],
],
'timeoutInMillis' => <integer>,
]);
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.
- timeoutInMillis
-
- Type: long (int|float)
The timeout value in milliseconds.
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
Example 1: Update link settings
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
],
'rateLimiter' => [
'tps' => <float>,
],
],
'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',
]
UpdateLinkRoutingRule
$result = $client->updateLinkRoutingRule([/* ... */]); $promise = $client->updateLinkRoutingRuleAsync([/* ... */]);
Updates a routing rule for a link.
Parameter Syntax
$result = $client->updateLinkRoutingRule([
'conditions' => [ // REQUIRED
'hostHeader' => '<string>',
'hostHeaderWildcard' => '<string>',
'pathExact' => '<string>',
'pathPrefix' => '<string>',
'queryStringEquals' => [
'key' => '<string>', // REQUIRED
'value' => '<string>', // REQUIRED
],
'queryStringExists' => '<string>',
],
'gatewayId' => '<string>', // REQUIRED
'linkId' => '<string>', // REQUIRED
'priority' => <integer>, // REQUIRED
'ruleId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- conditions
-
- Required: Yes
- Type: RuleCondition structure
The updated conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.
- gatewayId
-
- Required: Yes
- Type: string
The unique identifier of the gateway.
- linkId
-
- Required: Yes
- Type: string
The unique identifier of the link.
- priority
-
- Required: Yes
- Type: int
The updated priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
Result Syntax
[
'ruleId' => '<string>',
'status' => 'CREATION_IN_PROGRESS|ACTIVE|UPDATE_IN_PROGRESS|DELETION_IN_PROGRESS|DELETED|FAILED',
'updatedAt' => <DateTime>,
]
Result Details
Members
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
- status
-
- Required: Yes
- Type: string
The status of the routing rule.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the routing rule was last 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
Example 1: Update a link routing rule
Update the conditions of a routing rule
$result = $client->updateLinkRoutingRule([
'conditions' => [
'hostHeader' => 'api.customer.com',
'pathPrefix' => '/openrtb/',
],
'gatewayId' => 'rtb-gw-12345678',
'linkId' => 'link-87654321',
'priority' => 20,
'ruleId' => 'rule-abc123def456',
]);
Result syntax:
[
'ruleId' => 'rule-abc123def456',
'status' => 'UPDATE_IN_PROGRESS',
'updatedAt' => ,
]
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
'listenerConfig' => [
'protocols' => ['<string>', ...], // REQUIRED
],
'managedEndpointConfiguration' => [
'autoScalingGroups' => [
'autoScalingGroupNames' => ['<string>', ...], // REQUIRED
'healthCheckConfig' => [
'healthyThresholdCount' => <integer>,
'intervalSeconds' => <integer>,
'path' => '<string>', // REQUIRED
'port' => <integer>, // REQUIRED
'protocol' => 'HTTP|HTTPS',
'statusCodeMatcher' => '<string>',
'timeoutMs' => <integer>,
'unhealthyThresholdCount' => <integer>,
],
'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.
- listenerConfig
-
- Type: ListenerConfig structure
The listener configuration for the responder gateway.
- managedEndpointConfiguration
-
- Type: ManagedEndpointConfiguration structure
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.
- healthCheckConfig
-
- Type: HealthCheckConfig structure
The health check configuration for the Auto Scaling group managed endpoint.
- roleArn
-
- Required: Yes
- Type: string
The role ARN of the auto scaling group.
CertificateAssociationSummary
Description
Describes a summary of a certificate association.
Members
- acmCertificateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the ACM certificate.
- associatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the certificate was associated.
- status
-
- Required: Yes
- Type: string
The status of the certificate association.
- updatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the certificate association was last updated.
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.
HealthCheckConfig
Description
The health check configuration for a managed endpoint. Defines how the service probes instances in the Auto Scaling group to determine their health status.
Members
- healthyThresholdCount
-
- Type: int
The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.
- intervalSeconds
-
- Type: int
The interval between health check probes, in seconds. Valid range is 5 to 60.
- path
-
- Required: Yes
- Type: string
The destination path for the health check request. Must start with
/. - port
-
- Required: Yes
- Type: int
The port to use for health check probes. Valid range is 80 to 65535.
- protocol
-
- Type: string
The protocol to use for health check probes.
- statusCodeMatcher
-
- Type: string
The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example,
200), a range (for example,200-299), or a comma-separated list (for example,200,204). - timeoutMs
-
- Type: int
The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.
- unhealthyThresholdCount
-
- Type: int
The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.
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.
LinkRoutingRuleSummary
Description
A summary of a link routing rule.
Members
- conditions
-
- Required: Yes
- Type: RuleCondition structure
The conditions for the routing rule.
- createdAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the routing rule was created.
- priority
-
- Required: Yes
- Type: int
The priority of the routing rule.
- ruleId
-
- Required: Yes
- Type: string
The unique identifier of the routing rule.
- status
-
- Required: Yes
- Type: string
The status of the routing rule.
- updatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the routing rule was last updated.
ListLinksResponseStructure
Description
Describes a link.
Members
- attributes
-
- Type: LinkAttributes structure
Describes attributes of a link.
- connectivityType
-
- Type: string
The connectivity type 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
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.
- logSettings
-
- Type: LinkLogSettings structure
Describes the settings for a link log.
- 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.
- publicEndpoint
-
- Type: string
The public endpoint of the outbound link.
- 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.
ListenerConfig
Description
Listener configuration for the protocols (HTTP, HTTPS, or both) accepted by the gateway.
Members
- protocols
-
- Required: Yes
- Type: Array of strings
The protocol for connections from clients to the gateway
ManagedEndpointConfiguration
Description
Describes the configuration of a managed endpoint.
Members
- autoScalingGroups
-
- Type: AutoScalingGroupsConfiguration structure
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
-
- Type: OpenRtbAttributeModuleParameters structure
Describes the parameters of an open RTB attribute module.
- rateLimiter
-
- Type: RateLimiterModuleParameters structure
Describes the parameters of a rate limit.
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.
QueryStringKeyValuePair
Description
A key-value pair for query string matching in a routing rule condition.
Members
- key
-
- Required: Yes
- Type: string
The key of the query string parameter to match. Must contain only RFC 3986 unreserved characters.
- value
-
- Required: Yes
- Type: string
The value of the query string parameter to match. Must contain only RFC 3986 unreserved characters.
RateLimiterModuleParameters
Description
Describes the parameters of a rate limit.
Members
- tps
-
- Type: float
The transactions per second rate limit.
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.
RuleCondition
Description
The conditions for a routing rule. All specified fields must match for the rule to apply (AND logic). At least one condition field must be set.
Members
- hostHeader
-
- Type: string
The exact host header value to match.
- hostHeaderWildcard
-
- Type: string
A wildcard pattern for host header matching (for example,
*.example.com). - pathExact
-
- Type: string
The exact path to match. Must start with
/. - pathPrefix
-
- Type: string
The path prefix to match. The request path must start with this value. Must start with
/. - queryStringEquals
-
- Type: QueryStringKeyValuePair structure
A query string key-value pair that must be present and match exactly.
- queryStringExists
-
- Type: string
A query string key that must be present in the request (any value is accepted).
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