1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package robomaker
4
5import (
6	"github.com/aws/aws-sdk-go/private/protocol"
7)
8
9const (
10
11	// ErrCodeConcurrentDeploymentException for service response error code
12	// "ConcurrentDeploymentException".
13	//
14	// The failure percentage threshold percentage was met.
15	ErrCodeConcurrentDeploymentException = "ConcurrentDeploymentException"
16
17	// ErrCodeIdempotentParameterMismatchException for service response error code
18	// "IdempotentParameterMismatchException".
19	//
20	// The request uses the same client token as a previous, but non-identical request.
21	// Do not reuse a client token with different requests, unless the requests
22	// are identical.
23	ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"
24
25	// ErrCodeInternalServerException for service response error code
26	// "InternalServerException".
27	//
28	// AWS RoboMaker experienced a service issue. Try your call again.
29	ErrCodeInternalServerException = "InternalServerException"
30
31	// ErrCodeInvalidParameterException for service response error code
32	// "InvalidParameterException".
33	//
34	// A parameter specified in a request is not valid, is unsupported, or cannot
35	// be used. The returned message provides an explanation of the error value.
36	ErrCodeInvalidParameterException = "InvalidParameterException"
37
38	// ErrCodeLimitExceededException for service response error code
39	// "LimitExceededException".
40	//
41	// The requested resource exceeds the maximum number allowed, or the number
42	// of concurrent stream requests exceeds the maximum number allowed.
43	ErrCodeLimitExceededException = "LimitExceededException"
44
45	// ErrCodeResourceAlreadyExistsException for service response error code
46	// "ResourceAlreadyExistsException".
47	//
48	// The specified resource already exists.
49	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
50
51	// ErrCodeResourceNotFoundException for service response error code
52	// "ResourceNotFoundException".
53	//
54	// The specified resource does not exist.
55	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
56
57	// ErrCodeServiceUnavailableException for service response error code
58	// "ServiceUnavailableException".
59	//
60	// The request has failed due to a temporary failure of the server.
61	ErrCodeServiceUnavailableException = "ServiceUnavailableException"
62
63	// ErrCodeThrottlingException for service response error code
64	// "ThrottlingException".
65	//
66	// AWS RoboMaker is temporarily unable to process the request. Try your call
67	// again.
68	ErrCodeThrottlingException = "ThrottlingException"
69)
70
71var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
72	"ConcurrentDeploymentException":        newErrorConcurrentDeploymentException,
73	"IdempotentParameterMismatchException": newErrorIdempotentParameterMismatchException,
74	"InternalServerException":              newErrorInternalServerException,
75	"InvalidParameterException":            newErrorInvalidParameterException,
76	"LimitExceededException":               newErrorLimitExceededException,
77	"ResourceAlreadyExistsException":       newErrorResourceAlreadyExistsException,
78	"ResourceNotFoundException":            newErrorResourceNotFoundException,
79	"ServiceUnavailableException":          newErrorServiceUnavailableException,
80	"ThrottlingException":                  newErrorThrottlingException,
81}
82