libZSservicesZSamazonka-robomakerZSamazonka-robomaker
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.RobOMaker.CreateWorldTemplate

Description

Creates a world template.

Synopsis

Creating a Request

data CreateWorldTemplate Source #

See: newCreateWorldTemplate smart constructor.

Constructors

CreateWorldTemplate' 

Fields

Instances

Instances details
Eq CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Read CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Show CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Generic CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Associated Types

type Rep CreateWorldTemplate :: Type -> Type #

NFData CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Methods

rnf :: CreateWorldTemplate -> () #

Hashable CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

ToJSON CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

AWSRequest CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Associated Types

type AWSResponse 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

type Rep CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

type Rep CreateWorldTemplate = D1 ('MetaData "CreateWorldTemplate" "Amazonka.RobOMaker.CreateWorldTemplate" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "CreateWorldTemplate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TemplateLocation))) :*: (S1 ('MetaSel ('Just "templateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))
type AWSResponse CreateWorldTemplate Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

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:

$sel:name:CreateWorldTemplate', createWorldTemplate_name - The name of the world template.

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

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

$sel:clientRequestToken:CreateWorldTemplate', createWorldTemplate_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:tags:CreateWorldTemplate', createWorldTemplate_tags - A map that contains tag keys and tag values that are attached to 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
Eq CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Read CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Show CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Generic CreateWorldTemplateResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldTemplate

Associated Types

type Rep CreateWorldTemplateResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "CreateWorldTemplateResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") '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 "clientRequestToken") '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:

$sel:arn:CreateWorldTemplateResponse', createWorldTemplateResponse_arn - The Amazon Resource Name (ARN) of the world template.

$sel:createdAt:CreateWorldTemplateResponse', createWorldTemplateResponse_createdAt - The time, in milliseconds since the epoch, when the world template was created.

$sel:name:CreateWorldTemplate', createWorldTemplateResponse_name - The name of the world template.

$sel:clientRequestToken:CreateWorldTemplate', createWorldTemplateResponse_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:tags: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_createdAt :: Lens' CreateWorldTemplateResponse (Maybe UTCTime) Source #

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

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

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

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.