VPCLattice / Client / get_service_network_service_association

get_service_network_service_association#

VPCLattice.Client.get_service_network_service_association(**kwargs)#

Retrieves information about the specified association between a service network and a service.

See also: AWS API Documentation

Request Syntax

response = client.get_service_network_service_association(
    serviceNetworkServiceAssociationIdentifier='string'
)
Parameters:

serviceNetworkServiceAssociationIdentifier (string) –

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the association.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'customDomainName': 'string',
    'dnsEntry': {
        'domainName': 'string',
        'hostedZoneId': 'string'
    },
    'failureCode': 'string',
    'failureMessage': 'string',
    'id': 'string',
    'serviceArn': 'string',
    'serviceId': 'string',
    'serviceName': 'string',
    'serviceNetworkArn': 'string',
    'serviceNetworkId': 'string',
    'serviceNetworkName': 'string',
    'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED'
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the association.

    • createdAt (datetime) –

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

    • createdBy (string) –

      The account that created the association.

    • customDomainName (string) –

      The custom domain name of the service.

    • dnsEntry (dict) –

      The DNS name of the service.

      • domainName (string) –

        The domain name of the service.

      • hostedZoneId (string) –

        The ID of the hosted zone.

    • failureCode (string) –

      The failure code.

    • failureMessage (string) –

      The failure message.

    • id (string) –

      The ID of the service network and service association.

    • serviceArn (string) –

      The Amazon Resource Name (ARN) of the service.

    • serviceId (string) –

      The ID of the service.

    • serviceName (string) –

      The name of the service.

    • serviceNetworkArn (string) –

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

    • serviceNetworkId (string) –

      The ID of the service network.

    • serviceNetworkName (string) –

      The name of the service network.

    • status (string) –

      The status of the association.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.ResourceNotFoundException

  • VPCLattice.Client.exceptions.InternalServerException