Copyright | (c) 2013-2017 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.
By default, the URL is valid only for one minute from the time that it is generated.
- 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 of the streaming URL.csuApplicationId
- The ID of the application that must be launched after the session starts.csuValidity
- The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 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 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.
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.