amazonka-robomaker-2.0: Amazon RoboMaker 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.RobOMaker.CreateWorldTemplate

Description

Creates a world template.

Synopsis

Creating a Request

data CreateWorldTemplate Source #

See: newCreateWorldTemplate smart constructor.

Constructors

CreateWorldTemplate' 

Fields

Instances

Instances details
ToJSON CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

ToHeaders CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

ToPath CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

ToQuery CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

AWSRequest CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Associated Types

type AWSResponse CreateWorldTemplate #

Generic CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Associated Types

type Rep CreateWorldTemplate :: Type -> Type #

Read CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Show CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

NFData CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Methods

rnf :: CreateWorldTemplate -> () #

Eq CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Hashable CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

type AWSResponse CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

type Rep CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

type Rep CreateWorldTemplate = D1 ('MetaData "CreateWorldTemplate" "Amazonka.RobOMaker.CreateWorldTemplate" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "CreateWorldTemplate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "templateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TemplateLocation))))))

newCreateWorldTemplate :: CreateWorldTemplate Source #

Create a value of CreateWorldTemplate 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:

CreateWorldTemplate, createWorldTemplate_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

CreateWorldTemplate, createWorldTemplate_name - The name of the world template.

CreateWorldTemplate, createWorldTemplate_tags - A map that contains tag keys and tag values that are attached to the world template.

$sel:templateBody:CreateWorldTemplate', createWorldTemplate_templateBody - The world template body.

$sel:templateLocation:CreateWorldTemplate', createWorldTemplate_templateLocation - The location of the world template.

Request Lenses

createWorldTemplate_clientRequestToken :: Lens' CreateWorldTemplate (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createWorldTemplate_tags :: Lens' CreateWorldTemplate (Maybe (HashMap Text Text)) Source #

A map that contains tag keys and tag values that are attached to the world template.

Destructuring the Response

data CreateWorldTemplateResponse Source #

See: newCreateWorldTemplateResponse smart constructor.

Constructors

CreateWorldTemplateResponse' 

Fields

Instances

Instances details
Generic CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Associated Types

type Rep CreateWorldTemplateResponse :: Type -> Type #

Read CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Show CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

NFData CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Eq CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

type Rep CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

type Rep CreateWorldTemplateResponse = D1 ('MetaData "CreateWorldTemplateResponse" "Amazonka.RobOMaker.CreateWorldTemplate" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "CreateWorldTemplateResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateWorldTemplateResponse Source #

Create a value of CreateWorldTemplateResponse 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:

CreateWorldTemplateResponse, createWorldTemplateResponse_arn - The Amazon Resource Name (ARN) of the world template.

CreateWorldTemplate, createWorldTemplateResponse_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

CreateWorldTemplateResponse, createWorldTemplateResponse_createdAt - The time, in milliseconds since the epoch, when the world template was created.

CreateWorldTemplate, createWorldTemplateResponse_name - The name of the world template.

CreateWorldTemplate, createWorldTemplateResponse_tags - A map that contains tag keys and tag values that are attached to the world template.

$sel:httpStatus:CreateWorldTemplateResponse', createWorldTemplateResponse_httpStatus - The response's http status code.

Response Lenses

createWorldTemplateResponse_arn :: Lens' CreateWorldTemplateResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the world template.

createWorldTemplateResponse_clientRequestToken :: Lens' CreateWorldTemplateResponse (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createWorldTemplateResponse_createdAt :: Lens' CreateWorldTemplateResponse (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the world template was created.

createWorldTemplateResponse_tags :: Lens' CreateWorldTemplateResponse (Maybe (HashMap Text Text)) Source #

A map that contains tag keys and tag values that are attached to the world template.