| 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 |
Amazonka.Nimble.UpdateStreamingImage
Description
Update streaming image.
Synopsis
- data UpdateStreamingImage = UpdateStreamingImage' {
- clientToken :: Maybe Text
- name :: Maybe Text
- description :: Maybe Text
- studioId :: Text
- streamingImageId :: Text
- newUpdateStreamingImage :: Text -> Text -> UpdateStreamingImage
- updateStreamingImage_clientToken :: Lens' UpdateStreamingImage (Maybe Text)
- updateStreamingImage_name :: Lens' UpdateStreamingImage (Maybe Text)
- updateStreamingImage_description :: Lens' UpdateStreamingImage (Maybe Text)
- updateStreamingImage_studioId :: Lens' UpdateStreamingImage Text
- updateStreamingImage_streamingImageId :: Lens' UpdateStreamingImage Text
- data UpdateStreamingImageResponse = UpdateStreamingImageResponse' {}
- newUpdateStreamingImageResponse :: Int -> UpdateStreamingImageResponse
- updateStreamingImageResponse_streamingImage :: Lens' UpdateStreamingImageResponse (Maybe StreamingImage)
- updateStreamingImageResponse_httpStatus :: Lens' UpdateStreamingImageResponse Int
Creating a Request
data UpdateStreamingImage Source #
The streaming image ID.
See: newUpdateStreamingImage smart constructor.
Constructors
| UpdateStreamingImage' | |
Fields
| |
Instances
newUpdateStreamingImage Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateStreamingImage |
Create a value of UpdateStreamingImage 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:clientToken:UpdateStreamingImage', updateStreamingImage_clientToken - To make an idempotent API request using one of these actions, specify a
client token in the request. You should not reuse the same client token
for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the
retry succeeds without performing any further actions. If you retry a
successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException
error.
$sel:name:UpdateStreamingImage', updateStreamingImage_name - The name for the streaming image.
$sel:description:UpdateStreamingImage', updateStreamingImage_description - The description.
$sel:studioId:UpdateStreamingImage', updateStreamingImage_studioId - The studio ID.
$sel:streamingImageId:UpdateStreamingImage', updateStreamingImage_streamingImageId - The streaming image ID.
Request Lenses
updateStreamingImage_clientToken :: Lens' UpdateStreamingImage (Maybe Text) Source #
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
updateStreamingImage_name :: Lens' UpdateStreamingImage (Maybe Text) Source #
The name for the streaming image.
updateStreamingImage_description :: Lens' UpdateStreamingImage (Maybe Text) Source #
The description.
updateStreamingImage_studioId :: Lens' UpdateStreamingImage Text Source #
The studio ID.
updateStreamingImage_streamingImageId :: Lens' UpdateStreamingImage Text Source #
The streaming image ID.
Destructuring the Response
data UpdateStreamingImageResponse Source #
See: newUpdateStreamingImageResponse smart constructor.
Constructors
| UpdateStreamingImageResponse' | |
Fields
| |
Instances
newUpdateStreamingImageResponse Source #
Create a value of UpdateStreamingImageResponse 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:UpdateStreamingImageResponse', updateStreamingImageResponse_streamingImage -
$sel:httpStatus:UpdateStreamingImageResponse', updateStreamingImageResponse_httpStatus - The response's http status code.
Response Lenses
updateStreamingImageResponse_streamingImage :: Lens' UpdateStreamingImageResponse (Maybe StreamingImage) Source #
updateStreamingImageResponse_httpStatus :: Lens' UpdateStreamingImageResponse Int Source #
The response's http status code.