Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_robot_application

update_robot_application(**kwargs)

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 (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).

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

    • 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

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