| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.PutDataCatalogEncryptionSettings
Description
Sets the security configuration for a specified catalog. After the configuration has been set, the specified encryption is applied to every catalog write thereafter.
Synopsis
- data PutDataCatalogEncryptionSettings = PutDataCatalogEncryptionSettings' {}
- newPutDataCatalogEncryptionSettings :: DataCatalogEncryptionSettings -> PutDataCatalogEncryptionSettings
- putDataCatalogEncryptionSettings_catalogId :: Lens' PutDataCatalogEncryptionSettings (Maybe Text)
- putDataCatalogEncryptionSettings_dataCatalogEncryptionSettings :: Lens' PutDataCatalogEncryptionSettings DataCatalogEncryptionSettings
- data PutDataCatalogEncryptionSettingsResponse = PutDataCatalogEncryptionSettingsResponse' {
- httpStatus :: Int
- newPutDataCatalogEncryptionSettingsResponse :: Int -> PutDataCatalogEncryptionSettingsResponse
- putDataCatalogEncryptionSettingsResponse_httpStatus :: Lens' PutDataCatalogEncryptionSettingsResponse Int
Creating a Request
data PutDataCatalogEncryptionSettings Source #
See: newPutDataCatalogEncryptionSettings smart constructor.
Constructors
| PutDataCatalogEncryptionSettings' | |
Fields
| |
Instances
newPutDataCatalogEncryptionSettings Source #
Arguments
| :: DataCatalogEncryptionSettings |
|
| -> PutDataCatalogEncryptionSettings |
Create a value of PutDataCatalogEncryptionSettings with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutDataCatalogEncryptionSettings, putDataCatalogEncryptionSettings_catalogId - 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.
$sel:dataCatalogEncryptionSettings:PutDataCatalogEncryptionSettings', putDataCatalogEncryptionSettings_dataCatalogEncryptionSettings - The security configuration to set.
Request Lenses
putDataCatalogEncryptionSettings_catalogId :: Lens' PutDataCatalogEncryptionSettings (Maybe Text) Source #
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.
putDataCatalogEncryptionSettings_dataCatalogEncryptionSettings :: Lens' PutDataCatalogEncryptionSettings DataCatalogEncryptionSettings Source #
The security configuration to set.
Destructuring the Response
data PutDataCatalogEncryptionSettingsResponse Source #
See: newPutDataCatalogEncryptionSettingsResponse smart constructor.
Constructors
| PutDataCatalogEncryptionSettingsResponse' | |
Fields
| |
Instances
newPutDataCatalogEncryptionSettingsResponse Source #
Arguments
| :: Int | |
| -> PutDataCatalogEncryptionSettingsResponse |
Create a value of PutDataCatalogEncryptionSettingsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:PutDataCatalogEncryptionSettingsResponse', putDataCatalogEncryptionSettingsResponse_httpStatus - The response's http status code.
Response Lenses
putDataCatalogEncryptionSettingsResponse_httpStatus :: Lens' PutDataCatalogEncryptionSettingsResponse Int Source #
The response's http status code.