amazonka-nimble-2.0: Amazon NimbleStudio SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Nimble.CreateStreamingImage

Description

Creates a streaming image resource in a studio.

Synopsis

Creating a Request

data CreateStreamingImage Source #

See: newCreateStreamingImage smart constructor.

Constructors

CreateStreamingImage' 

Fields

  • clientToken :: Maybe Text

    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.

  • description :: Maybe (Sensitive 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.

  • ec2ImageId :: Text

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

  • name :: Sensitive Text

    A friendly name for a streaming image resource.

  • studioId :: Text

    The studio ID.

Instances

Instances details
ToJSON CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.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

AWSRequest CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Associated Types

type AWSResponse CreateStreamingImage #

Generic CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Associated Types

type Rep CreateStreamingImage :: Type -> Type #

Show CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

NFData CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Methods

rnf :: CreateStreamingImage -> () #

Eq CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Hashable CreateStreamingImage Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

type AWSResponse 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" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" '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 (Sensitive Text))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "ec2ImageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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 - 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.

Destructuring the Response

data CreateStreamingImageResponse Source #

See: newCreateStreamingImageResponse smart constructor.

Constructors

CreateStreamingImageResponse' 

Fields

Instances

Instances details
Generic CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Associated Types

type Rep CreateStreamingImageResponse :: Type -> Type #

Show CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

NFData CreateStreamingImageResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStreamingImage

Eq 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" "amazonka-nimble-2.0-GaSxVwPXmRh7tifR7EIdTs" '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 - The streaming image.

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

Response Lenses