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
{ '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
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.ResourceNotFoundExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException