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.DiskImageDetail

Description

 
Synopsis

Documentation

data DiskImageDetail Source #

Describes a disk image.

See: newDiskImageDetail smart constructor.

Constructors

DiskImageDetail' 

Fields

  • bytes :: Integer

    The size of the disk image, in GiB.

  • format :: DiskImageFormat

    The disk image format.

  • importManifestUrl :: Text

    A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

    For information about the import manifest referenced by this API action, see VM Import Manifest.

Instances

Instances details
ToQuery DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

Generic DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

Associated Types

type Rep DiskImageDetail :: Type -> Type #

Read DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

Show DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

NFData DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

Methods

rnf :: DiskImageDetail -> () #

Eq DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

Hashable DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

type Rep DiskImageDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.DiskImageDetail

type Rep DiskImageDetail = D1 ('MetaData "DiskImageDetail" "Amazonka.EC2.Types.DiskImageDetail" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DiskImageDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DiskImageFormat) :*: S1 ('MetaSel ('Just "importManifestUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDiskImageDetail Source #

Create a value of DiskImageDetail 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:bytes:DiskImageDetail', diskImageDetail_bytes - The size of the disk image, in GiB.

$sel:format:DiskImageDetail', diskImageDetail_format - The disk image format.

$sel:importManifestUrl:DiskImageDetail', diskImageDetail_importManifestUrl - A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.

diskImageDetail_bytes :: Lens' DiskImageDetail Integer Source #

The size of the disk image, in GiB.

diskImageDetail_importManifestUrl :: Lens' DiskImageDetail Text Source #

A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.