put_data_catalog_encryption_settings
async
¶
put_data_catalog_encryption_settings(
data_catalog_encryption_settings: DataCatalogEncryptionSettings,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> PutDataCatalogEncryptionSettingsResponse
Sets the security configuration for a specified catalog. After the configuration has been set, the specified encryption is applied to every catalog write thereafter.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog to set the security configuration for. If none is provided, the Amazon Web Services account ID is used by default.
-
data_catalog_encryption_settings(DataCatalogEncryptionSettings) –The security configuration to set.
Raises:
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 | |