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.Types.Storage

Description

 
Synopsis

Documentation

data Storage Source #

Describes the storage location for an instance store-backed AMI.

See: newStorage smart constructor.

Constructors

Storage' 

Fields

Instances

Instances details
ToQuery Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

FromXML Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

Generic Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

Associated Types

type Rep Storage :: Type -> Type #

Methods

from :: Storage -> Rep Storage x #

to :: Rep Storage x -> Storage #

Read Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

Show Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

NFData Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

Methods

rnf :: Storage -> () #

Eq Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

Methods

(==) :: Storage -> Storage -> Bool #

(/=) :: Storage -> Storage -> Bool #

Hashable Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

Methods

hashWithSalt :: Int -> Storage -> Int #

hash :: Storage -> Int #

type Rep Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.Storage

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

newStorage :: Storage Source #

Create a value of Storage 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:s3:Storage', storage_s3 - An Amazon S3 storage location.

storage_s3 :: Lens' Storage (Maybe S3Storage) Source #

An Amazon S3 storage location.