1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package mgn
4
5import (
6	"github.com/aws/aws-sdk-go/private/protocol"
7)
8
9const (
10
11	// ErrCodeAccessDeniedException for service response error code
12	// "AccessDeniedException".
13	//
14	// Operating denied due to a file permission or access check error.
15	ErrCodeAccessDeniedException = "AccessDeniedException"
16
17	// ErrCodeConflictException for service response error code
18	// "ConflictException".
19	//
20	// The request could not be completed due to a conflict with the current state
21	// of the target resource.
22	ErrCodeConflictException = "ConflictException"
23
24	// ErrCodeInternalServerException for service response error code
25	// "InternalServerException".
26	//
27	// The server encountered an unexpected condition that prevented it from fulfilling
28	// the request.
29	ErrCodeInternalServerException = "InternalServerException"
30
31	// ErrCodeResourceNotFoundException for service response error code
32	// "ResourceNotFoundException".
33	//
34	// Resource not found exception.
35	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
36
37	// ErrCodeThrottlingException for service response error code
38	// "ThrottlingException".
39	//
40	// Reached throttling quota exception.
41	ErrCodeThrottlingException = "ThrottlingException"
42
43	// ErrCodeUninitializedAccountException for service response error code
44	// "UninitializedAccountException".
45	//
46	// Unitialized account exception.
47	ErrCodeUninitializedAccountException = "UninitializedAccountException"
48
49	// ErrCodeValidationException for service response error code
50	// "ValidationException".
51	//
52	// Validate exception.
53	ErrCodeValidationException = "ValidationException"
54)
55
56var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
57	"AccessDeniedException":         newErrorAccessDeniedException,
58	"ConflictException":             newErrorConflictException,
59	"InternalServerException":       newErrorInternalServerException,
60	"ResourceNotFoundException":     newErrorResourceNotFoundException,
61	"ThrottlingException":           newErrorThrottlingException,
62	"UninitializedAccountException": newErrorUninitializedAccountException,
63	"ValidationException":           newErrorValidationException,
64}
65