IoTRoboRunner / Client / create_worker_fleet

create_worker_fleet#

IoTRoboRunner.Client.create_worker_fleet(**kwargs)#

Grants permission to create a worker fleet

See also: AWS API Documentation

Request Syntax

response = client.create_worker_fleet(
    clientToken='string',
    name='string',
    site='string',
    additionalFixedProperties='string'
)
Parameters:
  • clientToken (string) –

    Token used for detecting replayed requests. Replayed requests will not be performed multiple times.

    This field is autopopulated if not provided.

  • name (string) –

    [REQUIRED]

    Human friendly name of the resource.

  • site (string) –

    [REQUIRED]

    Site ARN.

  • additionalFixedProperties (string) – JSON blob containing additional fixed properties regarding the worker fleet

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'id': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • arn (string) –

      Full ARN of the worker fleet.

    • id (string) –

      Filters access by the worker fleet’s identifier

    • createdAt (datetime) –

      Timestamp at which the resource was created.

    • updatedAt (datetime) –

      Timestamp at which the resource was last updated.

Exceptions

  • IoTRoboRunner.Client.exceptions.ConflictException

  • IoTRoboRunner.Client.exceptions.AccessDeniedException

  • IoTRoboRunner.Client.exceptions.ValidationException

  • IoTRoboRunner.Client.exceptions.ResourceNotFoundException

  • IoTRoboRunner.Client.exceptions.ThrottlingException

  • IoTRoboRunner.Client.exceptions.InternalServerException

  • IoTRoboRunner.Client.exceptions.ServiceQuotaExceededException