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

Description

 
Synopsis

Documentation

data StoreImageTaskResult Source #

The information about the AMI store task, including the progress of the task.

See: newStoreImageTaskResult smart constructor.

Constructors

StoreImageTaskResult' 

Fields

Instances

Instances details
FromXML StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

Generic StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

Associated Types

type Rep StoreImageTaskResult :: Type -> Type #

Read StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

Show StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

NFData StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

Methods

rnf :: StoreImageTaskResult -> () #

Eq StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

Hashable StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

type Rep StoreImageTaskResult Source # 
Instance details

Defined in Amazonka.EC2.Types.StoreImageTaskResult

type Rep StoreImageTaskResult = D1 ('MetaData "StoreImageTaskResult" "Amazonka.EC2.Types.StoreImageTaskResult" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "StoreImageTaskResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "progressPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "s3objectKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storeTaskFailureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "storeTaskState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "taskStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newStoreImageTaskResult :: StoreImageTaskResult Source #

Create a value of StoreImageTaskResult 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:amiId:StoreImageTaskResult', storeImageTaskResult_amiId - The ID of the AMI that is being stored.

$sel:bucket:StoreImageTaskResult', storeImageTaskResult_bucket - The name of the Amazon S3 bucket that contains the stored AMI object.

$sel:progressPercentage:StoreImageTaskResult', storeImageTaskResult_progressPercentage - The progress of the task as a percentage.

$sel:s3objectKey:StoreImageTaskResult', storeImageTaskResult_s3objectKey - The name of the stored AMI object in the bucket.

$sel:storeTaskFailureReason:StoreImageTaskResult', storeImageTaskResult_storeTaskFailureReason - If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned.

$sel:storeTaskState:StoreImageTaskResult', storeImageTaskResult_storeTaskState - The state of the store task (InProgress, Completed, or Failed).

$sel:taskStartTime:StoreImageTaskResult', storeImageTaskResult_taskStartTime - The time the task started.

storeImageTaskResult_amiId :: Lens' StoreImageTaskResult (Maybe Text) Source #

The ID of the AMI that is being stored.

storeImageTaskResult_bucket :: Lens' StoreImageTaskResult (Maybe Text) Source #

The name of the Amazon S3 bucket that contains the stored AMI object.

storeImageTaskResult_s3objectKey :: Lens' StoreImageTaskResult (Maybe Text) Source #

The name of the stored AMI object in the bucket.

storeImageTaskResult_storeTaskFailureReason :: Lens' StoreImageTaskResult (Maybe Text) Source #

If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned.

storeImageTaskResult_storeTaskState :: Lens' StoreImageTaskResult (Maybe Text) Source #

The state of the store task (InProgress, Completed, or Failed).