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
11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 | |