revoke_subscription
async
¶
revoke_subscription(
domain_identifier: DomainId,
identifier: SubscriptionId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
retain_permissions: Optional[bool] = None,
) -> RevokeSubscriptionOutput
Revokes a specified subscription in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain where you want to revoke a subscription.
-
identifier(SubscriptionId) –The identifier of the revoked subscription.
-
retain_permissions(Optional[bool], default:None) –Specifies whether permissions are retained when the subscription is revoked.
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
9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 | |