VPCLattice / Client / update_resource_gateway

update_resource_gateway#

VPCLattice.Client.update_resource_gateway(**kwargs)#

Updates the specified resource gateway.

See also: AWS API Documentation

Request Syntax

response = client.update_resource_gateway(
    resourceGatewayIdentifier='string',
    securityGroupIds=[
        'string',
    ]
)
Parameters:
  • resourceGatewayIdentifier (string) –

    [REQUIRED]

    The ID or ARN of the resource gateway.

  • securityGroupIds (list) –

    The IDs of the security groups associated with the resource gateway.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'id': 'string',
    'ipAddressType': 'IPV4'|'IPV6',
    'name': 'string',
    'securityGroupIds': [
        'string',
    ],
    'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED',
    'subnetIds': [
        'string',
    ],
    'vpcId': 'string'
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the resource gateway.

    • id (string) –

      The ID of the resource gateway.

    • ipAddressType (string) –

      The type of IP address used by the resource gateway.

    • name (string) –

      The name of the resource gateway.

    • securityGroupIds (list) –

      The IDs of the security groups associated with the resource gateway.

      • (string) –

    • status (string) –

      The status of the resource gateway.

    • subnetIds (list) –

      The IDs of the VPC subnets for the resource gateway.

      • (string) –

    • vpcId (string) –

      The ID of the VPC for the resource gateway.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.ResourceNotFoundException

  • VPCLattice.Client.exceptions.InternalServerException