delete_data_source
async
¶
delete_data_source(
domain_identifier: DomainId,
identifier: DataSourceId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
client_token: Optional[str] = None,
retain_permissions_on_revoke_failure: Optional[bool] = None,
) -> DeleteDataSourceOutput
Deletes a data source in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the data source is deleted.
-
identifier(DataSourceId) –The identifier of the data source that is deleted.
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
-
retain_permissions_on_revoke_failure(Optional[bool], default:None) –Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
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.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 | |