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 |
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.
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.
GetEbsEncryptionByDefaultResponse' | |
|
Instances
Generic GetEbsEncryptionByDefaultResponse Source # | |
Read GetEbsEncryptionByDefaultResponse Source # | |
Show GetEbsEncryptionByDefaultResponse Source # | |
Defined in Amazonka.EC2.GetEbsEncryptionByDefault | |
NFData GetEbsEncryptionByDefaultResponse Source # | |
Defined in Amazonka.EC2.GetEbsEncryptionByDefault rnf :: GetEbsEncryptionByDefaultResponse -> () # | |
Eq GetEbsEncryptionByDefaultResponse Source # | |
type Rep GetEbsEncryptionByDefaultResponse Source # | |
Defined in Amazonka.EC2.GetEbsEncryptionByDefault type Rep GetEbsEncryptionByDefaultResponse = D1 ('MetaData "GetEbsEncryptionByDefaultResponse" "Amazonka.EC2.GetEbsEncryptionByDefault" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetEbsEncryptionByDefaultResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ebsEncryptionByDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetEbsEncryptionByDefaultResponse Source #
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.