RoboMaker / Client / update_robot_application

update_robot_application#

RoboMaker.Client.update_robot_application(**kwargs)#

Warning

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Updates a robot application.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The application information for 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 used by the robot application.

    • name (string) –

      The name of the robot software suite. General is the only supported value.

    • version (string) –

      The version of the robot software suite. Not applicable for General software suite.

  • currentRevisionId (string) – The revision id for the robot application.

  • environment (dict) –

    The object that contains the Docker image URI 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',
    'environment': {
        'uri': 'string'
    }
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the updated 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 used by the robot application.

      • name (string) –

        The name of the robot software suite. General is the only supported value.

      • version (string) –

        The version of the robot software suite. Not applicable for General software suite.

    • 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.

    • environment (dict) –

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

      • uri (string) –

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

Exceptions