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 #

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

Defined in Network.AWS.AppStream.CreateStreamingURL

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

Defined in Network.AWS.AppStream.CreateStreamingURL

Show CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Generic CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURL :: Type -> Type #

Hashable CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

ToJSON CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

AWSRequest CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Associated Types

type Rs CreateStreamingURL :: Type #

ToHeaders CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

ToPath CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

ToQuery CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

NFData CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Methods

rnf :: CreateStreamingURL -> () #

type Rep CreateStreamingURL # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

type Rep CreateStreamingURL = D1 (MetaData "CreateStreamingURL" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.6.1-KEmByA0zDaIGA5z3jUy3aA" 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 # 
Instance details

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

Defined in Network.AWS.AppStream.CreateStreamingURL

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

Defined in Network.AWS.AppStream.CreateStreamingURL

Show CreateStreamingURLResponse # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Generic CreateStreamingURLResponse # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

Associated Types

type Rep CreateStreamingURLResponse :: Type -> Type #

NFData CreateStreamingURLResponse # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

type Rep CreateStreamingURLResponse # 
Instance details

Defined in Network.AWS.AppStream.CreateStreamingURL

type Rep CreateStreamingURLResponse = D1 (MetaData "CreateStreamingURLResponse" "Network.AWS.AppStream.CreateStreamingURL" "amazonka-appstream-1.6.1-KEmByA0zDaIGA5z3jUy3aA" 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) #

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.