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

***************************************
get_service_network_service_association
***************************************



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


  **Request Syntax**
  ::

    response = client.get_service_network_service_association(
        serviceNetworkServiceAssociationIdentifier='string'
    )
    
  :type serviceNetworkServiceAssociationIdentifier: string
  :param serviceNetworkServiceAssociationIdentifier: **[REQUIRED]** 

    The ID or ARN of the association.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The ID of the service network and service association.

        
      

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

        The status of the association.

        
      

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

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

        
      

      - **serviceId** *(string) --* 

        The ID of the service.

        
      

      - **serviceName** *(string) --* 

        The name of the service.

        
      

      - **serviceArn** *(string) --* 

        The Amazon Resource Name (ARN) of the service.

        
      

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

        The ID of the service network.

        
      

      - **serviceNetworkName** *(string) --* 

        The name of the service network.

        
      

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

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

        
      

      - **dnsEntry** *(dict) --* 

        The DNS name of the service.

        
        

        - **domainName** *(string) --* 

          The domain name of the service.

          
        

        - **hostedZoneId** *(string) --* 

          The ID of the hosted zone.

          
    
      

      - **customDomainName** *(string) --* 

        The custom domain name of the service.

        
      

      - **failureMessage** *(string) --* 

        The failure message.

        
      

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

        The failure code.

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

  