VPCLattice / Client / list_service_network_resource_associations

list_service_network_resource_associations#

VPCLattice.Client.list_service_network_resource_associations(**kwargs)#

Lists the associations between a service network and a resource configuration.

See also: AWS API Documentation

Request Syntax

response = client.list_service_network_resource_associations(
    maxResults=123,
    nextToken='string',
    resourceConfigurationIdentifier='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.

  • resourceConfigurationIdentifier (string) – The ID of the resource configurationk.

  • serviceNetworkIdentifier (string) – The ID of the service network.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'dnsEntry': {
                'domainName': 'string',
                'hostedZoneId': 'string'
            },
            'failureCode': 'string',
            'id': 'string',
            'isManagedAssociation': True|False,
            'privateDnsEntry': {
                'domainName': 'string',
                'hostedZoneId': 'string'
            },
            'resourceConfigurationArn': 'string',
            'resourceConfigurationId': 'string',
            'resourceConfigurationName': 'string',
            'serviceNetworkArn': 'string',
            'serviceNetworkId': 'string',
            'serviceNetworkName': 'string',
            'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'PARTIAL'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Information about the associations.

      • (dict) –

        Summary information about an association between a service network and a resource configuration.

        • arn (string) –

          The Amazon Resource Name (ARN) of the association.

        • createdAt (datetime) –

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

        • createdBy (string) –

          The account that created the association.

        • dnsEntry (dict) –

          The DNS entry for the service.

          • domainName (string) –

            The domain name of the service.

          • hostedZoneId (string) –

            The ID of the hosted zone.

        • failureCode (string) –

          The failure code.

        • id (string) –

          The ID of the association between the service network and resource configuration.

        • isManagedAssociation (boolean) –

          Specifies whether the association is managed by Amazon.

        • privateDnsEntry (dict) –

          The private DNS entry for the service.

          • domainName (string) –

            The domain name of the service.

          • hostedZoneId (string) –

            The ID of the hosted zone.

        • resourceConfigurationArn (string) –

          The Amazon Resource Name (ARN) of the association.

        • resourceConfigurationId (string) –

          The ID of the resource configuration associated with the service network.

        • resourceConfigurationName (string) –

          The name of the resource configuration associated with the service network.

        • serviceNetworkArn (string) –

          The Amazon Resource Name (ARN) of the service network associated with the resource configuration.

        • serviceNetworkId (string) –

          The ID of the service network associated with the resource configuration.

        • serviceNetworkName (string) –

          The name of the service network associated with the resource configuration.

        • status (string) –

          The status of the service network associated with the resource configuration.

    • nextToken (string) –

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

Exceptions