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

Description

Registers a robot with a fleet.

Synopsis

Creating a Request

data RegisterRobot Source #

See: newRegisterRobot smart constructor.

Constructors

RegisterRobot' 

Fields

  • fleet :: Text

    The Amazon Resource Name (ARN) of the fleet.

  • robot :: Text

    The Amazon Resource Name (ARN) of the robot.

Instances

Instances details
Eq RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Read RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Show RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Generic RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Associated Types

type Rep RegisterRobot :: Type -> Type #

NFData RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Methods

rnf :: RegisterRobot -> () #

Hashable RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

ToJSON RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

AWSRequest RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Associated Types

type AWSResponse RegisterRobot #

ToHeaders RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

ToPath RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

ToQuery RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

type Rep RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

type Rep RegisterRobot = D1 ('MetaData "RegisterRobot" "Amazonka.RobOMaker.RegisterRobot" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "RegisterRobot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "robot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RegisterRobot Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

newRegisterRobot Source #

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

$sel:robot:RegisterRobot', registerRobot_robot - The Amazon Resource Name (ARN) of the robot.

Request Lenses

registerRobot_fleet :: Lens' RegisterRobot Text Source #

The Amazon Resource Name (ARN) of the fleet.

registerRobot_robot :: Lens' RegisterRobot Text Source #

The Amazon Resource Name (ARN) of the robot.

Destructuring the Response

data RegisterRobotResponse Source #

See: newRegisterRobotResponse smart constructor.

Constructors

RegisterRobotResponse' 

Fields

Instances

Instances details
Eq RegisterRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Read RegisterRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Show RegisterRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Generic RegisterRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Associated Types

type Rep RegisterRobotResponse :: Type -> Type #

NFData RegisterRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

Methods

rnf :: RegisterRobotResponse -> () #

type Rep RegisterRobotResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.RegisterRobot

type Rep RegisterRobotResponse = D1 ('MetaData "RegisterRobotResponse" "Amazonka.RobOMaker.RegisterRobot" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "RegisterRobotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "robot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fleet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRegisterRobotResponse Source #

Create a value of RegisterRobotResponse 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:robot:RegisterRobot', registerRobotResponse_robot - Information about the robot registration.

$sel:fleet:RegisterRobot', registerRobotResponse_fleet - The Amazon Resource Name (ARN) of the fleet that the robot will join.

$sel:httpStatus:RegisterRobotResponse', registerRobotResponse_httpStatus - The response's http status code.

Response Lenses

registerRobotResponse_robot :: Lens' RegisterRobotResponse (Maybe Text) Source #

Information about the robot registration.

registerRobotResponse_fleet :: Lens' RegisterRobotResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the fleet that the robot will join.