forked from cPu1/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
74 lines (62 loc) · 3.03 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package marketplacemetering
const (
// ErrCodeDuplicateRequestException for service response error code
// "DuplicateRequestException".
//
// A metering record has already been emitted by the same EC2 instance for the
// given {usageDimension, timestamp} with a different usageQuantity.
ErrCodeDuplicateRequestException = "DuplicateRequestException"
// ErrCodeExpiredTokenException for service response error code
// "ExpiredTokenException".
//
// The submitted registration token has expired. This can happen if the buyer's
// browser takes too long to redirect to your page, the buyer has resubmitted
// the registration token, or your application has held on to the registration
// token for too long. Your SaaS registration website should redeem this token
// as soon as it is submitted by the buyer's browser.
ErrCodeExpiredTokenException = "ExpiredTokenException"
// ErrCodeInternalServiceErrorException for service response error code
// "InternalServiceErrorException".
//
// An internal error has occurred. Retry your request. If the problem persists,
// post a message with details on the AWS forums.
ErrCodeInternalServiceErrorException = "InternalServiceErrorException"
// ErrCodeInvalidCustomerIdentifierException for service response error code
// "InvalidCustomerIdentifierException".
//
// You have metered usage for a CustomerIdentifier that does not exist.
ErrCodeInvalidCustomerIdentifierException = "InvalidCustomerIdentifierException"
// ErrCodeInvalidEndpointRegionException for service response error code
// "InvalidEndpointRegionException".
//
// The endpoint being called is in a region different from your EC2 instance.
// The region of the Metering service endpoint and the region of the EC2 instance
// must match.
ErrCodeInvalidEndpointRegionException = "InvalidEndpointRegionException"
// ErrCodeInvalidProductCodeException for service response error code
// "InvalidProductCodeException".
//
// The product code passed does not match the product code used for publishing
// the product.
ErrCodeInvalidProductCodeException = "InvalidProductCodeException"
// ErrCodeInvalidTokenException for service response error code
// "InvalidTokenException".
ErrCodeInvalidTokenException = "InvalidTokenException"
// ErrCodeInvalidUsageDimensionException for service response error code
// "InvalidUsageDimensionException".
//
// The usage dimension does not match one of the UsageDimensions associated
// with products.
ErrCodeInvalidUsageDimensionException = "InvalidUsageDimensionException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// The calls to the MeterUsage API are throttled.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeTimestampOutOfBoundsException for service response error code
// "TimestampOutOfBoundsException".
//
// The timestamp value passed in the meterUsage() is out of allowed range.
ErrCodeTimestampOutOfBoundsException = "TimestampOutOfBoundsException"
)