Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
PutDataCatalogEncryptionSettings' | |
|
Instances
newPutDataCatalogEncryptionSettings Source #
:: 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:
$sel:catalogId: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.
PutDataCatalogEncryptionSettingsResponse' | |
|
Instances
newPutDataCatalogEncryptionSettingsResponse Source #
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.