create_fleet

create_fleet(**kwargs)

Creates a fleet, a logical group of robots running the same robot application.

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_fleet(
    name='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • name (string) --

    [REQUIRED]

    The name of the fleet.

  • tags (dict) --

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

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

dict

Returns

Response Syntax

{
    'arn': 'string',
    'name': 'string',
    'createdAt': datetime(2015, 1, 1),
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • arn (string) --

      The Amazon Resource Name (ARN) of the fleet.

    • name (string) --

      The name of the fleet.

    • createdAt (datetime) --

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

    • tags (dict) --

      The list of all tags added to the fleet.

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

Exceptions

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