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

Contents

Description

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

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:

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

See: createStreamingURL smart constructor.

Instances
Eq CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Data CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.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 Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Show CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Generic CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURL :: Type -> Type #

Hashable CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

ToJSON CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

AWSRequest CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Associated Types

type Rs CreateStreamingURL :: Type #

ToHeaders CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

ToPath CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

ToQuery CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

NFData CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Methods

rnf :: CreateStreamingURL -> () #

type Rep CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

type Rep CreateStreamingURL = D1 (MetaData "CreateStreamingURL" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.6.1-EdCHYsZUFpaEeuyeL4H95g" False) (C1 (MetaCons "CreateStreamingURL'" PrefixI True) ((S1 (MetaSel (Just "_csuSessionContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csuApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csuValidity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 (MetaSel (Just "_csuStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_csuFleetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_csuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateStreamingURL Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Request Lenses

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

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

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

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

The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 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 # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Data CreateStreamingURLResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

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 # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Show CreateStreamingURLResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Generic CreateStreamingURLResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURLResponse :: Type -> Type #

NFData CreateStreamingURLResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

type Rep CreateStreamingURLResponse Source # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

type Rep CreateStreamingURLResponse = D1 (MetaData "CreateStreamingURLResponse" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.6.1-EdCHYsZUFpaEeuyeL4H95g" False) (C1 (MetaCons "CreateStreamingURLResponse'" PrefixI True) (S1 (MetaSel (Just "_csursStreamingURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csursExpires") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_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.