RTBFabric / Client / create_inbound_external_link
create_inbound_external_link¶
- RTBFabric.Client.create_inbound_external_link(**kwargs)¶
Creates an inbound external link.
See also: AWS API Documentation
Request Syntax
response = client.create_inbound_external_link( clientToken='string', gatewayId='string', attributes={ 'responderErrorMasking': [ { 'httpCode': 'string', 'action': 'NO_BID'|'PASSTHROUGH', 'loggingTypes': [ 'NONE'|'METRIC'|'RESPONSE', ], 'responseLoggingPercentage': ... }, ], 'customerProvidedId': 'string' }, tags={ 'string': 'string' } )
- Parameters:
clientToken (string) –
[REQUIRED]
The unique client token.
This field is autopopulated if not provided.
gatewayId (string) –
[REQUIRED]
The unique identifier of the gateway.
attributes (dict) –
Attributes of the link.
responderErrorMasking (list) –
Describes the masking for HTTP error codes.
(dict) –
Describes the masking for HTTP error codes.
httpCode (string) – [REQUIRED]
The HTTP error code.
action (string) – [REQUIRED]
The action for the error..
loggingTypes (list) – [REQUIRED]
The error log type.
(string) –
responseLoggingPercentage (float) –
The percentage of response logging.
customerProvidedId (string) –
The customer-provided unique identifier of the link.
tags (dict) –
A map of the key-value pairs of the tag or tags to assign to the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response 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', 'domainName': 'string' }
Response Structure
(dict) –
gatewayId (string) –
The unique identifier of the gateway.
linkId (string) –
The unique identifier of the link.
status (string) –
The status of the request.
domainName (string) –
The domain name.
Exceptions
RTBFabric.Client.exceptions.ServiceQuotaExceededException
RTBFabric.Client.exceptions.ResourceNotFoundException
RTBFabric.Client.exceptions.ThrottlingException
RTBFabric.Client.exceptions.AccessDeniedException
RTBFabric.Client.exceptions.ConflictException
RTBFabric.Client.exceptions.InternalServerException
RTBFabric.Client.exceptions.ValidationException