VPCLattice / Client / get_service_network_resource_association

get_service_network_resource_association#

VPCLattice.Client.get_service_network_resource_association(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.get_service_network_resource_association(
    serviceNetworkResourceAssociationIdentifier='string'
)
Parameters:

serviceNetworkResourceAssociationIdentifier (string) –

[REQUIRED]

The ID of the association.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'dnsEntry': {
        'domainName': 'string',
        'hostedZoneId': 'string'
    },
    'failureCode': 'string',
    'failureReason': 'string',
    'id': 'string',
    'isManagedAssociation': True|False,
    'lastUpdatedAt': datetime(2015, 1, 1),
    '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'
}

Response Structure

  • (dict) –

    • 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.

    • failureReason (string) –

      The reason the association request failed.

    • id (string) –

      The ID of the association.

    • isManagedAssociation (boolean) –

      Indicates whether the association is managed by Amazon.

    • lastUpdatedAt (datetime) –

      The most recent date and time that the association was updated, in ISO-8601 format.

    • 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 that is associated with the service network.

    • resourceConfigurationName (string) –

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

    • serviceNetworkArn (string) –

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

    • serviceNetworkId (string) –

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

    • serviceNetworkName (string) –

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

    • 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