VPCLattice / Client / list_service_network_vpc_endpoint_associations

list_service_network_vpc_endpoint_associations#

VPCLattice.Client.list_service_network_vpc_endpoint_associations(**kwargs)#

Lists the associations between a service network and a VPC endpoint.

See also: AWS API Documentation

Request Syntax

response = client.list_service_network_vpc_endpoint_associations(
    maxResults=123,
    nextToken='string',
    serviceNetworkIdentifier='string'
)
Parameters:
  • maxResults (integer) – The maximum page size.

  • nextToken (string) – If there are additional results, a pagination token for the next page of results.

  • serviceNetworkIdentifier (string) –

    [REQUIRED]

    The ID of the service network associated with the VPC endpoint.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'createdAt': datetime(2015, 1, 1),
            'id': 'string',
            'serviceNetworkArn': 'string',
            'state': 'string',
            'vpcEndpointId': 'string',
            'vpcEndpointOwnerId': 'string',
            'vpcId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Information about the association between the VPC endpoint and service network.

      • (dict) –

        Describes the association between a service network and a VPC endpoint.

        • createdAt (datetime) –

          The date and time that the association was created, in ISO-8601 format.

        • id (string) –

          The ID of the association.

        • serviceNetworkArn (string) –

          The Amazon Resource Name (ARN) of the service network.

        • state (string) –

          The state of the association.

        • vpcEndpointId (string) –

          The ID of the VPC endpoint associated with the service network.

        • vpcEndpointOwnerId (string) –

          The owner of the VPC endpoint associated with the service network.

        • vpcId (string) –

          The ID of the VPC for the association.

    • nextToken (string) –

      If there are additional results, a pagination token for the next page of results.

Exceptions