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

Description

Creates a robot.

Synopsis

Creating a Request

data CreateRobot Source #

See: newCreateRobot smart constructor.

Constructors

CreateRobot' 

Fields

Instances

Instances details
Eq CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Read CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Show CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Generic CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Associated Types

type Rep CreateRobot :: Type -> Type #

NFData CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Methods

rnf :: CreateRobot -> () #

Hashable CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

ToJSON CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

AWSRequest CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Associated Types

type AWSResponse CreateRobot #

ToHeaders CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Methods

toHeaders :: CreateRobot -> [Header] #

ToPath CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

ToQuery CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

type Rep CreateRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

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

Defined in Amazonka.RobOMaker.CreateRobot

newCreateRobot Source #

Create a value of CreateRobot 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:tags:CreateRobot', createRobot_tags - A map that contains tag keys and tag values that are attached to the robot.

$sel:name:CreateRobot', createRobot_name - The name for the robot.

$sel:architecture:CreateRobot', createRobot_architecture - The target architecture of the robot.

$sel:greengrassGroupId:CreateRobot', createRobot_greengrassGroupId - The Greengrass group id.

Request Lenses

createRobot_tags :: Lens' CreateRobot (Maybe (HashMap Text Text)) Source #

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

createRobot_name :: Lens' CreateRobot Text Source #

The name for the robot.

createRobot_architecture :: Lens' CreateRobot Architecture Source #

The target architecture of the robot.

Destructuring the Response

data CreateRobotResponse Source #

See: newCreateRobotResponse smart constructor.

Constructors

CreateRobotResponse' 

Fields

Instances

Instances details
Eq CreateRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Read CreateRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Show CreateRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Generic CreateRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Associated Types

type Rep CreateRobotResponse :: Type -> Type #

NFData CreateRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

Methods

rnf :: CreateRobotResponse -> () #

type Rep CreateRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateRobot

newCreateRobotResponse Source #

Create a value of CreateRobotResponse 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:CreateRobotResponse', createRobotResponse_arn - The Amazon Resource Name (ARN) of the robot.

$sel:createdAt:CreateRobotResponse', createRobotResponse_createdAt - The time, in milliseconds since the epoch, when the robot was created.

$sel:greengrassGroupId:CreateRobot', createRobotResponse_greengrassGroupId - The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

$sel:name:CreateRobot', createRobotResponse_name - The name of the robot.

$sel:architecture:CreateRobot', createRobotResponse_architecture - The target architecture of the robot.

$sel:tags:CreateRobot', createRobotResponse_tags - The list of all tags added to the robot.

$sel:httpStatus:CreateRobotResponse', createRobotResponse_httpStatus - The response's http status code.

Response Lenses

createRobotResponse_arn :: Lens' CreateRobotResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the robot.

createRobotResponse_createdAt :: Lens' CreateRobotResponse (Maybe UTCTime) Source #

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

createRobotResponse_greengrassGroupId :: Lens' CreateRobotResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

createRobotResponse_tags :: Lens' CreateRobotResponse (Maybe (HashMap Text Text)) Source #

The list of all tags added to the robot.