:doc:`DataZone <../../datazone>` / Client / get_subscription_target

***********************
get_subscription_target
***********************



.. py:method:: DataZone.Client.get_subscription_target(**kwargs)

  

  Gets the subscription target in Amazon DataZone.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetSubscriptionTarget>`_  


  **Request Syntax**
  ::

    response = client.get_subscription_target(
        domainIdentifier='string',
        environmentIdentifier='string',
        identifier='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain in which the subscription target exists.

    

  
  :type environmentIdentifier: string
  :param environmentIdentifier: **[REQUIRED]** 

    The ID of the environment associated with the subscription target.

    

  
  :type identifier: string
  :param identifier: **[REQUIRED]** 

    The ID of the subscription target.

    

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

    
    ::

      {
          'id': 'string',
          'authorizedPrincipals': [
              'string',
          ],
          'domainId': 'string',
          'projectId': 'string',
          'environmentId': 'string',
          'name': 'string',
          'type': 'string',
          'createdBy': 'string',
          'updatedBy': 'string',
          'createdAt': datetime(2015, 1, 1),
          'updatedAt': datetime(2015, 1, 1),
          'manageAccessRole': 'string',
          'applicableAssetTypes': [
              'string',
          ],
          'subscriptionTargetConfig': [
              {
                  'formName': 'string',
                  'content': 'string'
              },
          ],
          'provider': 'string',
          'subscriptionGrantCreationMode': 'AUTOMATIC'|'MANUAL'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ID of the subscription target.

        
      

      - **authorizedPrincipals** *(list) --* 

        The authorized principals of the subscription target.

        
        

        - *(string) --* 
    
      

      - **domainId** *(string) --* 

        The ID of the Amazon DataZone domain in which the subscription target exists.

        
      

      - **projectId** *(string) --* 

        The ID of the project associated with the subscription target.

        
      

      - **environmentId** *(string) --* 

        The ID of the environment associated with the subscription target.

        
      

      - **name** *(string) --* 

        The name of the subscription target.

        
      

      - **type** *(string) --* 

        The type of the subscription target.

        
      

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

        The Amazon DataZone user who created the subscription target.

        
      

      - **updatedBy** *(string) --* 

        The Amazon DataZone user who updated the subscription target.

        
      

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

        The timestamp of when the subscription target was created.

        
      

      - **updatedAt** *(datetime) --* 

        The timestamp of when the subscription target was updated.

        
      

      - **manageAccessRole** *(string) --* 

        The manage access role with which the subscription target was created.

        
      

      - **applicableAssetTypes** *(list) --* 

        The asset types associated with the subscription target.

        
        

        - *(string) --* 
    
      

      - **subscriptionTargetConfig** *(list) --* 

        The configuration of teh subscription target.

        
        

        - *(dict) --* 

          The details of the subscription target configuration.

          
          

          - **formName** *(string) --* 

            The form name included in the subscription target configuration.

            
          

          - **content** *(string) --* 

            The content of the subscription target configuration.

            
      
    
      

      - **provider** *(string) --* 

        The provider of the subscription target.

        
      

      - **subscriptionGrantCreationMode** *(string) --* 

        Determines the subscription grant creation mode for this target, defining if grants are auto-created upon subscription approval or managed manually.

        
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.ValidationException`

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  