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.EC2.GetEbsEncryptionByDefault
Description
Describes whether EBS encryption by default is enabled for your account in the current Region.
For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.
Synopsis
- data GetEbsEncryptionByDefault = GetEbsEncryptionByDefault' {}
- newGetEbsEncryptionByDefault :: GetEbsEncryptionByDefault
- getEbsEncryptionByDefault_dryRun :: Lens' GetEbsEncryptionByDefault (Maybe Bool)
- data GetEbsEncryptionByDefaultResponse = GetEbsEncryptionByDefaultResponse' {}
- newGetEbsEncryptionByDefaultResponse :: Int -> GetEbsEncryptionByDefaultResponse
- getEbsEncryptionByDefaultResponse_ebsEncryptionByDefault :: Lens' GetEbsEncryptionByDefaultResponse (Maybe Bool)
- getEbsEncryptionByDefaultResponse_httpStatus :: Lens' GetEbsEncryptionByDefaultResponse Int
Creating a Request
data GetEbsEncryptionByDefault Source #
See: newGetEbsEncryptionByDefault
smart constructor.
Constructors
GetEbsEncryptionByDefault' | |
Instances
newGetEbsEncryptionByDefault :: GetEbsEncryptionByDefault Source #
Create a value of GetEbsEncryptionByDefault
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:GetEbsEncryptionByDefault'
, getEbsEncryptionByDefault_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
getEbsEncryptionByDefault_dryRun :: Lens' GetEbsEncryptionByDefault (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 GetEbsEncryptionByDefaultResponse Source #
See: newGetEbsEncryptionByDefaultResponse
smart constructor.
Constructors
GetEbsEncryptionByDefaultResponse' | |
Fields
|
Instances
newGetEbsEncryptionByDefaultResponse Source #
Arguments
:: Int | |
-> GetEbsEncryptionByDefaultResponse |
Create a value of GetEbsEncryptionByDefaultResponse
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:GetEbsEncryptionByDefaultResponse'
, getEbsEncryptionByDefaultResponse_ebsEncryptionByDefault
- Indicates whether encryption by default is enabled.
$sel:httpStatus:GetEbsEncryptionByDefaultResponse'
, getEbsEncryptionByDefaultResponse_httpStatus
- The response's http status code.
Response Lenses
getEbsEncryptionByDefaultResponse_ebsEncryptionByDefault :: Lens' GetEbsEncryptionByDefaultResponse (Maybe Bool) Source #
Indicates whether encryption by default is enabled.
getEbsEncryptionByDefaultResponse_httpStatus :: Lens' GetEbsEncryptionByDefaultResponse Int Source #
The response's http status code.