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 |
Delete streaming image.
Synopsis
- data DeleteStreamingImage = DeleteStreamingImage' {
- clientToken :: Maybe Text
- studioId :: Text
- streamingImageId :: Text
- newDeleteStreamingImage :: Text -> Text -> DeleteStreamingImage
- deleteStreamingImage_clientToken :: Lens' DeleteStreamingImage (Maybe Text)
- deleteStreamingImage_studioId :: Lens' DeleteStreamingImage Text
- deleteStreamingImage_streamingImageId :: Lens' DeleteStreamingImage Text
- data DeleteStreamingImageResponse = DeleteStreamingImageResponse' {}
- newDeleteStreamingImageResponse :: Int -> DeleteStreamingImageResponse
- deleteStreamingImageResponse_streamingImage :: Lens' DeleteStreamingImageResponse (Maybe StreamingImage)
- deleteStreamingImageResponse_httpStatus :: Lens' DeleteStreamingImageResponse Int
Creating a Request
data DeleteStreamingImage Source #
See: newDeleteStreamingImage
smart constructor.
DeleteStreamingImage' | |
|
Instances
newDeleteStreamingImage Source #
:: Text | |
-> Text | |
-> DeleteStreamingImage |
Create a value of DeleteStreamingImage
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:DeleteStreamingImage'
, deleteStreamingImage_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:studioId:DeleteStreamingImage'
, deleteStreamingImage_studioId
- The studio ID.
$sel:streamingImageId:DeleteStreamingImage'
, deleteStreamingImage_streamingImageId
- The streaming image ID.
Request Lenses
deleteStreamingImage_clientToken :: Lens' DeleteStreamingImage (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.
deleteStreamingImage_studioId :: Lens' DeleteStreamingImage Text Source #
The studio ID.
deleteStreamingImage_streamingImageId :: Lens' DeleteStreamingImage Text Source #
The streaming image ID.
Destructuring the Response
data DeleteStreamingImageResponse Source #
See: newDeleteStreamingImageResponse
smart constructor.
DeleteStreamingImageResponse' | |
|
Instances
newDeleteStreamingImageResponse Source #
Create a value of DeleteStreamingImageResponse
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:DeleteStreamingImageResponse'
, deleteStreamingImageResponse_streamingImage
- The streaming image.
$sel:httpStatus:DeleteStreamingImageResponse'
, deleteStreamingImageResponse_httpStatus
- The response's http status code.
Response Lenses
deleteStreamingImageResponse_streamingImage :: Lens' DeleteStreamingImageResponse (Maybe StreamingImage) Source #
The streaming image.
deleteStreamingImageResponse_httpStatus :: Lens' DeleteStreamingImageResponse Int Source #
The response's http status code.