amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data GetEbsEncryptionByDefault Source #

See: newGetEbsEncryptionByDefault smart constructor.

Constructors

GetEbsEncryptionByDefault' 

Fields

  • dryRun :: Maybe Bool

    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.

Instances

Instances details
ToHeaders GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

ToPath GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

ToQuery GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

AWSRequest GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Generic GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Associated Types

type Rep GetEbsEncryptionByDefault :: Type -> Type #

Read GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Show GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

NFData GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Eq GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Hashable GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

type AWSResponse GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

type Rep GetEbsEncryptionByDefault Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

type Rep GetEbsEncryptionByDefault = D1 ('MetaData "GetEbsEncryptionByDefault" "Amazonka.EC2.GetEbsEncryptionByDefault" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetEbsEncryptionByDefault'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

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

Instances details
Generic GetEbsEncryptionByDefaultResponse Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Associated Types

type Rep GetEbsEncryptionByDefaultResponse :: Type -> Type #

Read GetEbsEncryptionByDefaultResponse Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Show GetEbsEncryptionByDefaultResponse Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

NFData GetEbsEncryptionByDefaultResponse Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

Eq GetEbsEncryptionByDefaultResponse Source # 
Instance details

Defined in Amazonka.EC2.GetEbsEncryptionByDefault

type Rep GetEbsEncryptionByDefaultResponse Source # 
Instance details

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