delete_data_source
¶
delete_data_source(
domain_identifier: DomainId,
identifier: DataSourceId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 | |