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

Contents

Description

Creates a stack.

Synopsis

Creating a Request

createStack Source #

Arguments

:: Text

csName

-> CreateStack 

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

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

  • csFeedbackURL - 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.
  • csStorageConnectors - The storage connectors to enable.
  • csDisplayName - The stack name for display.
  • csDescription - The description for display.
  • csRedirectURL - The URL that users are redirected to after their streaming session ends.
  • csName - The name of the stack.

data CreateStack Source #

See: createStack smart constructor.

Instances
Eq CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Data CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Methods

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

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

toConstr :: CreateStack -> Constr #

dataTypeOf :: CreateStack -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Show CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Generic CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Associated Types

type Rep CreateStack :: Type -> Type #

Hashable CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

ToJSON CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

AWSRequest CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Associated Types

type Rs CreateStack :: Type #

ToHeaders CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Methods

toHeaders :: CreateStack -> [Header] #

ToPath CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

ToQuery CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

NFData CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Methods

rnf :: CreateStack -> () #

type Rep CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

type Rep CreateStack = D1 (MetaData "CreateStack" "Network.AWS.AppStream.CreateStack" "amazonka-appstream-1.6.1-EdCHYsZUFpaEeuyeL4H95g" False) (C1 (MetaCons "CreateStack'" PrefixI True) ((S1 (MetaSel (Just "_csFeedbackURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csStorageConnectors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StorageConnector])) :*: S1 (MetaSel (Just "_csDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_csDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csRedirectURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateStack Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Request Lenses

csFeedbackURL :: Lens' CreateStack (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.

csStorageConnectors :: Lens' CreateStack [StorageConnector] Source #

The storage connectors to enable.

csDisplayName :: Lens' CreateStack (Maybe Text) Source #

The stack name for display.

csDescription :: Lens' CreateStack (Maybe Text) Source #

The description for display.

csRedirectURL :: Lens' CreateStack (Maybe Text) Source #

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

csName :: Lens' CreateStack Text Source #

The name of the stack.

Destructuring the Response

createStackResponse Source #

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

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

data CreateStackResponse Source #

See: createStackResponse smart constructor.

Instances
Eq CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Data CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Methods

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

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

toConstr :: CreateStackResponse -> Constr #

dataTypeOf :: CreateStackResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Show CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Generic CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Associated Types

type Rep CreateStackResponse :: Type -> Type #

NFData CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

Methods

rnf :: CreateStackResponse -> () #

type Rep CreateStackResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStack

type Rep CreateStackResponse = D1 (MetaData "CreateStackResponse" "Network.AWS.AppStream.CreateStack" "amazonka-appstream-1.6.1-EdCHYsZUFpaEeuyeL4H95g" False) (C1 (MetaCons "CreateStackResponse'" PrefixI True) (S1 (MetaSel (Just "_csrsStack") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Stack)) :*: S1 (MetaSel (Just "_csrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

csrsStack :: Lens' CreateStackResponse (Maybe Stack) Source #

Information about the stack.

csrsResponseStatus :: Lens' CreateStackResponse Int Source #

  • - | The response status code.