tile38/vendor/github.com/aws/aws-sdk-go/service/robomaker/api.go

9553 lines
328 KiB
Go
Raw Normal View History

2019-03-11 19:18:55 +03:00
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package robomaker
import (
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/restjson"
)
const opBatchDescribeSimulationJob = "BatchDescribeSimulationJob"
// BatchDescribeSimulationJobRequest generates a "aws/request.Request" representing the
// client's request for the BatchDescribeSimulationJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See BatchDescribeSimulationJob for more information on using the BatchDescribeSimulationJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the BatchDescribeSimulationJobRequest method.
// req, resp := client.BatchDescribeSimulationJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob
func (c *RoboMaker) BatchDescribeSimulationJobRequest(input *BatchDescribeSimulationJobInput) (req *request.Request, output *BatchDescribeSimulationJobOutput) {
op := &request.Operation{
Name: opBatchDescribeSimulationJob,
HTTPMethod: "POST",
HTTPPath: "/batchDescribeSimulationJob",
}
if input == nil {
input = &BatchDescribeSimulationJobInput{}
}
output = &BatchDescribeSimulationJobOutput{}
req = c.newRequest(op, input, output)
return
}
// BatchDescribeSimulationJob API operation for AWS RoboMaker.
//
// Describes one or more simulation jobs.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation BatchDescribeSimulationJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob
func (c *RoboMaker) BatchDescribeSimulationJob(input *BatchDescribeSimulationJobInput) (*BatchDescribeSimulationJobOutput, error) {
req, out := c.BatchDescribeSimulationJobRequest(input)
return out, req.Send()
}
// BatchDescribeSimulationJobWithContext is the same as BatchDescribeSimulationJob with the addition of
// the ability to pass a context and additional request options.
//
// See BatchDescribeSimulationJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) BatchDescribeSimulationJobWithContext(ctx aws.Context, input *BatchDescribeSimulationJobInput, opts ...request.Option) (*BatchDescribeSimulationJobOutput, error) {
req, out := c.BatchDescribeSimulationJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCancelSimulationJob = "CancelSimulationJob"
// CancelSimulationJobRequest generates a "aws/request.Request" representing the
// client's request for the CancelSimulationJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CancelSimulationJob for more information on using the CancelSimulationJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CancelSimulationJobRequest method.
// req, resp := client.CancelSimulationJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob
func (c *RoboMaker) CancelSimulationJobRequest(input *CancelSimulationJobInput) (req *request.Request, output *CancelSimulationJobOutput) {
op := &request.Operation{
Name: opCancelSimulationJob,
HTTPMethod: "POST",
HTTPPath: "/cancelSimulationJob",
}
if input == nil {
input = &CancelSimulationJobInput{}
}
output = &CancelSimulationJobOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// CancelSimulationJob API operation for AWS RoboMaker.
//
// Cancels the specified simulation job.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CancelSimulationJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob
func (c *RoboMaker) CancelSimulationJob(input *CancelSimulationJobInput) (*CancelSimulationJobOutput, error) {
req, out := c.CancelSimulationJobRequest(input)
return out, req.Send()
}
// CancelSimulationJobWithContext is the same as CancelSimulationJob with the addition of
// the ability to pass a context and additional request options.
//
// See CancelSimulationJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CancelSimulationJobWithContext(ctx aws.Context, input *CancelSimulationJobInput, opts ...request.Option) (*CancelSimulationJobOutput, error) {
req, out := c.CancelSimulationJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateDeploymentJob = "CreateDeploymentJob"
// CreateDeploymentJobRequest generates a "aws/request.Request" representing the
// client's request for the CreateDeploymentJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateDeploymentJob for more information on using the CreateDeploymentJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateDeploymentJobRequest method.
// req, resp := client.CreateDeploymentJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob
func (c *RoboMaker) CreateDeploymentJobRequest(input *CreateDeploymentJobInput) (req *request.Request, output *CreateDeploymentJobOutput) {
op := &request.Operation{
Name: opCreateDeploymentJob,
HTTPMethod: "POST",
HTTPPath: "/createDeploymentJob",
}
if input == nil {
input = &CreateDeploymentJobInput{}
}
output = &CreateDeploymentJobOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateDeploymentJob API operation for AWS RoboMaker.
//
// Deploys a specific version of a robot application to robots in a fleet.
//
// 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 (https://docs.aws.amazon.com/robomaker/latest/dg/create-robot-application-version.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateDeploymentJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeConcurrentDeploymentException "ConcurrentDeploymentException"
// The failure percentage threshold percentage was met.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob
func (c *RoboMaker) CreateDeploymentJob(input *CreateDeploymentJobInput) (*CreateDeploymentJobOutput, error) {
req, out := c.CreateDeploymentJobRequest(input)
return out, req.Send()
}
// CreateDeploymentJobWithContext is the same as CreateDeploymentJob with the addition of
// the ability to pass a context and additional request options.
//
// See CreateDeploymentJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateDeploymentJobWithContext(ctx aws.Context, input *CreateDeploymentJobInput, opts ...request.Option) (*CreateDeploymentJobOutput, error) {
req, out := c.CreateDeploymentJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateFleet = "CreateFleet"
// CreateFleetRequest generates a "aws/request.Request" representing the
// client's request for the CreateFleet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateFleet for more information on using the CreateFleet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateFleetRequest method.
// req, resp := client.CreateFleetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet
func (c *RoboMaker) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput) {
op := &request.Operation{
Name: opCreateFleet,
HTTPMethod: "POST",
HTTPPath: "/createFleet",
}
if input == nil {
input = &CreateFleetInput{}
}
output = &CreateFleetOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateFleet API operation for AWS RoboMaker.
//
// Creates a fleet, a logical group of robots running the same robot application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateFleet for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet
func (c *RoboMaker) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error) {
req, out := c.CreateFleetRequest(input)
return out, req.Send()
}
// CreateFleetWithContext is the same as CreateFleet with the addition of
// the ability to pass a context and additional request options.
//
// See CreateFleet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateFleetWithContext(ctx aws.Context, input *CreateFleetInput, opts ...request.Option) (*CreateFleetOutput, error) {
req, out := c.CreateFleetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateRobot = "CreateRobot"
// CreateRobotRequest generates a "aws/request.Request" representing the
// client's request for the CreateRobot operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateRobot for more information on using the CreateRobot
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateRobotRequest method.
// req, resp := client.CreateRobotRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot
func (c *RoboMaker) CreateRobotRequest(input *CreateRobotInput) (req *request.Request, output *CreateRobotOutput) {
op := &request.Operation{
Name: opCreateRobot,
HTTPMethod: "POST",
HTTPPath: "/createRobot",
}
if input == nil {
input = &CreateRobotInput{}
}
output = &CreateRobotOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateRobot API operation for AWS RoboMaker.
//
// Creates a robot.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateRobot for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot
func (c *RoboMaker) CreateRobot(input *CreateRobotInput) (*CreateRobotOutput, error) {
req, out := c.CreateRobotRequest(input)
return out, req.Send()
}
// CreateRobotWithContext is the same as CreateRobot with the addition of
// the ability to pass a context and additional request options.
//
// See CreateRobot for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateRobotWithContext(ctx aws.Context, input *CreateRobotInput, opts ...request.Option) (*CreateRobotOutput, error) {
req, out := c.CreateRobotRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateRobotApplication = "CreateRobotApplication"
// CreateRobotApplicationRequest generates a "aws/request.Request" representing the
// client's request for the CreateRobotApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateRobotApplication for more information on using the CreateRobotApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateRobotApplicationRequest method.
// req, resp := client.CreateRobotApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication
func (c *RoboMaker) CreateRobotApplicationRequest(input *CreateRobotApplicationInput) (req *request.Request, output *CreateRobotApplicationOutput) {
op := &request.Operation{
Name: opCreateRobotApplication,
HTTPMethod: "POST",
HTTPPath: "/createRobotApplication",
}
if input == nil {
input = &CreateRobotApplicationInput{}
}
output = &CreateRobotApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateRobotApplication API operation for AWS RoboMaker.
//
// Creates a robot application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateRobotApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication
func (c *RoboMaker) CreateRobotApplication(input *CreateRobotApplicationInput) (*CreateRobotApplicationOutput, error) {
req, out := c.CreateRobotApplicationRequest(input)
return out, req.Send()
}
// CreateRobotApplicationWithContext is the same as CreateRobotApplication with the addition of
// the ability to pass a context and additional request options.
//
// See CreateRobotApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateRobotApplicationWithContext(ctx aws.Context, input *CreateRobotApplicationInput, opts ...request.Option) (*CreateRobotApplicationOutput, error) {
req, out := c.CreateRobotApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateRobotApplicationVersion = "CreateRobotApplicationVersion"
// CreateRobotApplicationVersionRequest generates a "aws/request.Request" representing the
// client's request for the CreateRobotApplicationVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateRobotApplicationVersion for more information on using the CreateRobotApplicationVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateRobotApplicationVersionRequest method.
// req, resp := client.CreateRobotApplicationVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion
func (c *RoboMaker) CreateRobotApplicationVersionRequest(input *CreateRobotApplicationVersionInput) (req *request.Request, output *CreateRobotApplicationVersionOutput) {
op := &request.Operation{
Name: opCreateRobotApplicationVersion,
HTTPMethod: "POST",
HTTPPath: "/createRobotApplicationVersion",
}
if input == nil {
input = &CreateRobotApplicationVersionInput{}
}
output = &CreateRobotApplicationVersionOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateRobotApplicationVersion API operation for AWS RoboMaker.
//
// Creates a version of a robot application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateRobotApplicationVersion for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion
func (c *RoboMaker) CreateRobotApplicationVersion(input *CreateRobotApplicationVersionInput) (*CreateRobotApplicationVersionOutput, error) {
req, out := c.CreateRobotApplicationVersionRequest(input)
return out, req.Send()
}
// CreateRobotApplicationVersionWithContext is the same as CreateRobotApplicationVersion with the addition of
// the ability to pass a context and additional request options.
//
// See CreateRobotApplicationVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateRobotApplicationVersionWithContext(ctx aws.Context, input *CreateRobotApplicationVersionInput, opts ...request.Option) (*CreateRobotApplicationVersionOutput, error) {
req, out := c.CreateRobotApplicationVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateSimulationApplication = "CreateSimulationApplication"
// CreateSimulationApplicationRequest generates a "aws/request.Request" representing the
// client's request for the CreateSimulationApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateSimulationApplication for more information on using the CreateSimulationApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateSimulationApplicationRequest method.
// req, resp := client.CreateSimulationApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication
func (c *RoboMaker) CreateSimulationApplicationRequest(input *CreateSimulationApplicationInput) (req *request.Request, output *CreateSimulationApplicationOutput) {
op := &request.Operation{
Name: opCreateSimulationApplication,
HTTPMethod: "POST",
HTTPPath: "/createSimulationApplication",
}
if input == nil {
input = &CreateSimulationApplicationInput{}
}
output = &CreateSimulationApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateSimulationApplication API operation for AWS RoboMaker.
//
// Creates a simulation application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateSimulationApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication
func (c *RoboMaker) CreateSimulationApplication(input *CreateSimulationApplicationInput) (*CreateSimulationApplicationOutput, error) {
req, out := c.CreateSimulationApplicationRequest(input)
return out, req.Send()
}
// CreateSimulationApplicationWithContext is the same as CreateSimulationApplication with the addition of
// the ability to pass a context and additional request options.
//
// See CreateSimulationApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateSimulationApplicationWithContext(ctx aws.Context, input *CreateSimulationApplicationInput, opts ...request.Option) (*CreateSimulationApplicationOutput, error) {
req, out := c.CreateSimulationApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateSimulationApplicationVersion = "CreateSimulationApplicationVersion"
// CreateSimulationApplicationVersionRequest generates a "aws/request.Request" representing the
// client's request for the CreateSimulationApplicationVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateSimulationApplicationVersion for more information on using the CreateSimulationApplicationVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateSimulationApplicationVersionRequest method.
// req, resp := client.CreateSimulationApplicationVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion
func (c *RoboMaker) CreateSimulationApplicationVersionRequest(input *CreateSimulationApplicationVersionInput) (req *request.Request, output *CreateSimulationApplicationVersionOutput) {
op := &request.Operation{
Name: opCreateSimulationApplicationVersion,
HTTPMethod: "POST",
HTTPPath: "/createSimulationApplicationVersion",
}
if input == nil {
input = &CreateSimulationApplicationVersionInput{}
}
output = &CreateSimulationApplicationVersionOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateSimulationApplicationVersion API operation for AWS RoboMaker.
//
// Creates a simulation application with a specific revision id.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateSimulationApplicationVersion for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion
func (c *RoboMaker) CreateSimulationApplicationVersion(input *CreateSimulationApplicationVersionInput) (*CreateSimulationApplicationVersionOutput, error) {
req, out := c.CreateSimulationApplicationVersionRequest(input)
return out, req.Send()
}
// CreateSimulationApplicationVersionWithContext is the same as CreateSimulationApplicationVersion with the addition of
// the ability to pass a context and additional request options.
//
// See CreateSimulationApplicationVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateSimulationApplicationVersionWithContext(ctx aws.Context, input *CreateSimulationApplicationVersionInput, opts ...request.Option) (*CreateSimulationApplicationVersionOutput, error) {
req, out := c.CreateSimulationApplicationVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateSimulationJob = "CreateSimulationJob"
// CreateSimulationJobRequest generates a "aws/request.Request" representing the
// client's request for the CreateSimulationJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateSimulationJob for more information on using the CreateSimulationJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateSimulationJobRequest method.
// req, resp := client.CreateSimulationJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob
func (c *RoboMaker) CreateSimulationJobRequest(input *CreateSimulationJobInput) (req *request.Request, output *CreateSimulationJobOutput) {
op := &request.Operation{
Name: opCreateSimulationJob,
HTTPMethod: "POST",
HTTPPath: "/createSimulationJob",
}
if input == nil {
input = &CreateSimulationJobInput{}
}
output = &CreateSimulationJobOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateSimulationJob API operation for AWS RoboMaker.
//
// Creates a simulation job.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation CreateSimulationJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob
func (c *RoboMaker) CreateSimulationJob(input *CreateSimulationJobInput) (*CreateSimulationJobOutput, error) {
req, out := c.CreateSimulationJobRequest(input)
return out, req.Send()
}
// CreateSimulationJobWithContext is the same as CreateSimulationJob with the addition of
// the ability to pass a context and additional request options.
//
// See CreateSimulationJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) CreateSimulationJobWithContext(ctx aws.Context, input *CreateSimulationJobInput, opts ...request.Option) (*CreateSimulationJobOutput, error) {
req, out := c.CreateSimulationJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteFleet = "DeleteFleet"
// DeleteFleetRequest generates a "aws/request.Request" representing the
// client's request for the DeleteFleet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteFleet for more information on using the DeleteFleet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteFleetRequest method.
// req, resp := client.DeleteFleetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet
func (c *RoboMaker) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput) {
op := &request.Operation{
Name: opDeleteFleet,
HTTPMethod: "POST",
HTTPPath: "/deleteFleet",
}
if input == nil {
input = &DeleteFleetInput{}
}
output = &DeleteFleetOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// DeleteFleet API operation for AWS RoboMaker.
//
// Deletes a fleet.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DeleteFleet for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet
func (c *RoboMaker) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error) {
req, out := c.DeleteFleetRequest(input)
return out, req.Send()
}
// DeleteFleetWithContext is the same as DeleteFleet with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteFleet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DeleteFleetWithContext(ctx aws.Context, input *DeleteFleetInput, opts ...request.Option) (*DeleteFleetOutput, error) {
req, out := c.DeleteFleetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteRobot = "DeleteRobot"
// DeleteRobotRequest generates a "aws/request.Request" representing the
// client's request for the DeleteRobot operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteRobot for more information on using the DeleteRobot
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteRobotRequest method.
// req, resp := client.DeleteRobotRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot
func (c *RoboMaker) DeleteRobotRequest(input *DeleteRobotInput) (req *request.Request, output *DeleteRobotOutput) {
op := &request.Operation{
Name: opDeleteRobot,
HTTPMethod: "POST",
HTTPPath: "/deleteRobot",
}
if input == nil {
input = &DeleteRobotInput{}
}
output = &DeleteRobotOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// DeleteRobot API operation for AWS RoboMaker.
//
// Deletes a robot.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DeleteRobot for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot
func (c *RoboMaker) DeleteRobot(input *DeleteRobotInput) (*DeleteRobotOutput, error) {
req, out := c.DeleteRobotRequest(input)
return out, req.Send()
}
// DeleteRobotWithContext is the same as DeleteRobot with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteRobot for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DeleteRobotWithContext(ctx aws.Context, input *DeleteRobotInput, opts ...request.Option) (*DeleteRobotOutput, error) {
req, out := c.DeleteRobotRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteRobotApplication = "DeleteRobotApplication"
// DeleteRobotApplicationRequest generates a "aws/request.Request" representing the
// client's request for the DeleteRobotApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteRobotApplication for more information on using the DeleteRobotApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteRobotApplicationRequest method.
// req, resp := client.DeleteRobotApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication
func (c *RoboMaker) DeleteRobotApplicationRequest(input *DeleteRobotApplicationInput) (req *request.Request, output *DeleteRobotApplicationOutput) {
op := &request.Operation{
Name: opDeleteRobotApplication,
HTTPMethod: "POST",
HTTPPath: "/deleteRobotApplication",
}
if input == nil {
input = &DeleteRobotApplicationInput{}
}
output = &DeleteRobotApplicationOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// DeleteRobotApplication API operation for AWS RoboMaker.
//
// Deletes a robot application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DeleteRobotApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication
func (c *RoboMaker) DeleteRobotApplication(input *DeleteRobotApplicationInput) (*DeleteRobotApplicationOutput, error) {
req, out := c.DeleteRobotApplicationRequest(input)
return out, req.Send()
}
// DeleteRobotApplicationWithContext is the same as DeleteRobotApplication with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteRobotApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DeleteRobotApplicationWithContext(ctx aws.Context, input *DeleteRobotApplicationInput, opts ...request.Option) (*DeleteRobotApplicationOutput, error) {
req, out := c.DeleteRobotApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteSimulationApplication = "DeleteSimulationApplication"
// DeleteSimulationApplicationRequest generates a "aws/request.Request" representing the
// client's request for the DeleteSimulationApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteSimulationApplication for more information on using the DeleteSimulationApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteSimulationApplicationRequest method.
// req, resp := client.DeleteSimulationApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication
func (c *RoboMaker) DeleteSimulationApplicationRequest(input *DeleteSimulationApplicationInput) (req *request.Request, output *DeleteSimulationApplicationOutput) {
op := &request.Operation{
Name: opDeleteSimulationApplication,
HTTPMethod: "POST",
HTTPPath: "/deleteSimulationApplication",
}
if input == nil {
input = &DeleteSimulationApplicationInput{}
}
output = &DeleteSimulationApplicationOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// DeleteSimulationApplication API operation for AWS RoboMaker.
//
// Deletes a simulation application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DeleteSimulationApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication
func (c *RoboMaker) DeleteSimulationApplication(input *DeleteSimulationApplicationInput) (*DeleteSimulationApplicationOutput, error) {
req, out := c.DeleteSimulationApplicationRequest(input)
return out, req.Send()
}
// DeleteSimulationApplicationWithContext is the same as DeleteSimulationApplication with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteSimulationApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DeleteSimulationApplicationWithContext(ctx aws.Context, input *DeleteSimulationApplicationInput, opts ...request.Option) (*DeleteSimulationApplicationOutput, error) {
req, out := c.DeleteSimulationApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeregisterRobot = "DeregisterRobot"
// DeregisterRobotRequest generates a "aws/request.Request" representing the
// client's request for the DeregisterRobot operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeregisterRobot for more information on using the DeregisterRobot
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeregisterRobotRequest method.
// req, resp := client.DeregisterRobotRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot
func (c *RoboMaker) DeregisterRobotRequest(input *DeregisterRobotInput) (req *request.Request, output *DeregisterRobotOutput) {
op := &request.Operation{
Name: opDeregisterRobot,
HTTPMethod: "POST",
HTTPPath: "/deregisterRobot",
}
if input == nil {
input = &DeregisterRobotInput{}
}
output = &DeregisterRobotOutput{}
req = c.newRequest(op, input, output)
return
}
// DeregisterRobot API operation for AWS RoboMaker.
//
// Deregisters a robot.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DeregisterRobot for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot
func (c *RoboMaker) DeregisterRobot(input *DeregisterRobotInput) (*DeregisterRobotOutput, error) {
req, out := c.DeregisterRobotRequest(input)
return out, req.Send()
}
// DeregisterRobotWithContext is the same as DeregisterRobot with the addition of
// the ability to pass a context and additional request options.
//
// See DeregisterRobot for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DeregisterRobotWithContext(ctx aws.Context, input *DeregisterRobotInput, opts ...request.Option) (*DeregisterRobotOutput, error) {
req, out := c.DeregisterRobotRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeDeploymentJob = "DescribeDeploymentJob"
// DescribeDeploymentJobRequest generates a "aws/request.Request" representing the
// client's request for the DescribeDeploymentJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeDeploymentJob for more information on using the DescribeDeploymentJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DescribeDeploymentJobRequest method.
// req, resp := client.DescribeDeploymentJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob
func (c *RoboMaker) DescribeDeploymentJobRequest(input *DescribeDeploymentJobInput) (req *request.Request, output *DescribeDeploymentJobOutput) {
op := &request.Operation{
Name: opDescribeDeploymentJob,
HTTPMethod: "POST",
HTTPPath: "/describeDeploymentJob",
}
if input == nil {
input = &DescribeDeploymentJobInput{}
}
output = &DescribeDeploymentJobOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeDeploymentJob API operation for AWS RoboMaker.
//
// Describes a deployment job. [Does it work regardless of deployment status,
// e.g. Failed?]
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DescribeDeploymentJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob
func (c *RoboMaker) DescribeDeploymentJob(input *DescribeDeploymentJobInput) (*DescribeDeploymentJobOutput, error) {
req, out := c.DescribeDeploymentJobRequest(input)
return out, req.Send()
}
// DescribeDeploymentJobWithContext is the same as DescribeDeploymentJob with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeDeploymentJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DescribeDeploymentJobWithContext(ctx aws.Context, input *DescribeDeploymentJobInput, opts ...request.Option) (*DescribeDeploymentJobOutput, error) {
req, out := c.DescribeDeploymentJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeFleet = "DescribeFleet"
// DescribeFleetRequest generates a "aws/request.Request" representing the
// client's request for the DescribeFleet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeFleet for more information on using the DescribeFleet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DescribeFleetRequest method.
// req, resp := client.DescribeFleetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet
func (c *RoboMaker) DescribeFleetRequest(input *DescribeFleetInput) (req *request.Request, output *DescribeFleetOutput) {
op := &request.Operation{
Name: opDescribeFleet,
HTTPMethod: "POST",
HTTPPath: "/describeFleet",
}
if input == nil {
input = &DescribeFleetInput{}
}
output = &DescribeFleetOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeFleet API operation for AWS RoboMaker.
//
// Describes a fleet.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DescribeFleet for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet
func (c *RoboMaker) DescribeFleet(input *DescribeFleetInput) (*DescribeFleetOutput, error) {
req, out := c.DescribeFleetRequest(input)
return out, req.Send()
}
// DescribeFleetWithContext is the same as DescribeFleet with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeFleet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DescribeFleetWithContext(ctx aws.Context, input *DescribeFleetInput, opts ...request.Option) (*DescribeFleetOutput, error) {
req, out := c.DescribeFleetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeRobot = "DescribeRobot"
// DescribeRobotRequest generates a "aws/request.Request" representing the
// client's request for the DescribeRobot operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeRobot for more information on using the DescribeRobot
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DescribeRobotRequest method.
// req, resp := client.DescribeRobotRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot
func (c *RoboMaker) DescribeRobotRequest(input *DescribeRobotInput) (req *request.Request, output *DescribeRobotOutput) {
op := &request.Operation{
Name: opDescribeRobot,
HTTPMethod: "POST",
HTTPPath: "/describeRobot",
}
if input == nil {
input = &DescribeRobotInput{}
}
output = &DescribeRobotOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeRobot API operation for AWS RoboMaker.
//
// Describes a robot.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DescribeRobot for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot
func (c *RoboMaker) DescribeRobot(input *DescribeRobotInput) (*DescribeRobotOutput, error) {
req, out := c.DescribeRobotRequest(input)
return out, req.Send()
}
// DescribeRobotWithContext is the same as DescribeRobot with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeRobot for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DescribeRobotWithContext(ctx aws.Context, input *DescribeRobotInput, opts ...request.Option) (*DescribeRobotOutput, error) {
req, out := c.DescribeRobotRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeRobotApplication = "DescribeRobotApplication"
// DescribeRobotApplicationRequest generates a "aws/request.Request" representing the
// client's request for the DescribeRobotApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeRobotApplication for more information on using the DescribeRobotApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DescribeRobotApplicationRequest method.
// req, resp := client.DescribeRobotApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication
func (c *RoboMaker) DescribeRobotApplicationRequest(input *DescribeRobotApplicationInput) (req *request.Request, output *DescribeRobotApplicationOutput) {
op := &request.Operation{
Name: opDescribeRobotApplication,
HTTPMethod: "POST",
HTTPPath: "/describeRobotApplication",
}
if input == nil {
input = &DescribeRobotApplicationInput{}
}
output = &DescribeRobotApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeRobotApplication API operation for AWS RoboMaker.
//
// Describes a robot application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DescribeRobotApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication
func (c *RoboMaker) DescribeRobotApplication(input *DescribeRobotApplicationInput) (*DescribeRobotApplicationOutput, error) {
req, out := c.DescribeRobotApplicationRequest(input)
return out, req.Send()
}
// DescribeRobotApplicationWithContext is the same as DescribeRobotApplication with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeRobotApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DescribeRobotApplicationWithContext(ctx aws.Context, input *DescribeRobotApplicationInput, opts ...request.Option) (*DescribeRobotApplicationOutput, error) {
req, out := c.DescribeRobotApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeSimulationApplication = "DescribeSimulationApplication"
// DescribeSimulationApplicationRequest generates a "aws/request.Request" representing the
// client's request for the DescribeSimulationApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeSimulationApplication for more information on using the DescribeSimulationApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DescribeSimulationApplicationRequest method.
// req, resp := client.DescribeSimulationApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication
func (c *RoboMaker) DescribeSimulationApplicationRequest(input *DescribeSimulationApplicationInput) (req *request.Request, output *DescribeSimulationApplicationOutput) {
op := &request.Operation{
Name: opDescribeSimulationApplication,
HTTPMethod: "POST",
HTTPPath: "/describeSimulationApplication",
}
if input == nil {
input = &DescribeSimulationApplicationInput{}
}
output = &DescribeSimulationApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeSimulationApplication API operation for AWS RoboMaker.
//
// Describes a simulation application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DescribeSimulationApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication
func (c *RoboMaker) DescribeSimulationApplication(input *DescribeSimulationApplicationInput) (*DescribeSimulationApplicationOutput, error) {
req, out := c.DescribeSimulationApplicationRequest(input)
return out, req.Send()
}
// DescribeSimulationApplicationWithContext is the same as DescribeSimulationApplication with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeSimulationApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DescribeSimulationApplicationWithContext(ctx aws.Context, input *DescribeSimulationApplicationInput, opts ...request.Option) (*DescribeSimulationApplicationOutput, error) {
req, out := c.DescribeSimulationApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeSimulationJob = "DescribeSimulationJob"
// DescribeSimulationJobRequest generates a "aws/request.Request" representing the
// client's request for the DescribeSimulationJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeSimulationJob for more information on using the DescribeSimulationJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DescribeSimulationJobRequest method.
// req, resp := client.DescribeSimulationJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob
func (c *RoboMaker) DescribeSimulationJobRequest(input *DescribeSimulationJobInput) (req *request.Request, output *DescribeSimulationJobOutput) {
op := &request.Operation{
Name: opDescribeSimulationJob,
HTTPMethod: "POST",
HTTPPath: "/describeSimulationJob",
}
if input == nil {
input = &DescribeSimulationJobInput{}
}
output = &DescribeSimulationJobOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeSimulationJob API operation for AWS RoboMaker.
//
// Describes a simulation job.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation DescribeSimulationJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob
func (c *RoboMaker) DescribeSimulationJob(input *DescribeSimulationJobInput) (*DescribeSimulationJobOutput, error) {
req, out := c.DescribeSimulationJobRequest(input)
return out, req.Send()
}
// DescribeSimulationJobWithContext is the same as DescribeSimulationJob with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeSimulationJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) DescribeSimulationJobWithContext(ctx aws.Context, input *DescribeSimulationJobInput, opts ...request.Option) (*DescribeSimulationJobOutput, error) {
req, out := c.DescribeSimulationJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListDeploymentJobs = "ListDeploymentJobs"
// ListDeploymentJobsRequest generates a "aws/request.Request" representing the
// client's request for the ListDeploymentJobs operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListDeploymentJobs for more information on using the ListDeploymentJobs
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListDeploymentJobsRequest method.
// req, resp := client.ListDeploymentJobsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs
func (c *RoboMaker) ListDeploymentJobsRequest(input *ListDeploymentJobsInput) (req *request.Request, output *ListDeploymentJobsOutput) {
op := &request.Operation{
Name: opListDeploymentJobs,
HTTPMethod: "POST",
HTTPPath: "/listDeploymentJobs",
}
if input == nil {
input = &ListDeploymentJobsInput{}
}
output = &ListDeploymentJobsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListDeploymentJobs API operation for AWS RoboMaker.
//
// Returns a list of deployment jobs for a fleet. You can optionally provide
// filters to retrieve specific deployment jobs.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListDeploymentJobs for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs
func (c *RoboMaker) ListDeploymentJobs(input *ListDeploymentJobsInput) (*ListDeploymentJobsOutput, error) {
req, out := c.ListDeploymentJobsRequest(input)
return out, req.Send()
}
// ListDeploymentJobsWithContext is the same as ListDeploymentJobs with the addition of
// the ability to pass a context and additional request options.
//
// See ListDeploymentJobs for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListDeploymentJobsWithContext(ctx aws.Context, input *ListDeploymentJobsInput, opts ...request.Option) (*ListDeploymentJobsOutput, error) {
req, out := c.ListDeploymentJobsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListFleets = "ListFleets"
// ListFleetsRequest generates a "aws/request.Request" representing the
// client's request for the ListFleets operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListFleets for more information on using the ListFleets
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListFleetsRequest method.
// req, resp := client.ListFleetsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets
func (c *RoboMaker) ListFleetsRequest(input *ListFleetsInput) (req *request.Request, output *ListFleetsOutput) {
op := &request.Operation{
Name: opListFleets,
HTTPMethod: "POST",
HTTPPath: "/listFleets",
}
if input == nil {
input = &ListFleetsInput{}
}
output = &ListFleetsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListFleets API operation for AWS RoboMaker.
//
// Returns a list of fleets. You can optionally provide filters to retrieve
// specific fleets.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListFleets for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets
func (c *RoboMaker) ListFleets(input *ListFleetsInput) (*ListFleetsOutput, error) {
req, out := c.ListFleetsRequest(input)
return out, req.Send()
}
// ListFleetsWithContext is the same as ListFleets with the addition of
// the ability to pass a context and additional request options.
//
// See ListFleets for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput, opts ...request.Option) (*ListFleetsOutput, error) {
req, out := c.ListFleetsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListRobotApplications = "ListRobotApplications"
// ListRobotApplicationsRequest generates a "aws/request.Request" representing the
// client's request for the ListRobotApplications operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListRobotApplications for more information on using the ListRobotApplications
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListRobotApplicationsRequest method.
// req, resp := client.ListRobotApplicationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications
func (c *RoboMaker) ListRobotApplicationsRequest(input *ListRobotApplicationsInput) (req *request.Request, output *ListRobotApplicationsOutput) {
op := &request.Operation{
Name: opListRobotApplications,
HTTPMethod: "POST",
HTTPPath: "/listRobotApplications",
}
if input == nil {
input = &ListRobotApplicationsInput{}
}
output = &ListRobotApplicationsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListRobotApplications API operation for AWS RoboMaker.
//
// Returns a list of robot application. You can optionally provide filters to
// retrieve specific robot applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListRobotApplications for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications
func (c *RoboMaker) ListRobotApplications(input *ListRobotApplicationsInput) (*ListRobotApplicationsOutput, error) {
req, out := c.ListRobotApplicationsRequest(input)
return out, req.Send()
}
// ListRobotApplicationsWithContext is the same as ListRobotApplications with the addition of
// the ability to pass a context and additional request options.
//
// See ListRobotApplications for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListRobotApplicationsWithContext(ctx aws.Context, input *ListRobotApplicationsInput, opts ...request.Option) (*ListRobotApplicationsOutput, error) {
req, out := c.ListRobotApplicationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListRobots = "ListRobots"
// ListRobotsRequest generates a "aws/request.Request" representing the
// client's request for the ListRobots operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListRobots for more information on using the ListRobots
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListRobotsRequest method.
// req, resp := client.ListRobotsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots
func (c *RoboMaker) ListRobotsRequest(input *ListRobotsInput) (req *request.Request, output *ListRobotsOutput) {
op := &request.Operation{
Name: opListRobots,
HTTPMethod: "POST",
HTTPPath: "/listRobots",
}
if input == nil {
input = &ListRobotsInput{}
}
output = &ListRobotsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListRobots API operation for AWS RoboMaker.
//
// Returns a list of robots. You can optionally provide filters to retrieve
// specific robots.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListRobots for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots
func (c *RoboMaker) ListRobots(input *ListRobotsInput) (*ListRobotsOutput, error) {
req, out := c.ListRobotsRequest(input)
return out, req.Send()
}
// ListRobotsWithContext is the same as ListRobots with the addition of
// the ability to pass a context and additional request options.
//
// See ListRobots for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListRobotsWithContext(ctx aws.Context, input *ListRobotsInput, opts ...request.Option) (*ListRobotsOutput, error) {
req, out := c.ListRobotsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListSimulationApplications = "ListSimulationApplications"
// ListSimulationApplicationsRequest generates a "aws/request.Request" representing the
// client's request for the ListSimulationApplications operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListSimulationApplications for more information on using the ListSimulationApplications
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListSimulationApplicationsRequest method.
// req, resp := client.ListSimulationApplicationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications
func (c *RoboMaker) ListSimulationApplicationsRequest(input *ListSimulationApplicationsInput) (req *request.Request, output *ListSimulationApplicationsOutput) {
op := &request.Operation{
Name: opListSimulationApplications,
HTTPMethod: "POST",
HTTPPath: "/listSimulationApplications",
}
if input == nil {
input = &ListSimulationApplicationsInput{}
}
output = &ListSimulationApplicationsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListSimulationApplications API operation for AWS RoboMaker.
//
// Returns a list of simulation applications. You can optionally provide filters
// to retrieve specific simulation applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListSimulationApplications for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications
func (c *RoboMaker) ListSimulationApplications(input *ListSimulationApplicationsInput) (*ListSimulationApplicationsOutput, error) {
req, out := c.ListSimulationApplicationsRequest(input)
return out, req.Send()
}
// ListSimulationApplicationsWithContext is the same as ListSimulationApplications with the addition of
// the ability to pass a context and additional request options.
//
// See ListSimulationApplications for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListSimulationApplicationsWithContext(ctx aws.Context, input *ListSimulationApplicationsInput, opts ...request.Option) (*ListSimulationApplicationsOutput, error) {
req, out := c.ListSimulationApplicationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListSimulationJobs = "ListSimulationJobs"
// ListSimulationJobsRequest generates a "aws/request.Request" representing the
// client's request for the ListSimulationJobs operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListSimulationJobs for more information on using the ListSimulationJobs
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListSimulationJobsRequest method.
// req, resp := client.ListSimulationJobsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs
func (c *RoboMaker) ListSimulationJobsRequest(input *ListSimulationJobsInput) (req *request.Request, output *ListSimulationJobsOutput) {
op := &request.Operation{
Name: opListSimulationJobs,
HTTPMethod: "POST",
HTTPPath: "/listSimulationJobs",
}
if input == nil {
input = &ListSimulationJobsInput{}
}
output = &ListSimulationJobsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListSimulationJobs API operation for AWS RoboMaker.
//
// Returns a list of simulation jobs. You can optionally provide filters to
// retrieve specific simulation jobs.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListSimulationJobs for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs
func (c *RoboMaker) ListSimulationJobs(input *ListSimulationJobsInput) (*ListSimulationJobsOutput, error) {
req, out := c.ListSimulationJobsRequest(input)
return out, req.Send()
}
// ListSimulationJobsWithContext is the same as ListSimulationJobs with the addition of
// the ability to pass a context and additional request options.
//
// See ListSimulationJobs for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListSimulationJobsWithContext(ctx aws.Context, input *ListSimulationJobsInput, opts ...request.Option) (*ListSimulationJobsOutput, error) {
req, out := c.ListSimulationJobsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListTagsForResource = "ListTagsForResource"
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
// client's request for the ListTagsForResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListTagsForResource for more information on using the ListTagsForResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListTagsForResourceRequest method.
// req, resp := client.ListTagsForResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListTagsForResource
func (c *RoboMaker) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
op := &request.Operation{
Name: opListTagsForResource,
HTTPMethod: "GET",
HTTPPath: "/tags/{resourceArn}",
}
if input == nil {
input = &ListTagsForResourceInput{}
}
output = &ListTagsForResourceOutput{}
req = c.newRequest(op, input, output)
return
}
// ListTagsForResource API operation for AWS RoboMaker.
//
// Lists all tags on a AWS RoboMaker resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation ListTagsForResource for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListTagsForResource
func (c *RoboMaker) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
req, out := c.ListTagsForResourceRequest(input)
return out, req.Send()
}
// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
// the ability to pass a context and additional request options.
//
// See ListTagsForResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
req, out := c.ListTagsForResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opRegisterRobot = "RegisterRobot"
// RegisterRobotRequest generates a "aws/request.Request" representing the
// client's request for the RegisterRobot operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See RegisterRobot for more information on using the RegisterRobot
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the RegisterRobotRequest method.
// req, resp := client.RegisterRobotRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot
func (c *RoboMaker) RegisterRobotRequest(input *RegisterRobotInput) (req *request.Request, output *RegisterRobotOutput) {
op := &request.Operation{
Name: opRegisterRobot,
HTTPMethod: "POST",
HTTPPath: "/registerRobot",
}
if input == nil {
input = &RegisterRobotInput{}
}
output = &RegisterRobotOutput{}
req = c.newRequest(op, input, output)
return
}
// RegisterRobot API operation for AWS RoboMaker.
//
// Registers a robot with a fleet.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation RegisterRobot for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot
func (c *RoboMaker) RegisterRobot(input *RegisterRobotInput) (*RegisterRobotOutput, error) {
req, out := c.RegisterRobotRequest(input)
return out, req.Send()
}
// RegisterRobotWithContext is the same as RegisterRobot with the addition of
// the ability to pass a context and additional request options.
//
// See RegisterRobot for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) RegisterRobotWithContext(ctx aws.Context, input *RegisterRobotInput, opts ...request.Option) (*RegisterRobotOutput, error) {
req, out := c.RegisterRobotRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opRestartSimulationJob = "RestartSimulationJob"
// RestartSimulationJobRequest generates a "aws/request.Request" representing the
// client's request for the RestartSimulationJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See RestartSimulationJob for more information on using the RestartSimulationJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the RestartSimulationJobRequest method.
// req, resp := client.RestartSimulationJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob
func (c *RoboMaker) RestartSimulationJobRequest(input *RestartSimulationJobInput) (req *request.Request, output *RestartSimulationJobOutput) {
op := &request.Operation{
Name: opRestartSimulationJob,
HTTPMethod: "POST",
HTTPPath: "/restartSimulationJob",
}
if input == nil {
input = &RestartSimulationJobInput{}
}
output = &RestartSimulationJobOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// RestartSimulationJob API operation for AWS RoboMaker.
//
// Restarts a running simulation job.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation RestartSimulationJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob
func (c *RoboMaker) RestartSimulationJob(input *RestartSimulationJobInput) (*RestartSimulationJobOutput, error) {
req, out := c.RestartSimulationJobRequest(input)
return out, req.Send()
}
// RestartSimulationJobWithContext is the same as RestartSimulationJob with the addition of
// the ability to pass a context and additional request options.
//
// See RestartSimulationJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) RestartSimulationJobWithContext(ctx aws.Context, input *RestartSimulationJobInput, opts ...request.Option) (*RestartSimulationJobOutput, error) {
req, out := c.RestartSimulationJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opSyncDeploymentJob = "SyncDeploymentJob"
// SyncDeploymentJobRequest generates a "aws/request.Request" representing the
// client's request for the SyncDeploymentJob operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See SyncDeploymentJob for more information on using the SyncDeploymentJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the SyncDeploymentJobRequest method.
// req, resp := client.SyncDeploymentJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob
func (c *RoboMaker) SyncDeploymentJobRequest(input *SyncDeploymentJobInput) (req *request.Request, output *SyncDeploymentJobOutput) {
op := &request.Operation{
Name: opSyncDeploymentJob,
HTTPMethod: "POST",
HTTPPath: "/syncDeploymentJob",
}
if input == nil {
input = &SyncDeploymentJobInput{}
}
output = &SyncDeploymentJobOutput{}
req = c.newRequest(op, input, output)
return
}
// SyncDeploymentJob API operation for AWS RoboMaker.
//
// Syncrhonizes robots in a fleet to the latest deployment. This is helpful
// if robots were added after a deployment.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation SyncDeploymentJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeConcurrentDeploymentException "ConcurrentDeploymentException"
// The failure percentage threshold percentage was met.
//
// * ErrCodeIdempotentParameterMismatchException "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.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob
func (c *RoboMaker) SyncDeploymentJob(input *SyncDeploymentJobInput) (*SyncDeploymentJobOutput, error) {
req, out := c.SyncDeploymentJobRequest(input)
return out, req.Send()
}
// SyncDeploymentJobWithContext is the same as SyncDeploymentJob with the addition of
// the ability to pass a context and additional request options.
//
// See SyncDeploymentJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) SyncDeploymentJobWithContext(ctx aws.Context, input *SyncDeploymentJobInput, opts ...request.Option) (*SyncDeploymentJobOutput, error) {
req, out := c.SyncDeploymentJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opTagResource = "TagResource"
// TagResourceRequest generates a "aws/request.Request" representing the
// client's request for the TagResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See TagResource for more information on using the TagResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the TagResourceRequest method.
// req, resp := client.TagResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/TagResource
func (c *RoboMaker) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
op := &request.Operation{
Name: opTagResource,
HTTPMethod: "POST",
HTTPPath: "/tags/{resourceArn}",
}
if input == nil {
input = &TagResourceInput{}
}
output = &TagResourceOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// TagResource API operation for AWS RoboMaker.
//
// 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 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html)
// in the AWS Billing and Cost Management User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation TagResource for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/TagResource
func (c *RoboMaker) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
req, out := c.TagResourceRequest(input)
return out, req.Send()
}
// TagResourceWithContext is the same as TagResource with the addition of
// the ability to pass a context and additional request options.
//
// See TagResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
req, out := c.TagResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opUntagResource = "UntagResource"
// UntagResourceRequest generates a "aws/request.Request" representing the
// client's request for the UntagResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See UntagResource for more information on using the UntagResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the UntagResourceRequest method.
// req, resp := client.UntagResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UntagResource
func (c *RoboMaker) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
op := &request.Operation{
Name: opUntagResource,
HTTPMethod: "DELETE",
HTTPPath: "/tags/{resourceArn}",
}
if input == nil {
input = &UntagResourceInput{}
}
output = &UntagResourceOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
// UntagResource API operation for AWS RoboMaker.
//
// 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 (https://docs.aws.amazon.com/robomaker/latest/dg//API_Reference.htmlAPI_TagResource.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation UntagResource for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UntagResource
func (c *RoboMaker) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
req, out := c.UntagResourceRequest(input)
return out, req.Send()
}
// UntagResourceWithContext is the same as UntagResource with the addition of
// the ability to pass a context and additional request options.
//
// See UntagResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
req, out := c.UntagResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opUpdateRobotApplication = "UpdateRobotApplication"
// UpdateRobotApplicationRequest generates a "aws/request.Request" representing the
// client's request for the UpdateRobotApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See UpdateRobotApplication for more information on using the UpdateRobotApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the UpdateRobotApplicationRequest method.
// req, resp := client.UpdateRobotApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication
func (c *RoboMaker) UpdateRobotApplicationRequest(input *UpdateRobotApplicationInput) (req *request.Request, output *UpdateRobotApplicationOutput) {
op := &request.Operation{
Name: opUpdateRobotApplication,
HTTPMethod: "POST",
HTTPPath: "/updateRobotApplication",
}
if input == nil {
input = &UpdateRobotApplicationInput{}
}
output = &UpdateRobotApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
// UpdateRobotApplication API operation for AWS RoboMaker.
//
// Updates a robot application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation UpdateRobotApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication
func (c *RoboMaker) UpdateRobotApplication(input *UpdateRobotApplicationInput) (*UpdateRobotApplicationOutput, error) {
req, out := c.UpdateRobotApplicationRequest(input)
return out, req.Send()
}
// UpdateRobotApplicationWithContext is the same as UpdateRobotApplication with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateRobotApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) UpdateRobotApplicationWithContext(ctx aws.Context, input *UpdateRobotApplicationInput, opts ...request.Option) (*UpdateRobotApplicationOutput, error) {
req, out := c.UpdateRobotApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opUpdateSimulationApplication = "UpdateSimulationApplication"
// UpdateSimulationApplicationRequest generates a "aws/request.Request" representing the
// client's request for the UpdateSimulationApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See UpdateSimulationApplication for more information on using the UpdateSimulationApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the UpdateSimulationApplicationRequest method.
// req, resp := client.UpdateSimulationApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication
func (c *RoboMaker) UpdateSimulationApplicationRequest(input *UpdateSimulationApplicationInput) (req *request.Request, output *UpdateSimulationApplicationOutput) {
op := &request.Operation{
Name: opUpdateSimulationApplication,
HTTPMethod: "POST",
HTTPPath: "/updateSimulationApplication",
}
if input == nil {
input = &UpdateSimulationApplicationInput{}
}
output = &UpdateSimulationApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
// UpdateSimulationApplication API operation for AWS RoboMaker.
//
// Updates a simulation application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS RoboMaker's
// API operation UpdateSimulationApplication for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "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.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed.
//
// * ErrCodeThrottlingException "ThrottlingException"
// AWS RoboMaker is temporarily unable to process the request. Try your call
// again.
//
// * ErrCodeInternalServerException "InternalServerException"
// AWS RoboMaker experienced a service issue. Try your call again.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication
func (c *RoboMaker) UpdateSimulationApplication(input *UpdateSimulationApplicationInput) (*UpdateSimulationApplicationOutput, error) {
req, out := c.UpdateSimulationApplicationRequest(input)
return out, req.Send()
}
// UpdateSimulationApplicationWithContext is the same as UpdateSimulationApplication with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateSimulationApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *RoboMaker) UpdateSimulationApplicationWithContext(ctx aws.Context, input *UpdateSimulationApplicationInput, opts ...request.Option) (*UpdateSimulationApplicationOutput, error) {
req, out := c.UpdateSimulationApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
type BatchDescribeSimulationJobInput struct {
_ struct{} `type:"structure"`
// A list of Amazon Resource Names (ARNs) of simulation jobs to describe.
//
// Jobs is a required field
Jobs []*string `locationName:"jobs" min:"1" type:"list" required:"true"`
}
// String returns the string representation
func (s BatchDescribeSimulationJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s BatchDescribeSimulationJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *BatchDescribeSimulationJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "BatchDescribeSimulationJobInput"}
if s.Jobs == nil {
invalidParams.Add(request.NewErrParamRequired("Jobs"))
}
if s.Jobs != nil && len(s.Jobs) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Jobs", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetJobs sets the Jobs field's value.
func (s *BatchDescribeSimulationJobInput) SetJobs(v []*string) *BatchDescribeSimulationJobInput {
s.Jobs = v
return s
}
type BatchDescribeSimulationJobOutput struct {
_ struct{} `type:"structure"`
// A list of simulation jobs.
Jobs []*SimulationJob `locationName:"jobs" type:"list"`
// A list of unprocessed simulation job Amazon Resource Names (ARNs).
UnprocessedJobs []*string `locationName:"unprocessedJobs" min:"1" type:"list"`
}
// String returns the string representation
func (s BatchDescribeSimulationJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s BatchDescribeSimulationJobOutput) GoString() string {
return s.String()
}
// SetJobs sets the Jobs field's value.
func (s *BatchDescribeSimulationJobOutput) SetJobs(v []*SimulationJob) *BatchDescribeSimulationJobOutput {
s.Jobs = v
return s
}
// SetUnprocessedJobs sets the UnprocessedJobs field's value.
func (s *BatchDescribeSimulationJobOutput) SetUnprocessedJobs(v []*string) *BatchDescribeSimulationJobOutput {
s.UnprocessedJobs = v
return s
}
type CancelSimulationJobInput struct {
_ struct{} `type:"structure"`
// The simulation job ARN to cancel.
//
// Job is a required field
Job *string `locationName:"job" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s CancelSimulationJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CancelSimulationJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CancelSimulationJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CancelSimulationJobInput"}
if s.Job == nil {
invalidParams.Add(request.NewErrParamRequired("Job"))
}
if s.Job != nil && len(*s.Job) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Job", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetJob sets the Job field's value.
func (s *CancelSimulationJobInput) SetJob(v string) *CancelSimulationJobInput {
s.Job = &v
return s
}
type CancelSimulationJobOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s CancelSimulationJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CancelSimulationJobOutput) GoString() string {
return s.String()
}
type CreateDeploymentJobInput struct {
_ struct{} `type:"structure"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency
// of the request.
ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
// The deployment application configuration.
//
// DeploymentApplicationConfigs is a required field
DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list" required:"true"`
// The requested deployment configuration.
DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
// The Amazon Resource Name (ARN) of the fleet to deploy.
//
// Fleet is a required field
Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
// A map that contains tag keys and tag values that are attached to the deployment
// job.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateDeploymentJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateDeploymentJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateDeploymentJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateDeploymentJobInput"}
if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
}
if s.DeploymentApplicationConfigs == nil {
invalidParams.Add(request.NewErrParamRequired("DeploymentApplicationConfigs"))
}
if s.DeploymentApplicationConfigs != nil && len(s.DeploymentApplicationConfigs) < 1 {
invalidParams.Add(request.NewErrParamMinLen("DeploymentApplicationConfigs", 1))
}
if s.Fleet == nil {
invalidParams.Add(request.NewErrParamRequired("Fleet"))
}
if s.Fleet != nil && len(*s.Fleet) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
}
if s.DeploymentApplicationConfigs != nil {
for i, v := range s.DeploymentApplicationConfigs {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DeploymentApplicationConfigs", i), err.(request.ErrInvalidParams))
}
}
}
if s.DeploymentConfig != nil {
if err := s.DeploymentConfig.Validate(); err != nil {
invalidParams.AddNested("DeploymentConfig", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateDeploymentJobInput) SetClientRequestToken(v string) *CreateDeploymentJobInput {
s.ClientRequestToken = &v
return s
}
// SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
func (s *CreateDeploymentJobInput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *CreateDeploymentJobInput {
s.DeploymentApplicationConfigs = v
return s
}
// SetDeploymentConfig sets the DeploymentConfig field's value.
func (s *CreateDeploymentJobInput) SetDeploymentConfig(v *DeploymentConfig) *CreateDeploymentJobInput {
s.DeploymentConfig = v
return s
}
// SetFleet sets the Fleet field's value.
func (s *CreateDeploymentJobInput) SetFleet(v string) *CreateDeploymentJobInput {
s.Fleet = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateDeploymentJobInput) SetTags(v map[string]*string) *CreateDeploymentJobInput {
s.Tags = v
return s
}
type CreateDeploymentJobOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the deployment job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the fleet was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The deployment application configuration.
DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
// The deployment configuration.
DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
// The failure code of the simulation job if it failed:
//
// BadPermissionErrorAWS Greengrass requires a service-level role permission
// to access other services. The role must include the AWSGreengrassResourceAccessRolePolicy
// (https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor)
// managed policy.
//
// ExtractingBundleFailureThe robot application could not be extracted from
// the bundle.
//
// FailureThresholdBreachedThe percentage of robots that could not be updated
// exceeded the percentage set for the deployment.
//
// GreengrassDeploymentFailedThe robot application could not be deployed to
// the robot.
//
// GreengrassGroupVersionDoesNotExistThe AWS Greengrass group or version associated
// with a robot is missing.
//
// InternalServerErrorAn internal error has occurred. Retry your request, but
// if the problem persists, contact us with details.
//
// MissingRobotApplicationArchitectureThe robot application does not have a
// source that matches the architecture of the robot.
//
// MissingRobotDeploymentResourceOne or more of the resources specified for
// the robot application are missing. For example, does the robot application
// have the correct launch package and launch file?
//
// PostLaunchFileFailureThe post-launch script failed.
//
// PreLaunchFileFailureThe pre-launch script failed.
//
// ResourceNotFoundOne or more deployment resources are missing. For example,
// do robot application source bundles still exist?
//
// RobotDeploymentNoResponseThere is no response from the robot. It might not
// be powered on or connected to the internet.
FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
// The failure reason of the deployment job if it failed.
FailureReason *string `locationName:"failureReason" type:"string"`
// The target fleet for the deployment job.
Fleet *string `locationName:"fleet" min:"1" type:"string"`
// The status of the deployment job.
Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
// The list of all tags added to the deployment job.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateDeploymentJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateDeploymentJobOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateDeploymentJobOutput) SetArn(v string) *CreateDeploymentJobOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *CreateDeploymentJobOutput) SetCreatedAt(v time.Time) *CreateDeploymentJobOutput {
s.CreatedAt = &v
return s
}
// SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
func (s *CreateDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *CreateDeploymentJobOutput {
s.DeploymentApplicationConfigs = v
return s
}
// SetDeploymentConfig sets the DeploymentConfig field's value.
func (s *CreateDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *CreateDeploymentJobOutput {
s.DeploymentConfig = v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *CreateDeploymentJobOutput) SetFailureCode(v string) *CreateDeploymentJobOutput {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *CreateDeploymentJobOutput) SetFailureReason(v string) *CreateDeploymentJobOutput {
s.FailureReason = &v
return s
}
// SetFleet sets the Fleet field's value.
func (s *CreateDeploymentJobOutput) SetFleet(v string) *CreateDeploymentJobOutput {
s.Fleet = &v
return s
}
// SetStatus sets the Status field's value.
func (s *CreateDeploymentJobOutput) SetStatus(v string) *CreateDeploymentJobOutput {
s.Status = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateDeploymentJobOutput) SetTags(v map[string]*string) *CreateDeploymentJobOutput {
s.Tags = v
return s
}
type CreateFleetInput struct {
_ struct{} `type:"structure"`
// The name of the fleet.
//
// Name is a required field
Name *string `locationName:"name" min:"1" type:"string" required:"true"`
// A map that contains tag keys and tag values that are attached to the fleet.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateFleetInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateFleetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateFleetInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateFleetInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetName sets the Name field's value.
func (s *CreateFleetInput) SetName(v string) *CreateFleetInput {
s.Name = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateFleetInput) SetTags(v map[string]*string) *CreateFleetInput {
s.Tags = v
return s
}
type CreateFleetOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the fleet was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The name of the fleet.
Name *string `locationName:"name" min:"1" type:"string"`
// The list of all tags added to the fleet.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateFleetOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateFleetOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateFleetOutput) SetArn(v string) *CreateFleetOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *CreateFleetOutput) SetCreatedAt(v time.Time) *CreateFleetOutput {
s.CreatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateFleetOutput) SetName(v string) *CreateFleetOutput {
s.Name = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateFleetOutput) SetTags(v map[string]*string) *CreateFleetOutput {
s.Tags = v
return s
}
type CreateRobotApplicationInput struct {
_ struct{} `type:"structure"`
// The name of the robot application.
//
// Name is a required field
Name *string `locationName:"name" min:"1" type:"string" required:"true"`
// The robot software suite used by the robot application.
//
// RobotSoftwareSuite is a required field
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
// The sources of the robot application.
//
// Sources is a required field
Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
// A map that contains tag keys and tag values that are attached to the robot
// application.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateRobotApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRobotApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateRobotApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateRobotApplicationInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if s.RobotSoftwareSuite == nil {
invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
}
if s.Sources == nil {
invalidParams.Add(request.NewErrParamRequired("Sources"))
}
if s.Sources != nil {
for i, v := range s.Sources {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetName sets the Name field's value.
func (s *CreateRobotApplicationInput) SetName(v string) *CreateRobotApplicationInput {
s.Name = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *CreateRobotApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationInput {
s.RobotSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *CreateRobotApplicationInput) SetSources(v []*SourceConfig) *CreateRobotApplicationInput {
s.Sources = v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateRobotApplicationInput) SetTags(v map[string]*string) *CreateRobotApplicationInput {
s.Tags = v
return s
}
type CreateRobotApplicationOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot application was
// last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the robot application.
Name *string `locationName:"name" min:"1" type:"string"`
// The revision id of the robot application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// The robot software suite used by the robot application.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The sources of the robot application.
Sources []*Source `locationName:"sources" type:"list"`
// The list of all tags added to the robot application.
Tags map[string]*string `locationName:"tags" type:"map"`
// The version of the robot application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s CreateRobotApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRobotApplicationOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateRobotApplicationOutput) SetArn(v string) *CreateRobotApplicationOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *CreateRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *CreateRobotApplicationOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateRobotApplicationOutput) SetName(v string) *CreateRobotApplicationOutput {
s.Name = &v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *CreateRobotApplicationOutput) SetRevisionId(v string) *CreateRobotApplicationOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *CreateRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *CreateRobotApplicationOutput) SetSources(v []*Source) *CreateRobotApplicationOutput {
s.Sources = v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateRobotApplicationOutput) SetTags(v map[string]*string) *CreateRobotApplicationOutput {
s.Tags = v
return s
}
// SetVersion sets the Version field's value.
func (s *CreateRobotApplicationOutput) SetVersion(v string) *CreateRobotApplicationOutput {
s.Version = &v
return s
}
type CreateRobotApplicationVersionInput struct {
_ struct{} `type:"structure"`
// The application information for the robot application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The current revision id for the robot application. If you provide a value
// and it matches the latest revision ID, a new version will be created.
CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
}
// String returns the string representation
func (s CreateRobotApplicationVersionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRobotApplicationVersionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateRobotApplicationVersionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateRobotApplicationVersionInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *CreateRobotApplicationVersionInput) SetApplication(v string) *CreateRobotApplicationVersionInput {
s.Application = &v
return s
}
// SetCurrentRevisionId sets the CurrentRevisionId field's value.
func (s *CreateRobotApplicationVersionInput) SetCurrentRevisionId(v string) *CreateRobotApplicationVersionInput {
s.CurrentRevisionId = &v
return s
}
type CreateRobotApplicationVersionOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot application was
// last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the robot application.
Name *string `locationName:"name" min:"1" type:"string"`
// The revision id of the robot application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// The robot software suite used by the robot application.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The sources of the robot application.
Sources []*Source `locationName:"sources" type:"list"`
// The version of the robot application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s CreateRobotApplicationVersionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRobotApplicationVersionOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateRobotApplicationVersionOutput) SetArn(v string) *CreateRobotApplicationVersionOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *CreateRobotApplicationVersionOutput) SetLastUpdatedAt(v time.Time) *CreateRobotApplicationVersionOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateRobotApplicationVersionOutput) SetName(v string) *CreateRobotApplicationVersionOutput {
s.Name = &v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *CreateRobotApplicationVersionOutput) SetRevisionId(v string) *CreateRobotApplicationVersionOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *CreateRobotApplicationVersionOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateRobotApplicationVersionOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *CreateRobotApplicationVersionOutput) SetSources(v []*Source) *CreateRobotApplicationVersionOutput {
s.Sources = v
return s
}
// SetVersion sets the Version field's value.
func (s *CreateRobotApplicationVersionOutput) SetVersion(v string) *CreateRobotApplicationVersionOutput {
s.Version = &v
return s
}
type CreateRobotInput struct {
_ struct{} `type:"structure"`
// The target architecture of the robot.
//
// Architecture is a required field
Architecture *string `locationName:"architecture" type:"string" required:"true" enum:"Architecture"`
// The Greengrass group id.
//
// GreengrassGroupId is a required field
GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string" required:"true"`
// The name for the robot.
//
// Name is a required field
Name *string `locationName:"name" min:"1" type:"string" required:"true"`
// A map that contains tag keys and tag values that are attached to the robot.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateRobotInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRobotInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateRobotInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateRobotInput"}
if s.Architecture == nil {
invalidParams.Add(request.NewErrParamRequired("Architecture"))
}
if s.GreengrassGroupId == nil {
invalidParams.Add(request.NewErrParamRequired("GreengrassGroupId"))
}
if s.GreengrassGroupId != nil && len(*s.GreengrassGroupId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("GreengrassGroupId", 1))
}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArchitecture sets the Architecture field's value.
func (s *CreateRobotInput) SetArchitecture(v string) *CreateRobotInput {
s.Architecture = &v
return s
}
// SetGreengrassGroupId sets the GreengrassGroupId field's value.
func (s *CreateRobotInput) SetGreengrassGroupId(v string) *CreateRobotInput {
s.GreengrassGroupId = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateRobotInput) SetName(v string) *CreateRobotInput {
s.Name = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateRobotInput) SetTags(v map[string]*string) *CreateRobotInput {
s.Tags = v
return s
}
type CreateRobotOutput struct {
_ struct{} `type:"structure"`
// The target architecture of the robot.
Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
// The Amazon Resource Name (ARN) of the robot.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The Amazon Resource Name (ARN) of the Greengrass group associated with the
// robot.
GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string"`
// The name of the robot.
Name *string `locationName:"name" min:"1" type:"string"`
// The list of all tags added to the robot.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateRobotOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRobotOutput) GoString() string {
return s.String()
}
// SetArchitecture sets the Architecture field's value.
func (s *CreateRobotOutput) SetArchitecture(v string) *CreateRobotOutput {
s.Architecture = &v
return s
}
// SetArn sets the Arn field's value.
func (s *CreateRobotOutput) SetArn(v string) *CreateRobotOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *CreateRobotOutput) SetCreatedAt(v time.Time) *CreateRobotOutput {
s.CreatedAt = &v
return s
}
// SetGreengrassGroupId sets the GreengrassGroupId field's value.
func (s *CreateRobotOutput) SetGreengrassGroupId(v string) *CreateRobotOutput {
s.GreengrassGroupId = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateRobotOutput) SetName(v string) *CreateRobotOutput {
s.Name = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateRobotOutput) SetTags(v map[string]*string) *CreateRobotOutput {
s.Tags = v
return s
}
type CreateSimulationApplicationInput struct {
_ struct{} `type:"structure"`
// The name of the simulation application.
//
// Name is a required field
Name *string `locationName:"name" min:"1" type:"string" required:"true"`
// The rendering engine for the simulation application.
//
// RenderingEngine is a required field
RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure" required:"true"`
// The robot software suite of the simulation application.
//
// RobotSoftwareSuite is a required field
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
// The simulation software suite used by the simulation application.
//
// SimulationSoftwareSuite is a required field
SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure" required:"true"`
// The sources of the simulation application.
//
// Sources is a required field
Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
// A map that contains tag keys and tag values that are attached to the simulation
// application.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s CreateSimulationApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateSimulationApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateSimulationApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateSimulationApplicationInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if s.RenderingEngine == nil {
invalidParams.Add(request.NewErrParamRequired("RenderingEngine"))
}
if s.RobotSoftwareSuite == nil {
invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
}
if s.SimulationSoftwareSuite == nil {
invalidParams.Add(request.NewErrParamRequired("SimulationSoftwareSuite"))
}
if s.Sources == nil {
invalidParams.Add(request.NewErrParamRequired("Sources"))
}
if s.Sources != nil {
for i, v := range s.Sources {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetName sets the Name field's value.
func (s *CreateSimulationApplicationInput) SetName(v string) *CreateSimulationApplicationInput {
s.Name = &v
return s
}
// SetRenderingEngine sets the RenderingEngine field's value.
func (s *CreateSimulationApplicationInput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationInput {
s.RenderingEngine = v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *CreateSimulationApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationInput {
s.RobotSoftwareSuite = v
return s
}
// SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
func (s *CreateSimulationApplicationInput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationInput {
s.SimulationSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *CreateSimulationApplicationInput) SetSources(v []*SourceConfig) *CreateSimulationApplicationInput {
s.Sources = v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateSimulationApplicationInput) SetTags(v map[string]*string) *CreateSimulationApplicationInput {
s.Tags = v
return s
}
type CreateSimulationApplicationOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation application
// was last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the simulation application.
Name *string `locationName:"name" min:"1" type:"string"`
// The rendering engine for the simulation application.
RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
// The revision id of the simulation application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// Information about the robot software suite.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The simulation software suite used by the simulation application.
SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
// The sources of the simulation application.
Sources []*Source `locationName:"sources" type:"list"`
// The list of all tags added to the simulation application.
Tags map[string]*string `locationName:"tags" type:"map"`
// The version of the simulation application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s CreateSimulationApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateSimulationApplicationOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateSimulationApplicationOutput) SetArn(v string) *CreateSimulationApplicationOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *CreateSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationApplicationOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateSimulationApplicationOutput) SetName(v string) *CreateSimulationApplicationOutput {
s.Name = &v
return s
}
// SetRenderingEngine sets the RenderingEngine field's value.
func (s *CreateSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationOutput {
s.RenderingEngine = v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *CreateSimulationApplicationOutput) SetRevisionId(v string) *CreateSimulationApplicationOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *CreateSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
func (s *CreateSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationOutput {
s.SimulationSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *CreateSimulationApplicationOutput) SetSources(v []*Source) *CreateSimulationApplicationOutput {
s.Sources = v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateSimulationApplicationOutput) SetTags(v map[string]*string) *CreateSimulationApplicationOutput {
s.Tags = v
return s
}
// SetVersion sets the Version field's value.
func (s *CreateSimulationApplicationOutput) SetVersion(v string) *CreateSimulationApplicationOutput {
s.Version = &v
return s
}
type CreateSimulationApplicationVersionInput struct {
_ struct{} `type:"structure"`
// The application information for the simulation application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The current revision id for the simulation application. If you provide a
// value and it matches the latest revision ID, a new version will be created.
CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
}
// String returns the string representation
func (s CreateSimulationApplicationVersionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateSimulationApplicationVersionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateSimulationApplicationVersionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateSimulationApplicationVersionInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *CreateSimulationApplicationVersionInput) SetApplication(v string) *CreateSimulationApplicationVersionInput {
s.Application = &v
return s
}
// SetCurrentRevisionId sets the CurrentRevisionId field's value.
func (s *CreateSimulationApplicationVersionInput) SetCurrentRevisionId(v string) *CreateSimulationApplicationVersionInput {
s.CurrentRevisionId = &v
return s
}
type CreateSimulationApplicationVersionOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation application
// was last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the simulation application.
Name *string `locationName:"name" min:"1" type:"string"`
// The rendering engine for the simulation application.
RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
// The revision ID of the simulation application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// Information about the robot software suite.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The simulation software suite used by the simulation application.
SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
// The sources of the simulation application.
Sources []*Source `locationName:"sources" type:"list"`
// The version of the simulation application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s CreateSimulationApplicationVersionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateSimulationApplicationVersionOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateSimulationApplicationVersionOutput) SetArn(v string) *CreateSimulationApplicationVersionOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *CreateSimulationApplicationVersionOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationApplicationVersionOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateSimulationApplicationVersionOutput) SetName(v string) *CreateSimulationApplicationVersionOutput {
s.Name = &v
return s
}
// SetRenderingEngine sets the RenderingEngine field's value.
func (s *CreateSimulationApplicationVersionOutput) SetRenderingEngine(v *RenderingEngine) *CreateSimulationApplicationVersionOutput {
s.RenderingEngine = v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *CreateSimulationApplicationVersionOutput) SetRevisionId(v string) *CreateSimulationApplicationVersionOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *CreateSimulationApplicationVersionOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *CreateSimulationApplicationVersionOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
func (s *CreateSimulationApplicationVersionOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *CreateSimulationApplicationVersionOutput {
s.SimulationSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *CreateSimulationApplicationVersionOutput) SetSources(v []*Source) *CreateSimulationApplicationVersionOutput {
s.Sources = v
return s
}
// SetVersion sets the Version field's value.
func (s *CreateSimulationApplicationVersionOutput) SetVersion(v string) *CreateSimulationApplicationVersionOutput {
s.Version = &v
return s
}
type CreateSimulationJobInput struct {
_ struct{} `type:"structure"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency
// of the request.
ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
// The failure behavior the simulation job.
//
// ContinueRestart the simulation job in the same host instance.
//
// FailStop the simulation job and terminate the instance.
FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
// The IAM role name that allows the simulation instance to call the AWS APIs
// that are specified in its associated policies on your behalf. This is how
// credentials are passed in to your simulation job.
//
// IamRole is a required field
IamRole *string `locationName:"iamRole" min:"1" type:"string" required:"true"`
// The maximum simulation job duration in seconds (up to 14 days or 1,209,600
// seconds. When maxJobDurationInSeconds is reached, the simulation job will
// status will transition to Completed.
//
// MaxJobDurationInSeconds is a required field
MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long" required:"true"`
// Location for output files generated by the simulation job.
OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
// The robot application to use in the simulation job.
RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
// The simulation application to use in the simulation job.
SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
// A map that contains tag keys and tag values that are attached to the simulation
// job.
Tags map[string]*string `locationName:"tags" type:"map"`
// If your simulation job accesses resources in a VPC, you provide this parameter
// identifying the list of security group IDs and subnet IDs. These must belong
// to the same VPC. You must provide at least one security group and one subnet
// ID.
VpcConfig *VPCConfig `locationName:"vpcConfig" type:"structure"`
}
// String returns the string representation
func (s CreateSimulationJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateSimulationJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateSimulationJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateSimulationJobInput"}
if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
}
if s.IamRole == nil {
invalidParams.Add(request.NewErrParamRequired("IamRole"))
}
if s.IamRole != nil && len(*s.IamRole) < 1 {
invalidParams.Add(request.NewErrParamMinLen("IamRole", 1))
}
if s.MaxJobDurationInSeconds == nil {
invalidParams.Add(request.NewErrParamRequired("MaxJobDurationInSeconds"))
}
if s.RobotApplications != nil && len(s.RobotApplications) < 1 {
invalidParams.Add(request.NewErrParamMinLen("RobotApplications", 1))
}
if s.SimulationApplications != nil && len(s.SimulationApplications) < 1 {
invalidParams.Add(request.NewErrParamMinLen("SimulationApplications", 1))
}
if s.OutputLocation != nil {
if err := s.OutputLocation.Validate(); err != nil {
invalidParams.AddNested("OutputLocation", err.(request.ErrInvalidParams))
}
}
if s.RobotApplications != nil {
for i, v := range s.RobotApplications {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RobotApplications", i), err.(request.ErrInvalidParams))
}
}
}
if s.SimulationApplications != nil {
for i, v := range s.SimulationApplications {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SimulationApplications", i), err.(request.ErrInvalidParams))
}
}
}
if s.VpcConfig != nil {
if err := s.VpcConfig.Validate(); err != nil {
invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateSimulationJobInput) SetClientRequestToken(v string) *CreateSimulationJobInput {
s.ClientRequestToken = &v
return s
}
// SetFailureBehavior sets the FailureBehavior field's value.
func (s *CreateSimulationJobInput) SetFailureBehavior(v string) *CreateSimulationJobInput {
s.FailureBehavior = &v
return s
}
// SetIamRole sets the IamRole field's value.
func (s *CreateSimulationJobInput) SetIamRole(v string) *CreateSimulationJobInput {
s.IamRole = &v
return s
}
// SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
func (s *CreateSimulationJobInput) SetMaxJobDurationInSeconds(v int64) *CreateSimulationJobInput {
s.MaxJobDurationInSeconds = &v
return s
}
// SetOutputLocation sets the OutputLocation field's value.
func (s *CreateSimulationJobInput) SetOutputLocation(v *OutputLocation) *CreateSimulationJobInput {
s.OutputLocation = v
return s
}
// SetRobotApplications sets the RobotApplications field's value.
func (s *CreateSimulationJobInput) SetRobotApplications(v []*RobotApplicationConfig) *CreateSimulationJobInput {
s.RobotApplications = v
return s
}
// SetSimulationApplications sets the SimulationApplications field's value.
func (s *CreateSimulationJobInput) SetSimulationApplications(v []*SimulationApplicationConfig) *CreateSimulationJobInput {
s.SimulationApplications = v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateSimulationJobInput) SetTags(v map[string]*string) *CreateSimulationJobInput {
s.Tags = v
return s
}
// SetVpcConfig sets the VpcConfig field's value.
func (s *CreateSimulationJobInput) SetVpcConfig(v *VPCConfig) *CreateSimulationJobInput {
s.VpcConfig = v
return s
}
type CreateSimulationJobOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency
// of the request.
ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
// the failure behavior for the simulation job.
FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
// The failure code of the simulation job if it failed:
//
// InternalServiceErrorInternal service error.
//
// RobotApplicationCrashRobot application exited abnormally.
//
// SimulationApplicationCrash Simulation application exited abnormally.
//
// BadPermissionsRobotApplicationRobot application bundle could not be downloaded.
//
// BadPermissionsSimulationApplicationSimulation application bundle could not
// be downloaded.
//
// BadPermissionsS3OutputUnable to publish outputs to customer-provided S3 bucket.
//
// BadPermissionsCloudwatchLogsUnable to publish logs to customer-provided CloudWatch
// Logs resource.
//
// SubnetIpLimitExceededSubnet IP limit exceeded.
//
// ENILimitExceededENI limit exceeded.
//
// BadPermissionsUserCredentialsUnable to use the Role provided.
//
// InvalidBundleRobotApplicationRobot bundle cannot be extracted (invalid format,
// bundling error, or other issue).
//
// InvalidBundleSimulationApplicationSimulation bundle cannot be extracted (invalid
// format, bundling error, or other issue).
//
// RobotApplicationVersionMismatchedEtagEtag for RobotApplication does not match
// value during version creation.
//
// SimulationApplicationVersionMismatchedEtagEtag for SimulationApplication
// does not match value during version creation.
FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
// The IAM role that allows the simulation job to call the AWS APIs that are
// specified in its associated policies on your behalf.
IamRole *string `locationName:"iamRole" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation job was last
// updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The maximum simulation job duration in seconds. The value must be 8 days
// (691,200 seconds) or less.
MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
// Simulation job output files location.
OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
// The robot application used by the simulation job.
RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
// The simulation application used by the simulation job.
SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
// The simulation job execution duration in milliseconds.
SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
// The status of the simulation job.
Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
// The list of all tags added to the simulation job.
Tags map[string]*string `locationName:"tags" type:"map"`
// Information about the vpc configuration.
VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
}
// String returns the string representation
func (s CreateSimulationJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateSimulationJobOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *CreateSimulationJobOutput) SetArn(v string) *CreateSimulationJobOutput {
s.Arn = &v
return s
}
// SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateSimulationJobOutput) SetClientRequestToken(v string) *CreateSimulationJobOutput {
s.ClientRequestToken = &v
return s
}
// SetFailureBehavior sets the FailureBehavior field's value.
func (s *CreateSimulationJobOutput) SetFailureBehavior(v string) *CreateSimulationJobOutput {
s.FailureBehavior = &v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *CreateSimulationJobOutput) SetFailureCode(v string) *CreateSimulationJobOutput {
s.FailureCode = &v
return s
}
// SetIamRole sets the IamRole field's value.
func (s *CreateSimulationJobOutput) SetIamRole(v string) *CreateSimulationJobOutput {
s.IamRole = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *CreateSimulationJobOutput) SetLastUpdatedAt(v time.Time) *CreateSimulationJobOutput {
s.LastUpdatedAt = &v
return s
}
// SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
func (s *CreateSimulationJobOutput) SetMaxJobDurationInSeconds(v int64) *CreateSimulationJobOutput {
s.MaxJobDurationInSeconds = &v
return s
}
// SetOutputLocation sets the OutputLocation field's value.
func (s *CreateSimulationJobOutput) SetOutputLocation(v *OutputLocation) *CreateSimulationJobOutput {
s.OutputLocation = v
return s
}
// SetRobotApplications sets the RobotApplications field's value.
func (s *CreateSimulationJobOutput) SetRobotApplications(v []*RobotApplicationConfig) *CreateSimulationJobOutput {
s.RobotApplications = v
return s
}
// SetSimulationApplications sets the SimulationApplications field's value.
func (s *CreateSimulationJobOutput) SetSimulationApplications(v []*SimulationApplicationConfig) *CreateSimulationJobOutput {
s.SimulationApplications = v
return s
}
// SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
func (s *CreateSimulationJobOutput) SetSimulationTimeMillis(v int64) *CreateSimulationJobOutput {
s.SimulationTimeMillis = &v
return s
}
// SetStatus sets the Status field's value.
func (s *CreateSimulationJobOutput) SetStatus(v string) *CreateSimulationJobOutput {
s.Status = &v
return s
}
// SetTags sets the Tags field's value.
func (s *CreateSimulationJobOutput) SetTags(v map[string]*string) *CreateSimulationJobOutput {
s.Tags = v
return s
}
// SetVpcConfig sets the VpcConfig field's value.
func (s *CreateSimulationJobOutput) SetVpcConfig(v *VPCConfigResponse) *CreateSimulationJobOutput {
s.VpcConfig = v
return s
}
type DeleteFleetInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
//
// Fleet is a required field
Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteFleetInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteFleetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteFleetInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteFleetInput"}
if s.Fleet == nil {
invalidParams.Add(request.NewErrParamRequired("Fleet"))
}
if s.Fleet != nil && len(*s.Fleet) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFleet sets the Fleet field's value.
func (s *DeleteFleetInput) SetFleet(v string) *DeleteFleetInput {
s.Fleet = &v
return s
}
type DeleteFleetOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteFleetOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteFleetOutput) GoString() string {
return s.String()
}
type DeleteRobotApplicationInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the the robot application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the robot application to delete.
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
}
// String returns the string representation
func (s DeleteRobotApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRobotApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteRobotApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteRobotApplicationInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *DeleteRobotApplicationInput) SetApplication(v string) *DeleteRobotApplicationInput {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *DeleteRobotApplicationInput) SetApplicationVersion(v string) *DeleteRobotApplicationInput {
s.ApplicationVersion = &v
return s
}
type DeleteRobotApplicationOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteRobotApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRobotApplicationOutput) GoString() string {
return s.String()
}
type DeleteRobotInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot.
//
// Robot is a required field
Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteRobotInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRobotInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteRobotInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteRobotInput"}
if s.Robot == nil {
invalidParams.Add(request.NewErrParamRequired("Robot"))
}
if s.Robot != nil && len(*s.Robot) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetRobot sets the Robot field's value.
func (s *DeleteRobotInput) SetRobot(v string) *DeleteRobotInput {
s.Robot = &v
return s
}
type DeleteRobotOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteRobotOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRobotOutput) GoString() string {
return s.String()
}
type DeleteSimulationApplicationInput struct {
_ struct{} `type:"structure"`
// The application information for the simulation application to delete.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the simulation application to delete.
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
}
// String returns the string representation
func (s DeleteSimulationApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteSimulationApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteSimulationApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteSimulationApplicationInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *DeleteSimulationApplicationInput) SetApplication(v string) *DeleteSimulationApplicationInput {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *DeleteSimulationApplicationInput) SetApplicationVersion(v string) *DeleteSimulationApplicationInput {
s.ApplicationVersion = &v
return s
}
type DeleteSimulationApplicationOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteSimulationApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteSimulationApplicationOutput) GoString() string {
return s.String()
}
// Information about a deployment application configuration.
type DeploymentApplicationConfig struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the application.
//
// ApplicationVersion is a required field
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string" required:"true"`
// The launch configuration.
//
// LaunchConfig is a required field
LaunchConfig *DeploymentLaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
}
// String returns the string representation
func (s DeploymentApplicationConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeploymentApplicationConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeploymentApplicationConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeploymentApplicationConfig"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion == nil {
invalidParams.Add(request.NewErrParamRequired("ApplicationVersion"))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if s.LaunchConfig == nil {
invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
}
if s.LaunchConfig != nil {
if err := s.LaunchConfig.Validate(); err != nil {
invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *DeploymentApplicationConfig) SetApplication(v string) *DeploymentApplicationConfig {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *DeploymentApplicationConfig) SetApplicationVersion(v string) *DeploymentApplicationConfig {
s.ApplicationVersion = &v
return s
}
// SetLaunchConfig sets the LaunchConfig field's value.
func (s *DeploymentApplicationConfig) SetLaunchConfig(v *DeploymentLaunchConfig) *DeploymentApplicationConfig {
s.LaunchConfig = v
return s
}
// Information about a deployment configuration.
type DeploymentConfig struct {
_ struct{} `type:"structure"`
// The percentage of robots receiving the deployment at the same time.
ConcurrentDeploymentPercentage *int64 `locationName:"concurrentDeploymentPercentage" min:"1" type:"integer"`
// The percentage of deployments that need to fail before stopping deployment.
FailureThresholdPercentage *int64 `locationName:"failureThresholdPercentage" min:"1" type:"integer"`
}
// String returns the string representation
func (s DeploymentConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeploymentConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeploymentConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeploymentConfig"}
if s.ConcurrentDeploymentPercentage != nil && *s.ConcurrentDeploymentPercentage < 1 {
invalidParams.Add(request.NewErrParamMinValue("ConcurrentDeploymentPercentage", 1))
}
if s.FailureThresholdPercentage != nil && *s.FailureThresholdPercentage < 1 {
invalidParams.Add(request.NewErrParamMinValue("FailureThresholdPercentage", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetConcurrentDeploymentPercentage sets the ConcurrentDeploymentPercentage field's value.
func (s *DeploymentConfig) SetConcurrentDeploymentPercentage(v int64) *DeploymentConfig {
s.ConcurrentDeploymentPercentage = &v
return s
}
// SetFailureThresholdPercentage sets the FailureThresholdPercentage field's value.
func (s *DeploymentConfig) SetFailureThresholdPercentage(v int64) *DeploymentConfig {
s.FailureThresholdPercentage = &v
return s
}
// Information about a deployment job.
type DeploymentJob struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the deployment job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the deployment job was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The deployment application configuration.
DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
// The deployment configuration.
DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
// The deployment job failure code.
FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
// A short description of the reason why the deployment job failed.
FailureReason *string `locationName:"failureReason" type:"string"`
// The Amazon Resource Name (ARN) of the fleet.
Fleet *string `locationName:"fleet" min:"1" type:"string"`
// The status of the deployment job.
Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
}
// String returns the string representation
func (s DeploymentJob) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeploymentJob) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DeploymentJob) SetArn(v string) *DeploymentJob {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *DeploymentJob) SetCreatedAt(v time.Time) *DeploymentJob {
s.CreatedAt = &v
return s
}
// SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
func (s *DeploymentJob) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *DeploymentJob {
s.DeploymentApplicationConfigs = v
return s
}
// SetDeploymentConfig sets the DeploymentConfig field's value.
func (s *DeploymentJob) SetDeploymentConfig(v *DeploymentConfig) *DeploymentJob {
s.DeploymentConfig = v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *DeploymentJob) SetFailureCode(v string) *DeploymentJob {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *DeploymentJob) SetFailureReason(v string) *DeploymentJob {
s.FailureReason = &v
return s
}
// SetFleet sets the Fleet field's value.
func (s *DeploymentJob) SetFleet(v string) *DeploymentJob {
s.Fleet = &v
return s
}
// SetStatus sets the Status field's value.
func (s *DeploymentJob) SetStatus(v string) *DeploymentJob {
s.Status = &v
return s
}
// Configuration information for a deployment launch.
type DeploymentLaunchConfig struct {
_ struct{} `type:"structure"`
// An array of key/value pairs specifying environment variables for the robot
// application
EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"`
// The launch file name.
//
// LaunchFile is a required field
LaunchFile *string `locationName:"launchFile" type:"string" required:"true"`
// The package name.
//
// PackageName is a required field
PackageName *string `locationName:"packageName" type:"string" required:"true"`
// The deployment post-launch file. This file will be executed after the launch
// file.
PostLaunchFile *string `locationName:"postLaunchFile" type:"string"`
// The deployment pre-launch file. This file will be executed prior to the launch
// file.
PreLaunchFile *string `locationName:"preLaunchFile" type:"string"`
}
// String returns the string representation
func (s DeploymentLaunchConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeploymentLaunchConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeploymentLaunchConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeploymentLaunchConfig"}
if s.LaunchFile == nil {
invalidParams.Add(request.NewErrParamRequired("LaunchFile"))
}
if s.PackageName == nil {
invalidParams.Add(request.NewErrParamRequired("PackageName"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (s *DeploymentLaunchConfig) SetEnvironmentVariables(v map[string]*string) *DeploymentLaunchConfig {
s.EnvironmentVariables = v
return s
}
// SetLaunchFile sets the LaunchFile field's value.
func (s *DeploymentLaunchConfig) SetLaunchFile(v string) *DeploymentLaunchConfig {
s.LaunchFile = &v
return s
}
// SetPackageName sets the PackageName field's value.
func (s *DeploymentLaunchConfig) SetPackageName(v string) *DeploymentLaunchConfig {
s.PackageName = &v
return s
}
// SetPostLaunchFile sets the PostLaunchFile field's value.
func (s *DeploymentLaunchConfig) SetPostLaunchFile(v string) *DeploymentLaunchConfig {
s.PostLaunchFile = &v
return s
}
// SetPreLaunchFile sets the PreLaunchFile field's value.
func (s *DeploymentLaunchConfig) SetPreLaunchFile(v string) *DeploymentLaunchConfig {
s.PreLaunchFile = &v
return s
}
type DeregisterRobotInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
//
// Fleet is a required field
Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the robot.
//
// Robot is a required field
Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DeregisterRobotInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeregisterRobotInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeregisterRobotInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeregisterRobotInput"}
if s.Fleet == nil {
invalidParams.Add(request.NewErrParamRequired("Fleet"))
}
if s.Fleet != nil && len(*s.Fleet) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
}
if s.Robot == nil {
invalidParams.Add(request.NewErrParamRequired("Robot"))
}
if s.Robot != nil && len(*s.Robot) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFleet sets the Fleet field's value.
func (s *DeregisterRobotInput) SetFleet(v string) *DeregisterRobotInput {
s.Fleet = &v
return s
}
// SetRobot sets the Robot field's value.
func (s *DeregisterRobotInput) SetRobot(v string) *DeregisterRobotInput {
s.Robot = &v
return s
}
type DeregisterRobotOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
Fleet *string `locationName:"fleet" min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the robot.
Robot *string `locationName:"robot" min:"1" type:"string"`
}
// String returns the string representation
func (s DeregisterRobotOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeregisterRobotOutput) GoString() string {
return s.String()
}
// SetFleet sets the Fleet field's value.
func (s *DeregisterRobotOutput) SetFleet(v string) *DeregisterRobotOutput {
s.Fleet = &v
return s
}
// SetRobot sets the Robot field's value.
func (s *DeregisterRobotOutput) SetRobot(v string) *DeregisterRobotOutput {
s.Robot = &v
return s
}
type DescribeDeploymentJobInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the deployment job.
//
// Job is a required field
Job *string `locationName:"job" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DescribeDeploymentJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeDeploymentJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeDeploymentJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeDeploymentJobInput"}
if s.Job == nil {
invalidParams.Add(request.NewErrParamRequired("Job"))
}
if s.Job != nil && len(*s.Job) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Job", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetJob sets the Job field's value.
func (s *DescribeDeploymentJobInput) SetJob(v string) *DescribeDeploymentJobInput {
s.Job = &v
return s
}
type DescribeDeploymentJobOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the deployment job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the deployment job was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The deployment application configuration.
DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
// The deployment configuration.
DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
// The deployment job failure code.
FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
// A short description of the reason why the deployment job failed.
FailureReason *string `locationName:"failureReason" type:"string"`
// The Amazon Resource Name (ARN) of the fleet.
Fleet *string `locationName:"fleet" min:"1" type:"string"`
// A list of robot deployment summaries.
RobotDeploymentSummary []*RobotDeployment `locationName:"robotDeploymentSummary" type:"list"`
// The status of the deployment job.
Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
// The list of all tags added to the specified deployment job.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s DescribeDeploymentJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeDeploymentJobOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DescribeDeploymentJobOutput) SetArn(v string) *DescribeDeploymentJobOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *DescribeDeploymentJobOutput) SetCreatedAt(v time.Time) *DescribeDeploymentJobOutput {
s.CreatedAt = &v
return s
}
// SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
func (s *DescribeDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *DescribeDeploymentJobOutput {
s.DeploymentApplicationConfigs = v
return s
}
// SetDeploymentConfig sets the DeploymentConfig field's value.
func (s *DescribeDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *DescribeDeploymentJobOutput {
s.DeploymentConfig = v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *DescribeDeploymentJobOutput) SetFailureCode(v string) *DescribeDeploymentJobOutput {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *DescribeDeploymentJobOutput) SetFailureReason(v string) *DescribeDeploymentJobOutput {
s.FailureReason = &v
return s
}
// SetFleet sets the Fleet field's value.
func (s *DescribeDeploymentJobOutput) SetFleet(v string) *DescribeDeploymentJobOutput {
s.Fleet = &v
return s
}
// SetRobotDeploymentSummary sets the RobotDeploymentSummary field's value.
func (s *DescribeDeploymentJobOutput) SetRobotDeploymentSummary(v []*RobotDeployment) *DescribeDeploymentJobOutput {
s.RobotDeploymentSummary = v
return s
}
// SetStatus sets the Status field's value.
func (s *DescribeDeploymentJobOutput) SetStatus(v string) *DescribeDeploymentJobOutput {
s.Status = &v
return s
}
// SetTags sets the Tags field's value.
func (s *DescribeDeploymentJobOutput) SetTags(v map[string]*string) *DescribeDeploymentJobOutput {
s.Tags = v
return s
}
type DescribeFleetInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
//
// Fleet is a required field
Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DescribeFleetInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeFleetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeFleetInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeFleetInput"}
if s.Fleet == nil {
invalidParams.Add(request.NewErrParamRequired("Fleet"))
}
if s.Fleet != nil && len(*s.Fleet) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFleet sets the Fleet field's value.
func (s *DescribeFleetInput) SetFleet(v string) *DescribeFleetInput {
s.Fleet = &v
return s
}
type DescribeFleetOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the fleet was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The Amazon Resource Name (ARN) of the last deployment job.
LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
// The status of the last deployment.
LastDeploymentStatus *string `locationName:"lastDeploymentStatus" type:"string" enum:"DeploymentStatus"`
// The time of the last deployment.
LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
// The name of the fleet.
Name *string `locationName:"name" min:"1" type:"string"`
// A list of robots.
Robots []*Robot `locationName:"robots" type:"list"`
// The list of all tags added to the specified fleet.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s DescribeFleetOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeFleetOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DescribeFleetOutput) SetArn(v string) *DescribeFleetOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *DescribeFleetOutput) SetCreatedAt(v time.Time) *DescribeFleetOutput {
s.CreatedAt = &v
return s
}
// SetLastDeploymentJob sets the LastDeploymentJob field's value.
func (s *DescribeFleetOutput) SetLastDeploymentJob(v string) *DescribeFleetOutput {
s.LastDeploymentJob = &v
return s
}
// SetLastDeploymentStatus sets the LastDeploymentStatus field's value.
func (s *DescribeFleetOutput) SetLastDeploymentStatus(v string) *DescribeFleetOutput {
s.LastDeploymentStatus = &v
return s
}
// SetLastDeploymentTime sets the LastDeploymentTime field's value.
func (s *DescribeFleetOutput) SetLastDeploymentTime(v time.Time) *DescribeFleetOutput {
s.LastDeploymentTime = &v
return s
}
// SetName sets the Name field's value.
func (s *DescribeFleetOutput) SetName(v string) *DescribeFleetOutput {
s.Name = &v
return s
}
// SetRobots sets the Robots field's value.
func (s *DescribeFleetOutput) SetRobots(v []*Robot) *DescribeFleetOutput {
s.Robots = v
return s
}
// SetTags sets the Tags field's value.
func (s *DescribeFleetOutput) SetTags(v map[string]*string) *DescribeFleetOutput {
s.Tags = v
return s
}
type DescribeRobotApplicationInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the robot application to describe.
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
}
// String returns the string representation
func (s DescribeRobotApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeRobotApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeRobotApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeRobotApplicationInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *DescribeRobotApplicationInput) SetApplication(v string) *DescribeRobotApplicationInput {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *DescribeRobotApplicationInput) SetApplicationVersion(v string) *DescribeRobotApplicationInput {
s.ApplicationVersion = &v
return s
}
type DescribeRobotApplicationOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot application was
// last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the robot application.
Name *string `locationName:"name" min:"1" type:"string"`
// The revision id of the robot application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// The robot software suite used by the robot application.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The sources of the robot application.
Sources []*Source `locationName:"sources" type:"list"`
// The list of all tags added to the specified robot application.
Tags map[string]*string `locationName:"tags" type:"map"`
// The version of the robot application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s DescribeRobotApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeRobotApplicationOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DescribeRobotApplicationOutput) SetArn(v string) *DescribeRobotApplicationOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *DescribeRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *DescribeRobotApplicationOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *DescribeRobotApplicationOutput) SetName(v string) *DescribeRobotApplicationOutput {
s.Name = &v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *DescribeRobotApplicationOutput) SetRevisionId(v string) *DescribeRobotApplicationOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *DescribeRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *DescribeRobotApplicationOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *DescribeRobotApplicationOutput) SetSources(v []*Source) *DescribeRobotApplicationOutput {
s.Sources = v
return s
}
// SetTags sets the Tags field's value.
func (s *DescribeRobotApplicationOutput) SetTags(v map[string]*string) *DescribeRobotApplicationOutput {
s.Tags = v
return s
}
// SetVersion sets the Version field's value.
func (s *DescribeRobotApplicationOutput) SetVersion(v string) *DescribeRobotApplicationOutput {
s.Version = &v
return s
}
type DescribeRobotInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot to be described.
//
// Robot is a required field
Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DescribeRobotInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeRobotInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeRobotInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeRobotInput"}
if s.Robot == nil {
invalidParams.Add(request.NewErrParamRequired("Robot"))
}
if s.Robot != nil && len(*s.Robot) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetRobot sets the Robot field's value.
func (s *DescribeRobotInput) SetRobot(v string) *DescribeRobotInput {
s.Robot = &v
return s
}
type DescribeRobotOutput struct {
_ struct{} `type:"structure"`
// The target architecture of the robot application.
Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
// The Amazon Resource Name (ARN) of the robot.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The Amazon Resource Name (ARN) of the fleet.
FleetArn *string `locationName:"fleetArn" min:"1" type:"string"`
// The Greengrass group id.
GreengrassGroupId *string `locationName:"greengrassGroupId" min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the last deployment job.
LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
// The time of the last deployment job.
LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
// The name of the robot.
Name *string `locationName:"name" min:"1" type:"string"`
// The status of the fleet.
Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
// The list of all tags added to the specified robot.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s DescribeRobotOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeRobotOutput) GoString() string {
return s.String()
}
// SetArchitecture sets the Architecture field's value.
func (s *DescribeRobotOutput) SetArchitecture(v string) *DescribeRobotOutput {
s.Architecture = &v
return s
}
// SetArn sets the Arn field's value.
func (s *DescribeRobotOutput) SetArn(v string) *DescribeRobotOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *DescribeRobotOutput) SetCreatedAt(v time.Time) *DescribeRobotOutput {
s.CreatedAt = &v
return s
}
// SetFleetArn sets the FleetArn field's value.
func (s *DescribeRobotOutput) SetFleetArn(v string) *DescribeRobotOutput {
s.FleetArn = &v
return s
}
// SetGreengrassGroupId sets the GreengrassGroupId field's value.
func (s *DescribeRobotOutput) SetGreengrassGroupId(v string) *DescribeRobotOutput {
s.GreengrassGroupId = &v
return s
}
// SetLastDeploymentJob sets the LastDeploymentJob field's value.
func (s *DescribeRobotOutput) SetLastDeploymentJob(v string) *DescribeRobotOutput {
s.LastDeploymentJob = &v
return s
}
// SetLastDeploymentTime sets the LastDeploymentTime field's value.
func (s *DescribeRobotOutput) SetLastDeploymentTime(v time.Time) *DescribeRobotOutput {
s.LastDeploymentTime = &v
return s
}
// SetName sets the Name field's value.
func (s *DescribeRobotOutput) SetName(v string) *DescribeRobotOutput {
s.Name = &v
return s
}
// SetStatus sets the Status field's value.
func (s *DescribeRobotOutput) SetStatus(v string) *DescribeRobotOutput {
s.Status = &v
return s
}
// SetTags sets the Tags field's value.
func (s *DescribeRobotOutput) SetTags(v map[string]*string) *DescribeRobotOutput {
s.Tags = v
return s
}
type DescribeSimulationApplicationInput struct {
_ struct{} `type:"structure"`
// The application information for the simulation application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the simulation application to describe.
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
}
// String returns the string representation
func (s DescribeSimulationApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeSimulationApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeSimulationApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeSimulationApplicationInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *DescribeSimulationApplicationInput) SetApplication(v string) *DescribeSimulationApplicationInput {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *DescribeSimulationApplicationInput) SetApplicationVersion(v string) *DescribeSimulationApplicationInput {
s.ApplicationVersion = &v
return s
}
type DescribeSimulationApplicationOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot simulation application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation application
// was last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the simulation application.
Name *string `locationName:"name" min:"1" type:"string"`
// The rendering engine for the simulation application.
RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
// The revision id of the simulation application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// Information about the robot software suite.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The simulation software suite used by the simulation application.
SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
// The sources of the simulation application.
Sources []*Source `locationName:"sources" type:"list"`
// The list of all tags added to the specified simulation application.
Tags map[string]*string `locationName:"tags" type:"map"`
// The version of the simulation application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s DescribeSimulationApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeSimulationApplicationOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DescribeSimulationApplicationOutput) SetArn(v string) *DescribeSimulationApplicationOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *DescribeSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *DescribeSimulationApplicationOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *DescribeSimulationApplicationOutput) SetName(v string) *DescribeSimulationApplicationOutput {
s.Name = &v
return s
}
// SetRenderingEngine sets the RenderingEngine field's value.
func (s *DescribeSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *DescribeSimulationApplicationOutput {
s.RenderingEngine = v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *DescribeSimulationApplicationOutput) SetRevisionId(v string) *DescribeSimulationApplicationOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *DescribeSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *DescribeSimulationApplicationOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
func (s *DescribeSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *DescribeSimulationApplicationOutput {
s.SimulationSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *DescribeSimulationApplicationOutput) SetSources(v []*Source) *DescribeSimulationApplicationOutput {
s.Sources = v
return s
}
// SetTags sets the Tags field's value.
func (s *DescribeSimulationApplicationOutput) SetTags(v map[string]*string) *DescribeSimulationApplicationOutput {
s.Tags = v
return s
}
// SetVersion sets the Version field's value.
func (s *DescribeSimulationApplicationOutput) SetVersion(v string) *DescribeSimulationApplicationOutput {
s.Version = &v
return s
}
type DescribeSimulationJobInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation job to be described.
//
// Job is a required field
Job *string `locationName:"job" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s DescribeSimulationJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeSimulationJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeSimulationJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeSimulationJobInput"}
if s.Job == nil {
invalidParams.Add(request.NewErrParamRequired("Job"))
}
if s.Job != nil && len(*s.Job) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Job", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetJob sets the Job field's value.
func (s *DescribeSimulationJobInput) SetJob(v string) *DescribeSimulationJobInput {
s.Job = &v
return s
}
type DescribeSimulationJobOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency
// of the request.
ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
// The failure behavior for the simulation job.
FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
// The failure code of the simulation job if it failed:
//
// InternalServiceErrorInternal service error.
//
// RobotApplicationCrashRobot application exited abnormally.
//
// SimulationApplicationCrash Simulation application exited abnormally.
//
// BadPermissionsRobotApplicationRobot application bundle could not be downloaded.
//
// BadPermissionsSimulationApplicationSimulation application bundle could not
// be downloaded.
//
// BadPermissionsS3OutputUnable to publish outputs to customer-provided S3 bucket.
//
// BadPermissionsCloudwatchLogsUnable to publish logs to customer-provided CloudWatch
// Logs resource.
//
// SubnetIpLimitExceededSubnet IP limit exceeded.
//
// ENILimitExceededENI limit exceeded.
//
// BadPermissionsUserCredentialsUnable to use the Role provided.
//
// InvalidBundleRobotApplicationRobot bundle cannot be extracted (invalid format,
// bundling error, or other issue).
//
// InvalidBundleSimulationApplicationSimulation bundle cannot be extracted (invalid
// format, bundling error, or other issue).
//
// RobotApplicationVersionMismatchedEtagEtag for RobotApplication does not match
// value during version creation.
//
// SimulationApplicationVersionMismatchedEtagEtag for SimulationApplication
// does not match value during version creation.
FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
// Details about why the simulation job failed. For more information about troubleshooting,
// see Troubleshooting (https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting.html).
FailureReason *string `locationName:"failureReason" type:"string"`
// The IAM role that allows the simulation instance to call the AWS APIs that
// are specified in its associated policies on your behalf.
IamRole *string `locationName:"iamRole" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation job was last
// updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The maximum job duration in seconds. The value must be 8 days (691,200 seconds)
// or less.
MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
// The name of the simulation job.
Name *string `locationName:"name" min:"1" type:"string"`
// Location for output files generated by the simulation job.
OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
// A list of robot applications.
RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
// A list of simulation applications.
SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
// The simulation job execution duration in milliseconds.
SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
// The status of the simulation job.
Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
// The list of all tags added to the specified simulation job.
Tags map[string]*string `locationName:"tags" type:"map"`
// The VPC configuration.
VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
}
// String returns the string representation
func (s DescribeSimulationJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DescribeSimulationJobOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DescribeSimulationJobOutput) SetArn(v string) *DescribeSimulationJobOutput {
s.Arn = &v
return s
}
// SetClientRequestToken sets the ClientRequestToken field's value.
func (s *DescribeSimulationJobOutput) SetClientRequestToken(v string) *DescribeSimulationJobOutput {
s.ClientRequestToken = &v
return s
}
// SetFailureBehavior sets the FailureBehavior field's value.
func (s *DescribeSimulationJobOutput) SetFailureBehavior(v string) *DescribeSimulationJobOutput {
s.FailureBehavior = &v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *DescribeSimulationJobOutput) SetFailureCode(v string) *DescribeSimulationJobOutput {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *DescribeSimulationJobOutput) SetFailureReason(v string) *DescribeSimulationJobOutput {
s.FailureReason = &v
return s
}
// SetIamRole sets the IamRole field's value.
func (s *DescribeSimulationJobOutput) SetIamRole(v string) *DescribeSimulationJobOutput {
s.IamRole = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *DescribeSimulationJobOutput) SetLastUpdatedAt(v time.Time) *DescribeSimulationJobOutput {
s.LastUpdatedAt = &v
return s
}
// SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
func (s *DescribeSimulationJobOutput) SetMaxJobDurationInSeconds(v int64) *DescribeSimulationJobOutput {
s.MaxJobDurationInSeconds = &v
return s
}
// SetName sets the Name field's value.
func (s *DescribeSimulationJobOutput) SetName(v string) *DescribeSimulationJobOutput {
s.Name = &v
return s
}
// SetOutputLocation sets the OutputLocation field's value.
func (s *DescribeSimulationJobOutput) SetOutputLocation(v *OutputLocation) *DescribeSimulationJobOutput {
s.OutputLocation = v
return s
}
// SetRobotApplications sets the RobotApplications field's value.
func (s *DescribeSimulationJobOutput) SetRobotApplications(v []*RobotApplicationConfig) *DescribeSimulationJobOutput {
s.RobotApplications = v
return s
}
// SetSimulationApplications sets the SimulationApplications field's value.
func (s *DescribeSimulationJobOutput) SetSimulationApplications(v []*SimulationApplicationConfig) *DescribeSimulationJobOutput {
s.SimulationApplications = v
return s
}
// SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
func (s *DescribeSimulationJobOutput) SetSimulationTimeMillis(v int64) *DescribeSimulationJobOutput {
s.SimulationTimeMillis = &v
return s
}
// SetStatus sets the Status field's value.
func (s *DescribeSimulationJobOutput) SetStatus(v string) *DescribeSimulationJobOutput {
s.Status = &v
return s
}
// SetTags sets the Tags field's value.
func (s *DescribeSimulationJobOutput) SetTags(v map[string]*string) *DescribeSimulationJobOutput {
s.Tags = v
return s
}
// SetVpcConfig sets the VpcConfig field's value.
func (s *DescribeSimulationJobOutput) SetVpcConfig(v *VPCConfigResponse) *DescribeSimulationJobOutput {
s.VpcConfig = v
return s
}
// Information about a filter.
type Filter struct {
_ struct{} `type:"structure"`
// The name of the filter.
Name *string `locationName:"name" min:"1" type:"string"`
// A list of values.
Values []*string `locationName:"values" min:"1" type:"list"`
}
// String returns the string representation
func (s Filter) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Filter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *Filter) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "Filter"}
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if s.Values != nil && len(s.Values) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Values", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetName sets the Name field's value.
func (s *Filter) SetName(v string) *Filter {
s.Name = &v
return s
}
// SetValues sets the Values field's value.
func (s *Filter) SetValues(v []*string) *Filter {
s.Values = v
return s
}
// Information about a fleet.
type Fleet struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the fleet was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The Amazon Resource Name (ARN) of the last deployment job.
LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
// The status of the last fleet deployment.
LastDeploymentStatus *string `locationName:"lastDeploymentStatus" type:"string" enum:"DeploymentStatus"`
// The time of the last deployment.
LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
// The name of the fleet.
Name *string `locationName:"name" min:"1" type:"string"`
}
// String returns the string representation
func (s Fleet) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Fleet) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Fleet) SetArn(v string) *Fleet {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *Fleet) SetCreatedAt(v time.Time) *Fleet {
s.CreatedAt = &v
return s
}
// SetLastDeploymentJob sets the LastDeploymentJob field's value.
func (s *Fleet) SetLastDeploymentJob(v string) *Fleet {
s.LastDeploymentJob = &v
return s
}
// SetLastDeploymentStatus sets the LastDeploymentStatus field's value.
func (s *Fleet) SetLastDeploymentStatus(v string) *Fleet {
s.LastDeploymentStatus = &v
return s
}
// SetLastDeploymentTime sets the LastDeploymentTime field's value.
func (s *Fleet) SetLastDeploymentTime(v time.Time) *Fleet {
s.LastDeploymentTime = &v
return s
}
// SetName sets the Name field's value.
func (s *Fleet) SetName(v string) *Fleet {
s.Name = &v
return s
}
// Information about a launch configuration.
type LaunchConfig struct {
_ struct{} `type:"structure"`
// The environment variables for the application launch.
EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"`
// The launch file name.
//
// LaunchFile is a required field
LaunchFile *string `locationName:"launchFile" type:"string" required:"true"`
// The package name.
//
// PackageName is a required field
PackageName *string `locationName:"packageName" type:"string" required:"true"`
}
// String returns the string representation
func (s LaunchConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s LaunchConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *LaunchConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "LaunchConfig"}
if s.LaunchFile == nil {
invalidParams.Add(request.NewErrParamRequired("LaunchFile"))
}
if s.PackageName == nil {
invalidParams.Add(request.NewErrParamRequired("PackageName"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (s *LaunchConfig) SetEnvironmentVariables(v map[string]*string) *LaunchConfig {
s.EnvironmentVariables = v
return s
}
// SetLaunchFile sets the LaunchFile field's value.
func (s *LaunchConfig) SetLaunchFile(v string) *LaunchConfig {
s.LaunchFile = &v
return s
}
// SetPackageName sets the PackageName field's value.
func (s *LaunchConfig) SetPackageName(v string) *LaunchConfig {
s.PackageName = &v
return s
}
type ListDeploymentJobsInput struct {
_ struct{} `type:"structure"`
// Optional filters to limit results.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum number of deployment job results returned by ListDeploymentJobs
// in paginated output. When this parameter is used, ListDeploymentJobs only
// returns maxResults results in a single page along with a nextToken response
// element. The remaining results of the initial request can be seen by sending
// another ListDeploymentJobs request with the returned nextToken value. This
// value can be between 1 and 100. If this parameter is not used, then ListDeploymentJobs
// returns up to 100 results and a nextToken value if applicable.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The nextToken value returned from a previous paginated ListDeploymentJobs
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation
func (s ListDeploymentJobsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListDeploymentJobsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListDeploymentJobsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListDeploymentJobsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilters sets the Filters field's value.
func (s *ListDeploymentJobsInput) SetFilters(v []*Filter) *ListDeploymentJobsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListDeploymentJobsInput) SetMaxResults(v int64) *ListDeploymentJobsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListDeploymentJobsInput) SetNextToken(v string) *ListDeploymentJobsInput {
s.NextToken = &v
return s
}
type ListDeploymentJobsOutput struct {
_ struct{} `type:"structure"`
// A list of deployment jobs that meet the criteria of the request.
DeploymentJobs []*DeploymentJob `locationName:"deploymentJobs" type:"list"`
// The nextToken value to include in a future ListDeploymentJobs request. When
// the results of a ListDeploymentJobs request exceed maxResults, this value
// can be used to retrieve the next page of results. This value is null when
// there are no more results to return.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation
func (s ListDeploymentJobsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListDeploymentJobsOutput) GoString() string {
return s.String()
}
// SetDeploymentJobs sets the DeploymentJobs field's value.
func (s *ListDeploymentJobsOutput) SetDeploymentJobs(v []*DeploymentJob) *ListDeploymentJobsOutput {
s.DeploymentJobs = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListDeploymentJobsOutput) SetNextToken(v string) *ListDeploymentJobsOutput {
s.NextToken = &v
return s
}
type ListFleetsInput struct {
_ struct{} `type:"structure"`
// Optional filters to limit results.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum number of deployment job results returned by ListFleets in paginated
// output. When this parameter is used, ListFleets only returns maxResults results
// in a single page along with a nextToken response element. The remaining results
// of the initial request can be seen by sending another ListFleets request
// with the returned nextToken value. This value can be between 1 and 100. If
// this parameter is not used, then ListFleets returns up to 100 results and
// a nextToken value if applicable.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The nextToken value returned from a previous paginated ListFleets request
// where maxResults was used and the results exceeded the value of that parameter.
// Pagination continues from the end of the previous results that returned the
// nextToken value.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation
func (s ListFleetsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListFleetsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListFleetsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListFleetsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilters sets the Filters field's value.
func (s *ListFleetsInput) SetFilters(v []*Filter) *ListFleetsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListFleetsInput) SetMaxResults(v int64) *ListFleetsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput {
s.NextToken = &v
return s
}
type ListFleetsOutput struct {
_ struct{} `type:"structure"`
// A list of fleet details meeting the request criteria.
FleetDetails []*Fleet `locationName:"fleetDetails" type:"list"`
// The nextToken value to include in a future ListDeploymentJobs request. When
// the results of a ListFleets request exceed maxResults, this value can be
// used to retrieve the next page of results. This value is null when there
// are no more results to return.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation
func (s ListFleetsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListFleetsOutput) GoString() string {
return s.String()
}
// SetFleetDetails sets the FleetDetails field's value.
func (s *ListFleetsOutput) SetFleetDetails(v []*Fleet) *ListFleetsOutput {
s.FleetDetails = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput {
s.NextToken = &v
return s
}
type ListRobotApplicationsInput struct {
_ struct{} `type:"structure"`
// Optional filters to limit results.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum number of deployment job results returned by ListRobotApplications
// in paginated output. When this parameter is used, ListRobotApplications only
// returns maxResults results in a single page along with a nextToken response
// element. The remaining results of the initial request can be seen by sending
// another ListFleets request with the returned nextToken value. This value
// can be between 1 and 100. If this parameter is not used, then ListRobotApplications
// returns up to 100 results and a nextToken value if applicable.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The nextToken value returned from a previous paginated ListRobotApplications
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// The version qualifier of the robot application.
VersionQualifier *string `locationName:"versionQualifier" type:"string"`
}
// String returns the string representation
func (s ListRobotApplicationsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRobotApplicationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListRobotApplicationsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListRobotApplicationsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilters sets the Filters field's value.
func (s *ListRobotApplicationsInput) SetFilters(v []*Filter) *ListRobotApplicationsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListRobotApplicationsInput) SetMaxResults(v int64) *ListRobotApplicationsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListRobotApplicationsInput) SetNextToken(v string) *ListRobotApplicationsInput {
s.NextToken = &v
return s
}
// SetVersionQualifier sets the VersionQualifier field's value.
func (s *ListRobotApplicationsInput) SetVersionQualifier(v string) *ListRobotApplicationsInput {
s.VersionQualifier = &v
return s
}
type ListRobotApplicationsOutput struct {
_ struct{} `type:"structure"`
// The nextToken value to include in a future ListRobotApplications request.
// When the results of a ListRobotApplications request exceed maxResults, this
// value can be used to retrieve the next page of results. This value is null
// when there are no more results to return.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// A list of robot application summaries that meet the criteria of the request.
RobotApplicationSummaries []*RobotApplicationSummary `locationName:"robotApplicationSummaries" type:"list"`
}
// String returns the string representation
func (s ListRobotApplicationsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRobotApplicationsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListRobotApplicationsOutput) SetNextToken(v string) *ListRobotApplicationsOutput {
s.NextToken = &v
return s
}
// SetRobotApplicationSummaries sets the RobotApplicationSummaries field's value.
func (s *ListRobotApplicationsOutput) SetRobotApplicationSummaries(v []*RobotApplicationSummary) *ListRobotApplicationsOutput {
s.RobotApplicationSummaries = v
return s
}
type ListRobotsInput struct {
_ struct{} `type:"structure"`
// Optional filters to limit results.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum number of deployment job results returned by ListRobots in paginated
// output. When this parameter is used, ListRobots only returns maxResults results
// in a single page along with a nextToken response element. The remaining results
// of the initial request can be seen by sending another ListFleets request
// with the returned nextToken value. This value can be between 1 and 100. If
// this parameter is not used, then ListRobots returns up to 100 results and
// a nextToken value if applicable.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The nextToken value returned from a previous paginated ListRobots request
// where maxResults was used and the results exceeded the value of that parameter.
// Pagination continues from the end of the previous results that returned the
// nextToken value.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation
func (s ListRobotsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRobotsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListRobotsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListRobotsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilters sets the Filters field's value.
func (s *ListRobotsInput) SetFilters(v []*Filter) *ListRobotsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListRobotsInput) SetMaxResults(v int64) *ListRobotsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListRobotsInput) SetNextToken(v string) *ListRobotsInput {
s.NextToken = &v
return s
}
type ListRobotsOutput struct {
_ struct{} `type:"structure"`
// The nextToken value to include in a future ListRobots request. When the results
// of a ListRobot request exceed maxResults, this value can be used to retrieve
// the next page of results. This value is null when there are no more results
// to return.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// A list of robots that meet the criteria of the request.
Robots []*Robot `locationName:"robots" type:"list"`
}
// String returns the string representation
func (s ListRobotsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRobotsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListRobotsOutput) SetNextToken(v string) *ListRobotsOutput {
s.NextToken = &v
return s
}
// SetRobots sets the Robots field's value.
func (s *ListRobotsOutput) SetRobots(v []*Robot) *ListRobotsOutput {
s.Robots = v
return s
}
type ListSimulationApplicationsInput struct {
_ struct{} `type:"structure"`
// Optional list of filters to limit results. The only valid filter name is
// name.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum number of deployment job results returned by ListSimulationApplications
// in paginated output. When this parameter is used, ListSimulationApplications
// only returns maxResults results in a single page along with a nextToken response
// element. The remaining results of the initial request can be seen by sending
// another ListFleets request with the returned nextToken value. This value
// can be between 1 and 100. If this parameter is not used, then ListSimulationApplications
// returns up to 100 results and a nextToken value if applicable.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The nextToken value returned from a previous paginated ListSimulationApplications
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// The version qualifier of the simulation application.
VersionQualifier *string `locationName:"versionQualifier" type:"string"`
}
// String returns the string representation
func (s ListSimulationApplicationsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSimulationApplicationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListSimulationApplicationsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListSimulationApplicationsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilters sets the Filters field's value.
func (s *ListSimulationApplicationsInput) SetFilters(v []*Filter) *ListSimulationApplicationsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListSimulationApplicationsInput) SetMaxResults(v int64) *ListSimulationApplicationsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListSimulationApplicationsInput) SetNextToken(v string) *ListSimulationApplicationsInput {
s.NextToken = &v
return s
}
// SetVersionQualifier sets the VersionQualifier field's value.
func (s *ListSimulationApplicationsInput) SetVersionQualifier(v string) *ListSimulationApplicationsInput {
s.VersionQualifier = &v
return s
}
type ListSimulationApplicationsOutput struct {
_ struct{} `type:"structure"`
// The nextToken value to include in a future ListSimulationApplications request.
// When the results of a ListRobot request exceed maxResults, this value can
// be used to retrieve the next page of results. This value is null when there
// are no more results to return.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// A list of simulation application summaries that meet the criteria of the
// request.
SimulationApplicationSummaries []*SimulationApplicationSummary `locationName:"simulationApplicationSummaries" type:"list"`
}
// String returns the string representation
func (s ListSimulationApplicationsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSimulationApplicationsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListSimulationApplicationsOutput) SetNextToken(v string) *ListSimulationApplicationsOutput {
s.NextToken = &v
return s
}
// SetSimulationApplicationSummaries sets the SimulationApplicationSummaries field's value.
func (s *ListSimulationApplicationsOutput) SetSimulationApplicationSummaries(v []*SimulationApplicationSummary) *ListSimulationApplicationsOutput {
s.SimulationApplicationSummaries = v
return s
}
type ListSimulationJobsInput struct {
_ struct{} `type:"structure"`
// Optional filters to limit results.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum number of deployment job results returned by ListSimulationJobs
// in paginated output. When this parameter is used, ListSimulationJobs only
// returns maxResults results in a single page along with a nextToken response
// element. The remaining results of the initial request can be seen by sending
// another ListFleets request with the returned nextToken value. This value
// can be between 1 and 100. If this parameter is not used, then ListSimulationJobs
// returns up to 100 results and a nextToken value if applicable.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The nextToken value returned from a previous paginated ListSimulationJobs
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation
func (s ListSimulationJobsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSimulationJobsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListSimulationJobsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListSimulationJobsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilters sets the Filters field's value.
func (s *ListSimulationJobsInput) SetFilters(v []*Filter) *ListSimulationJobsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListSimulationJobsInput) SetMaxResults(v int64) *ListSimulationJobsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListSimulationJobsInput) SetNextToken(v string) *ListSimulationJobsInput {
s.NextToken = &v
return s
}
type ListSimulationJobsOutput struct {
_ struct{} `type:"structure"`
// The nextToken value to include in a future ListSimulationJobs request. When
// the results of a ListRobot request exceed maxResults, this value can be used
// to retrieve the next page of results. This value is null when there are no
// more results to return.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// A list of simulation job summaries that meet the criteria of the request.
//
// SimulationJobSummaries is a required field
SimulationJobSummaries []*SimulationJobSummary `locationName:"simulationJobSummaries" type:"list" required:"true"`
}
// String returns the string representation
func (s ListSimulationJobsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSimulationJobsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListSimulationJobsOutput) SetNextToken(v string) *ListSimulationJobsOutput {
s.NextToken = &v
return s
}
// SetSimulationJobSummaries sets the SimulationJobSummaries field's value.
func (s *ListSimulationJobsOutput) SetSimulationJobSummaries(v []*SimulationJobSummary) *ListSimulationJobsOutput {
s.SimulationJobSummaries = v
return s
}
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
// The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.
//
// ResourceArn is a required field
ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s ListTagsForResourceInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListTagsForResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListTagsForResourceInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
if s.ResourceArn == nil {
invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetResourceArn sets the ResourceArn field's value.
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
s.ResourceArn = &v
return s
}
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
// The list of all tags added to the specified resource.
Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation
func (s ListTagsForResourceOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
// SetTags sets the Tags field's value.
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
s.Tags = v
return s
}
// The output location.
type OutputLocation struct {
_ struct{} `type:"structure"`
// The S3 bucket for output.
S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
// The S3 folder in the s3Bucket where output files will be placed.
S3Prefix *string `locationName:"s3Prefix" min:"1" type:"string"`
}
// String returns the string representation
func (s OutputLocation) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s OutputLocation) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *OutputLocation) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "OutputLocation"}
if s.S3Bucket != nil && len(*s.S3Bucket) < 3 {
invalidParams.Add(request.NewErrParamMinLen("S3Bucket", 3))
}
if s.S3Prefix != nil && len(*s.S3Prefix) < 1 {
invalidParams.Add(request.NewErrParamMinLen("S3Prefix", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetS3Bucket sets the S3Bucket field's value.
func (s *OutputLocation) SetS3Bucket(v string) *OutputLocation {
s.S3Bucket = &v
return s
}
// SetS3Prefix sets the S3Prefix field's value.
func (s *OutputLocation) SetS3Prefix(v string) *OutputLocation {
s.S3Prefix = &v
return s
}
// Information about the progress of a deployment job.
type ProgressDetail struct {
_ struct{} `type:"structure"`
// The current progress status.
CurrentProgress *string `locationName:"currentProgress" type:"string"`
// The Amazon Resource Name (ARN) of the deployment job.
TargetResource *string `locationName:"targetResource" type:"string"`
}
// String returns the string representation
func (s ProgressDetail) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ProgressDetail) GoString() string {
return s.String()
}
// SetCurrentProgress sets the CurrentProgress field's value.
func (s *ProgressDetail) SetCurrentProgress(v string) *ProgressDetail {
s.CurrentProgress = &v
return s
}
// SetTargetResource sets the TargetResource field's value.
func (s *ProgressDetail) SetTargetResource(v string) *ProgressDetail {
s.TargetResource = &v
return s
}
type RegisterRobotInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet.
//
// Fleet is a required field
Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the robot.
//
// Robot is a required field
Robot *string `locationName:"robot" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s RegisterRobotInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RegisterRobotInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *RegisterRobotInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "RegisterRobotInput"}
if s.Fleet == nil {
invalidParams.Add(request.NewErrParamRequired("Fleet"))
}
if s.Fleet != nil && len(*s.Fleet) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
}
if s.Robot == nil {
invalidParams.Add(request.NewErrParamRequired("Robot"))
}
if s.Robot != nil && len(*s.Robot) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Robot", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFleet sets the Fleet field's value.
func (s *RegisterRobotInput) SetFleet(v string) *RegisterRobotInput {
s.Fleet = &v
return s
}
// SetRobot sets the Robot field's value.
func (s *RegisterRobotInput) SetRobot(v string) *RegisterRobotInput {
s.Robot = &v
return s
}
type RegisterRobotOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the fleet that the robot will join.
Fleet *string `locationName:"fleet" min:"1" type:"string"`
// Information about the robot registration.
Robot *string `locationName:"robot" min:"1" type:"string"`
}
// String returns the string representation
func (s RegisterRobotOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RegisterRobotOutput) GoString() string {
return s.String()
}
// SetFleet sets the Fleet field's value.
func (s *RegisterRobotOutput) SetFleet(v string) *RegisterRobotOutput {
s.Fleet = &v
return s
}
// SetRobot sets the Robot field's value.
func (s *RegisterRobotOutput) SetRobot(v string) *RegisterRobotOutput {
s.Robot = &v
return s
}
// Information about a rendering engine.
type RenderingEngine struct {
_ struct{} `type:"structure"`
// The name of the rendering engine.
Name *string `locationName:"name" type:"string" enum:"RenderingEngineType"`
// The version of the rendering engine.
Version *string `locationName:"version" type:"string"`
}
// String returns the string representation
func (s RenderingEngine) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RenderingEngine) GoString() string {
return s.String()
}
// SetName sets the Name field's value.
func (s *RenderingEngine) SetName(v string) *RenderingEngine {
s.Name = &v
return s
}
// SetVersion sets the Version field's value.
func (s *RenderingEngine) SetVersion(v string) *RenderingEngine {
s.Version = &v
return s
}
type RestartSimulationJobInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation job.
//
// Job is a required field
Job *string `locationName:"job" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s RestartSimulationJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RestartSimulationJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *RestartSimulationJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "RestartSimulationJobInput"}
if s.Job == nil {
invalidParams.Add(request.NewErrParamRequired("Job"))
}
if s.Job != nil && len(*s.Job) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Job", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetJob sets the Job field's value.
func (s *RestartSimulationJobInput) SetJob(v string) *RestartSimulationJobInput {
s.Job = &v
return s
}
type RestartSimulationJobOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s RestartSimulationJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RestartSimulationJobOutput) GoString() string {
return s.String()
}
// Information about a robot.
type Robot struct {
_ struct{} `type:"structure"`
// The architecture of the robot.
Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
// The Amazon Resource Name (ARN) of the robot.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// The Amazon Resource Name (ARN) of the fleet.
FleetArn *string `locationName:"fleetArn" min:"1" type:"string"`
// The Greengrass group associated with the robot.
GreenGrassGroupId *string `locationName:"greenGrassGroupId" min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the last deployment job.
LastDeploymentJob *string `locationName:"lastDeploymentJob" min:"1" type:"string"`
// The time of the last deployment.
LastDeploymentTime *time.Time `locationName:"lastDeploymentTime" type:"timestamp"`
// The name of the robot.
Name *string `locationName:"name" min:"1" type:"string"`
// The status of the robot.
Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
}
// String returns the string representation
func (s Robot) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Robot) GoString() string {
return s.String()
}
// SetArchitecture sets the Architecture field's value.
func (s *Robot) SetArchitecture(v string) *Robot {
s.Architecture = &v
return s
}
// SetArn sets the Arn field's value.
func (s *Robot) SetArn(v string) *Robot {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *Robot) SetCreatedAt(v time.Time) *Robot {
s.CreatedAt = &v
return s
}
// SetFleetArn sets the FleetArn field's value.
func (s *Robot) SetFleetArn(v string) *Robot {
s.FleetArn = &v
return s
}
// SetGreenGrassGroupId sets the GreenGrassGroupId field's value.
func (s *Robot) SetGreenGrassGroupId(v string) *Robot {
s.GreenGrassGroupId = &v
return s
}
// SetLastDeploymentJob sets the LastDeploymentJob field's value.
func (s *Robot) SetLastDeploymentJob(v string) *Robot {
s.LastDeploymentJob = &v
return s
}
// SetLastDeploymentTime sets the LastDeploymentTime field's value.
func (s *Robot) SetLastDeploymentTime(v time.Time) *Robot {
s.LastDeploymentTime = &v
return s
}
// SetName sets the Name field's value.
func (s *Robot) SetName(v string) *Robot {
s.Name = &v
return s
}
// SetStatus sets the Status field's value.
func (s *Robot) SetStatus(v string) *Robot {
s.Status = &v
return s
}
// Application configuration information for a robot.
type RobotApplicationConfig struct {
_ struct{} `type:"structure"`
// The application information for the robot application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the robot application.
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
// The launch configuration for the robot application.
//
// LaunchConfig is a required field
LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
}
// String returns the string representation
func (s RobotApplicationConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RobotApplicationConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *RobotApplicationConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "RobotApplicationConfig"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if s.LaunchConfig == nil {
invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
}
if s.LaunchConfig != nil {
if err := s.LaunchConfig.Validate(); err != nil {
invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *RobotApplicationConfig) SetApplication(v string) *RobotApplicationConfig {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *RobotApplicationConfig) SetApplicationVersion(v string) *RobotApplicationConfig {
s.ApplicationVersion = &v
return s
}
// SetLaunchConfig sets the LaunchConfig field's value.
func (s *RobotApplicationConfig) SetLaunchConfig(v *LaunchConfig) *RobotApplicationConfig {
s.LaunchConfig = v
return s
}
// Summary information for a robot application.
type RobotApplicationSummary struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the robot.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot application was
// last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the robot application.
Name *string `locationName:"name" min:"1" type:"string"`
// The version of the robot application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s RobotApplicationSummary) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RobotApplicationSummary) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *RobotApplicationSummary) SetArn(v string) *RobotApplicationSummary {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *RobotApplicationSummary) SetLastUpdatedAt(v time.Time) *RobotApplicationSummary {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *RobotApplicationSummary) SetName(v string) *RobotApplicationSummary {
s.Name = &v
return s
}
// SetVersion sets the Version field's value.
func (s *RobotApplicationSummary) SetVersion(v string) *RobotApplicationSummary {
s.Version = &v
return s
}
// Information about a robot deployment.
type RobotDeployment struct {
_ struct{} `type:"structure"`
// The robot deployment Amazon Resource Name (ARN).
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the deployment finished.
DeploymentFinishTime *time.Time `locationName:"deploymentFinishTime" type:"timestamp"`
// The time, in milliseconds since the epoch, when the deployment was started.
DeploymentStartTime *time.Time `locationName:"deploymentStartTime" type:"timestamp"`
// The robot deployment failure code.
FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
// A short description of the reason why the robot deployment failed.
FailureReason *string `locationName:"failureReason" type:"string"`
// Information about how the deployment is progressing.
ProgressDetail *ProgressDetail `locationName:"progressDetail" type:"structure"`
// The status of the robot deployment.
Status *string `locationName:"status" type:"string" enum:"RobotStatus"`
}
// String returns the string representation
func (s RobotDeployment) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RobotDeployment) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *RobotDeployment) SetArn(v string) *RobotDeployment {
s.Arn = &v
return s
}
// SetDeploymentFinishTime sets the DeploymentFinishTime field's value.
func (s *RobotDeployment) SetDeploymentFinishTime(v time.Time) *RobotDeployment {
s.DeploymentFinishTime = &v
return s
}
// SetDeploymentStartTime sets the DeploymentStartTime field's value.
func (s *RobotDeployment) SetDeploymentStartTime(v time.Time) *RobotDeployment {
s.DeploymentStartTime = &v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *RobotDeployment) SetFailureCode(v string) *RobotDeployment {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *RobotDeployment) SetFailureReason(v string) *RobotDeployment {
s.FailureReason = &v
return s
}
// SetProgressDetail sets the ProgressDetail field's value.
func (s *RobotDeployment) SetProgressDetail(v *ProgressDetail) *RobotDeployment {
s.ProgressDetail = v
return s
}
// SetStatus sets the Status field's value.
func (s *RobotDeployment) SetStatus(v string) *RobotDeployment {
s.Status = &v
return s
}
// Information about a robot software suite.
type RobotSoftwareSuite struct {
_ struct{} `type:"structure"`
// The name of the robot software suite.
Name *string `locationName:"name" type:"string" enum:"RobotSoftwareSuiteType"`
// The version of the robot software suite.
Version *string `locationName:"version" type:"string" enum:"RobotSoftwareSuiteVersionType"`
}
// String returns the string representation
func (s RobotSoftwareSuite) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RobotSoftwareSuite) GoString() string {
return s.String()
}
// SetName sets the Name field's value.
func (s *RobotSoftwareSuite) SetName(v string) *RobotSoftwareSuite {
s.Name = &v
return s
}
// SetVersion sets the Version field's value.
func (s *RobotSoftwareSuite) SetVersion(v string) *RobotSoftwareSuite {
s.Version = &v
return s
}
// Information about a simulation application configuration.
type SimulationApplicationConfig struct {
_ struct{} `type:"structure"`
// The application information for the simulation application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The version of the simulation application.
ApplicationVersion *string `locationName:"applicationVersion" min:"1" type:"string"`
// The launch configuration for the simulation application.
//
// LaunchConfig is a required field
LaunchConfig *LaunchConfig `locationName:"launchConfig" type:"structure" required:"true"`
}
// String returns the string representation
func (s SimulationApplicationConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SimulationApplicationConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *SimulationApplicationConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "SimulationApplicationConfig"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.ApplicationVersion != nil && len(*s.ApplicationVersion) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ApplicationVersion", 1))
}
if s.LaunchConfig == nil {
invalidParams.Add(request.NewErrParamRequired("LaunchConfig"))
}
if s.LaunchConfig != nil {
if err := s.LaunchConfig.Validate(); err != nil {
invalidParams.AddNested("LaunchConfig", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *SimulationApplicationConfig) SetApplication(v string) *SimulationApplicationConfig {
s.Application = &v
return s
}
// SetApplicationVersion sets the ApplicationVersion field's value.
func (s *SimulationApplicationConfig) SetApplicationVersion(v string) *SimulationApplicationConfig {
s.ApplicationVersion = &v
return s
}
// SetLaunchConfig sets the LaunchConfig field's value.
func (s *SimulationApplicationConfig) SetLaunchConfig(v *LaunchConfig) *SimulationApplicationConfig {
s.LaunchConfig = v
return s
}
// Summary information for a simulation application.
type SimulationApplicationSummary struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation application
// was last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the simulation application.
Name *string `locationName:"name" min:"1" type:"string"`
// The version of the simulation application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s SimulationApplicationSummary) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SimulationApplicationSummary) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *SimulationApplicationSummary) SetArn(v string) *SimulationApplicationSummary {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *SimulationApplicationSummary) SetLastUpdatedAt(v time.Time) *SimulationApplicationSummary {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *SimulationApplicationSummary) SetName(v string) *SimulationApplicationSummary {
s.Name = &v
return s
}
// SetVersion sets the Version field's value.
func (s *SimulationApplicationSummary) SetVersion(v string) *SimulationApplicationSummary {
s.Version = &v
return s
}
// Information about a simulation job.
type SimulationJob struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// A unique identifier for this SimulationJob request.
ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"`
// The failure behavior the simulation job.
//
// ContinueRestart the simulation job in the same host instance.
//
// FailStop the simulation job and terminate the instance.
FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"`
// The failure code of the simulation job if it failed.
FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"`
// The reason why the simulation job failed.
FailureReason *string `locationName:"failureReason" type:"string"`
// The IAM role that allows the simulation instance to call the AWS APIs that
// are specified in its associated policies on your behalf. This is how credentials
// are passed in to your simulation job. See how to specify AWS security credentials
// for your application (https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-ecs-specify-credentials).
IamRole *string `locationName:"iamRole" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation job was last
// updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The maximum simulation job duration in seconds. The value must be 8 days
// (691,200 seconds) or less.
MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"`
// The name of the simulation job.
Name *string `locationName:"name" min:"1" type:"string"`
// Location for output files generated by the simulation job.
OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"`
// A list of robot applications.
RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"`
// A list of simulation applications.
SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"`
// The simulation job execution duration in milliseconds.
SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"`
// Status of the simulation job.
Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
// A map that contains tag keys and tag values that are attached to the simulation
// job.
Tags map[string]*string `locationName:"tags" type:"map"`
// VPC configuration information.
VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"`
}
// String returns the string representation
func (s SimulationJob) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SimulationJob) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *SimulationJob) SetArn(v string) *SimulationJob {
s.Arn = &v
return s
}
// SetClientRequestToken sets the ClientRequestToken field's value.
func (s *SimulationJob) SetClientRequestToken(v string) *SimulationJob {
s.ClientRequestToken = &v
return s
}
// SetFailureBehavior sets the FailureBehavior field's value.
func (s *SimulationJob) SetFailureBehavior(v string) *SimulationJob {
s.FailureBehavior = &v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *SimulationJob) SetFailureCode(v string) *SimulationJob {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *SimulationJob) SetFailureReason(v string) *SimulationJob {
s.FailureReason = &v
return s
}
// SetIamRole sets the IamRole field's value.
func (s *SimulationJob) SetIamRole(v string) *SimulationJob {
s.IamRole = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *SimulationJob) SetLastUpdatedAt(v time.Time) *SimulationJob {
s.LastUpdatedAt = &v
return s
}
// SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.
func (s *SimulationJob) SetMaxJobDurationInSeconds(v int64) *SimulationJob {
s.MaxJobDurationInSeconds = &v
return s
}
// SetName sets the Name field's value.
func (s *SimulationJob) SetName(v string) *SimulationJob {
s.Name = &v
return s
}
// SetOutputLocation sets the OutputLocation field's value.
func (s *SimulationJob) SetOutputLocation(v *OutputLocation) *SimulationJob {
s.OutputLocation = v
return s
}
// SetRobotApplications sets the RobotApplications field's value.
func (s *SimulationJob) SetRobotApplications(v []*RobotApplicationConfig) *SimulationJob {
s.RobotApplications = v
return s
}
// SetSimulationApplications sets the SimulationApplications field's value.
func (s *SimulationJob) SetSimulationApplications(v []*SimulationApplicationConfig) *SimulationJob {
s.SimulationApplications = v
return s
}
// SetSimulationTimeMillis sets the SimulationTimeMillis field's value.
func (s *SimulationJob) SetSimulationTimeMillis(v int64) *SimulationJob {
s.SimulationTimeMillis = &v
return s
}
// SetStatus sets the Status field's value.
func (s *SimulationJob) SetStatus(v string) *SimulationJob {
s.Status = &v
return s
}
// SetTags sets the Tags field's value.
func (s *SimulationJob) SetTags(v map[string]*string) *SimulationJob {
s.Tags = v
return s
}
// SetVpcConfig sets the VpcConfig field's value.
func (s *SimulationJob) SetVpcConfig(v *VPCConfigResponse) *SimulationJob {
s.VpcConfig = v
return s
}
// Summary information for a simulation job.
type SimulationJobSummary struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the simulation job.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation job was last
// updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the simulation job.
Name *string `locationName:"name" min:"1" type:"string"`
// A list of simulation job robot application names.
RobotApplicationNames []*string `locationName:"robotApplicationNames" min:"1" type:"list"`
// A list of simulation job simulation application names.
SimulationApplicationNames []*string `locationName:"simulationApplicationNames" min:"1" type:"list"`
// The status of the simulation job.
Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"`
}
// String returns the string representation
func (s SimulationJobSummary) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SimulationJobSummary) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *SimulationJobSummary) SetArn(v string) *SimulationJobSummary {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *SimulationJobSummary) SetLastUpdatedAt(v time.Time) *SimulationJobSummary {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *SimulationJobSummary) SetName(v string) *SimulationJobSummary {
s.Name = &v
return s
}
// SetRobotApplicationNames sets the RobotApplicationNames field's value.
func (s *SimulationJobSummary) SetRobotApplicationNames(v []*string) *SimulationJobSummary {
s.RobotApplicationNames = v
return s
}
// SetSimulationApplicationNames sets the SimulationApplicationNames field's value.
func (s *SimulationJobSummary) SetSimulationApplicationNames(v []*string) *SimulationJobSummary {
s.SimulationApplicationNames = v
return s
}
// SetStatus sets the Status field's value.
func (s *SimulationJobSummary) SetStatus(v string) *SimulationJobSummary {
s.Status = &v
return s
}
// Information about a simulation software suite.
type SimulationSoftwareSuite struct {
_ struct{} `type:"structure"`
// The name of the simulation software suite.
Name *string `locationName:"name" type:"string" enum:"SimulationSoftwareSuiteType"`
// The version of the simulation software suite.
Version *string `locationName:"version" type:"string"`
}
// String returns the string representation
func (s SimulationSoftwareSuite) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SimulationSoftwareSuite) GoString() string {
return s.String()
}
// SetName sets the Name field's value.
func (s *SimulationSoftwareSuite) SetName(v string) *SimulationSoftwareSuite {
s.Name = &v
return s
}
// SetVersion sets the Version field's value.
func (s *SimulationSoftwareSuite) SetVersion(v string) *SimulationSoftwareSuite {
s.Version = &v
return s
}
// Information about a source.
type Source struct {
_ struct{} `type:"structure"`
// The taget processor architecture for the application.
Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
// A hash of the object specified by s3Bucket and s3Key.
Etag *string `locationName:"etag" type:"string"`
// The s3 bucket name.
S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
// The s3 object key.
S3Key *string `locationName:"s3Key" min:"1" type:"string"`
}
// String returns the string representation
func (s Source) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Source) GoString() string {
return s.String()
}
// SetArchitecture sets the Architecture field's value.
func (s *Source) SetArchitecture(v string) *Source {
s.Architecture = &v
return s
}
// SetEtag sets the Etag field's value.
func (s *Source) SetEtag(v string) *Source {
s.Etag = &v
return s
}
// SetS3Bucket sets the S3Bucket field's value.
func (s *Source) SetS3Bucket(v string) *Source {
s.S3Bucket = &v
return s
}
// SetS3Key sets the S3Key field's value.
func (s *Source) SetS3Key(v string) *Source {
s.S3Key = &v
return s
}
// Information about a source configuration.
type SourceConfig struct {
_ struct{} `type:"structure"`
// The target processor architecture for the application.
Architecture *string `locationName:"architecture" type:"string" enum:"Architecture"`
// The Amazon S3 bucket name.
S3Bucket *string `locationName:"s3Bucket" min:"3" type:"string"`
// The s3 object key.
S3Key *string `locationName:"s3Key" min:"1" type:"string"`
}
// String returns the string representation
func (s SourceConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SourceConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *SourceConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "SourceConfig"}
if s.S3Bucket != nil && len(*s.S3Bucket) < 3 {
invalidParams.Add(request.NewErrParamMinLen("S3Bucket", 3))
}
if s.S3Key != nil && len(*s.S3Key) < 1 {
invalidParams.Add(request.NewErrParamMinLen("S3Key", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArchitecture sets the Architecture field's value.
func (s *SourceConfig) SetArchitecture(v string) *SourceConfig {
s.Architecture = &v
return s
}
// SetS3Bucket sets the S3Bucket field's value.
func (s *SourceConfig) SetS3Bucket(v string) *SourceConfig {
s.S3Bucket = &v
return s
}
// SetS3Key sets the S3Key field's value.
func (s *SourceConfig) SetS3Key(v string) *SourceConfig {
s.S3Key = &v
return s
}
type SyncDeploymentJobInput struct {
_ struct{} `type:"structure"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency
// of the request.
ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"`
// The target fleet for the synchronization.
//
// Fleet is a required field
Fleet *string `locationName:"fleet" min:"1" type:"string" required:"true"`
}
// String returns the string representation
func (s SyncDeploymentJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SyncDeploymentJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *SyncDeploymentJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "SyncDeploymentJobInput"}
if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1))
}
if s.Fleet == nil {
invalidParams.Add(request.NewErrParamRequired("Fleet"))
}
if s.Fleet != nil && len(*s.Fleet) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Fleet", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetClientRequestToken sets the ClientRequestToken field's value.
func (s *SyncDeploymentJobInput) SetClientRequestToken(v string) *SyncDeploymentJobInput {
s.ClientRequestToken = &v
return s
}
// SetFleet sets the Fleet field's value.
func (s *SyncDeploymentJobInput) SetFleet(v string) *SyncDeploymentJobInput {
s.Fleet = &v
return s
}
type SyncDeploymentJobOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the synchronization request.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the fleet was created.
CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
// Information about the deployment application configurations.
DeploymentApplicationConfigs []*DeploymentApplicationConfig `locationName:"deploymentApplicationConfigs" min:"1" type:"list"`
// Information about the deployment configuration.
DeploymentConfig *DeploymentConfig `locationName:"deploymentConfig" type:"structure"`
// The failure code if the job fails:
//
// InternalServiceErrorInternal service error.
//
// RobotApplicationCrashRobot application exited abnormally.
//
// SimulationApplicationCrash Simulation application exited abnormally.
//
// BadPermissionsRobotApplicationRobot application bundle could not be downloaded.
//
// BadPermissionsSimulationApplicationSimulation application bundle could not
// be downloaded.
//
// BadPermissionsS3OutputUnable to publish outputs to customer-provided S3 bucket.
//
// BadPermissionsCloudwatchLogsUnable to publish logs to customer-provided CloudWatch
// Logs resource.
//
// SubnetIpLimitExceededSubnet IP limit exceeded.
//
// ENILimitExceededENI limit exceeded.
//
// BadPermissionsUserCredentialsUnable to use the Role provided.
//
// InvalidBundleRobotApplicationRobot bundle cannot be extracted (invalid format,
// bundling error, or other issue).
//
// InvalidBundleSimulationApplicationSimulation bundle cannot be extracted (invalid
// format, bundling error, or other issue).
//
// RobotApplicationVersionMismatchedEtagEtag for RobotApplication does not match
// value during version creation.
//
// SimulationApplicationVersionMismatchedEtagEtag for SimulationApplication
// does not match value during version creation.
FailureCode *string `locationName:"failureCode" type:"string" enum:"DeploymentJobErrorCode"`
// The failure reason if the job fails.
FailureReason *string `locationName:"failureReason" type:"string"`
// The Amazon Resource Name (ARN) of the fleet.
Fleet *string `locationName:"fleet" min:"1" type:"string"`
// The status of the synchronization job.
Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
}
// String returns the string representation
func (s SyncDeploymentJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s SyncDeploymentJobOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *SyncDeploymentJobOutput) SetArn(v string) *SyncDeploymentJobOutput {
s.Arn = &v
return s
}
// SetCreatedAt sets the CreatedAt field's value.
func (s *SyncDeploymentJobOutput) SetCreatedAt(v time.Time) *SyncDeploymentJobOutput {
s.CreatedAt = &v
return s
}
// SetDeploymentApplicationConfigs sets the DeploymentApplicationConfigs field's value.
func (s *SyncDeploymentJobOutput) SetDeploymentApplicationConfigs(v []*DeploymentApplicationConfig) *SyncDeploymentJobOutput {
s.DeploymentApplicationConfigs = v
return s
}
// SetDeploymentConfig sets the DeploymentConfig field's value.
func (s *SyncDeploymentJobOutput) SetDeploymentConfig(v *DeploymentConfig) *SyncDeploymentJobOutput {
s.DeploymentConfig = v
return s
}
// SetFailureCode sets the FailureCode field's value.
func (s *SyncDeploymentJobOutput) SetFailureCode(v string) *SyncDeploymentJobOutput {
s.FailureCode = &v
return s
}
// SetFailureReason sets the FailureReason field's value.
func (s *SyncDeploymentJobOutput) SetFailureReason(v string) *SyncDeploymentJobOutput {
s.FailureReason = &v
return s
}
// SetFleet sets the Fleet field's value.
func (s *SyncDeploymentJobOutput) SetFleet(v string) *SyncDeploymentJobOutput {
s.Fleet = &v
return s
}
// SetStatus sets the Status field's value.
func (s *SyncDeploymentJobOutput) SetStatus(v string) *SyncDeploymentJobOutput {
s.Status = &v
return s
}
type TagResourceInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.
//
// ResourceArn is a required field
ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
// A map that contains tag keys and tag values that are attached to the resource.
//
// Tags is a required field
Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
}
// String returns the string representation
func (s TagResourceInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s TagResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *TagResourceInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
if s.ResourceArn == nil {
invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
}
if s.Tags == nil {
invalidParams.Add(request.NewErrParamRequired("Tags"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
s.ResourceArn = &v
return s
}
// SetTags sets the Tags field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
s.Tags = v
return s
}
type TagResourceOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s TagResourceOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s TagResourceOutput) GoString() string {
return s.String()
}
type UntagResourceInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing
// tags.
//
// ResourceArn is a required field
ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
// A map that contains tag keys and tag values that will be unattached from
// the resource.
//
// TagKeys is a required field
TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
}
// String returns the string representation
func (s UntagResourceInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UntagResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UntagResourceInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
if s.ResourceArn == nil {
invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
}
if s.TagKeys == nil {
invalidParams.Add(request.NewErrParamRequired("TagKeys"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
s.ResourceArn = &v
return s
}
// SetTagKeys sets the TagKeys field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
s.TagKeys = v
return s
}
type UntagResourceOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s UntagResourceOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UntagResourceOutput) GoString() string {
return s.String()
}
type UpdateRobotApplicationInput struct {
_ struct{} `type:"structure"`
// The application information for the robot application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The revision id for the robot application.
CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
// The robot software suite used by the robot application.
//
// RobotSoftwareSuite is a required field
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
// The sources of the robot application.
//
// Sources is a required field
Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
}
// String returns the string representation
func (s UpdateRobotApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateRobotApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateRobotApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UpdateRobotApplicationInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
}
if s.RobotSoftwareSuite == nil {
invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
}
if s.Sources == nil {
invalidParams.Add(request.NewErrParamRequired("Sources"))
}
if s.Sources != nil {
for i, v := range s.Sources {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *UpdateRobotApplicationInput) SetApplication(v string) *UpdateRobotApplicationInput {
s.Application = &v
return s
}
// SetCurrentRevisionId sets the CurrentRevisionId field's value.
func (s *UpdateRobotApplicationInput) SetCurrentRevisionId(v string) *UpdateRobotApplicationInput {
s.CurrentRevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *UpdateRobotApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateRobotApplicationInput {
s.RobotSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *UpdateRobotApplicationInput) SetSources(v []*SourceConfig) *UpdateRobotApplicationInput {
s.Sources = v
return s
}
type UpdateRobotApplicationOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the updated robot application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the robot application was
// last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the robot application.
Name *string `locationName:"name" min:"1" type:"string"`
// The revision id of the robot application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// The robot software suite used by the robot application.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The sources of the robot application.
Sources []*Source `locationName:"sources" type:"list"`
// The version of the robot application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s UpdateRobotApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateRobotApplicationOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *UpdateRobotApplicationOutput) SetArn(v string) *UpdateRobotApplicationOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *UpdateRobotApplicationOutput) SetLastUpdatedAt(v time.Time) *UpdateRobotApplicationOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *UpdateRobotApplicationOutput) SetName(v string) *UpdateRobotApplicationOutput {
s.Name = &v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *UpdateRobotApplicationOutput) SetRevisionId(v string) *UpdateRobotApplicationOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *UpdateRobotApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateRobotApplicationOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *UpdateRobotApplicationOutput) SetSources(v []*Source) *UpdateRobotApplicationOutput {
s.Sources = v
return s
}
// SetVersion sets the Version field's value.
func (s *UpdateRobotApplicationOutput) SetVersion(v string) *UpdateRobotApplicationOutput {
s.Version = &v
return s
}
type UpdateSimulationApplicationInput struct {
_ struct{} `type:"structure"`
// The application information for the simulation application.
//
// Application is a required field
Application *string `locationName:"application" min:"1" type:"string" required:"true"`
// The revision id for the robot application.
CurrentRevisionId *string `locationName:"currentRevisionId" min:"1" type:"string"`
// The rendering engine for the simulation application.
//
// RenderingEngine is a required field
RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure" required:"true"`
// Information about the robot software suite.
//
// RobotSoftwareSuite is a required field
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure" required:"true"`
// The simulation software suite used by the simulation application.
//
// SimulationSoftwareSuite is a required field
SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure" required:"true"`
// The sources of the simulation application.
//
// Sources is a required field
Sources []*SourceConfig `locationName:"sources" type:"list" required:"true"`
}
// String returns the string representation
func (s UpdateSimulationApplicationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateSimulationApplicationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateSimulationApplicationInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UpdateSimulationApplicationInput"}
if s.Application == nil {
invalidParams.Add(request.NewErrParamRequired("Application"))
}
if s.Application != nil && len(*s.Application) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Application", 1))
}
if s.CurrentRevisionId != nil && len(*s.CurrentRevisionId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("CurrentRevisionId", 1))
}
if s.RenderingEngine == nil {
invalidParams.Add(request.NewErrParamRequired("RenderingEngine"))
}
if s.RobotSoftwareSuite == nil {
invalidParams.Add(request.NewErrParamRequired("RobotSoftwareSuite"))
}
if s.SimulationSoftwareSuite == nil {
invalidParams.Add(request.NewErrParamRequired("SimulationSoftwareSuite"))
}
if s.Sources == nil {
invalidParams.Add(request.NewErrParamRequired("Sources"))
}
if s.Sources != nil {
for i, v := range s.Sources {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetApplication sets the Application field's value.
func (s *UpdateSimulationApplicationInput) SetApplication(v string) *UpdateSimulationApplicationInput {
s.Application = &v
return s
}
// SetCurrentRevisionId sets the CurrentRevisionId field's value.
func (s *UpdateSimulationApplicationInput) SetCurrentRevisionId(v string) *UpdateSimulationApplicationInput {
s.CurrentRevisionId = &v
return s
}
// SetRenderingEngine sets the RenderingEngine field's value.
func (s *UpdateSimulationApplicationInput) SetRenderingEngine(v *RenderingEngine) *UpdateSimulationApplicationInput {
s.RenderingEngine = v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *UpdateSimulationApplicationInput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateSimulationApplicationInput {
s.RobotSoftwareSuite = v
return s
}
// SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
func (s *UpdateSimulationApplicationInput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *UpdateSimulationApplicationInput {
s.SimulationSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *UpdateSimulationApplicationInput) SetSources(v []*SourceConfig) *UpdateSimulationApplicationInput {
s.Sources = v
return s
}
type UpdateSimulationApplicationOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the updated simulation application.
Arn *string `locationName:"arn" min:"1" type:"string"`
// The time, in milliseconds since the epoch, when the simulation application
// was last updated.
LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
// The name of the simulation application.
Name *string `locationName:"name" min:"1" type:"string"`
// The rendering engine for the simulation application.
RenderingEngine *RenderingEngine `locationName:"renderingEngine" type:"structure"`
// The revision id of the simulation application.
RevisionId *string `locationName:"revisionId" min:"1" type:"string"`
// Information about the robot software suite.
RobotSoftwareSuite *RobotSoftwareSuite `locationName:"robotSoftwareSuite" type:"structure"`
// The simulation software suite used by the simulation application.
SimulationSoftwareSuite *SimulationSoftwareSuite `locationName:"simulationSoftwareSuite" type:"structure"`
// The sources of the simulation application.
Sources []*Source `locationName:"sources" type:"list"`
// The version of the robot application.
Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation
func (s UpdateSimulationApplicationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateSimulationApplicationOutput) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *UpdateSimulationApplicationOutput) SetArn(v string) *UpdateSimulationApplicationOutput {
s.Arn = &v
return s
}
// SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *UpdateSimulationApplicationOutput) SetLastUpdatedAt(v time.Time) *UpdateSimulationApplicationOutput {
s.LastUpdatedAt = &v
return s
}
// SetName sets the Name field's value.
func (s *UpdateSimulationApplicationOutput) SetName(v string) *UpdateSimulationApplicationOutput {
s.Name = &v
return s
}
// SetRenderingEngine sets the RenderingEngine field's value.
func (s *UpdateSimulationApplicationOutput) SetRenderingEngine(v *RenderingEngine) *UpdateSimulationApplicationOutput {
s.RenderingEngine = v
return s
}
// SetRevisionId sets the RevisionId field's value.
func (s *UpdateSimulationApplicationOutput) SetRevisionId(v string) *UpdateSimulationApplicationOutput {
s.RevisionId = &v
return s
}
// SetRobotSoftwareSuite sets the RobotSoftwareSuite field's value.
func (s *UpdateSimulationApplicationOutput) SetRobotSoftwareSuite(v *RobotSoftwareSuite) *UpdateSimulationApplicationOutput {
s.RobotSoftwareSuite = v
return s
}
// SetSimulationSoftwareSuite sets the SimulationSoftwareSuite field's value.
func (s *UpdateSimulationApplicationOutput) SetSimulationSoftwareSuite(v *SimulationSoftwareSuite) *UpdateSimulationApplicationOutput {
s.SimulationSoftwareSuite = v
return s
}
// SetSources sets the Sources field's value.
func (s *UpdateSimulationApplicationOutput) SetSources(v []*Source) *UpdateSimulationApplicationOutput {
s.Sources = v
return s
}
// SetVersion sets the Version field's value.
func (s *UpdateSimulationApplicationOutput) SetVersion(v string) *UpdateSimulationApplicationOutput {
s.Version = &v
return s
}
// If your simulation job accesses resources in a VPC, you provide this parameter
// identifying the list of security group IDs and subnet IDs. These must belong
// to the same VPC. You must provide at least one security group and two subnet
// IDs.
type VPCConfig struct {
_ struct{} `type:"structure"`
// A boolean indicating whether to assign a public IP address.
AssignPublicIp *bool `locationName:"assignPublicIp" type:"boolean"`
// A list of one or more security groups IDs in your VPC.
SecurityGroups []*string `locationName:"securityGroups" min:"1" type:"list"`
// A list of one or more subnet IDs in your VPC.
//
// Subnets is a required field
Subnets []*string `locationName:"subnets" min:"1" type:"list" required:"true"`
}
// String returns the string representation
func (s VPCConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s VPCConfig) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *VPCConfig) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "VPCConfig"}
if s.SecurityGroups != nil && len(s.SecurityGroups) < 1 {
invalidParams.Add(request.NewErrParamMinLen("SecurityGroups", 1))
}
if s.Subnets == nil {
invalidParams.Add(request.NewErrParamRequired("Subnets"))
}
if s.Subnets != nil && len(s.Subnets) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAssignPublicIp sets the AssignPublicIp field's value.
func (s *VPCConfig) SetAssignPublicIp(v bool) *VPCConfig {
s.AssignPublicIp = &v
return s
}
// SetSecurityGroups sets the SecurityGroups field's value.
func (s *VPCConfig) SetSecurityGroups(v []*string) *VPCConfig {
s.SecurityGroups = v
return s
}
// SetSubnets sets the Subnets field's value.
func (s *VPCConfig) SetSubnets(v []*string) *VPCConfig {
s.Subnets = v
return s
}
// VPC configuration associated with your simulation job.
type VPCConfigResponse struct {
_ struct{} `type:"structure"`
// A boolean indicating if a public IP was assigned.
AssignPublicIp *bool `locationName:"assignPublicIp" type:"boolean"`
// A list of security group IDs associated with the simulation job.
SecurityGroups []*string `locationName:"securityGroups" min:"1" type:"list"`
// A list of subnet IDs associated with the simulation job.
Subnets []*string `locationName:"subnets" min:"1" type:"list"`
// The VPC ID associated with your simulation job.
VpcId *string `locationName:"vpcId" type:"string"`
}
// String returns the string representation
func (s VPCConfigResponse) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s VPCConfigResponse) GoString() string {
return s.String()
}
// SetAssignPublicIp sets the AssignPublicIp field's value.
func (s *VPCConfigResponse) SetAssignPublicIp(v bool) *VPCConfigResponse {
s.AssignPublicIp = &v
return s
}
// SetSecurityGroups sets the SecurityGroups field's value.
func (s *VPCConfigResponse) SetSecurityGroups(v []*string) *VPCConfigResponse {
s.SecurityGroups = v
return s
}
// SetSubnets sets the Subnets field's value.
func (s *VPCConfigResponse) SetSubnets(v []*string) *VPCConfigResponse {
s.Subnets = v
return s
}
// SetVpcId sets the VpcId field's value.
func (s *VPCConfigResponse) SetVpcId(v string) *VPCConfigResponse {
s.VpcId = &v
return s
}
const (
// ArchitectureX8664 is a Architecture enum value
ArchitectureX8664 = "X86_64"
// ArchitectureArm64 is a Architecture enum value
ArchitectureArm64 = "ARM64"
// ArchitectureArmhf is a Architecture enum value
ArchitectureArmhf = "ARMHF"
)
const (
// DeploymentJobErrorCodeResourceNotFound is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeResourceNotFound = "ResourceNotFound"
// DeploymentJobErrorCodeFailureThresholdBreached is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeFailureThresholdBreached = "FailureThresholdBreached"
// DeploymentJobErrorCodeRobotDeploymentNoResponse is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeRobotDeploymentNoResponse = "RobotDeploymentNoResponse"
// DeploymentJobErrorCodeGreengrassDeploymentFailed is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeGreengrassDeploymentFailed = "GreengrassDeploymentFailed"
// DeploymentJobErrorCodeMissingRobotArchitecture is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeMissingRobotArchitecture = "MissingRobotArchitecture"
// DeploymentJobErrorCodeMissingRobotApplicationArchitecture is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeMissingRobotApplicationArchitecture = "MissingRobotApplicationArchitecture"
// DeploymentJobErrorCodeMissingRobotDeploymentResource is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeMissingRobotDeploymentResource = "MissingRobotDeploymentResource"
// DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist = "GreengrassGroupVersionDoesNotExist"
// DeploymentJobErrorCodeExtractingBundleFailure is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeExtractingBundleFailure = "ExtractingBundleFailure"
// DeploymentJobErrorCodePreLaunchFileFailure is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodePreLaunchFileFailure = "PreLaunchFileFailure"
// DeploymentJobErrorCodePostLaunchFileFailure is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodePostLaunchFileFailure = "PostLaunchFileFailure"
// DeploymentJobErrorCodeBadPermissionError is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeBadPermissionError = "BadPermissionError"
// DeploymentJobErrorCodeInternalServerError is a DeploymentJobErrorCode enum value
DeploymentJobErrorCodeInternalServerError = "InternalServerError"
)
const (
// DeploymentStatusPending is a DeploymentStatus enum value
DeploymentStatusPending = "Pending"
// DeploymentStatusPreparing is a DeploymentStatus enum value
DeploymentStatusPreparing = "Preparing"
// DeploymentStatusInProgress is a DeploymentStatus enum value
DeploymentStatusInProgress = "InProgress"
// DeploymentStatusFailed is a DeploymentStatus enum value
DeploymentStatusFailed = "Failed"
// DeploymentStatusSucceeded is a DeploymentStatus enum value
DeploymentStatusSucceeded = "Succeeded"
)
const (
// FailureBehaviorFail is a FailureBehavior enum value
FailureBehaviorFail = "Fail"
// FailureBehaviorContinue is a FailureBehavior enum value
FailureBehaviorContinue = "Continue"
)
const (
// RenderingEngineTypeOgre is a RenderingEngineType enum value
RenderingEngineTypeOgre = "OGRE"
)
const (
// RobotSoftwareSuiteTypeRos is a RobotSoftwareSuiteType enum value
RobotSoftwareSuiteTypeRos = "ROS"
)
const (
// RobotSoftwareSuiteVersionTypeKinetic is a RobotSoftwareSuiteVersionType enum value
RobotSoftwareSuiteVersionTypeKinetic = "Kinetic"
)
const (
// RobotStatusAvailable is a RobotStatus enum value
RobotStatusAvailable = "Available"
// RobotStatusRegistered is a RobotStatus enum value
RobotStatusRegistered = "Registered"
// RobotStatusPendingNewDeployment is a RobotStatus enum value
RobotStatusPendingNewDeployment = "PendingNewDeployment"
// RobotStatusDeploying is a RobotStatus enum value
RobotStatusDeploying = "Deploying"
// RobotStatusFailed is a RobotStatus enum value
RobotStatusFailed = "Failed"
// RobotStatusInSync is a RobotStatus enum value
RobotStatusInSync = "InSync"
// RobotStatusNoResponse is a RobotStatus enum value
RobotStatusNoResponse = "NoResponse"
)
const (
// SimulationJobErrorCodeInternalServiceError is a SimulationJobErrorCode enum value
SimulationJobErrorCodeInternalServiceError = "InternalServiceError"
// SimulationJobErrorCodeRobotApplicationCrash is a SimulationJobErrorCode enum value
SimulationJobErrorCodeRobotApplicationCrash = "RobotApplicationCrash"
// SimulationJobErrorCodeSimulationApplicationCrash is a SimulationJobErrorCode enum value
SimulationJobErrorCodeSimulationApplicationCrash = "SimulationApplicationCrash"
// SimulationJobErrorCodeBadPermissionsRobotApplication is a SimulationJobErrorCode enum value
SimulationJobErrorCodeBadPermissionsRobotApplication = "BadPermissionsRobotApplication"
// SimulationJobErrorCodeBadPermissionsSimulationApplication is a SimulationJobErrorCode enum value
SimulationJobErrorCodeBadPermissionsSimulationApplication = "BadPermissionsSimulationApplication"
// SimulationJobErrorCodeBadPermissionsS3output is a SimulationJobErrorCode enum value
SimulationJobErrorCodeBadPermissionsS3output = "BadPermissionsS3Output"
// SimulationJobErrorCodeBadPermissionsCloudwatchLogs is a SimulationJobErrorCode enum value
SimulationJobErrorCodeBadPermissionsCloudwatchLogs = "BadPermissionsCloudwatchLogs"
// SimulationJobErrorCodeSubnetIpLimitExceeded is a SimulationJobErrorCode enum value
SimulationJobErrorCodeSubnetIpLimitExceeded = "SubnetIpLimitExceeded"
// SimulationJobErrorCodeEnilimitExceeded is a SimulationJobErrorCode enum value
SimulationJobErrorCodeEnilimitExceeded = "ENILimitExceeded"
// SimulationJobErrorCodeBadPermissionsUserCredentials is a SimulationJobErrorCode enum value
SimulationJobErrorCodeBadPermissionsUserCredentials = "BadPermissionsUserCredentials"
// SimulationJobErrorCodeInvalidBundleRobotApplication is a SimulationJobErrorCode enum value
SimulationJobErrorCodeInvalidBundleRobotApplication = "InvalidBundleRobotApplication"
// SimulationJobErrorCodeInvalidBundleSimulationApplication is a SimulationJobErrorCode enum value
SimulationJobErrorCodeInvalidBundleSimulationApplication = "InvalidBundleSimulationApplication"
// SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag is a SimulationJobErrorCode enum value
SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag = "RobotApplicationVersionMismatchedEtag"
// SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag is a SimulationJobErrorCode enum value
SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag = "SimulationApplicationVersionMismatchedEtag"
// SimulationJobErrorCodeWrongRegionS3output is a SimulationJobErrorCode enum value
SimulationJobErrorCodeWrongRegionS3output = "WrongRegionS3Output"
// SimulationJobErrorCodeWrongRegionRobotApplication is a SimulationJobErrorCode enum value
SimulationJobErrorCodeWrongRegionRobotApplication = "WrongRegionRobotApplication"
// SimulationJobErrorCodeWrongRegionSimulationApplication is a SimulationJobErrorCode enum value
SimulationJobErrorCodeWrongRegionSimulationApplication = "WrongRegionSimulationApplication"
)
const (
// SimulationJobStatusPending is a SimulationJobStatus enum value
SimulationJobStatusPending = "Pending"
// SimulationJobStatusPreparing is a SimulationJobStatus enum value
SimulationJobStatusPreparing = "Preparing"
// SimulationJobStatusRunning is a SimulationJobStatus enum value
SimulationJobStatusRunning = "Running"
// SimulationJobStatusRestarting is a SimulationJobStatus enum value
SimulationJobStatusRestarting = "Restarting"
// SimulationJobStatusCompleted is a SimulationJobStatus enum value
SimulationJobStatusCompleted = "Completed"
// SimulationJobStatusFailed is a SimulationJobStatus enum value
SimulationJobStatusFailed = "Failed"
// SimulationJobStatusRunningFailed is a SimulationJobStatus enum value
SimulationJobStatusRunningFailed = "RunningFailed"
// SimulationJobStatusTerminating is a SimulationJobStatus enum value
SimulationJobStatusTerminating = "Terminating"
// SimulationJobStatusTerminated is a SimulationJobStatus enum value
SimulationJobStatusTerminated = "Terminated"
// SimulationJobStatusCanceled is a SimulationJobStatus enum value
SimulationJobStatusCanceled = "Canceled"
)
const (
// SimulationSoftwareSuiteTypeGazebo is a SimulationSoftwareSuiteType enum value
SimulationSoftwareSuiteTypeGazebo = "Gazebo"
)