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

Contents

Description

Updates the specified stack.

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:

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 # 
ToHeaders UpdateStack Source # 

Methods

toHeaders :: UpdateStack -> [Header] #

ToPath UpdateStack Source # 
ToQuery UpdateStack Source # 
type Rep UpdateStack Source # 
type Rep UpdateStack = D1 * (MetaData "UpdateStack" "Network.AWS.AppStream.UpdateStack" "amazonka-appstream-1.6.0-vQ2XH6MARF50Yn0JPHG0h" False) (C1 * (MetaCons "UpdateStack'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_usFeedbackURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_usAttributesToDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [StackAttribute])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_usDeleteStorageConnectors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_usStorageConnectors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [StorageConnector]))))) ((:*:) * ((:*:) * (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 "_usRedirectURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_usName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateStack Source # 

Request Lenses

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

The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.

usAttributesToDelete :: Lens' UpdateStack [StackAttribute] Source #

The stack attributes to delete.

usDeleteStorageConnectors :: Lens' UpdateStack (Maybe Bool) Source #

Deletes the storage connectors currently enabled for the stack.

usStorageConnectors :: Lens' UpdateStack [StorageConnector] Source #

The storage connectors to enable.

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

The stack name for display.

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

The description for display.

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

The URL that users are redirected to after their streaming session ends.

usName :: Lens' UpdateStack Text Source #

The name of the stack.

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.6.0-vQ2XH6MARF50Yn0JPHG0h" False) (C1 * (MetaCons "UpdateStackResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usrsStack") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Stack))) (S1 * (MetaSel (Just Symbol "_usrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

Information about the stack.

usrsResponseStatus :: Lens' UpdateStackResponse Int Source #

  • - | The response status code.