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

Description

 
Synopsis

Documentation

data SnapshotDiskContainer Source #

The disk container object for the import snapshot request.

See: newSnapshotDiskContainer smart constructor.

Constructors

SnapshotDiskContainer' 

Fields

  • description :: Maybe Text

    The description of the disk image being imported.

  • format :: Maybe Text

    The format of the disk image being imported.

    Valid values: VHD | VMDK | RAW

  • url :: Maybe Text

    The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).

  • userBucket :: Maybe UserBucket

    The Amazon S3 bucket for the disk image.

Instances

Instances details
ToQuery SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

Generic SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

Associated Types

type Rep SnapshotDiskContainer :: Type -> Type #

Read SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

Show SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

NFData SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

Methods

rnf :: SnapshotDiskContainer -> () #

Eq SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

Hashable SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

type Rep SnapshotDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotDiskContainer

type Rep SnapshotDiskContainer = D1 ('MetaData "SnapshotDiskContainer" "Amazonka.EC2.Types.SnapshotDiskContainer" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "SnapshotDiskContainer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userBucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserBucket)))))

newSnapshotDiskContainer :: SnapshotDiskContainer Source #

Create a value of SnapshotDiskContainer 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:description:SnapshotDiskContainer', snapshotDiskContainer_description - The description of the disk image being imported.

$sel:format:SnapshotDiskContainer', snapshotDiskContainer_format - The format of the disk image being imported.

Valid values: VHD | VMDK | RAW

$sel:url:SnapshotDiskContainer', snapshotDiskContainer_url - The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).

$sel:userBucket:SnapshotDiskContainer', snapshotDiskContainer_userBucket - The Amazon S3 bucket for the disk image.

snapshotDiskContainer_description :: Lens' SnapshotDiskContainer (Maybe Text) Source #

The description of the disk image being imported.

snapshotDiskContainer_format :: Lens' SnapshotDiskContainer (Maybe Text) Source #

The format of the disk image being imported.

Valid values: VHD | VMDK | RAW

snapshotDiskContainer_url :: Lens' SnapshotDiskContainer (Maybe Text) Source #

The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).