:doc:`Greengrass <../../greengrass>` / Client / get_subscription_definition

***************************
get_subscription_definition
***************************



.. py:method:: Greengrass.Client.get_subscription_definition(**kwargs)

  Retrieves information about a subscription definition.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinition>`_  


  **Request Syntax**
  ::

    response = client.get_subscription_definition(
        SubscriptionDefinitionId='string'
    )
    
  :type SubscriptionDefinitionId: string
  :param SubscriptionDefinitionId: **[REQUIRED]** The ID of the subscription definition.

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

    
    ::

      {
          'Arn': 'string',
          'CreationTimestamp': 'string',
          'Id': 'string',
          'LastUpdatedTimestamp': 'string',
          'LatestVersion': 'string',
          'LatestVersionArn': 'string',
          'Name': 'string',
          'tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* The ARN of the definition.
      

      - **CreationTimestamp** *(string) --* The time, in milliseconds since the epoch, when the definition was created.
      

      - **Id** *(string) --* The ID of the definition.
      

      - **LastUpdatedTimestamp** *(string) --* The time, in milliseconds since the epoch, when the definition was last updated.
      

      - **LatestVersion** *(string) --* The ID of the latest version associated with the definition.
      

      - **LatestVersionArn** *(string) --* The ARN of the latest version associated with the definition.
      

      - **Name** *(string) --* The name of the definition.
      

      - **tags** *(dict) --* Tag(s) attached to the resource arn.
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  