update_subscription_target
¶
update_subscription_target(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
identifier: SubscriptionTargetId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
name: Optional[SubscriptionTargetName] = None,
authorized_principals: Optional[AuthorizedPrincipalIdentifiers] = None,
applicable_asset_types: Optional[ApplicableAssetTypes] = None,
subscription_target_config: Optional[SubscriptionTargetForms] = None,
manage_access_role: Optional[IamRoleArn] = None,
provider: Optional[str] = None,
subscription_grant_creation_mode: Optional[SubscriptionGrantCreationMode] = None,
) -> UpdateSubscriptionTargetOutput
Updates the specified subscription target in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which a subscription target is to be updated.
-
environment_identifier(EnvironmentId) –The identifier of the environment in which a subscription target is to be updated.
-
identifier(SubscriptionTargetId) –Identifier of the subscription target that is to be updated.
-
name(Optional[SubscriptionTargetName], default:None) –The name to be updated as part of the
UpdateSubscriptionTargetaction. -
authorized_principals(Optional[AuthorizedPrincipalIdentifiers], default:None) –The authorized principals to be updated as part of the
UpdateSubscriptionTargetaction. -
applicable_asset_types(Optional[ApplicableAssetTypes], default:None) –The applicable asset types to be updated as part of the
UpdateSubscriptionTargetaction. -
subscription_target_config(Optional[SubscriptionTargetForms], default:None) –The configuration to be updated as part of the
UpdateSubscriptionTargetaction. -
manage_access_role(Optional[IamRoleArn], default:None) –The manage access role to be updated as part of the
UpdateSubscriptionTargetaction. -
provider(Optional[str], default:None) –The provider to be updated as part of the
UpdateSubscriptionTargetaction. -
subscription_grant_creation_mode(Optional[SubscriptionGrantCreationMode], default:None) –Determines the subscription grant creation mode for this target, defining if grants are auto-created upon subscription approval or managed manually.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 | |