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

***************************
get_access_log_subscription
***************************



.. py:method:: VPCLattice.Client.get_access_log_subscription(**kwargs)

  

  Retrieves information about the specified access log subscription.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetAccessLogSubscription>`_  


  **Request Syntax**
  ::

    response = client.get_access_log_subscription(
        accessLogSubscriptionIdentifier='string'
    )
    
  :type accessLogSubscriptionIdentifier: string
  :param accessLogSubscriptionIdentifier: **[REQUIRED]** 

    The ID or ARN of the access log subscription.

    

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

    
    ::

      {
          'id': 'string',
          'arn': 'string',
          'resourceId': 'string',
          'resourceArn': 'string',
          'destinationArn': 'string',
          'serviceNetworkLogType': 'SERVICE'|'RESOURCE',
          'createdAt': datetime(2015, 1, 1),
          'lastUpdatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ID of the access log subscription.

        
      

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

        The Amazon Resource Name (ARN) of the access log subscription.

        
      

      - **resourceId** *(string) --* 

        The ID of the service network or service.

        
      

      - **resourceArn** *(string) --* 

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

        
      

      - **destinationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the access log destination.

        
      

      - **serviceNetworkLogType** *(string) --* 

        The log type for the service network.

        
      

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

        The date and time that the access log subscription was created, in ISO-8601 format.

        
      

      - **lastUpdatedAt** *(datetime) --* 

        The date and time that the access log subscription was last updated, in ISO-8601 format.

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

  