VPCLattice / Client / list_resource_endpoint_associations

list_resource_endpoint_associations

VPCLattice.Client.list_resource_endpoint_associations(**kwargs)

Lists the associations for the specified VPC endpoint.

See also: AWS API Documentation

Request Syntax

response = client.list_resource_endpoint_associations(
    resourceConfigurationIdentifier='string',
    resourceEndpointAssociationIdentifier='string',
    vpcEndpointId='string',
    vpcEndpointOwner='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • resourceConfigurationIdentifier (string) –

    [REQUIRED]

    The ID for the resource configuration associated with the VPC endpoint.

  • resourceEndpointAssociationIdentifier (string) – The ID of the association.

  • vpcEndpointId (string) – The ID of the VPC endpoint in the association.

  • vpcEndpointOwner (string) – The owner of the VPC endpoint in the association.

  • maxResults (integer) – The maximum page size.

  • nextToken (string) – A pagination token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'id': 'string',
            'arn': 'string',
            'resourceConfigurationId': 'string',
            'resourceConfigurationArn': 'string',
            'resourceConfigurationName': 'string',
            'vpcEndpointId': 'string',
            'vpcEndpointOwner': 'string',
            'createdBy': 'string',
            'createdAt': datetime(2015, 1, 1),
            'payerResponsibility': [
                {
                    'scope': 'ResourceGatewayCharges',
                    'payerResponsibilityType': 'VpcEndpointAccount'|'ResourceGatewayAccount'
                },
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Information about the VPC endpoint associations.

      • (dict) –

        Summary information about a VPC endpoint association.

        • id (string) –

          The ID of the VPC endpoint association.

        • arn (string) –

          The Amazon Resource Name (ARN) of the VPC endpoint association.

        • resourceConfigurationId (string) –

          The ID of the resource configuration.

        • resourceConfigurationArn (string) –

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

        • resourceConfigurationName (string) –

          The name of the resource configuration.

        • vpcEndpointId (string) –

          The ID of the VPC endpoint.

        • vpcEndpointOwner (string) –

          The owner of the VPC endpoint.

        • createdBy (string) –

          The account that created the association.

        • createdAt (datetime) –

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

        • payerResponsibility (list) –

          Who pays for each category of charges on the VPC endpoint association.

          • (dict) –

            Specifies which account pays for a category of charges on a VPC endpoint association.

            • scope (string) –

              The category of charges that this entry applies to. ResourceGatewayCharges covers the resource gateway’s data processing charge.

            • payerResponsibilityType (string) –

              The account that pays this category of charges. VpcEndpointAccount owns the VPC endpoint. ResourceGatewayAccount owns the resource gateway.

    • nextToken (string) –

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

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.InternalServerException