DataZone / Client / get_subscription_target

get_subscription_target#

DataZone.Client.get_subscription_target(**kwargs)#

Gets the subscription target in Amazon DataZone.

See also: AWS API Documentation

Request Syntax

response = client.get_subscription_target(
    domainIdentifier='string',
    environmentIdentifier='string',
    identifier='string'
)
Parameters:
  • domainIdentifier (string) –

    [REQUIRED]

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

  • environmentIdentifier (string) –

    [REQUIRED]

    The ID of the environment associated with the subscription target.

  • identifier (string) –

    [REQUIRED]

    The ID of the subscription target.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • applicableAssetTypes (list) –

      The asset types associated with the subscription target.

      • (string) –

    • authorizedPrincipals (list) –

      The authorized principals of the subscription target.

      • (string) –

    • createdAt (datetime) –

      The timestamp of when the subscription target was created.

    • createdBy (string) –

      The Amazon DataZone user who created the subscription target.

    • domainId (string) –

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

    • environmentId (string) –

      The ID of the environment associated with the subscription target.

    • id (string) –

      The ID of the subscription target.

    • manageAccessRole (string) –

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

    • name (string) –

      The name of the subscription target.

    • projectId (string) –

      The ID of the project associated with the subscription target.

    • provider (string) –

      The provider of the subscription target.

    • subscriptionTargetConfig (list) –

      The configuration of teh subscription target.

      • (dict) –

        The details of the subscription target configuration.

        • content (string) –

          The content of the subscription target configuration.

        • formName (string) –

          The form name included in the subscription target configuration.

    • type (string) –

      The type of the subscription target.

    • updatedAt (datetime) –

      The timestamp of when the subscription target was updated.

    • updatedBy (string) –

      The Amazon DataZone user who updated the subscription target.

Exceptions

  • DataZone.Client.exceptions.InternalServerException

  • DataZone.Client.exceptions.ResourceNotFoundException

  • DataZone.Client.exceptions.AccessDeniedException

  • DataZone.Client.exceptions.ThrottlingException

  • DataZone.Client.exceptions.ValidationException

  • DataZone.Client.exceptions.UnauthorizedException