amazonka-appstream-1.4.5: Amazon AppStream SDK.

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

Network.AWS.AppStream.UpdateStack

Contents

Description

Updates the specified fields in the stack with the specified name.

Synopsis

Creating a Request

updateStack Source #

Arguments

:: Text

usName

-> UpdateStack 

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

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

  • usDisplayName - The name displayed to end users on the AppStream 2.0 portal.
  • usDescription - The description displayed to end users on the AppStream 2.0 portal.
  • usName - The name of the stack to update.

data UpdateStack Source #

See: updateStack smart constructor.

Instances

Eq UpdateStack Source # 
Data UpdateStack Source # 

Methods

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

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

toConstr :: UpdateStack -> Constr #

dataTypeOf :: UpdateStack -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateStack Source # 
Show UpdateStack Source # 
Generic UpdateStack Source # 

Associated Types

type Rep UpdateStack :: * -> * #

Hashable UpdateStack Source # 
ToJSON UpdateStack Source # 
NFData UpdateStack Source # 

Methods

rnf :: UpdateStack -> () #

AWSRequest UpdateStack Source # 
ToPath UpdateStack Source # 
ToHeaders UpdateStack Source # 

Methods

toHeaders :: UpdateStack -> [Header] #

ToQuery UpdateStack Source # 
type Rep UpdateStack Source # 
type Rep UpdateStack = D1 (MetaData "UpdateStack" "Network.AWS.AppStream.UpdateStack" "amazonka-appstream-1.4.5-IRmm46UHAni5KvE4mK7PN1" False) (C1 (MetaCons "UpdateStack'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_usDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_usName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateStack Source # 

Request Lenses

usDisplayName :: Lens' UpdateStack (Maybe Text) Source #

The name displayed to end users on the AppStream 2.0 portal.

usDescription :: Lens' UpdateStack (Maybe Text) Source #

The description displayed to end users on the AppStream 2.0 portal.

usName :: Lens' UpdateStack Text Source #

The name of the stack to update.

Destructuring the Response

updateStackResponse Source #

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

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

data UpdateStackResponse Source #

See: updateStackResponse smart constructor.

Instances

Eq UpdateStackResponse Source # 
Data UpdateStackResponse Source # 

Methods

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

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

toConstr :: UpdateStackResponse -> Constr #

dataTypeOf :: UpdateStackResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateStackResponse Source # 
Show UpdateStackResponse Source # 
Generic UpdateStackResponse Source # 
NFData UpdateStackResponse Source # 

Methods

rnf :: UpdateStackResponse -> () #

type Rep UpdateStackResponse Source # 
type Rep UpdateStackResponse = D1 (MetaData "UpdateStackResponse" "Network.AWS.AppStream.UpdateStack" "amazonka-appstream-1.4.5-IRmm46UHAni5KvE4mK7PN1" False) (C1 (MetaCons "UpdateStackResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usrsStack") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Stack))) (S1 (MetaSel (Just Symbol "_usrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

usrsStack :: Lens' UpdateStackResponse (Maybe Stack) Source #

A list of stack details.

usrsResponseStatus :: Lens' UpdateStackResponse Int Source #

  • - | The response status code.