RTBFabric / Client / create_requester_gateway

create_requester_gateway

RTBFabric.Client.create_requester_gateway(**kwargs)

Creates a requester gateway.

See also: AWS API Documentation

Request Syntax

response = client.create_requester_gateway(
    vpcId='string',
    subnetIds=[
        'string',
    ],
    securityGroupIds=[
        'string',
    ],
    clientToken='string',
    description='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • vpcId (string) –

    [REQUIRED]

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

  • subnetIds (list) –

    [REQUIRED]

    The unique identifiers of the subnets.

    • (string) –

  • securityGroupIds (list) –

    [REQUIRED]

    The unique identifiers of the security groups.

    • (string) –

  • clientToken (string) –

    [REQUIRED]

    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 an IdempotentParameterMismatch error.

    This field is autopopulated if not provided.

  • description (string) – An optional description for the requester gateway.

  • 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',
    'domainName': 'string',
    'status': 'PENDING_CREATION'|'ACTIVE'|'PENDING_DELETION'|'DELETED'|'ERROR'|'PENDING_UPDATE'|'ISOLATED'|'PENDING_ISOLATION'|'PENDING_RESTORATION'
}

Response Structure

  • (dict) –

    • gatewayId (string) –

      The unique identifier of the gateway.

    • domainName (string) –

      The domain name of the requester gateway.

    • status (string) –

      The status of the request.

Exceptions