/
errors.go
112 lines (94 loc) · 4.11 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package fsx
const (
// ErrCodeActiveDirectoryError for service response error code
// "ActiveDirectoryError".
//
// An Active Directory error.
ErrCodeActiveDirectoryError = "ActiveDirectoryError"
// ErrCodeBackupInProgress for service response error code
// "BackupInProgress".
//
// Another backup is already under way. Wait for completion before initiating
// additional backups of this file system.
ErrCodeBackupInProgress = "BackupInProgress"
// ErrCodeBackupNotFound for service response error code
// "BackupNotFound".
//
// No Amazon FSx backups were found based upon the supplied parameters.
ErrCodeBackupNotFound = "BackupNotFound"
// ErrCodeBackupRestoring for service response error code
// "BackupRestoring".
//
// You can't delete a backup while it's being used to restore a file system.
ErrCodeBackupRestoring = "BackupRestoring"
// ErrCodeBadRequest for service response error code
// "BadRequest".
//
// A generic error indicating a failure with a client request.
ErrCodeBadRequest = "BadRequest"
// ErrCodeFileSystemNotFound for service response error code
// "FileSystemNotFound".
//
// No Amazon FSx file systems were found based upon supplied parameters.
ErrCodeFileSystemNotFound = "FileSystemNotFound"
// ErrCodeIncompatibleParameterError for service response error code
// "IncompatibleParameterError".
//
// The error returned when a second request is received with the same client
// request token but different parameters settings. A client request token should
// always uniquely identify a single request.
ErrCodeIncompatibleParameterError = "IncompatibleParameterError"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// A generic error indicating a server-side failure.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeInvalidExportPath for service response error code
// "InvalidExportPath".
//
// The path provided for data repository export isn't valid.
ErrCodeInvalidExportPath = "InvalidExportPath"
// ErrCodeInvalidImportPath for service response error code
// "InvalidImportPath".
//
// The path provided for data repository import isn't valid.
ErrCodeInvalidImportPath = "InvalidImportPath"
// ErrCodeInvalidNetworkSettings for service response error code
// "InvalidNetworkSettings".
//
// One or more network settings specified in the request are invalid. InvalidVpcId
// means that the ID passed for the virtual private cloud (VPC) is invalid.
// InvalidSubnetIds returns the list of IDs for subnets that are either invalid
// or not part of the VPC specified. InvalidSecurityGroupIds returns the list
// of IDs for security groups that are either invalid or not part of the VPC
// specified.
ErrCodeInvalidNetworkSettings = "InvalidNetworkSettings"
// ErrCodeMissingFileSystemConfiguration for service response error code
// "MissingFileSystemConfiguration".
//
// File system configuration is required for this operation.
ErrCodeMissingFileSystemConfiguration = "MissingFileSystemConfiguration"
// ErrCodeNotServiceResourceError for service response error code
// "NotServiceResourceError".
//
// The resource specified for the tagging operation is not a resource type owned
// by Amazon FSx. Use the API of the relevant service to perform the operation.
ErrCodeNotServiceResourceError = "NotServiceResourceError"
// ErrCodeResourceDoesNotSupportTagging for service response error code
// "ResourceDoesNotSupportTagging".
//
// The resource specified does not support tagging.
ErrCodeResourceDoesNotSupportTagging = "ResourceDoesNotSupportTagging"
// ErrCodeResourceNotFound for service response error code
// "ResourceNotFound".
//
// The resource specified by the Amazon Resource Name (ARN) can't be found.
ErrCodeResourceNotFound = "ResourceNotFound"
// ErrCodeServiceLimitExceeded for service response error code
// "ServiceLimitExceeded".
//
// An error indicating that a particular service limit was exceeded. You can
// increase some service limits by contacting AWS Support.
ErrCodeServiceLimitExceeded = "ServiceLimitExceeded"
)