AWS RoboMaker

2020/11/12 - AWS RoboMaker - 2 updated api methods

Changes  Update robomaker client to latest version

CreateWorldGenerationJob (updated) Link ¶
Changes (both)
{'worldTags': {'string': 'string'}}

Creates worlds using the specified template.

See also: AWS API Documentation

Request Syntax

client.create_world_generation_job(
    clientRequestToken='string',
    template='string',
    worldCount={
        'floorplanCount': 123,
        'interiorCountPerFloorplan': 123
    },
    tags={
        'string': 'string'
    },
    worldTags={
        'string': 'string'
    }
)
type clientRequestToken:

string

param clientRequestToken:

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

This field is autopopulated if not provided.

type template:

string

param template:

[REQUIRED]

The Amazon Resource Name (arn) of the world template describing the worlds you want to create.

type worldCount:

dict

param worldCount:

[REQUIRED]

Information about the world count.

  • floorplanCount (integer) --

    The number of unique floorplans.

  • interiorCountPerFloorplan (integer) --

    The number of unique interiors per floorplan.

type tags:

dict

param tags:

A map that contains tag keys and tag values that are attached to the world generator job.

  • (string) --

    • (string) --

type worldTags:

dict

param worldTags:

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

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'status': 'Pending'|'Running'|'Completed'|'Failed'|'PartialFailed'|'Canceling'|'Canceled',
    'createdAt': datetime(2015, 1, 1),
    'failureCode': 'InternalServiceError'|'LimitExceeded'|'ResourceNotFound'|'RequestThrottled'|'InvalidInput'|'AllWorldGenerationFailed',
    'clientRequestToken': 'string',
    'template': 'string',
    'worldCount': {
        'floorplanCount': 123,
        'interiorCountPerFloorplan': 123
    },
    'tags': {
        'string': 'string'
    },
    'worldTags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • arn (string) --

      The Amazon Resource Name (ARN) of the world generator job.

    • status (string) --

      The status of the world generator job.

      Pending

      The world generator job request is pending.

      Running

      The world generator job is running.

      Completed

      The world generator job completed.

      Failed

      The world generator job failed. See failureCode for more information.

      PartialFailed

      Some worlds did not generate.

      Canceled

      The world generator job was cancelled.

      Canceling

      The world generator job is being cancelled.

    • createdAt (datetime) --

      The time, in milliseconds since the epoch, when the world generator job was created.

    • failureCode (string) --

      The failure code of the world generator job if it failed:

      InternalServiceError

      Internal service error.

      LimitExceeded

      The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

      ResourceNotFound

      The specified resource could not be found.

      RequestThrottled

      The request was throttled.

      InvalidInput

      An input parameter in the request is not valid.

    • clientRequestToken (string) --

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    • template (string) --

      The Amazon Resource Name (arn) of the world template.

    • worldCount (dict) --

      Information about the world count.

      • floorplanCount (integer) --

        The number of unique floorplans.

      • interiorCountPerFloorplan (integer) --

        The number of unique interiors per floorplan.

    • tags (dict) --

      A map that contains tag keys and tag values that are attached to the world generator job.

      • (string) --

        • (string) --

    • worldTags (dict) --

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

      • (string) --

        • (string) --

DescribeWorldGenerationJob (updated) Link ¶
Changes (response)
{'worldTags': {'string': 'string'}}

Describes a world generation job.

See also: AWS API Documentation

Request Syntax

client.describe_world_generation_job(
    job='string'
)
type job:

string

param job:

[REQUIRED]

The Amazon Resource Name (arn) of the world generation job to describe.

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'status': 'Pending'|'Running'|'Completed'|'Failed'|'PartialFailed'|'Canceling'|'Canceled',
    'createdAt': datetime(2015, 1, 1),
    'failureCode': 'InternalServiceError'|'LimitExceeded'|'ResourceNotFound'|'RequestThrottled'|'InvalidInput'|'AllWorldGenerationFailed',
    'failureReason': 'string',
    'clientRequestToken': 'string',
    'template': 'string',
    'worldCount': {
        'floorplanCount': 123,
        'interiorCountPerFloorplan': 123
    },
    'finishedWorldsSummary': {
        'finishedCount': 123,
        'succeededWorlds': [
            'string',
        ],
        'failureSummary': {
            'totalFailureCount': 123,
            'failures': [
                {
                    'failureCode': 'InternalServiceError'|'LimitExceeded'|'ResourceNotFound'|'RequestThrottled'|'InvalidInput'|'AllWorldGenerationFailed',
                    'sampleFailureReason': 'string',
                    'failureCount': 123
                },
            ]
        }
    },
    'tags': {
        'string': 'string'
    },
    'worldTags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • arn (string) --

      The Amazon Resource Name (ARN) of the world generation job.

    • status (string) --

      The status of the world generation job:

      Pending

      The world generation job request is pending.

      Running

      The world generation job is running.

      Completed

      The world generation job completed.

      Failed

      The world generation job failed. See failureCode for more information.

      PartialFailed

      Some worlds did not generate.

      Canceled

      The world generation job was cancelled.

      Canceling

      The world generation job is being cancelled.

    • createdAt (datetime) --

      The time, in milliseconds since the epoch, when the world generation job was created.

    • failureCode (string) --

      The failure code of the world generation job if it failed:

      InternalServiceError

      Internal service error.

      LimitExceeded

      The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

      ResourceNotFound

      The specified resource could not be found.

      RequestThrottled

      The request was throttled.

      InvalidInput

      An input parameter in the request is not valid.

    • failureReason (string) --

      The reason why the world generation job failed.

    • clientRequestToken (string) --

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    • template (string) --

      The Amazon Resource Name (arn) of the world template.

    • worldCount (dict) --

      Information about the world count.

      • floorplanCount (integer) --

        The number of unique floorplans.

      • interiorCountPerFloorplan (integer) --

        The number of unique interiors per floorplan.

    • finishedWorldsSummary (dict) --

      Summary information about finished worlds.

      • finishedCount (integer) --

        The total number of finished worlds.

      • succeededWorlds (list) --

        A list of worlds that succeeded.

        • (string) --

      • failureSummary (dict) --

        Information about worlds that failed.

        • totalFailureCount (integer) --

          The total number of failures.

        • failures (list) --

          The worlds that failed.

          • (dict) --

            Information about a failed world.

            • failureCode (string) --

              The failure code of the world export job if it failed:

              InternalServiceError

              Internal service error.

              LimitExceeded

              The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

              ResourceNotFound

              The specified resource could not be found.

              RequestThrottled

              The request was throttled.

              InvalidInput

              An input parameter in the request is not valid.

            • sampleFailureReason (string) --

              The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.

            • failureCount (integer) --

              The number of failed worlds.

    • tags (dict) --

      A map that contains tag keys and tag values that are attached to the world generation job.

      • (string) --

        • (string) --

    • worldTags (dict) --

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

      • (string) --

        • (string) --