libZSservicesZSamazonka-snowballZSamazonka-snowball
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Snowball.Types.Ec2AmiResource

Description

 
Synopsis

Documentation

data Ec2AmiResource Source #

A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2 AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the AWS Cloud and on the device.

See: newEc2AmiResource smart constructor.

Constructors

Ec2AmiResource' 

Fields

Instances

Instances details
Eq Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

Read Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

Show Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

Generic Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

Associated Types

type Rep Ec2AmiResource :: Type -> Type #

NFData Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

Methods

rnf :: Ec2AmiResource -> () #

Hashable Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

ToJSON Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

FromJSON Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

type Rep Ec2AmiResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.Ec2AmiResource

type Rep Ec2AmiResource = D1 ('MetaData "Ec2AmiResource" "Amazonka.Snowball.Types.Ec2AmiResource" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "Ec2AmiResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snowballAmiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEc2AmiResource Source #

Create a value of Ec2AmiResource 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:snowballAmiId:Ec2AmiResource', ec2AmiResource_snowballAmiId - The ID of the AMI on the Snow device.

$sel:amiId:Ec2AmiResource', ec2AmiResource_amiId - The ID of the AMI in Amazon EC2.

ec2AmiResource_snowballAmiId :: Lens' Ec2AmiResource (Maybe Text) Source #

The ID of the AMI on the Snow device.

ec2AmiResource_amiId :: Lens' Ec2AmiResource Text Source #

The ID of the AMI in Amazon EC2.