@aws-sdk/client-cost-explorer 3.987.0 → 3.989.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CostExplorerServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class CostExplorerServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, CostExplorerServiceException.prototype);
10
+ }
11
+ }
12
+ exports.CostExplorerServiceException = CostExplorerServiceException;
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TooManyTagsException = exports.BackfillLimitExceededException = exports.GenerationExistsException = exports.UnresolvableUsageUnitException = exports.RequestChangedException = exports.BillingViewHealthStatusException = exports.BillExpirationException = exports.DataUnavailableException = exports.InvalidNextTokenException = exports.ResourceNotFoundException = exports.UnknownSubscriptionException = exports.ServiceQuotaExceededException = exports.UnknownMonitorException = exports.LimitExceededException = exports.AnalysisNotFoundException = void 0;
4
+ const CostExplorerServiceException_1 = require("./CostExplorerServiceException");
5
+ class AnalysisNotFoundException extends CostExplorerServiceException_1.CostExplorerServiceException {
6
+ name = "AnalysisNotFoundException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AnalysisNotFoundException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AnalysisNotFoundException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AnalysisNotFoundException = AnalysisNotFoundException;
20
+ class LimitExceededException extends CostExplorerServiceException_1.CostExplorerServiceException {
21
+ name = "LimitExceededException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "LimitExceededException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.LimitExceededException = LimitExceededException;
35
+ class UnknownMonitorException extends CostExplorerServiceException_1.CostExplorerServiceException {
36
+ name = "UnknownMonitorException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "UnknownMonitorException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, UnknownMonitorException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.UnknownMonitorException = UnknownMonitorException;
50
+ class ServiceQuotaExceededException extends CostExplorerServiceException_1.CostExplorerServiceException {
51
+ name = "ServiceQuotaExceededException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "ServiceQuotaExceededException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
65
+ class UnknownSubscriptionException extends CostExplorerServiceException_1.CostExplorerServiceException {
66
+ name = "UnknownSubscriptionException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "UnknownSubscriptionException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, UnknownSubscriptionException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.UnknownSubscriptionException = UnknownSubscriptionException;
80
+ class ResourceNotFoundException extends CostExplorerServiceException_1.CostExplorerServiceException {
81
+ name = "ResourceNotFoundException";
82
+ $fault = "client";
83
+ Message;
84
+ ResourceName;
85
+ constructor(opts) {
86
+ super({
87
+ name: "ResourceNotFoundException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
92
+ this.Message = opts.Message;
93
+ this.ResourceName = opts.ResourceName;
94
+ }
95
+ }
96
+ exports.ResourceNotFoundException = ResourceNotFoundException;
97
+ class InvalidNextTokenException extends CostExplorerServiceException_1.CostExplorerServiceException {
98
+ name = "InvalidNextTokenException";
99
+ $fault = "client";
100
+ Message;
101
+ constructor(opts) {
102
+ super({
103
+ name: "InvalidNextTokenException",
104
+ $fault: "client",
105
+ ...opts,
106
+ });
107
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
108
+ this.Message = opts.Message;
109
+ }
110
+ }
111
+ exports.InvalidNextTokenException = InvalidNextTokenException;
112
+ class DataUnavailableException extends CostExplorerServiceException_1.CostExplorerServiceException {
113
+ name = "DataUnavailableException";
114
+ $fault = "client";
115
+ Message;
116
+ constructor(opts) {
117
+ super({
118
+ name: "DataUnavailableException",
119
+ $fault: "client",
120
+ ...opts,
121
+ });
122
+ Object.setPrototypeOf(this, DataUnavailableException.prototype);
123
+ this.Message = opts.Message;
124
+ }
125
+ }
126
+ exports.DataUnavailableException = DataUnavailableException;
127
+ class BillExpirationException extends CostExplorerServiceException_1.CostExplorerServiceException {
128
+ name = "BillExpirationException";
129
+ $fault = "client";
130
+ Message;
131
+ constructor(opts) {
132
+ super({
133
+ name: "BillExpirationException",
134
+ $fault: "client",
135
+ ...opts,
136
+ });
137
+ Object.setPrototypeOf(this, BillExpirationException.prototype);
138
+ this.Message = opts.Message;
139
+ }
140
+ }
141
+ exports.BillExpirationException = BillExpirationException;
142
+ class BillingViewHealthStatusException extends CostExplorerServiceException_1.CostExplorerServiceException {
143
+ name = "BillingViewHealthStatusException";
144
+ $fault = "client";
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "BillingViewHealthStatusException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
157
+ class RequestChangedException extends CostExplorerServiceException_1.CostExplorerServiceException {
158
+ name = "RequestChangedException";
159
+ $fault = "client";
160
+ Message;
161
+ constructor(opts) {
162
+ super({
163
+ name: "RequestChangedException",
164
+ $fault: "client",
165
+ ...opts,
166
+ });
167
+ Object.setPrototypeOf(this, RequestChangedException.prototype);
168
+ this.Message = opts.Message;
169
+ }
170
+ }
171
+ exports.RequestChangedException = RequestChangedException;
172
+ class UnresolvableUsageUnitException extends CostExplorerServiceException_1.CostExplorerServiceException {
173
+ name = "UnresolvableUsageUnitException";
174
+ $fault = "client";
175
+ Message;
176
+ constructor(opts) {
177
+ super({
178
+ name: "UnresolvableUsageUnitException",
179
+ $fault: "client",
180
+ ...opts,
181
+ });
182
+ Object.setPrototypeOf(this, UnresolvableUsageUnitException.prototype);
183
+ this.Message = opts.Message;
184
+ }
185
+ }
186
+ exports.UnresolvableUsageUnitException = UnresolvableUsageUnitException;
187
+ class GenerationExistsException extends CostExplorerServiceException_1.CostExplorerServiceException {
188
+ name = "GenerationExistsException";
189
+ $fault = "client";
190
+ Message;
191
+ constructor(opts) {
192
+ super({
193
+ name: "GenerationExistsException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, GenerationExistsException.prototype);
198
+ this.Message = opts.Message;
199
+ }
200
+ }
201
+ exports.GenerationExistsException = GenerationExistsException;
202
+ class BackfillLimitExceededException extends CostExplorerServiceException_1.CostExplorerServiceException {
203
+ name = "BackfillLimitExceededException";
204
+ $fault = "client";
205
+ Message;
206
+ constructor(opts) {
207
+ super({
208
+ name: "BackfillLimitExceededException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, BackfillLimitExceededException.prototype);
213
+ this.Message = opts.Message;
214
+ }
215
+ }
216
+ exports.BackfillLimitExceededException = BackfillLimitExceededException;
217
+ class TooManyTagsException extends CostExplorerServiceException_1.CostExplorerServiceException {
218
+ name = "TooManyTagsException";
219
+ $fault = "client";
220
+ Message;
221
+ ResourceName;
222
+ constructor(opts) {
223
+ super({
224
+ name: "TooManyTagsException",
225
+ $fault: "client",
226
+ ...opts,
227
+ });
228
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
229
+ this.Message = opts.Message;
230
+ this.ResourceName = opts.ResourceName;
231
+ }
232
+ }
233
+ exports.TooManyTagsException = TooManyTagsException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2017-10-25",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.costexplorer",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2017-10-25",
33
35
  serviceTarget: "AWSInsightsIndexService",
34
36
  },