Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a URL to start an AppStream 2.0 streaming session for a user. By default, the URL is valid only for 1 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 sessionContext of the streaming URL.csuApplicationId
- The ID of the application that must be launched after the session starts.csuValidity
- The validity duration of the URL in seconds. After this duration, the URL returned by this operation becomes invalid.csuStackName
- The stack for which the URL is generated.csuFleetName
- The fleet for which the URL is generated.csuUserId
- A unique user ID for whom the URL is generated.
data CreateStreamingURL Source #
See: createStreamingURL
smart constructor.
Request Lenses
csuSessionContext :: Lens' CreateStreamingURL (Maybe Text) Source #
The sessionContext 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 validity duration of the URL in seconds. After this duration, the URL returned by this operation becomes invalid.
csuStackName :: Lens' CreateStreamingURL Text Source #
The stack for which the URL is generated.
csuFleetName :: Lens' CreateStreamingURL Text Source #
The fleet for which the URL is generated.
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
- Elapsed seconds after the Unix epoch, at which time 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 #
Elapsed seconds after the Unix epoch, at which time this URL expires.
csursResponseStatus :: Lens' CreateStreamingURLResponse Int Source #
- - | The response status code.