update_subscription_grant_status
async
¶
update_subscription_grant_status(
domain_identifier: DomainId,
identifier: SubscriptionGrantId,
asset_identifier: AssetId,
status: SubscriptionGrantStatus,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 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 | |