update_subscription_grant_status
¶
update_subscription_grant_status(
domain_identifier: DomainId,
identifier: SubscriptionGrantId,
asset_identifier: AssetId,
status: SubscriptionGrantStatus,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
failure_cause: Optional[FailureCause] = None,
target_name: Optional[str] = None,
) -> UpdateSubscriptionGrantStatusOutput
Updates the status of the specified subscription grant status in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
-
identifier(SubscriptionGrantId) –The identifier of the subscription grant the status of which is to be updated.
-
asset_identifier(AssetId) –The identifier of the asset the subscription grant status of which is to be updated.
-
status(SubscriptionGrantStatus) –The status to be updated as part of the
UpdateSubscriptionGrantStatusaction. -
failure_cause(Optional[FailureCause], default:None) –Specifies the error message that is returned if the operation cannot be successfully completed.
-
target_name(Optional[str], default:None) –The target name to be updated as part of the
UpdateSubscriptionGrantStatusaction.
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
11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 | |