forked from cPu1/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
127 lines (107 loc) · 4.66 KB
/
errors.go
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package efs
const (
// ErrCodeBadRequest for service response error code
// "BadRequest".
//
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
ErrCodeBadRequest = "BadRequest"
// ErrCodeDependencyTimeout for service response error code
// "DependencyTimeout".
//
// The service timed out trying to fulfill the request, and the client should
// try the call again.
ErrCodeDependencyTimeout = "DependencyTimeout"
// ErrCodeFileSystemAlreadyExists for service response error code
// "FileSystemAlreadyExists".
//
// Returned if the file system you are trying to create already exists, with
// the creation token you provided.
ErrCodeFileSystemAlreadyExists = "FileSystemAlreadyExists"
// ErrCodeFileSystemInUse for service response error code
// "FileSystemInUse".
//
// Returned if a file system has mount targets.
ErrCodeFileSystemInUse = "FileSystemInUse"
// ErrCodeFileSystemLimitExceeded for service response error code
// "FileSystemLimitExceeded".
//
// Returned if the AWS account has already created maximum number of file systems
// allowed per account.
ErrCodeFileSystemLimitExceeded = "FileSystemLimitExceeded"
// ErrCodeFileSystemNotFound for service response error code
// "FileSystemNotFound".
//
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
ErrCodeFileSystemNotFound = "FileSystemNotFound"
// ErrCodeIncorrectFileSystemLifeCycleState for service response error code
// "IncorrectFileSystemLifeCycleState".
//
// Returned if the file system's life cycle state is not "created".
ErrCodeIncorrectFileSystemLifeCycleState = "IncorrectFileSystemLifeCycleState"
// ErrCodeIncorrectMountTargetState for service response error code
// "IncorrectMountTargetState".
//
// Returned if the mount target is not in the correct state for the operation.
ErrCodeIncorrectMountTargetState = "IncorrectMountTargetState"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// Returned if an error occurred on the server side.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeIpAddressInUse for service response error code
// "IpAddressInUse".
//
// Returned if the request specified an IpAddress that is already in use in
// the subnet.
ErrCodeIpAddressInUse = "IpAddressInUse"
// ErrCodeMountTargetConflict for service response error code
// "MountTargetConflict".
//
// Returned if the mount target would violate one of the specified restrictions
// based on the file system's existing mount targets.
ErrCodeMountTargetConflict = "MountTargetConflict"
// ErrCodeMountTargetNotFound for service response error code
// "MountTargetNotFound".
//
// Returned if there is no mount target with the specified ID found in the caller's
// account.
ErrCodeMountTargetNotFound = "MountTargetNotFound"
// ErrCodeNetworkInterfaceLimitExceeded for service response error code
// "NetworkInterfaceLimitExceeded".
//
// The calling account has reached the ENI limit for the specific AWS region.
// Client should try to delete some ENIs or get its account limit raised. For
// more information, see Amazon VPC Limits (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html)
// in the Amazon Virtual Private Cloud User Guide (see the Network interfaces
// per VPC entry in the table).
ErrCodeNetworkInterfaceLimitExceeded = "NetworkInterfaceLimitExceeded"
// ErrCodeNoFreeAddressesInSubnet for service response error code
// "NoFreeAddressesInSubnet".
//
// Returned if IpAddress was not specified in the request and there are no free
// IP addresses in the subnet.
ErrCodeNoFreeAddressesInSubnet = "NoFreeAddressesInSubnet"
// ErrCodeSecurityGroupLimitExceeded for service response error code
// "SecurityGroupLimitExceeded".
//
// Returned if the size of SecurityGroups specified in the request is greater
// than five.
ErrCodeSecurityGroupLimitExceeded = "SecurityGroupLimitExceeded"
// ErrCodeSecurityGroupNotFound for service response error code
// "SecurityGroupNotFound".
//
// Returned if one of the specified security groups does not exist in the subnet's
// VPC.
ErrCodeSecurityGroupNotFound = "SecurityGroupNotFound"
// ErrCodeSubnetNotFound for service response error code
// "SubnetNotFound".
//
// Returned if there is no subnet with ID SubnetId provided in the request.
ErrCodeSubnetNotFound = "SubnetNotFound"
// ErrCodeUnsupportedAvailabilityZone for service response error code
// "UnsupportedAvailabilityZone".
ErrCodeUnsupportedAvailabilityZone = "UnsupportedAvailabilityZone"
)