amazonka-appstream-1.6.1: Amazon AppStream SDK.

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

Network.AWS.AppStream.CopyImage

Contents

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

copyImage Source #

Creates a value of CopyImage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CopyImage Source #

See: copyImage smart constructor.

Instances
Eq CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Data CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CopyImage -> c CopyImage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CopyImage #

toConstr :: CopyImage -> Constr #

dataTypeOf :: CopyImage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CopyImage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CopyImage) #

gmapT :: (forall b. Data b => b -> b) -> CopyImage -> CopyImage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CopyImage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CopyImage -> r #

gmapQ :: (forall d. Data d => d -> u) -> CopyImage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CopyImage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CopyImage -> m CopyImage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CopyImage -> m CopyImage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CopyImage -> m CopyImage #

Read CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Show CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Generic CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Associated Types

type Rep CopyImage :: Type -> Type #

Hashable CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

ToJSON CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

AWSRequest CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Associated Types

type Rs CopyImage :: Type #

ToHeaders CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Methods

toHeaders :: CopyImage -> [Header] #

ToPath CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

ToQuery CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

NFData CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Methods

rnf :: CopyImage -> () #

type Rep CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

type Rep CopyImage = D1 (MetaData "CopyImage" "Network.AWS.AppStream.CopyImage" "amazonka-appstream-1.6.1-EdCHYsZUFpaEeuyeL4H95g" False) (C1 (MetaCons "CopyImage'" PrefixI True) ((S1 (MetaSel (Just "_ciDestinationImageDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ciSourceImageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ciDestinationImageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ciDestinationRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CopyImage Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Request Lenses

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

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

ciSourceImageName :: Lens' CopyImage Text Source #

The name of the image to copy.

ciDestinationImageName :: Lens' CopyImage Text Source #

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

ciDestinationRegion :: 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

copyImageResponse Source #

Creates a value of CopyImageResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CopyImageResponse Source #

See: copyImageResponse smart constructor.

Instances
Eq CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Data CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CopyImageResponse -> c CopyImageResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CopyImageResponse #

toConstr :: CopyImageResponse -> Constr #

dataTypeOf :: CopyImageResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CopyImageResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CopyImageResponse) #

gmapT :: (forall b. Data b => b -> b) -> CopyImageResponse -> CopyImageResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CopyImageResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CopyImageResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CopyImageResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CopyImageResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CopyImageResponse -> m CopyImageResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CopyImageResponse -> m CopyImageResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CopyImageResponse -> m CopyImageResponse #

Read CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Show CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Generic CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Associated Types

type Rep CopyImageResponse :: Type -> Type #

NFData CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

Methods

rnf :: CopyImageResponse -> () #

type Rep CopyImageResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CopyImage

type Rep CopyImageResponse = D1 (MetaData "CopyImageResponse" "Network.AWS.AppStream.CopyImage" "amazonka-appstream-1.6.1-EdCHYsZUFpaEeuyeL4H95g" False) (C1 (MetaCons "CopyImageResponse'" PrefixI True) (S1 (MetaSel (Just "_cirsDestinationImageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cirsDestinationImageName :: Lens' CopyImageResponse (Maybe Text) Source #

The name of the destination image.

cirsResponseStatus :: Lens' CopyImageResponse Int Source #

  • - | The response status code.