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 #

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 #

See: updateStack smart constructor.

Instances

Eq UpdateStack # 
Data UpdateStack # 

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 # 
Show UpdateStack # 
Generic UpdateStack # 

Associated Types

type Rep UpdateStack :: * -> * #

Hashable UpdateStack # 
ToJSON UpdateStack # 
NFData UpdateStack # 

Methods

rnf :: UpdateStack -> () #

AWSRequest UpdateStack # 
ToHeaders UpdateStack # 

Methods

toHeaders :: UpdateStack -> [Header] #

ToPath UpdateStack # 
ToQuery UpdateStack # 
type Rep UpdateStack # 
type Rep UpdateStack = D1 * (MetaData "UpdateStack" "Network.AWS.AppStream.UpdateStack" "amazonka-appstream-1.6.0-y8y45x8oYo6J4ypuRyPpf" 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 # 

Request Lenses

usFeedbackURL :: Lens' UpdateStack (Maybe Text) #

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] #

The stack attributes to delete.

usDeleteStorageConnectors :: Lens' UpdateStack (Maybe Bool) #

Deletes the storage connectors currently enabled for the stack.

usStorageConnectors :: Lens' UpdateStack [StorageConnector] #

The storage connectors to enable.

usDisplayName :: Lens' UpdateStack (Maybe Text) #

The stack name for display.

usDescription :: Lens' UpdateStack (Maybe Text) #

The description for display.

usRedirectURL :: Lens' UpdateStack (Maybe Text) #

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

usName :: Lens' UpdateStack Text #

The name of the stack.

Destructuring the Response

updateStackResponse #

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 #

See: updateStackResponse smart constructor.

Instances

Eq UpdateStackResponse # 
Data UpdateStackResponse # 

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

Methods

rnf :: UpdateStackResponse -> () #

type Rep UpdateStackResponse # 
type Rep UpdateStackResponse = D1 * (MetaData "UpdateStackResponse" "Network.AWS.AppStream.UpdateStack" "amazonka-appstream-1.6.0-y8y45x8oYo6J4ypuRyPpf" 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) #

Information about the stack.

usrsResponseStatus :: Lens' UpdateStackResponse Int #

  • - | The response status code.