DataZone / Client / create_subscription_target
create_subscription_target#
- DataZone.Client.create_subscription_target(**kwargs)#
- Creates a subscription target in Amazon DataZone. - See also: AWS API Documentation - Request Syntax- response = client.create_subscription_target( applicableAssetTypes=[ 'string', ], authorizedPrincipals=[ 'string', ], clientToken='string', domainIdentifier='string', environmentIdentifier='string', manageAccessRole='string', name='string', provider='string', subscriptionTargetConfig=[ { 'content': 'string', 'formName': 'string' }, ], type='string' ) - Parameters:
- applicableAssetTypes (list) – - [REQUIRED] - The asset types that can be included in the subscription target. - (string) – 
 
- authorizedPrincipals (list) – - [REQUIRED] - The authorized principals of the subscription target. - (string) – 
 
- clientToken (string) – - A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. - This field is autopopulated if not provided. 
- domainIdentifier (string) – - [REQUIRED] - The ID of the Amazon DataZone domain in which subscription target is created. 
- environmentIdentifier (string) – - [REQUIRED] - The ID of the environment in which subscription target is created. 
- manageAccessRole (string) – - [REQUIRED] - The manage access role that is used to create the subscription target. 
- name (string) – - [REQUIRED] - The name of the subscription target. 
- provider (string) – The provider of the subscription target. 
- subscriptionTargetConfig (list) – - [REQUIRED] - The configuration of the subscription target. - (dict) – - The details of the subscription target configuration. - content (string) – [REQUIRED] - The content of the subscription target configuration. 
- formName (string) – [REQUIRED] - The form name included in the subscription target configuration. 
 
 
- type (string) – - [REQUIRED] - The type 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 that can be included in the subscription target. - (string) – 
 
- authorizedPrincipals (list) – - The authorised 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 was created. 
- environmentId (string) – - The ID of the environment in which the subscription target was created. 
- 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) – - ??? 
- provider (string) – - The provider of the subscription target. 
- subscriptionTargetConfig (list) – - The configuration of the 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.ConflictException
- DataZone.Client.exceptions.ValidationException
- DataZone.Client.exceptions.UnauthorizedException