RoboMaker / Client / create_robot_application

create_robot_application#

RoboMaker.Client.create_robot_application(**kwargs)#

Creates a robot application.

See also: AWS API Documentation

Request Syntax

response = client.create_robot_application(
    name='string',
    sources=[
        {
            's3Bucket': 'string',
            's3Key': 'string',
            'architecture': 'X86_64'|'ARM64'|'ARMHF'
        },
    ],
    robotSoftwareSuite={
        'name': 'ROS'|'ROS2'|'General',
        'version': 'Kinetic'|'Melodic'|'Dashing'|'Foxy'
    },
    tags={
        'string': 'string'
    },
    environment={
        'uri': 'string'
    }
)
Parameters:
  • name (string) –

    [REQUIRED]

    The name of the robot application.

  • sources (list) –

    The sources of the robot application.

    • (dict) –

      Information about a source configuration.

      • s3Bucket (string) –

        The Amazon S3 bucket name.

      • s3Key (string) –

        The s3 object key.

      • architecture (string) –

        The target processor architecture for the application.

  • robotSoftwareSuite (dict) –

    [REQUIRED]

    The robot software suite (ROS distribuition) used by the robot application.

    • name (string) –

      The name of the robot software suite (ROS distribution).

    • version (string) –

      The version of the robot software suite (ROS distribution).

  • tags (dict) –

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

    • (string) –

      • (string) –

  • environment (dict) –

    The object that contains that URI of the Docker image that you use for your robot application.

    • uri (string) –

      The Docker image URI for either your robot or simulation applications.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'name': 'string',
    'version': 'string',
    'sources': [
        {
            's3Bucket': 'string',
            's3Key': 'string',
            'etag': 'string',
            'architecture': 'X86_64'|'ARM64'|'ARMHF'
        },
    ],
    'robotSoftwareSuite': {
        'name': 'ROS'|'ROS2'|'General',
        'version': 'Kinetic'|'Melodic'|'Dashing'|'Foxy'
    },
    'lastUpdatedAt': datetime(2015, 1, 1),
    'revisionId': 'string',
    'tags': {
        'string': 'string'
    },
    'environment': {
        'uri': 'string'
    }
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the robot application.

    • name (string) –

      The name of the robot application.

    • version (string) –

      The version of the robot application.

    • sources (list) –

      The sources of the robot application.

      • (dict) –

        Information about a source.

        • s3Bucket (string) –

          The s3 bucket name.

        • s3Key (string) –

          The s3 object key.

        • etag (string) –

          A hash of the object specified by s3Bucket and s3Key.

        • architecture (string) –

          The taget processor architecture for the application.

    • robotSoftwareSuite (dict) –

      The robot software suite (ROS distribution) used by the robot application.

      • name (string) –

        The name of the robot software suite (ROS distribution).

      • version (string) –

        The version of the robot software suite (ROS distribution).

    • lastUpdatedAt (datetime) –

      The time, in milliseconds since the epoch, when the robot application was last updated.

    • revisionId (string) –

      The revision id of the robot application.

    • tags (dict) –

      The list of all tags added to the robot application.

      • (string) –

        • (string) –

    • environment (dict) –

      An object that contains the Docker image URI used to a create your robot application.

      • uri (string) –

        The Docker image URI for either your robot or simulation applications.

Exceptions

  • RoboMaker.Client.exceptions.InvalidParameterException

  • RoboMaker.Client.exceptions.ResourceAlreadyExistsException

  • RoboMaker.Client.exceptions.LimitExceededException

  • RoboMaker.Client.exceptions.ThrottlingException

  • RoboMaker.Client.exceptions.InternalServerException

  • RoboMaker.Client.exceptions.IdempotentParameterMismatchException