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 the default KMS key for EBS encryption by default for your account in this Region. You can change the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.
Synopsis
- data GetEbsDefaultKmsKeyId = GetEbsDefaultKmsKeyId' {}
- newGetEbsDefaultKmsKeyId :: GetEbsDefaultKmsKeyId
- getEbsDefaultKmsKeyId_dryRun :: Lens' GetEbsDefaultKmsKeyId (Maybe Bool)
- data GetEbsDefaultKmsKeyIdResponse = GetEbsDefaultKmsKeyIdResponse' {
- kmsKeyId :: Maybe Text
- httpStatus :: Int
- newGetEbsDefaultKmsKeyIdResponse :: Int -> GetEbsDefaultKmsKeyIdResponse
- getEbsDefaultKmsKeyIdResponse_kmsKeyId :: Lens' GetEbsDefaultKmsKeyIdResponse (Maybe Text)
- getEbsDefaultKmsKeyIdResponse_httpStatus :: Lens' GetEbsDefaultKmsKeyIdResponse Int
Creating a Request
data GetEbsDefaultKmsKeyId Source #
See: newGetEbsDefaultKmsKeyId
smart constructor.
Instances
newGetEbsDefaultKmsKeyId :: GetEbsDefaultKmsKeyId Source #
Create a value of GetEbsDefaultKmsKeyId
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:GetEbsDefaultKmsKeyId'
, getEbsDefaultKmsKeyId_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
getEbsDefaultKmsKeyId_dryRun :: Lens' GetEbsDefaultKmsKeyId (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 GetEbsDefaultKmsKeyIdResponse Source #
See: newGetEbsDefaultKmsKeyIdResponse
smart constructor.
GetEbsDefaultKmsKeyIdResponse' | |
|
Instances
newGetEbsDefaultKmsKeyIdResponse Source #
Create a value of GetEbsDefaultKmsKeyIdResponse
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:
GetEbsDefaultKmsKeyIdResponse
, getEbsDefaultKmsKeyIdResponse_kmsKeyId
- The Amazon Resource Name (ARN) of the default KMS key for encryption by
default.
$sel:httpStatus:GetEbsDefaultKmsKeyIdResponse'
, getEbsDefaultKmsKeyIdResponse_httpStatus
- The response's http status code.
Response Lenses
getEbsDefaultKmsKeyIdResponse_kmsKeyId :: Lens' GetEbsDefaultKmsKeyIdResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the default KMS key for encryption by default.
getEbsDefaultKmsKeyIdResponse_httpStatus :: Lens' GetEbsDefaultKmsKeyIdResponse Int Source #
The response's http status code.