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 |
Get streaming image.
Synopsis
- data GetStreamingImage = GetStreamingImage' {
- studioId :: Text
- streamingImageId :: Text
- newGetStreamingImage :: Text -> Text -> GetStreamingImage
- getStreamingImage_studioId :: Lens' GetStreamingImage Text
- getStreamingImage_streamingImageId :: Lens' GetStreamingImage Text
- data GetStreamingImageResponse = GetStreamingImageResponse' {}
- newGetStreamingImageResponse :: Int -> GetStreamingImageResponse
- getStreamingImageResponse_streamingImage :: Lens' GetStreamingImageResponse (Maybe StreamingImage)
- getStreamingImageResponse_httpStatus :: Lens' GetStreamingImageResponse Int
Creating a Request
data GetStreamingImage Source #
See: newGetStreamingImage
smart constructor.
GetStreamingImage' | |
|
Instances
:: Text | |
-> Text | |
-> GetStreamingImage |
Create a value of GetStreamingImage
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:studioId:GetStreamingImage'
, getStreamingImage_studioId
- The studio ID.
$sel:streamingImageId:GetStreamingImage'
, getStreamingImage_streamingImageId
- The streaming image ID.
Request Lenses
getStreamingImage_studioId :: Lens' GetStreamingImage Text Source #
The studio ID.
getStreamingImage_streamingImageId :: Lens' GetStreamingImage Text Source #
The streaming image ID.
Destructuring the Response
data GetStreamingImageResponse Source #
See: newGetStreamingImageResponse
smart constructor.
GetStreamingImageResponse' | |
|
Instances
newGetStreamingImageResponse Source #
Create a value of GetStreamingImageResponse
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:streamingImage:GetStreamingImageResponse'
, getStreamingImageResponse_streamingImage
- The streaming image.
$sel:httpStatus:GetStreamingImageResponse'
, getStreamingImageResponse_httpStatus
- The response's http status code.
Response Lenses
getStreamingImageResponse_streamingImage :: Lens' GetStreamingImageResponse (Maybe StreamingImage) Source #
The streaming image.
getStreamingImageResponse_httpStatus :: Lens' GetStreamingImageResponse Int Source #
The response's http status code.