1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package backup
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// The required resource already exists.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// Backup can't perform the action that you requested until it finishes performing
// a previous action. Try again later.
ErrCodeConflictException = "ConflictException"
// ErrCodeDependencyFailureException for service response error code
// "DependencyFailureException".
//
// A dependent Amazon Web Services service or resource returned an error to
// the Backup service, and the action cannot be completed.
ErrCodeDependencyFailureException = "DependencyFailureException"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValueException".
//
// Indicates that something is wrong with a parameter's value. For example,
// the value is out of range.
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// Indicates that something is wrong with the input to the request. For example,
// a parameter is of the wrong type.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeInvalidResourceStateException for service response error code
// "InvalidResourceStateException".
//
// Backup is already performing an action on this recovery point. It can't perform
// the action you requested until the first action finishes. Try again later.
ErrCodeInvalidResourceStateException = "InvalidResourceStateException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// A limit in the request has been exceeded; for example, a maximum number of
// items allowed in a request.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeMissingParameterValueException for service response error code
// "MissingParameterValueException".
//
// Indicates that a required parameter is missing.
ErrCodeMissingParameterValueException = "MissingParameterValueException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// A resource that is required for the action doesn't exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// The request failed due to a temporary failure of the server.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AlreadyExistsException": newErrorAlreadyExistsException,
"ConflictException": newErrorConflictException,
"DependencyFailureException": newErrorDependencyFailureException,
"InvalidParameterValueException": newErrorInvalidParameterValueException,
"InvalidRequestException": newErrorInvalidRequestException,
"InvalidResourceStateException": newErrorInvalidResourceStateException,
"LimitExceededException": newErrorLimitExceededException,
"MissingParameterValueException": newErrorMissingParameterValueException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServiceUnavailableException": newErrorServiceUnavailableException,
}
|