| 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.CloudFront.UpdateFieldLevelEncryptionConfig
Description
Update a field-level encryption configuration.
Synopsis
- data UpdateFieldLevelEncryptionConfig = UpdateFieldLevelEncryptionConfig' {}
- newUpdateFieldLevelEncryptionConfig :: FieldLevelEncryptionConfig -> Text -> UpdateFieldLevelEncryptionConfig
- updateFieldLevelEncryptionConfig_ifMatch :: Lens' UpdateFieldLevelEncryptionConfig (Maybe Text)
- updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig :: Lens' UpdateFieldLevelEncryptionConfig FieldLevelEncryptionConfig
- updateFieldLevelEncryptionConfig_id :: Lens' UpdateFieldLevelEncryptionConfig Text
- data UpdateFieldLevelEncryptionConfigResponse = UpdateFieldLevelEncryptionConfigResponse' {}
- newUpdateFieldLevelEncryptionConfigResponse :: Int -> UpdateFieldLevelEncryptionConfigResponse
- updateFieldLevelEncryptionConfigResponse_eTag :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe Text)
- updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryption)
- updateFieldLevelEncryptionConfigResponse_httpStatus :: Lens' UpdateFieldLevelEncryptionConfigResponse Int
Creating a Request
data UpdateFieldLevelEncryptionConfig Source #
See: newUpdateFieldLevelEncryptionConfig smart constructor.
Constructors
| UpdateFieldLevelEncryptionConfig' | |
Fields
| |
Instances
newUpdateFieldLevelEncryptionConfig Source #
Arguments
| :: FieldLevelEncryptionConfig | |
| -> Text | |
| -> UpdateFieldLevelEncryptionConfig |
Create a value of UpdateFieldLevelEncryptionConfig 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:ifMatch:UpdateFieldLevelEncryptionConfig', updateFieldLevelEncryptionConfig_ifMatch - The value of the ETag header that you received when retrieving the
configuration identity to update. For example: E2QWRUHAPOMQZL.
UpdateFieldLevelEncryptionConfig, updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig - Request to update a field-level encryption configuration.
UpdateFieldLevelEncryptionConfig, updateFieldLevelEncryptionConfig_id - The ID of the configuration you want to update.
Request Lenses
updateFieldLevelEncryptionConfig_ifMatch :: Lens' UpdateFieldLevelEncryptionConfig (Maybe Text) Source #
The value of the ETag header that you received when retrieving the
configuration identity to update. For example: E2QWRUHAPOMQZL.
updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig :: Lens' UpdateFieldLevelEncryptionConfig FieldLevelEncryptionConfig Source #
Request to update a field-level encryption configuration.
updateFieldLevelEncryptionConfig_id :: Lens' UpdateFieldLevelEncryptionConfig Text Source #
The ID of the configuration you want to update.
Destructuring the Response
data UpdateFieldLevelEncryptionConfigResponse Source #
See: newUpdateFieldLevelEncryptionConfigResponse smart constructor.
Constructors
| UpdateFieldLevelEncryptionConfigResponse' | |
Fields
| |
Instances
newUpdateFieldLevelEncryptionConfigResponse Source #
Arguments
| :: Int | |
| -> UpdateFieldLevelEncryptionConfigResponse |
Create a value of UpdateFieldLevelEncryptionConfigResponse 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:eTag:UpdateFieldLevelEncryptionConfigResponse', updateFieldLevelEncryptionConfigResponse_eTag - The value of the ETag header that you received when updating the
configuration. For example: E2QWRUHAPOMQZL.
$sel:fieldLevelEncryption:UpdateFieldLevelEncryptionConfigResponse', updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption - Return the results of updating the configuration.
$sel:httpStatus:UpdateFieldLevelEncryptionConfigResponse', updateFieldLevelEncryptionConfigResponse_httpStatus - The response's http status code.
Response Lenses
updateFieldLevelEncryptionConfigResponse_eTag :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe Text) Source #
The value of the ETag header that you received when updating the
configuration. For example: E2QWRUHAPOMQZL.
updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryption) Source #
Return the results of updating the configuration.
updateFieldLevelEncryptionConfigResponse_httpStatus :: Lens' UpdateFieldLevelEncryptionConfigResponse Int Source #
The response's http status code.