Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Nimble.CreateStreamingImage
Description
Creates a streaming image resource in a studio.
Synopsis
- data CreateStreamingImage = CreateStreamingImage' {}
- newCreateStreamingImage :: Text -> Text -> Text -> CreateStreamingImage
- createStreamingImage_clientToken :: Lens' CreateStreamingImage (Maybe Text)
- createStreamingImage_description :: Lens' CreateStreamingImage (Maybe Text)
- createStreamingImage_tags :: Lens' CreateStreamingImage (Maybe (HashMap Text Text))
- createStreamingImage_ec2ImageId :: Lens' CreateStreamingImage Text
- createStreamingImage_name :: Lens' CreateStreamingImage Text
- createStreamingImage_studioId :: Lens' CreateStreamingImage Text
- data CreateStreamingImageResponse = CreateStreamingImageResponse' {}
- newCreateStreamingImageResponse :: Int -> CreateStreamingImageResponse
- createStreamingImageResponse_streamingImage :: Lens' CreateStreamingImageResponse (Maybe StreamingImage)
- createStreamingImageResponse_httpStatus :: Lens' CreateStreamingImageResponse Int
Creating a Request
data CreateStreamingImage Source #
See: newCreateStreamingImage
smart constructor.
Constructors
CreateStreamingImage' | |
Fields
|
Instances
newCreateStreamingImage Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> CreateStreamingImage |
Create a value of CreateStreamingImage
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:CreateStreamingImage'
, createStreamingImage_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If you don’t specify a client token, the
Amazon Web Services SDK automatically generates a client token and uses
it for the request to ensure idempotency.
CreateStreamingImage
, createStreamingImage_description
- A human-readable description of the streaming image.
CreateStreamingImage
, createStreamingImage_tags
- A collection of labels, in the form of key-value pairs, that apply to
this resource.
CreateStreamingImage
, createStreamingImage_ec2ImageId
- The ID of an EC2 machine image with which to create this streaming
image.
CreateStreamingImage
, createStreamingImage_name
- A friendly name for a streaming image resource.
CreateStreamingImage
, createStreamingImage_studioId
- The studio ID.
Request Lenses
createStreamingImage_clientToken :: Lens' CreateStreamingImage (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
createStreamingImage_description :: Lens' CreateStreamingImage (Maybe Text) Source #
A human-readable description of the streaming image.
createStreamingImage_tags :: Lens' CreateStreamingImage (Maybe (HashMap Text Text)) Source #
A collection of labels, in the form of key-value pairs, that apply to this resource.
createStreamingImage_ec2ImageId :: Lens' CreateStreamingImage Text Source #
The ID of an EC2 machine image with which to create this streaming image.
createStreamingImage_name :: Lens' CreateStreamingImage Text Source #
A friendly name for a streaming image resource.
createStreamingImage_studioId :: Lens' CreateStreamingImage Text Source #
The studio ID.
Destructuring the Response
data CreateStreamingImageResponse Source #
See: newCreateStreamingImageResponse
smart constructor.
Constructors
CreateStreamingImageResponse' | |
Fields
|
Instances
newCreateStreamingImageResponse Source #
Create a value of CreateStreamingImageResponse
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:CreateStreamingImageResponse'
, createStreamingImageResponse_streamingImage
- The streaming image.
$sel:httpStatus:CreateStreamingImageResponse'
, createStreamingImageResponse_httpStatus
- The response's http status code.
Response Lenses
createStreamingImageResponse_streamingImage :: Lens' CreateStreamingImageResponse (Maybe StreamingImage) Source #
The streaming image.
createStreamingImageResponse_httpStatus :: Lens' CreateStreamingImageResponse Int Source #
The response's http status code.