libZSservicesZSamazonka-appstreamZSamazonka-appstream
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.AppStream.CopyImage

Description

Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.

Synopsis

Creating a Request

data CopyImage Source #

See: newCopyImage smart constructor.

Constructors

CopyImage' 

Fields

Instances

Instances details
Eq CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Read CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Show CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Generic CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Associated Types

type Rep CopyImage :: Type -> Type #

NFData CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Methods

rnf :: CopyImage -> () #

Hashable CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

ToJSON CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

AWSRequest CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Associated Types

type AWSResponse CopyImage #

ToHeaders CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Methods

toHeaders :: CopyImage -> [Header] #

ToPath CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

ToQuery CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

type Rep CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

type Rep CopyImage = D1 ('MetaData "CopyImage" "Amazonka.AppStream.CopyImage" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CopyImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationImageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceImageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "destinationImageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CopyImage Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

newCopyImage Source #

Create a value of CopyImage 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:destinationImageDescription:CopyImage', copyImage_destinationImageDescription - The description that the image will have when it is copied to the destination.

$sel:sourceImageName:CopyImage', copyImage_sourceImageName - The name of the image to copy.

$sel:destinationImageName:CopyImage', copyImage_destinationImageName - The name that the image will have when it is copied to the destination.

$sel:destinationRegion:CopyImage', copyImage_destinationRegion - The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.

Request Lenses

copyImage_destinationImageDescription :: Lens' CopyImage (Maybe Text) Source #

The description that the image will have when it is copied to the destination.

copyImage_sourceImageName :: Lens' CopyImage Text Source #

The name of the image to copy.

copyImage_destinationImageName :: Lens' CopyImage Text Source #

The name that the image will have when it is copied to the destination.

copyImage_destinationRegion :: Lens' CopyImage Text Source #

The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.

Destructuring the Response

data CopyImageResponse Source #

See: newCopyImageResponse smart constructor.

Constructors

CopyImageResponse' 

Fields

Instances

Instances details
Eq CopyImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Read CopyImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Show CopyImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Generic CopyImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Associated Types

type Rep CopyImageResponse :: Type -> Type #

NFData CopyImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

Methods

rnf :: CopyImageResponse -> () #

type Rep CopyImageResponse Source # 
Instance details

Defined in Amazonka.AppStream.CopyImage

type Rep CopyImageResponse = D1 ('MetaData "CopyImageResponse" "Amazonka.AppStream.CopyImage" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CopyImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationImageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCopyImageResponse Source #

Create a value of CopyImageResponse 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:destinationImageName:CopyImage', copyImageResponse_destinationImageName - The name of the destination image.

$sel:httpStatus:CopyImageResponse', copyImageResponse_httpStatus - The response's http status code.

Response Lenses

copyImageResponse_httpStatus :: Lens' CopyImageResponse Int Source #

The response's http status code.