/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.robomaker; import org.w3c.dom.*; import java.net.*; import java.util.*; import javax.annotation.Generated; import org.apache.commons.logging.*; import com.amazonaws.*; import com.amazonaws.annotation.SdkInternalApi; import com.amazonaws.auth.*; import com.amazonaws.handlers.*; import com.amazonaws.http.*; import com.amazonaws.internal.*; import com.amazonaws.internal.auth.*; import com.amazonaws.metrics.*; import com.amazonaws.regions.*; import com.amazonaws.transform.*; import com.amazonaws.util.*; import com.amazonaws.protocol.json.*; import com.amazonaws.util.AWSRequestMetrics.Field; import com.amazonaws.annotation.ThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.client.builder.AdvancedConfig; import com.amazonaws.services.robomaker.AWSRoboMakerClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.robomaker.model.*; import com.amazonaws.services.robomaker.model.transform.*; /** * Client for accessing RoboMaker. All service calls made using this client are blocking, and will not return until the * service call completes. *
*
* This section provides documentation for the AWS RoboMaker API operations. *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AWSRoboMakerClient extends AmazonWebServiceClient implements AWSRoboMaker { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AWSRoboMaker.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "robomaker"; /** Client configuration factory providing ClientConfigurations tailored to this client */ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); private final AdvancedConfig advancedConfig; private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory( new JsonClientMetadata() .withProtocolVersion("1.1") .withSupportsCbor(false) .withSupportsIon(false) .withContentTypeOverride("application/json") .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConcurrentDeploymentException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.ConcurrentDeploymentExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InternalServerException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.InternalServerExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("LimitExceededException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.LimitExceededExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ResourceNotFoundException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.ResourceNotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("IdempotentParameterMismatchException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.IdempotentParameterMismatchExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ResourceAlreadyExistsException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.ResourceAlreadyExistsExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InvalidParameterException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.InvalidParameterExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ThrottlingException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.ThrottlingExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ServiceUnavailableException").withExceptionUnmarshaller( com.amazonaws.services.robomaker.model.transform.ServiceUnavailableExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.robomaker.model.AWSRoboMakerException.class)); public static AWSRoboMakerClientBuilder builder() { return AWSRoboMakerClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on RoboMaker using the specified parameters. * ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSRoboMakerClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on RoboMaker using the specified parameters. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSRoboMakerClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) { super(clientParams); this.awsCredentialsProvider = clientParams.getCredentialsProvider(); this.advancedConfig = clientParams.getAdvancedConfig(); init(); } private void init() { setServiceNameIntern(DEFAULT_SIGNING_NAME); setEndpointPrefix(ENDPOINT_PREFIX); // calling this.setEndPoint(...) will also modify the signer accordingly setEndpoint("robomaker.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/robomaker/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/robomaker/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Deletes one or more worlds in a batch operation. *
* * @param batchDeleteWorldsRequest * @return Result of the BatchDeleteWorlds operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.BatchDeleteWorlds * @see AWS * API Documentation */ @Override public BatchDeleteWorldsResult batchDeleteWorlds(BatchDeleteWorldsRequest request) { request = beforeClientExecution(request); return executeBatchDeleteWorlds(request); } @SdkInternalApi final BatchDeleteWorldsResult executeBatchDeleteWorlds(BatchDeleteWorldsRequest batchDeleteWorldsRequest) { ExecutionContext executionContext = createExecutionContext(batchDeleteWorldsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes one or more simulation jobs. *
* * @param batchDescribeSimulationJobRequest * @return Result of the BatchDescribeSimulationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.BatchDescribeSimulationJob * @see AWS API Documentation */ @Override public BatchDescribeSimulationJobResult batchDescribeSimulationJob(BatchDescribeSimulationJobRequest request) { request = beforeClientExecution(request); return executeBatchDescribeSimulationJob(request); } @SdkInternalApi final BatchDescribeSimulationJobResult executeBatchDescribeSimulationJob(BatchDescribeSimulationJobRequest batchDescribeSimulationJobRequest) { ExecutionContext executionContext = createExecutionContext(batchDescribeSimulationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Cancels the specified deployment job. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Cancels the specified simulation job. *
* * @param cancelSimulationJobRequest * @return Result of the CancelSimulationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.CancelSimulationJob * @see AWS * API Documentation */ @Override public CancelSimulationJobResult cancelSimulationJob(CancelSimulationJobRequest request) { request = beforeClientExecution(request); return executeCancelSimulationJob(request); } @SdkInternalApi final CancelSimulationJobResult executeCancelSimulationJob(CancelSimulationJobRequest cancelSimulationJobRequest) { ExecutionContext executionContext = createExecutionContext(cancelSimulationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Cancels a simulation job batch. When you cancel a simulation job batch, you are also cancelling all of the active * simulation jobs created as part of the batch. *
* * @param cancelSimulationJobBatchRequest * @return Result of the CancelSimulationJobBatch operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.CancelSimulationJobBatch * @see AWS API Documentation */ @Override public CancelSimulationJobBatchResult cancelSimulationJobBatch(CancelSimulationJobBatchRequest request) { request = beforeClientExecution(request); return executeCancelSimulationJobBatch(request); } @SdkInternalApi final CancelSimulationJobBatchResult executeCancelSimulationJobBatch(CancelSimulationJobBatchRequest cancelSimulationJobBatchRequest) { ExecutionContext executionContext = createExecutionContext(cancelSimulationJobBatchRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Cancels the specified export job. *
* * @param cancelWorldExportJobRequest * @return Result of the CancelWorldExportJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.CancelWorldExportJob * @see AWS * API Documentation */ @Override public CancelWorldExportJobResult cancelWorldExportJob(CancelWorldExportJobRequest request) { request = beforeClientExecution(request); return executeCancelWorldExportJob(request); } @SdkInternalApi final CancelWorldExportJobResult executeCancelWorldExportJob(CancelWorldExportJobRequest cancelWorldExportJobRequest) { ExecutionContext executionContext = createExecutionContext(cancelWorldExportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Cancels the specified world generator job. *
* * @param cancelWorldGenerationJobRequest * @return Result of the CancelWorldGenerationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.CancelWorldGenerationJob * @see AWS API Documentation */ @Override public CancelWorldGenerationJobResult cancelWorldGenerationJob(CancelWorldGenerationJobRequest request) { request = beforeClientExecution(request); return executeCancelWorldGenerationJob(request); } @SdkInternalApi final CancelWorldGenerationJobResult executeCancelWorldGenerationJob(CancelWorldGenerationJobRequest cancelWorldGenerationJobRequest) { ExecutionContext executionContext = createExecutionContext(cancelWorldGenerationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deploys a specific version of a robot application to robots in a fleet. *
** This API is no longer supported and will throw an error if used. *
*
* The robot application must have a numbered applicationVersion
for consistency reasons. To create a
* new version, use CreateRobotApplicationVersion
or see Creating a Robot
* Application Version.
*
* After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible. *
** Creates a fleet, a logical group of robots running the same robot application. *
** This API is no longer supported and will throw an error if used. *
** Creates a robot. *
** This API is no longer supported and will throw an error if used. *
** Creates a robot application. *
* * @param createRobotApplicationRequest * @return Result of the CreateRobotApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceAlreadyExistsException * The specified resource already exists. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws IdempotentParameterMismatchException * The request uses the same client token as a previous, but non-identical request. Do not reuse a client * token with different requests, unless the requests are identical. * @sample AWSRoboMaker.CreateRobotApplication * @see AWS API Documentation */ @Override public CreateRobotApplicationResult createRobotApplication(CreateRobotApplicationRequest request) { request = beforeClientExecution(request); return executeCreateRobotApplication(request); } @SdkInternalApi final CreateRobotApplicationResult executeCreateRobotApplication(CreateRobotApplicationRequest createRobotApplicationRequest) { ExecutionContext executionContext = createExecutionContext(createRobotApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a version of a robot application. *
* * @param createRobotApplicationVersionRequest * @return Result of the CreateRobotApplicationVersion operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws IdempotentParameterMismatchException * The request uses the same client token as a previous, but non-identical request. Do not reuse a client * token with different requests, unless the requests are identical. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.CreateRobotApplicationVersion * @see AWS API Documentation */ @Override public CreateRobotApplicationVersionResult createRobotApplicationVersion(CreateRobotApplicationVersionRequest request) { request = beforeClientExecution(request); return executeCreateRobotApplicationVersion(request); } @SdkInternalApi final CreateRobotApplicationVersionResult executeCreateRobotApplicationVersion(CreateRobotApplicationVersionRequest createRobotApplicationVersionRequest) { ExecutionContext executionContext = createExecutionContext(createRobotApplicationVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a simulation application. *
* * @param createSimulationApplicationRequest * @return Result of the CreateSimulationApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceAlreadyExistsException * The specified resource already exists. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws IdempotentParameterMismatchException * The request uses the same client token as a previous, but non-identical request. Do not reuse a client * token with different requests, unless the requests are identical. * @sample AWSRoboMaker.CreateSimulationApplication * @see AWS API Documentation */ @Override public CreateSimulationApplicationResult createSimulationApplication(CreateSimulationApplicationRequest request) { request = beforeClientExecution(request); return executeCreateSimulationApplication(request); } @SdkInternalApi final CreateSimulationApplicationResult executeCreateSimulationApplication(CreateSimulationApplicationRequest createSimulationApplicationRequest) { ExecutionContext executionContext = createExecutionContext(createSimulationApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a simulation application with a specific revision id. *
* * @param createSimulationApplicationVersionRequest * @return Result of the CreateSimulationApplicationVersion operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws IdempotentParameterMismatchException * The request uses the same client token as a previous, but non-identical request. Do not reuse a client * token with different requests, unless the requests are identical. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.CreateSimulationApplicationVersion * @see AWS API Documentation */ @Override public CreateSimulationApplicationVersionResult createSimulationApplicationVersion(CreateSimulationApplicationVersionRequest request) { request = beforeClientExecution(request); return executeCreateSimulationApplicationVersion(request); } @SdkInternalApi final CreateSimulationApplicationVersionResult executeCreateSimulationApplicationVersion( CreateSimulationApplicationVersionRequest createSimulationApplicationVersionRequest) { ExecutionContext executionContext = createExecutionContext(createSimulationApplicationVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a simulation job. *
** After 90 days, simulation jobs expire and will be deleted. They will no longer be accessible. *
** Creates a world export job. *
* * @param createWorldExportJobRequest * @return Result of the CreateWorldExportJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws IdempotentParameterMismatchException * The request uses the same client token as a previous, but non-identical request. Do not reuse a client * token with different requests, unless the requests are identical. * @throws ServiceUnavailableException * The request has failed due to a temporary failure of the server. * @sample AWSRoboMaker.CreateWorldExportJob * @see AWS * API Documentation */ @Override public CreateWorldExportJobResult createWorldExportJob(CreateWorldExportJobRequest request) { request = beforeClientExecution(request); return executeCreateWorldExportJob(request); } @SdkInternalApi final CreateWorldExportJobResult executeCreateWorldExportJob(CreateWorldExportJobRequest createWorldExportJobRequest) { ExecutionContext executionContext = createExecutionContext(createWorldExportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates worlds using the specified template. *
* * @param createWorldGenerationJobRequest * @return Result of the CreateWorldGenerationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws IdempotentParameterMismatchException * The request uses the same client token as a previous, but non-identical request. Do not reuse a client * token with different requests, unless the requests are identical. * @throws ServiceUnavailableException * The request has failed due to a temporary failure of the server. * @sample AWSRoboMaker.CreateWorldGenerationJob * @see AWS API Documentation */ @Override public CreateWorldGenerationJobResult createWorldGenerationJob(CreateWorldGenerationJobRequest request) { request = beforeClientExecution(request); return executeCreateWorldGenerationJob(request); } @SdkInternalApi final CreateWorldGenerationJobResult executeCreateWorldGenerationJob(CreateWorldGenerationJobRequest createWorldGenerationJobRequest) { ExecutionContext executionContext = createExecutionContext(createWorldGenerationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a world template. *
* * @param createWorldTemplateRequest * @return Result of the CreateWorldTemplate operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceAlreadyExistsException * The specified resource already exists. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.CreateWorldTemplate * @see AWS * API Documentation */ @Override public CreateWorldTemplateResult createWorldTemplate(CreateWorldTemplateRequest request) { request = beforeClientExecution(request); return executeCreateWorldTemplate(request); } @SdkInternalApi final CreateWorldTemplateResult executeCreateWorldTemplate(CreateWorldTemplateRequest createWorldTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createWorldTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a fleet. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Deletes a robot. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Deletes a robot application. *
* * @param deleteRobotApplicationRequest * @return Result of the DeleteRobotApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DeleteRobotApplication * @see AWS API Documentation */ @Override public DeleteRobotApplicationResult deleteRobotApplication(DeleteRobotApplicationRequest request) { request = beforeClientExecution(request); return executeDeleteRobotApplication(request); } @SdkInternalApi final DeleteRobotApplicationResult executeDeleteRobotApplication(DeleteRobotApplicationRequest deleteRobotApplicationRequest) { ExecutionContext executionContext = createExecutionContext(deleteRobotApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a simulation application. *
* * @param deleteSimulationApplicationRequest * @return Result of the DeleteSimulationApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DeleteSimulationApplication * @see AWS API Documentation */ @Override public DeleteSimulationApplicationResult deleteSimulationApplication(DeleteSimulationApplicationRequest request) { request = beforeClientExecution(request); return executeDeleteSimulationApplication(request); } @SdkInternalApi final DeleteSimulationApplicationResult executeDeleteSimulationApplication(DeleteSimulationApplicationRequest deleteSimulationApplicationRequest) { ExecutionContext executionContext = createExecutionContext(deleteSimulationApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a world template. *
* * @param deleteWorldTemplateRequest * @return Result of the DeleteWorldTemplate operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DeleteWorldTemplate * @see AWS * API Documentation */ @Override public DeleteWorldTemplateResult deleteWorldTemplate(DeleteWorldTemplateRequest request) { request = beforeClientExecution(request); return executeDeleteWorldTemplate(request); } @SdkInternalApi final DeleteWorldTemplateResult executeDeleteWorldTemplate(DeleteWorldTemplateRequest deleteWorldTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deleteWorldTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deregisters a robot. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Describes a deployment job. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Describes a fleet. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Describes a robot. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Describes a robot application. *
* * @param describeRobotApplicationRequest * @return Result of the DescribeRobotApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DescribeRobotApplication * @see AWS API Documentation */ @Override public DescribeRobotApplicationResult describeRobotApplication(DescribeRobotApplicationRequest request) { request = beforeClientExecution(request); return executeDescribeRobotApplication(request); } @SdkInternalApi final DescribeRobotApplicationResult executeDescribeRobotApplication(DescribeRobotApplicationRequest describeRobotApplicationRequest) { ExecutionContext executionContext = createExecutionContext(describeRobotApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a simulation application. *
* * @param describeSimulationApplicationRequest * @return Result of the DescribeSimulationApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DescribeSimulationApplication * @see AWS API Documentation */ @Override public DescribeSimulationApplicationResult describeSimulationApplication(DescribeSimulationApplicationRequest request) { request = beforeClientExecution(request); return executeDescribeSimulationApplication(request); } @SdkInternalApi final DescribeSimulationApplicationResult executeDescribeSimulationApplication(DescribeSimulationApplicationRequest describeSimulationApplicationRequest) { ExecutionContext executionContext = createExecutionContext(describeSimulationApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a simulation job. *
* * @param describeSimulationJobRequest * @return Result of the DescribeSimulationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.DescribeSimulationJob * @see AWS API Documentation */ @Override public DescribeSimulationJobResult describeSimulationJob(DescribeSimulationJobRequest request) { request = beforeClientExecution(request); return executeDescribeSimulationJob(request); } @SdkInternalApi final DescribeSimulationJobResult executeDescribeSimulationJob(DescribeSimulationJobRequest describeSimulationJobRequest) { ExecutionContext executionContext = createExecutionContext(describeSimulationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a simulation job batch. *
* * @param describeSimulationJobBatchRequest * @return Result of the DescribeSimulationJobBatch operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DescribeSimulationJobBatch * @see AWS API Documentation */ @Override public DescribeSimulationJobBatchResult describeSimulationJobBatch(DescribeSimulationJobBatchRequest request) { request = beforeClientExecution(request); return executeDescribeSimulationJobBatch(request); } @SdkInternalApi final DescribeSimulationJobBatchResult executeDescribeSimulationJobBatch(DescribeSimulationJobBatchRequest describeSimulationJobBatchRequest) { ExecutionContext executionContext = createExecutionContext(describeSimulationJobBatchRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a world. *
* * @param describeWorldRequest * @return Result of the DescribeWorld operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DescribeWorld * @see AWS API * Documentation */ @Override public DescribeWorldResult describeWorld(DescribeWorldRequest request) { request = beforeClientExecution(request); return executeDescribeWorld(request); } @SdkInternalApi final DescribeWorldResult executeDescribeWorld(DescribeWorldRequest describeWorldRequest) { ExecutionContext executionContext = createExecutionContext(describeWorldRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a world export job. *
* * @param describeWorldExportJobRequest * @return Result of the DescribeWorldExportJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.DescribeWorldExportJob * @see AWS API Documentation */ @Override public DescribeWorldExportJobResult describeWorldExportJob(DescribeWorldExportJobRequest request) { request = beforeClientExecution(request); return executeDescribeWorldExportJob(request); } @SdkInternalApi final DescribeWorldExportJobResult executeDescribeWorldExportJob(DescribeWorldExportJobRequest describeWorldExportJobRequest) { ExecutionContext executionContext = createExecutionContext(describeWorldExportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a world generation job. *
* * @param describeWorldGenerationJobRequest * @return Result of the DescribeWorldGenerationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.DescribeWorldGenerationJob * @see AWS API Documentation */ @Override public DescribeWorldGenerationJobResult describeWorldGenerationJob(DescribeWorldGenerationJobRequest request) { request = beforeClientExecution(request); return executeDescribeWorldGenerationJob(request); } @SdkInternalApi final DescribeWorldGenerationJobResult executeDescribeWorldGenerationJob(DescribeWorldGenerationJobRequest describeWorldGenerationJobRequest) { ExecutionContext executionContext = createExecutionContext(describeWorldGenerationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Describes a world template. *
* * @param describeWorldTemplateRequest * @return Result of the DescribeWorldTemplate operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.DescribeWorldTemplate * @see AWS API Documentation */ @Override public DescribeWorldTemplateResult describeWorldTemplate(DescribeWorldTemplateRequest request) { request = beforeClientExecution(request); return executeDescribeWorldTemplate(request); } @SdkInternalApi final DescribeWorldTemplateResult executeDescribeWorldTemplate(DescribeWorldTemplateRequest describeWorldTemplateRequest) { ExecutionContext executionContext = createExecutionContext(describeWorldTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the world template body. *
* * @param getWorldTemplateBodyRequest * @return Result of the GetWorldTemplateBody operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.GetWorldTemplateBody * @see AWS * API Documentation */ @Override public GetWorldTemplateBodyResult getWorldTemplateBody(GetWorldTemplateBodyRequest request) { request = beforeClientExecution(request); return executeGetWorldTemplateBody(request); } @SdkInternalApi final GetWorldTemplateBodyResult executeGetWorldTemplateBody(GetWorldTemplateBodyRequest getWorldTemplateBodyRequest) { ExecutionContext executionContext = createExecutionContext(getWorldTemplateBodyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment * jobs. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Returns a list of fleets. You can optionally provide filters to retrieve specific fleets. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Returns a list of robot application. You can optionally provide filters to retrieve specific robot applications. *
* * @param listRobotApplicationsRequest * @return Result of the ListRobotApplications operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.ListRobotApplications * @see AWS API Documentation */ @Override public ListRobotApplicationsResult listRobotApplications(ListRobotApplicationsRequest request) { request = beforeClientExecution(request); return executeListRobotApplications(request); } @SdkInternalApi final ListRobotApplicationsResult executeListRobotApplications(ListRobotApplicationsRequest listRobotApplicationsRequest) { ExecutionContext executionContext = createExecutionContext(listRobotApplicationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of robots. You can optionally provide filters to retrieve specific robots. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Returns a list of simulation applications. You can optionally provide filters to retrieve specific simulation * applications. *
* * @param listSimulationApplicationsRequest * @return Result of the ListSimulationApplications operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.ListSimulationApplications * @see AWS API Documentation */ @Override public ListSimulationApplicationsResult listSimulationApplications(ListSimulationApplicationsRequest request) { request = beforeClientExecution(request); return executeListSimulationApplications(request); } @SdkInternalApi final ListSimulationApplicationsResult executeListSimulationApplications(ListSimulationApplicationsRequest listSimulationApplicationsRequest) { ExecutionContext executionContext = createExecutionContext(listSimulationApplicationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list simulation job batches. You can optionally provide filters to retrieve specific simulation batch * jobs. *
* * @param listSimulationJobBatchesRequest * @return Result of the ListSimulationJobBatches operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.ListSimulationJobBatches * @see AWS API Documentation */ @Override public ListSimulationJobBatchesResult listSimulationJobBatches(ListSimulationJobBatchesRequest request) { request = beforeClientExecution(request); return executeListSimulationJobBatches(request); } @SdkInternalApi final ListSimulationJobBatchesResult executeListSimulationJobBatches(ListSimulationJobBatchesRequest listSimulationJobBatchesRequest) { ExecutionContext executionContext = createExecutionContext(listSimulationJobBatchesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of simulation jobs. You can optionally provide filters to retrieve specific simulation jobs. *
* * @param listSimulationJobsRequest * @return Result of the ListSimulationJobs operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.ListSimulationJobs * @see AWS * API Documentation */ @Override public ListSimulationJobsResult listSimulationJobs(ListSimulationJobsRequest request) { request = beforeClientExecution(request); return executeListSimulationJobs(request); } @SdkInternalApi final ListSimulationJobsResult executeListSimulationJobs(ListSimulationJobsRequest listSimulationJobsRequest) { ExecutionContext executionContext = createExecutionContext(listSimulationJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all tags on a AWS RoboMaker resource. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.ListTagsForResource * @see AWS * API Documentation */ @Override public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request) { request = beforeClientExecution(request); return executeListTagsForResource(request); } @SdkInternalApi final ListTagsForResourceResult executeListTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) { ExecutionContext executionContext = createExecutionContext(listTagsForResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists world export jobs. *
* * @param listWorldExportJobsRequest * @return Result of the ListWorldExportJobs operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.ListWorldExportJobs * @see AWS * API Documentation */ @Override public ListWorldExportJobsResult listWorldExportJobs(ListWorldExportJobsRequest request) { request = beforeClientExecution(request); return executeListWorldExportJobs(request); } @SdkInternalApi final ListWorldExportJobsResult executeListWorldExportJobs(ListWorldExportJobsRequest listWorldExportJobsRequest) { ExecutionContext executionContext = createExecutionContext(listWorldExportJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists world generator jobs. *
* * @param listWorldGenerationJobsRequest * @return Result of the ListWorldGenerationJobs operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.ListWorldGenerationJobs * @see AWS API Documentation */ @Override public ListWorldGenerationJobsResult listWorldGenerationJobs(ListWorldGenerationJobsRequest request) { request = beforeClientExecution(request); return executeListWorldGenerationJobs(request); } @SdkInternalApi final ListWorldGenerationJobsResult executeListWorldGenerationJobs(ListWorldGenerationJobsRequest listWorldGenerationJobsRequest) { ExecutionContext executionContext = createExecutionContext(listWorldGenerationJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists world templates. *
* * @param listWorldTemplatesRequest * @return Result of the ListWorldTemplates operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.ListWorldTemplates * @see AWS * API Documentation */ @Override public ListWorldTemplatesResult listWorldTemplates(ListWorldTemplatesRequest request) { request = beforeClientExecution(request); return executeListWorldTemplates(request); } @SdkInternalApi final ListWorldTemplatesResult executeListWorldTemplates(ListWorldTemplatesRequest listWorldTemplatesRequest) { ExecutionContext executionContext = createExecutionContext(listWorldTemplatesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists worlds. *
* * @param listWorldsRequest * @return Result of the ListWorlds operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.ListWorlds * @see AWS API * Documentation */ @Override public ListWorldsResult listWorlds(ListWorldsRequest request) { request = beforeClientExecution(request); return executeListWorlds(request); } @SdkInternalApi final ListWorldsResult executeListWorlds(ListWorldsRequest listWorldsRequest) { ExecutionContext executionContext = createExecutionContext(listWorldsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Registers a robot with a fleet. *
** This API is no longer supported and will throw an error if used. *
** Restarts a running simulation job. *
* * @param restartSimulationJobRequest * @return Result of the RestartSimulationJob operation returned by the service. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.RestartSimulationJob * @see AWS * API Documentation */ @Override public RestartSimulationJobResult restartSimulationJob(RestartSimulationJobRequest request) { request = beforeClientExecution(request); return executeRestartSimulationJob(request); } @SdkInternalApi final RestartSimulationJobResult executeRestartSimulationJob(RestartSimulationJobRequest restartSimulationJobRequest) { ExecutionContext executionContext = createExecutionContext(restartSimulationJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request
* Starts a new simulation job batch. The batch is defined using one or more SimulationJobRequest
* objects.
*
* Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment. *
** This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for * Deployment Service. *
** Adds or edits tags for a AWS RoboMaker resource. *
** Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be * empty strings. *
** For information about the rules that apply to tag keys and tag values, see User-Defined * Tag Restrictions in the AWS Billing and Cost Management User Guide. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @sample AWSRoboMaker.TagResource * @see AWS API * Documentation */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); } @SdkInternalApi final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) { ExecutionContext executionContext = createExecutionContext(tagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Removes the specified tags from the specified AWS RoboMaker resource. *
*
* To remove a tag, specify the tag key. To change the tag value of an existing tag key, use TagResource
.
*
* Updates a robot application. *
* * @param updateRobotApplicationRequest * @return Result of the UpdateRobotApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.UpdateRobotApplication * @see AWS API Documentation */ @Override public UpdateRobotApplicationResult updateRobotApplication(UpdateRobotApplicationRequest request) { request = beforeClientExecution(request); return executeUpdateRobotApplication(request); } @SdkInternalApi final UpdateRobotApplicationResult executeUpdateRobotApplication(UpdateRobotApplicationRequest updateRobotApplicationRequest) { ExecutionContext executionContext = createExecutionContext(updateRobotApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a simulation application. *
* * @param updateSimulationApplicationRequest * @return Result of the UpdateSimulationApplication operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws LimitExceededException * The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests * exceeds the maximum number allowed. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.UpdateSimulationApplication * @see AWS API Documentation */ @Override public UpdateSimulationApplicationResult updateSimulationApplication(UpdateSimulationApplicationRequest request) { request = beforeClientExecution(request); return executeUpdateSimulationApplication(request); } @SdkInternalApi final UpdateSimulationApplicationResult executeUpdateSimulationApplication(UpdateSimulationApplicationRequest updateSimulationApplicationRequest) { ExecutionContext executionContext = createExecutionContext(updateSimulationApplicationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a world template. *
* * @param updateWorldTemplateRequest * @return Result of the UpdateWorldTemplate operation returned by the service. * @throws InvalidParameterException * A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message * provides an explanation of the error value. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws ThrottlingException * AWS RoboMaker is temporarily unable to process the request. Try your call again. * @throws InternalServerException * AWS RoboMaker experienced a service issue. Try your call again. * @sample AWSRoboMaker.UpdateWorldTemplate * @see AWS * API Documentation */ @Override public UpdateWorldTemplateResult updateWorldTemplate(UpdateWorldTemplateRequest request) { request = beforeClientExecution(request); return executeUpdateWorldTemplate(request); } @SdkInternalApi final UpdateWorldTemplateResult executeUpdateWorldTemplate(UpdateWorldTemplateRequest updateWorldTemplateRequest) { ExecutionContext executionContext = createExecutionContext(updateWorldTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
* information for an executed request, you should use this method to retrieve it as soon as possible after
* executing the request.
*
* @param request
* The originally executed request
*
* @return The response metadata for the specified request, or null if none is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
return client.getResponseMetadataForRequest(request);
}
/**
* Normal invoke with authentication. Credentials are required and may be overriden at the request level.
**/
private