update_subscription_target
async
¶
update_subscription_target(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
identifier: SubscriptionTargetId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 | |