Copyright | (c) 2013-2021 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 |
Creates a URL to start an image builder streaming session.
Synopsis
- data CreateImageBuilderStreamingURL = CreateImageBuilderStreamingURL' {}
- newCreateImageBuilderStreamingURL :: Text -> CreateImageBuilderStreamingURL
- createImageBuilderStreamingURL_validity :: Lens' CreateImageBuilderStreamingURL (Maybe Integer)
- createImageBuilderStreamingURL_name :: Lens' CreateImageBuilderStreamingURL Text
- data CreateImageBuilderStreamingURLResponse = CreateImageBuilderStreamingURLResponse' {
- streamingURL :: Maybe Text
- expires :: Maybe POSIX
- httpStatus :: Int
- newCreateImageBuilderStreamingURLResponse :: Int -> CreateImageBuilderStreamingURLResponse
- createImageBuilderStreamingURLResponse_streamingURL :: Lens' CreateImageBuilderStreamingURLResponse (Maybe Text)
- createImageBuilderStreamingURLResponse_expires :: Lens' CreateImageBuilderStreamingURLResponse (Maybe UTCTime)
- createImageBuilderStreamingURLResponse_httpStatus :: Lens' CreateImageBuilderStreamingURLResponse Int
Creating a Request
data CreateImageBuilderStreamingURL Source #
See: newCreateImageBuilderStreamingURL
smart constructor.
Instances
newCreateImageBuilderStreamingURL Source #
Create a value of CreateImageBuilderStreamingURL
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:validity:CreateImageBuilderStreamingURL'
, createImageBuilderStreamingURL_validity
- The time that the streaming URL will be valid, in seconds. Specify a
value between 1 and 604800 seconds. The default is 3600 seconds.
$sel:name:CreateImageBuilderStreamingURL'
, createImageBuilderStreamingURL_name
- The name of the image builder.
Request Lenses
createImageBuilderStreamingURL_validity :: Lens' CreateImageBuilderStreamingURL (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 3600 seconds.
createImageBuilderStreamingURL_name :: Lens' CreateImageBuilderStreamingURL Text Source #
The name of the image builder.
Destructuring the Response
data CreateImageBuilderStreamingURLResponse Source #
See: newCreateImageBuilderStreamingURLResponse
smart constructor.
CreateImageBuilderStreamingURLResponse' | |
|
Instances
newCreateImageBuilderStreamingURLResponse Source #
Create a value of CreateImageBuilderStreamingURLResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamingURL:CreateImageBuilderStreamingURLResponse'
, createImageBuilderStreamingURLResponse_streamingURL
- The URL to start the AppStream 2.0 streaming session.
$sel:expires:CreateImageBuilderStreamingURLResponse'
, createImageBuilderStreamingURLResponse_expires
- The elapsed time, in seconds after the Unix epoch, when this URL
expires.
$sel:httpStatus:CreateImageBuilderStreamingURLResponse'
, createImageBuilderStreamingURLResponse_httpStatus
- The response's http status code.
Response Lenses
createImageBuilderStreamingURLResponse_streamingURL :: Lens' CreateImageBuilderStreamingURLResponse (Maybe Text) Source #
The URL to start the AppStream 2.0 streaming session.
createImageBuilderStreamingURLResponse_expires :: Lens' CreateImageBuilderStreamingURLResponse (Maybe UTCTime) Source #
The elapsed time, in seconds after the Unix epoch, when this URL expires.
createImageBuilderStreamingURLResponse_httpStatus :: Lens' CreateImageBuilderStreamingURLResponse Int Source #
The response's http status code.