create_robot

create_robot(**kwargs)

Creates a robot.

Warning

This API is no longer supported and will throw an error if used.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.create_robot(
    name='string',
    architecture='X86_64'|'ARM64'|'ARMHF',
    greengrassGroupId='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • name (string) --

    [REQUIRED]

    The name for the robot.

  • architecture (string) --

    [REQUIRED]

    The target architecture of the robot.

  • greengrassGroupId (string) --

    [REQUIRED]

    The Greengrass group id.

  • tags (dict) --

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

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'arn': 'string',
    'name': 'string',
    'createdAt': datetime(2015, 1, 1),
    'greengrassGroupId': 'string',
    'architecture': 'X86_64'|'ARM64'|'ARMHF',
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • arn (string) --

      The Amazon Resource Name (ARN) of the robot.

    • name (string) --

      The name of the robot.

    • createdAt (datetime) --

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

    • greengrassGroupId (string) --

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

    • architecture (string) --

      The target architecture of the robot.

    • tags (dict) --

      The list of all tags added to the robot.

      • (string) --
        • (string) --

Exceptions

  • RoboMaker.Client.exceptions.InvalidParameterException
  • RoboMaker.Client.exceptions.InternalServerException
  • RoboMaker.Client.exceptions.ThrottlingException
  • RoboMaker.Client.exceptions.LimitExceededException
  • RoboMaker.Client.exceptions.ResourceAlreadyExistsException