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

Contents

Description

Creates a URL to start a streaming session for the specified user.

Synopsis

Creating a Request

createStreamingURL #

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

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

  • csuSessionContext - The session context. For more information, see Session Context in the Amazon AppStream 2.0 Developer Guide .
  • csuApplicationId - The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant.
  • csuValidity - The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
  • csuStackName - The name of the stack.
  • csuFleetName - The name of the fleet.
  • csuUserId - The ID of the user.

data CreateStreamingURL #

See: createStreamingURL smart constructor.

Instances

Eq CreateStreamingURL # 
Data CreateStreamingURL # 

Methods

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

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

toConstr :: CreateStreamingURL -> Constr #

dataTypeOf :: CreateStreamingURL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateStreamingURL # 
Show CreateStreamingURL # 
Generic CreateStreamingURL # 
Hashable CreateStreamingURL # 
ToJSON CreateStreamingURL # 
NFData CreateStreamingURL # 

Methods

rnf :: CreateStreamingURL -> () #

AWSRequest CreateStreamingURL # 
ToHeaders CreateStreamingURL # 
ToPath CreateStreamingURL # 
ToQuery CreateStreamingURL # 
type Rep CreateStreamingURL # 
type Rep CreateStreamingURL = D1 * (MetaData "CreateStreamingURL" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.6.0-y8y45x8oYo6J4ypuRyPpf" False) (C1 * (MetaCons "CreateStreamingURL'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_csuSessionContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csuApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_csuValidity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csuStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_csuFleetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_csuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CreateStreamingURL # 

Request Lenses

csuSessionContext :: Lens' CreateStreamingURL (Maybe Text) #

The session context. For more information, see Session Context in the Amazon AppStream 2.0 Developer Guide .

csuApplicationId :: Lens' CreateStreamingURL (Maybe Text) #

The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant.

csuValidity :: Lens' CreateStreamingURL (Maybe Integer) #

The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.

csuStackName :: Lens' CreateStreamingURL Text #

The name of the stack.

csuFleetName :: Lens' CreateStreamingURL Text #

The name of the fleet.

csuUserId :: Lens' CreateStreamingURL Text #

The ID of the user.

Destructuring the Response

createStreamingURLResponse #

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

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

data CreateStreamingURLResponse #

See: createStreamingURLResponse smart constructor.

Instances

Eq CreateStreamingURLResponse # 
Data CreateStreamingURLResponse # 

Methods

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

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

toConstr :: CreateStreamingURLResponse -> Constr #

dataTypeOf :: CreateStreamingURLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateStreamingURLResponse # 
Show CreateStreamingURLResponse # 
Generic CreateStreamingURLResponse # 
NFData CreateStreamingURLResponse # 
type Rep CreateStreamingURLResponse # 
type Rep CreateStreamingURLResponse = D1 * (MetaData "CreateStreamingURLResponse" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.6.0-y8y45x8oYo6J4ypuRyPpf" False) (C1 * (MetaCons "CreateStreamingURLResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_csursStreamingURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csursExpires") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_csursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

csursStreamingURL :: Lens' CreateStreamingURLResponse (Maybe Text) #

The URL to start the AppStream 2.0 streaming session.

csursExpires :: Lens' CreateStreamingURLResponse (Maybe UTCTime) #

The elapsed time, in seconds after the Unix epoch, when this URL expires.

csursResponseStatus :: Lens' CreateStreamingURLResponse Int #

  • - | The response status code.