DataZone / Client / update_subscription_target
update_subscription_target#
- DataZone.Client.update_subscription_target(**kwargs)#
Updates the specified subscription target in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
response = client.update_subscription_target( applicableAssetTypes=[ 'string', ], authorizedPrincipals=[ 'string', ], domainIdentifier='string', environmentIdentifier='string', identifier='string', manageAccessRole='string', name='string', provider='string', subscriptionTargetConfig=[ { 'content': 'string', 'formName': 'string' }, ] )
- Parameters:
applicableAssetTypes (list) –
The applicable asset types to be updated as part of the
UpdateSubscriptionTarget
action.(string) –
authorizedPrincipals (list) –
The authorized principals to be updated as part of the
UpdateSubscriptionTarget
action.(string) –
domainIdentifier (string) –
[REQUIRED]
The identifier of the Amazon DataZone domain in which a subscription target is to be updated.
environmentIdentifier (string) –
[REQUIRED]
The identifier of the environment in which a subscription target is to be updated.
identifier (string) –
[REQUIRED]
Identifier of the subscription target that is to be updated.
manageAccessRole (string) – The manage access role to be updated as part of the
UpdateSubscriptionTarget
action.name (string) – The name to be updated as part of the
UpdateSubscriptionTarget
action.provider (string) – The provider to be updated as part of the
UpdateSubscriptionTarget
action.subscriptionTargetConfig (list) –
The configuration to be updated as part of the
UpdateSubscriptionTarget
action.(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.
- 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 applicable asset types to be updated as part of the
UpdateSubscriptionTarget
action.(string) –
authorizedPrincipals (list) –
The authorized principals to be updated as part of the
UpdateSubscriptionTarget
action.(string) –
createdAt (datetime) –
The timestamp of when a subscription target was created.
createdBy (string) –
The Amazon DataZone user who created the subscription target.
domainId (string) –
The identifier of the Amazon DataZone domain in which a subscription target is to be updated.
environmentId (string) –
The identifier of the environment in which a subscription target is to be updated.
id (string) –
Identifier of the subscription target that is to be updated.
manageAccessRole (string) –
The manage access role to be updated as part of the
UpdateSubscriptionTarget
action.name (string) –
The name to be updated as part of the
UpdateSubscriptionTarget
action.projectId (string) –
The identifier of the project in which a subscription target is to be updated.
provider (string) –
The provider to be updated as part of the
UpdateSubscriptionTarget
action.subscriptionTargetConfig (list) –
The configuration to be updated as part of the
UpdateSubscriptionTarget
action.(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 to be updated as part of the
UpdateSubscriptionTarget
action.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