libZSservicesZSamazonka-nimbleZSamazonka-nimble
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Nimble.CreateStreamingImage

Description

Creates a streaming image resource in a studio.

Synopsis

Creating a Request

data CreateStreamingImage Source #

A collection of streaming images.

See: newCreateStreamingImage smart constructor.

Constructors

CreateStreamingImage' 

Fields

  • clientToken :: Maybe Text

    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.

  • description :: Maybe Text

    A human-readable description of the streaming image.

  • tags :: Maybe (HashMap Text Text)

    A collection of labels, in the form of key:value pairs, that apply to this resource.

  • studioId :: Text

    The studio ID.

  • name :: Text

    A friendly name for a streaming image resource.

  • ec2ImageId :: Text

    The ID of an EC2 machine image with which to create this streaming image.

Instances

Instances details
Eq CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Read CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Show CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Generic CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Associated Types

type Rep CreateStreamingImage :: Type -> Type #

NFData CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Methods

rnf :: CreateStreamingImage -> () #

Hashable CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

ToJSON CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

AWSRequest CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Associated Types

type AWSResponse CreateStreamingImage #

ToHeaders CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

ToPath CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

ToQuery CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

type Rep CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

type Rep CreateStreamingImage = D1 ('MetaData "CreateStreamingImage" "Amazonka.Nimble.CreateStreamingImage" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStreamingImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ec2ImageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

newCreateStreamingImage Source #

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 - 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:description:CreateStreamingImage', createStreamingImage_description - A human-readable description of the streaming image.

$sel:tags:CreateStreamingImage', createStreamingImage_tags - A collection of labels, in the form of key:value pairs, that apply to this resource.

$sel:studioId:CreateStreamingImage', createStreamingImage_studioId - The studio ID.

$sel:name:CreateStreamingImage', createStreamingImage_name - A friendly name for a streaming image resource.

$sel:ec2ImageId:CreateStreamingImage', createStreamingImage_ec2ImageId - The ID of an EC2 machine image with which to create this streaming image.

Request Lenses

createStreamingImage_clientToken :: Lens' CreateStreamingImage (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.

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_name :: Lens' CreateStreamingImage Text Source #

A friendly name for a streaming image resource.

createStreamingImage_ec2ImageId :: Lens' CreateStreamingImage Text Source #

The ID of an EC2 machine image with which to create this streaming image.

Destructuring the Response

data CreateStreamingImageResponse Source #

See: newCreateStreamingImageResponse smart constructor.

Constructors

CreateStreamingImageResponse' 

Fields

Instances

Instances details
Eq CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Read CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Show CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Generic CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Associated Types

type Rep CreateStreamingImageResponse :: Type -> Type #

NFData CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

type Rep CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

type Rep CreateStreamingImageResponse = D1 ('MetaData "CreateStreamingImageResponse" "Amazonka.Nimble.CreateStreamingImage" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStreamingImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamingImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingImage)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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 -

$sel:httpStatus:CreateStreamingImageResponse', createStreamingImageResponse_httpStatus - The response's http status code.

Response Lenses