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 |
Disables EBS encryption by default for your account in the current Region.
After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume.
Disabling encryption by default does not change the encryption status of your existing volumes.
For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.
Synopsis
- data DisableEbsEncryptionByDefault = DisableEbsEncryptionByDefault' {}
- newDisableEbsEncryptionByDefault :: DisableEbsEncryptionByDefault
- disableEbsEncryptionByDefault_dryRun :: Lens' DisableEbsEncryptionByDefault (Maybe Bool)
- data DisableEbsEncryptionByDefaultResponse = DisableEbsEncryptionByDefaultResponse' {}
- newDisableEbsEncryptionByDefaultResponse :: Int -> DisableEbsEncryptionByDefaultResponse
- disableEbsEncryptionByDefaultResponse_ebsEncryptionByDefault :: Lens' DisableEbsEncryptionByDefaultResponse (Maybe Bool)
- disableEbsEncryptionByDefaultResponse_httpStatus :: Lens' DisableEbsEncryptionByDefaultResponse Int
Creating a Request
data DisableEbsEncryptionByDefault Source #
See: newDisableEbsEncryptionByDefault
smart constructor.
Instances
newDisableEbsEncryptionByDefault :: DisableEbsEncryptionByDefault Source #
Create a value of DisableEbsEncryptionByDefault
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:dryRun:DisableEbsEncryptionByDefault'
, disableEbsEncryptionByDefault_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Request Lenses
disableEbsEncryptionByDefault_dryRun :: Lens' DisableEbsEncryptionByDefault (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Destructuring the Response
data DisableEbsEncryptionByDefaultResponse Source #
See: newDisableEbsEncryptionByDefaultResponse
smart constructor.
DisableEbsEncryptionByDefaultResponse' | |
|
Instances
newDisableEbsEncryptionByDefaultResponse Source #
Create a value of DisableEbsEncryptionByDefaultResponse
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:ebsEncryptionByDefault:DisableEbsEncryptionByDefaultResponse'
, disableEbsEncryptionByDefaultResponse_ebsEncryptionByDefault
- The updated status of encryption by default.
$sel:httpStatus:DisableEbsEncryptionByDefaultResponse'
, disableEbsEncryptionByDefaultResponse_httpStatus
- The response's http status code.
Response Lenses
disableEbsEncryptionByDefaultResponse_ebsEncryptionByDefault :: Lens' DisableEbsEncryptionByDefaultResponse (Maybe Bool) Source #
The updated status of encryption by default.
disableEbsEncryptionByDefaultResponse_httpStatus :: Lens' DisableEbsEncryptionByDefaultResponse Int Source #
The response's http status code.