amazonka-appstream-1.5.0: Amazon AppStream SDK.

Copyright(c) 2013-2017 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.

By default, the URL is valid only for one minute from the time that it is generated.

Synopsis

Creating a Request

createStreamingURL Source #

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:

data CreateStreamingURL Source #

See: createStreamingURL smart constructor.

Instances

Eq CreateStreamingURL Source # 
Data CreateStreamingURL Source # 

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 Source # 
Show CreateStreamingURL Source # 
Generic CreateStreamingURL Source # 
Hashable CreateStreamingURL Source # 
ToJSON CreateStreamingURL Source # 
NFData CreateStreamingURL Source # 

Methods

rnf :: CreateStreamingURL -> () #

AWSRequest CreateStreamingURL Source # 
ToQuery CreateStreamingURL Source # 
ToPath CreateStreamingURL Source # 
ToHeaders CreateStreamingURL Source # 
type Rep CreateStreamingURL Source # 
type Rep CreateStreamingURL = D1 (MetaData "CreateStreamingURL" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.5.0-4etNSTnOtgJ1XjOWnD9LjI" 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 Source # 

Request Lenses

csuSessionContext :: Lens' CreateStreamingURL (Maybe Text) Source #

The session context of the streaming URL.

csuApplicationId :: Lens' CreateStreamingURL (Maybe Text) Source #

The ID of the application that must be launched after the session starts.

csuValidity :: Lens' CreateStreamingURL (Maybe Integer) Source #

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

Destructuring the Response

createStreamingURLResponse Source #

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

See: createStreamingURLResponse smart constructor.

Instances

Eq CreateStreamingURLResponse Source # 
Data CreateStreamingURLResponse Source # 

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 Source # 
Show CreateStreamingURLResponse Source # 
Generic CreateStreamingURLResponse Source # 
NFData CreateStreamingURLResponse Source # 
type Rep CreateStreamingURLResponse Source # 
type Rep CreateStreamingURLResponse = D1 (MetaData "CreateStreamingURLResponse" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.5.0-4etNSTnOtgJ1XjOWnD9LjI" 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) Source #

The URL to start the AppStream 2.0 streaming session.

csursExpires :: Lens' CreateStreamingURLResponse (Maybe UTCTime) Source #

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