:doc:`VPCLattice <../../vpc-lattice>` / Client / get_service_network_resource_association

****************************************
get_service_network_resource_association
****************************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetServiceNetworkResourceAssociation>`_  


  **Request Syntax**
  ::

    response = client.get_service_network_resource_association(
        serviceNetworkResourceAssociationIdentifier='string'
    )
    
  :type serviceNetworkResourceAssociationIdentifier: string
  :param serviceNetworkResourceAssociationIdentifier: **[REQUIRED]** 

    The ID of the association.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'id': 'string',
          'arn': 'string',
          'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'PARTIAL'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED',
          'createdBy': 'string',
          'createdAt': datetime(2015, 1, 1),
          'resourceConfigurationId': 'string',
          'resourceConfigurationArn': 'string',
          'resourceConfigurationName': 'string',
          'serviceNetworkId': 'string',
          'serviceNetworkArn': 'string',
          'serviceNetworkName': 'string',
          'failureReason': 'string',
          'failureCode': 'string',
          'lastUpdatedAt': datetime(2015, 1, 1),
          'privateDnsEntry': {
              'domainName': 'string',
              'hostedZoneId': 'string'
          },
          'privateDnsEnabled': True|False,
          'dnsEntry': {
              'domainName': 'string',
              'hostedZoneId': 'string'
          },
          'isManagedAssociation': True|False,
          'domainVerificationStatus': 'VERIFIED'|'PENDING'|'VERIFICATION_TIMED_OUT'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The ID of the association.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the association.

        
      

      - **status** *(string) --* 

        The status of the association.

        
      

      - **createdBy** *(string) --* 

        The account that created the association.

        
      

      - **createdAt** *(datetime) --* 

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

        
      

      - **resourceConfigurationId** *(string) --* 

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

        
      

      - **resourceConfigurationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the association.

        
      

      - **resourceConfigurationName** *(string) --* 

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

        
      

      - **serviceNetworkId** *(string) --* 

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

        
      

      - **serviceNetworkArn** *(string) --* 

        The Amazon Resource Name (ARN) 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.

        
      

      - **failureReason** *(string) --* 

        The reason the association request failed.

        
      

      - **failureCode** *(string) --* 

        The failure code.

        
      

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

          
    
      

      - **privateDnsEnabled** *(boolean) --* 

        Indicates if private DNS is enabled in the service network resource 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.

          
    
      

      - **isManagedAssociation** *(boolean) --* 

        Indicates whether the association is managed by Amazon.

        
      

      - **domainVerificationStatus** *(string) --* 

        The domain verification status in the service network resource association.

        
  
  **Exceptions**
  
  *   :py:class:`VPCLattice.Client.exceptions.ValidationException`

  
  *   :py:class:`VPCLattice.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`VPCLattice.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`VPCLattice.Client.exceptions.ThrottlingException`

  
  *   :py:class:`VPCLattice.Client.exceptions.InternalServerException`

  