forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
109 lines (91 loc) · 4.07 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acmpca
const (
// ErrCodeCertificateMismatchException for service response error code
// "CertificateMismatchException".
//
// The certificate authority certificate you are importing does not comply with
// conditions specified in the certificate that signed it.
ErrCodeCertificateMismatchException = "CertificateMismatchException"
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// A previous update to your private CA is still ongoing.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeInvalidArgsException for service response error code
// "InvalidArgsException".
//
// One or more of the specified arguments was not valid.
ErrCodeInvalidArgsException = "InvalidArgsException"
// ErrCodeInvalidArnException for service response error code
// "InvalidArnException".
//
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
ErrCodeInvalidArnException = "InvalidArnException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The token specified in the NextToken argument is not valid. Use the token
// returned from your previous call to ListCertificateAuthorities.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidPolicyException for service response error code
// "InvalidPolicyException".
//
// The S3 bucket policy is not valid. The policy must give ACM PCA rights to
// read from and write to the bucket and find the bucket location.
ErrCodeInvalidPolicyException = "InvalidPolicyException"
// ErrCodeInvalidStateException for service response error code
// "InvalidStateException".
//
// The private CA is in a state during which a report cannot be generated.
ErrCodeInvalidStateException = "InvalidStateException"
// ErrCodeInvalidTagException for service response error code
// "InvalidTagException".
//
// The tag associated with the CA is not valid. The invalid argument is contained
// in the message field.
ErrCodeInvalidTagException = "InvalidTagException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// An ACM PCA limit has been exceeded. See the exception message returned to
// determine the limit that was exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeMalformedCSRException for service response error code
// "MalformedCSRException".
//
// The certificate signing request is invalid.
ErrCodeMalformedCSRException = "MalformedCSRException"
// ErrCodeMalformedCertificateException for service response error code
// "MalformedCertificateException".
//
// One or more fields in the certificate are invalid.
ErrCodeMalformedCertificateException = "MalformedCertificateException"
// ErrCodeRequestAlreadyProcessedException for service response error code
// "RequestAlreadyProcessedException".
//
// Your request has already been completed.
ErrCodeRequestAlreadyProcessedException = "RequestAlreadyProcessedException"
// ErrCodeRequestFailedException for service response error code
// "RequestFailedException".
//
// The request has failed for an unspecified reason.
ErrCodeRequestFailedException = "RequestFailedException"
// ErrCodeRequestInProgressException for service response error code
// "RequestInProgressException".
//
// Your request is already in progress.
ErrCodeRequestInProgressException = "RequestInProgressException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// A resource such as a private CA, S3 bucket, certificate, or audit report
// cannot be found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeTooManyTagsException for service response error code
// "TooManyTagsException".
//
// You can associate up to 50 tags with a private CA. Exception information
// is contained in the exception message field.
ErrCodeTooManyTagsException = "TooManyTagsException"
)