Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a URL to start a streaming session for the specified user.
- createStreamingURL :: Text -> Text -> Text -> CreateStreamingURL
- data CreateStreamingURL
- csuSessionContext :: Lens' CreateStreamingURL (Maybe Text)
- csuApplicationId :: Lens' CreateStreamingURL (Maybe Text)
- csuValidity :: Lens' CreateStreamingURL (Maybe Integer)
- csuStackName :: Lens' CreateStreamingURL Text
- csuFleetName :: Lens' CreateStreamingURL Text
- csuUserId :: Lens' CreateStreamingURL Text
- createStreamingURLResponse :: Int -> CreateStreamingURLResponse
- data CreateStreamingURLResponse
- csursStreamingURL :: Lens' CreateStreamingURLResponse (Maybe Text)
- csursExpires :: Lens' CreateStreamingURLResponse (Maybe UTCTime)
- csursResponseStatus :: Lens' CreateStreamingURLResponse Int
Creating a Request
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.
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.
csuStackName :: Lens' CreateStreamingURL Text Source #
The name of the stack.
csuFleetName :: Lens' CreateStreamingURL Text Source #
The name of the fleet.
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:
csursStreamingURL
- The URL to start the AppStream 2.0 streaming session.csursExpires
- The elapsed time, in seconds after the Unix epoch, when this URL expires.csursResponseStatus
- -- | The response status code.
data CreateStreamingURLResponse Source #
See: createStreamingURLResponse
smart constructor.
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.
csursResponseStatus :: Lens' CreateStreamingURLResponse Int Source #
- - | The response status code.