amazonka-appstream-1.6.0: 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 # 
Data CopyImage Source # 

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 # 
Show CopyImage Source # 
Generic CopyImage Source # 

Associated Types

type Rep CopyImage :: * -> * #

Hashable CopyImage Source # 
ToJSON CopyImage Source # 
NFData CopyImage Source # 

Methods

rnf :: CopyImage -> () #

AWSRequest CopyImage Source # 
ToHeaders CopyImage Source # 

Methods

toHeaders :: CopyImage -> [Header] #

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

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 # 
Data CopyImageResponse Source # 

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 # 
Show CopyImageResponse Source # 
Generic CopyImageResponse Source # 
NFData CopyImageResponse Source # 

Methods

rnf :: CopyImageResponse -> () #

type Rep CopyImageResponse Source # 
type Rep CopyImageResponse = D1 * (MetaData "CopyImageResponse" "Network.AWS.AppStream.CopyImage" "amazonka-appstream-1.6.0-vQ2XH6MARF50Yn0JPHG0h" False) (C1 * (MetaCons "CopyImageResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cirsDestinationImageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.