revoke_subscription
¶
revoke_subscription(
domain_identifier: DomainId,
identifier: SubscriptionId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 | |