@aws-sdk/client-applicationcostprofiler 3.987.0 → 3.988.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.
- package/dist-cjs/index.js +25 -289
- package/dist-cjs/models/ApplicationCostProfilerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +69 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +193 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +35 -29
- package/dist-types/schemas/schemas_0.d.ts +12 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var ApplicationCostProfilerServiceException = require('./models/ApplicationCostProfilerServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,256 +113,6 @@ class ApplicationCostProfilerClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class ApplicationCostProfilerServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, ApplicationCostProfilerServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends ApplicationCostProfilerServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class InternalServerException extends ApplicationCostProfilerServiceException {
|
|
133
|
-
name = "InternalServerException";
|
|
134
|
-
$fault = "server";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "InternalServerException",
|
|
138
|
-
$fault: "server",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class ThrottlingException extends ApplicationCostProfilerServiceException {
|
|
145
|
-
name = "ThrottlingException";
|
|
146
|
-
$fault = "client";
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "ThrottlingException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
class ValidationException extends ApplicationCostProfilerServiceException {
|
|
157
|
-
name = "ValidationException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "ValidationException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
class ServiceQuotaExceededException extends ApplicationCostProfilerServiceException {
|
|
169
|
-
name = "ServiceQuotaExceededException";
|
|
170
|
-
$fault = "client";
|
|
171
|
-
constructor(opts) {
|
|
172
|
-
super({
|
|
173
|
-
name: "ServiceQuotaExceededException",
|
|
174
|
-
$fault: "client",
|
|
175
|
-
...opts,
|
|
176
|
-
});
|
|
177
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
const _ADE = "AccessDeniedException";
|
|
182
|
-
const _DRD = "DeleteReportDefinition";
|
|
183
|
-
const _DRDR = "DeleteReportDefinitionRequest";
|
|
184
|
-
const _DRDRe = "DeleteReportDefinitionResult";
|
|
185
|
-
const _GRD = "GetReportDefinition";
|
|
186
|
-
const _GRDR = "GetReportDefinitionRequest";
|
|
187
|
-
const _GRDRe = "GetReportDefinitionResult";
|
|
188
|
-
const _IAU = "ImportApplicationUsage";
|
|
189
|
-
const _IAUR = "ImportApplicationUsageRequest";
|
|
190
|
-
const _IAURm = "ImportApplicationUsageResult";
|
|
191
|
-
const _ISE = "InternalServerException";
|
|
192
|
-
const _LRD = "ListReportDefinitions";
|
|
193
|
-
const _LRDR = "ListReportDefinitionsRequest";
|
|
194
|
-
const _LRDRi = "ListReportDefinitionsResult";
|
|
195
|
-
const _PRD = "PutReportDefinition";
|
|
196
|
-
const _PRDR = "PutReportDefinitionRequest";
|
|
197
|
-
const _PRDRu = "PutReportDefinitionResult";
|
|
198
|
-
const _RD = "ReportDefinition";
|
|
199
|
-
const _RDL = "ReportDefinitionList";
|
|
200
|
-
const _SL = "S3Location";
|
|
201
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
202
|
-
const _SSL = "SourceS3Location";
|
|
203
|
-
const _TE = "ThrottlingException";
|
|
204
|
-
const _URD = "UpdateReportDefinition";
|
|
205
|
-
const _URDR = "UpdateReportDefinitionRequest";
|
|
206
|
-
const _URDRp = "UpdateReportDefinitionResult";
|
|
207
|
-
const _VE = "ValidationException";
|
|
208
|
-
const _b = "bucket";
|
|
209
|
-
const _c = "client";
|
|
210
|
-
const _cA = "createdAt";
|
|
211
|
-
const _dSL = "destinationS3Location";
|
|
212
|
-
const _e = "error";
|
|
213
|
-
const _f = "format";
|
|
214
|
-
const _h = "http";
|
|
215
|
-
const _hE = "httpError";
|
|
216
|
-
const _hQ = "httpQuery";
|
|
217
|
-
const _iI = "importId";
|
|
218
|
-
const _k = "key";
|
|
219
|
-
const _lU = "lastUpdated";
|
|
220
|
-
const _lUA = "lastUpdatedAt";
|
|
221
|
-
const _m = "message";
|
|
222
|
-
const _mR = "maxResults";
|
|
223
|
-
const _nT = "nextToken";
|
|
224
|
-
const _p = "prefix";
|
|
225
|
-
const _r = "region";
|
|
226
|
-
const _rD = "reportDescription";
|
|
227
|
-
const _rDe = "reportDefinitions";
|
|
228
|
-
const _rF = "reportFrequency";
|
|
229
|
-
const _rI = "reportId";
|
|
230
|
-
const _s = "server";
|
|
231
|
-
const _sSL = "sourceS3Location";
|
|
232
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.applicationcostprofiler";
|
|
233
|
-
const n0 = "com.amazonaws.applicationcostprofiler";
|
|
234
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
235
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
236
|
-
[_m],
|
|
237
|
-
[0]
|
|
238
|
-
];
|
|
239
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
240
|
-
var DeleteReportDefinitionRequest$ = [3, n0, _DRDR,
|
|
241
|
-
0,
|
|
242
|
-
[_rI],
|
|
243
|
-
[[0, 1]], 1
|
|
244
|
-
];
|
|
245
|
-
var DeleteReportDefinitionResult$ = [3, n0, _DRDRe,
|
|
246
|
-
0,
|
|
247
|
-
[_rI],
|
|
248
|
-
[0]
|
|
249
|
-
];
|
|
250
|
-
var GetReportDefinitionRequest$ = [3, n0, _GRDR,
|
|
251
|
-
0,
|
|
252
|
-
[_rI],
|
|
253
|
-
[[0, 1]], 1
|
|
254
|
-
];
|
|
255
|
-
var GetReportDefinitionResult$ = [3, n0, _GRDRe,
|
|
256
|
-
0,
|
|
257
|
-
[_rI, _rD, _rF, _f, _dSL, _cA, _lU],
|
|
258
|
-
[0, 0, 0, 0, () => S3Location$, 4, 4], 7
|
|
259
|
-
];
|
|
260
|
-
var ImportApplicationUsageRequest$ = [3, n0, _IAUR,
|
|
261
|
-
0,
|
|
262
|
-
[_sSL],
|
|
263
|
-
[() => SourceS3Location$], 1
|
|
264
|
-
];
|
|
265
|
-
var ImportApplicationUsageResult$ = [3, n0, _IAURm,
|
|
266
|
-
0,
|
|
267
|
-
[_iI],
|
|
268
|
-
[0], 1
|
|
269
|
-
];
|
|
270
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
271
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
272
|
-
[_m],
|
|
273
|
-
[0]
|
|
274
|
-
];
|
|
275
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
276
|
-
var ListReportDefinitionsRequest$ = [3, n0, _LRDR,
|
|
277
|
-
0,
|
|
278
|
-
[_nT, _mR],
|
|
279
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
280
|
-
];
|
|
281
|
-
var ListReportDefinitionsResult$ = [3, n0, _LRDRi,
|
|
282
|
-
0,
|
|
283
|
-
[_rDe, _nT],
|
|
284
|
-
[() => ReportDefinitionList, 0]
|
|
285
|
-
];
|
|
286
|
-
var PutReportDefinitionRequest$ = [3, n0, _PRDR,
|
|
287
|
-
0,
|
|
288
|
-
[_rI, _rD, _rF, _f, _dSL],
|
|
289
|
-
[0, 0, 0, 0, () => S3Location$], 5
|
|
290
|
-
];
|
|
291
|
-
var PutReportDefinitionResult$ = [3, n0, _PRDRu,
|
|
292
|
-
0,
|
|
293
|
-
[_rI],
|
|
294
|
-
[0]
|
|
295
|
-
];
|
|
296
|
-
var ReportDefinition$ = [3, n0, _RD,
|
|
297
|
-
0,
|
|
298
|
-
[_rI, _rD, _rF, _f, _dSL, _cA, _lUA],
|
|
299
|
-
[0, 0, 0, 0, () => S3Location$, 4, 4]
|
|
300
|
-
];
|
|
301
|
-
var S3Location$ = [3, n0, _SL,
|
|
302
|
-
0,
|
|
303
|
-
[_b, _p],
|
|
304
|
-
[0, 0], 2
|
|
305
|
-
];
|
|
306
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
307
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
308
|
-
[_m],
|
|
309
|
-
[0]
|
|
310
|
-
];
|
|
311
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
312
|
-
var SourceS3Location$ = [3, n0, _SSL,
|
|
313
|
-
0,
|
|
314
|
-
[_b, _k, _r],
|
|
315
|
-
[0, 0, 0], 2
|
|
316
|
-
];
|
|
317
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
318
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
319
|
-
[_m],
|
|
320
|
-
[0]
|
|
321
|
-
];
|
|
322
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
323
|
-
var UpdateReportDefinitionRequest$ = [3, n0, _URDR,
|
|
324
|
-
0,
|
|
325
|
-
[_rI, _rD, _rF, _f, _dSL],
|
|
326
|
-
[[0, 1], 0, 0, 0, () => S3Location$], 5
|
|
327
|
-
];
|
|
328
|
-
var UpdateReportDefinitionResult$ = [3, n0, _URDRp,
|
|
329
|
-
0,
|
|
330
|
-
[_rI],
|
|
331
|
-
[0]
|
|
332
|
-
];
|
|
333
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
334
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
335
|
-
[_m],
|
|
336
|
-
[0]
|
|
337
|
-
];
|
|
338
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
339
|
-
var ApplicationCostProfilerServiceException$ = [-3, _sm, "ApplicationCostProfilerServiceException", 0, [], []];
|
|
340
|
-
schema.TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException$, ApplicationCostProfilerServiceException);
|
|
341
|
-
var ReportDefinitionList = [1, n0, _RDL,
|
|
342
|
-
0, () => ReportDefinition$
|
|
343
|
-
];
|
|
344
|
-
var DeleteReportDefinition$ = [9, n0, _DRD,
|
|
345
|
-
{ [_h]: ["DELETE", "/reportDefinition/{reportId}", 200] }, () => DeleteReportDefinitionRequest$, () => DeleteReportDefinitionResult$
|
|
346
|
-
];
|
|
347
|
-
var GetReportDefinition$ = [9, n0, _GRD,
|
|
348
|
-
{ [_h]: ["GET", "/reportDefinition/{reportId}", 200] }, () => GetReportDefinitionRequest$, () => GetReportDefinitionResult$
|
|
349
|
-
];
|
|
350
|
-
var ImportApplicationUsage$ = [9, n0, _IAU,
|
|
351
|
-
{ [_h]: ["POST", "/importApplicationUsage", 200] }, () => ImportApplicationUsageRequest$, () => ImportApplicationUsageResult$
|
|
352
|
-
];
|
|
353
|
-
var ListReportDefinitions$ = [9, n0, _LRD,
|
|
354
|
-
{ [_h]: ["GET", "/reportDefinition", 200] }, () => ListReportDefinitionsRequest$, () => ListReportDefinitionsResult$
|
|
355
|
-
];
|
|
356
|
-
var PutReportDefinition$ = [9, n0, _PRD,
|
|
357
|
-
{ [_h]: ["POST", "/reportDefinition", 200] }, () => PutReportDefinitionRequest$, () => PutReportDefinitionResult$
|
|
358
|
-
];
|
|
359
|
-
var UpdateReportDefinition$ = [9, n0, _URD,
|
|
360
|
-
{ [_h]: ["PUT", "/reportDefinition/{reportId}", 200] }, () => UpdateReportDefinitionRequest$, () => UpdateReportDefinitionResult$
|
|
361
|
-
];
|
|
362
|
-
|
|
363
116
|
class DeleteReportDefinitionCommand extends smithyClient.Command
|
|
364
117
|
.classBuilder()
|
|
365
118
|
.ep(commonParams)
|
|
@@ -368,7 +121,7 @@ class DeleteReportDefinitionCommand extends smithyClient.Command
|
|
|
368
121
|
})
|
|
369
122
|
.s("AWSApplicationCostProfiler", "DeleteReportDefinition", {})
|
|
370
123
|
.n("ApplicationCostProfilerClient", "DeleteReportDefinitionCommand")
|
|
371
|
-
.sc(DeleteReportDefinition$)
|
|
124
|
+
.sc(schemas_0.DeleteReportDefinition$)
|
|
372
125
|
.build() {
|
|
373
126
|
}
|
|
374
127
|
|
|
@@ -380,7 +133,7 @@ class GetReportDefinitionCommand extends smithyClient.Command
|
|
|
380
133
|
})
|
|
381
134
|
.s("AWSApplicationCostProfiler", "GetReportDefinition", {})
|
|
382
135
|
.n("ApplicationCostProfilerClient", "GetReportDefinitionCommand")
|
|
383
|
-
.sc(GetReportDefinition$)
|
|
136
|
+
.sc(schemas_0.GetReportDefinition$)
|
|
384
137
|
.build() {
|
|
385
138
|
}
|
|
386
139
|
|
|
@@ -392,7 +145,7 @@ class ImportApplicationUsageCommand extends smithyClient.Command
|
|
|
392
145
|
})
|
|
393
146
|
.s("AWSApplicationCostProfiler", "ImportApplicationUsage", {})
|
|
394
147
|
.n("ApplicationCostProfilerClient", "ImportApplicationUsageCommand")
|
|
395
|
-
.sc(ImportApplicationUsage$)
|
|
148
|
+
.sc(schemas_0.ImportApplicationUsage$)
|
|
396
149
|
.build() {
|
|
397
150
|
}
|
|
398
151
|
|
|
@@ -404,7 +157,7 @@ class ListReportDefinitionsCommand extends smithyClient.Command
|
|
|
404
157
|
})
|
|
405
158
|
.s("AWSApplicationCostProfiler", "ListReportDefinitions", {})
|
|
406
159
|
.n("ApplicationCostProfilerClient", "ListReportDefinitionsCommand")
|
|
407
|
-
.sc(ListReportDefinitions$)
|
|
160
|
+
.sc(schemas_0.ListReportDefinitions$)
|
|
408
161
|
.build() {
|
|
409
162
|
}
|
|
410
163
|
|
|
@@ -416,7 +169,7 @@ class PutReportDefinitionCommand extends smithyClient.Command
|
|
|
416
169
|
})
|
|
417
170
|
.s("AWSApplicationCostProfiler", "PutReportDefinition", {})
|
|
418
171
|
.n("ApplicationCostProfilerClient", "PutReportDefinitionCommand")
|
|
419
|
-
.sc(PutReportDefinition$)
|
|
172
|
+
.sc(schemas_0.PutReportDefinition$)
|
|
420
173
|
.build() {
|
|
421
174
|
}
|
|
422
175
|
|
|
@@ -428,7 +181,7 @@ class UpdateReportDefinitionCommand extends smithyClient.Command
|
|
|
428
181
|
})
|
|
429
182
|
.s("AWSApplicationCostProfiler", "UpdateReportDefinition", {})
|
|
430
183
|
.n("ApplicationCostProfilerClient", "UpdateReportDefinitionCommand")
|
|
431
|
-
.sc(UpdateReportDefinition$)
|
|
184
|
+
.sc(schemas_0.UpdateReportDefinition$)
|
|
432
185
|
.build() {
|
|
433
186
|
}
|
|
434
187
|
|
|
@@ -473,48 +226,31 @@ Object.defineProperty(exports, "__Client", {
|
|
|
473
226
|
enumerable: true,
|
|
474
227
|
get: function () { return smithyClient.Client; }
|
|
475
228
|
});
|
|
476
|
-
exports
|
|
477
|
-
|
|
229
|
+
Object.defineProperty(exports, "ApplicationCostProfilerServiceException", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () { return ApplicationCostProfilerServiceException.ApplicationCostProfilerServiceException; }
|
|
232
|
+
});
|
|
478
233
|
exports.ApplicationCostProfiler = ApplicationCostProfiler;
|
|
479
234
|
exports.ApplicationCostProfilerClient = ApplicationCostProfilerClient;
|
|
480
|
-
exports.ApplicationCostProfilerServiceException = ApplicationCostProfilerServiceException;
|
|
481
|
-
exports.ApplicationCostProfilerServiceException$ = ApplicationCostProfilerServiceException$;
|
|
482
|
-
exports.DeleteReportDefinition$ = DeleteReportDefinition$;
|
|
483
235
|
exports.DeleteReportDefinitionCommand = DeleteReportDefinitionCommand;
|
|
484
|
-
exports.DeleteReportDefinitionRequest$ = DeleteReportDefinitionRequest$;
|
|
485
|
-
exports.DeleteReportDefinitionResult$ = DeleteReportDefinitionResult$;
|
|
486
236
|
exports.Format = Format;
|
|
487
|
-
exports.GetReportDefinition$ = GetReportDefinition$;
|
|
488
237
|
exports.GetReportDefinitionCommand = GetReportDefinitionCommand;
|
|
489
|
-
exports.GetReportDefinitionRequest$ = GetReportDefinitionRequest$;
|
|
490
|
-
exports.GetReportDefinitionResult$ = GetReportDefinitionResult$;
|
|
491
|
-
exports.ImportApplicationUsage$ = ImportApplicationUsage$;
|
|
492
238
|
exports.ImportApplicationUsageCommand = ImportApplicationUsageCommand;
|
|
493
|
-
exports.ImportApplicationUsageRequest$ = ImportApplicationUsageRequest$;
|
|
494
|
-
exports.ImportApplicationUsageResult$ = ImportApplicationUsageResult$;
|
|
495
|
-
exports.InternalServerException = InternalServerException;
|
|
496
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
497
|
-
exports.ListReportDefinitions$ = ListReportDefinitions$;
|
|
498
239
|
exports.ListReportDefinitionsCommand = ListReportDefinitionsCommand;
|
|
499
|
-
exports.ListReportDefinitionsRequest$ = ListReportDefinitionsRequest$;
|
|
500
|
-
exports.ListReportDefinitionsResult$ = ListReportDefinitionsResult$;
|
|
501
|
-
exports.PutReportDefinition$ = PutReportDefinition$;
|
|
502
240
|
exports.PutReportDefinitionCommand = PutReportDefinitionCommand;
|
|
503
|
-
exports.PutReportDefinitionRequest$ = PutReportDefinitionRequest$;
|
|
504
|
-
exports.PutReportDefinitionResult$ = PutReportDefinitionResult$;
|
|
505
|
-
exports.ReportDefinition$ = ReportDefinition$;
|
|
506
241
|
exports.ReportFrequency = ReportFrequency;
|
|
507
242
|
exports.S3BucketRegion = S3BucketRegion;
|
|
508
|
-
exports.S3Location$ = S3Location$;
|
|
509
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
510
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
511
|
-
exports.SourceS3Location$ = SourceS3Location$;
|
|
512
|
-
exports.ThrottlingException = ThrottlingException;
|
|
513
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
514
|
-
exports.UpdateReportDefinition$ = UpdateReportDefinition$;
|
|
515
243
|
exports.UpdateReportDefinitionCommand = UpdateReportDefinitionCommand;
|
|
516
|
-
exports.UpdateReportDefinitionRequest$ = UpdateReportDefinitionRequest$;
|
|
517
|
-
exports.UpdateReportDefinitionResult$ = UpdateReportDefinitionResult$;
|
|
518
|
-
exports.ValidationException = ValidationException;
|
|
519
|
-
exports.ValidationException$ = ValidationException$;
|
|
520
244
|
exports.paginateListReportDefinitions = paginateListReportDefinitions;
|
|
245
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
246
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () { return schemas_0[k]; }
|
|
249
|
+
});
|
|
250
|
+
});
|
|
251
|
+
Object.keys(errors).forEach(function (k) {
|
|
252
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function () { return errors[k]; }
|
|
255
|
+
});
|
|
256
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationCostProfilerServiceException = 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 ApplicationCostProfilerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ApplicationCostProfilerServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ApplicationCostProfilerServiceException = ApplicationCostProfilerServiceException;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const ApplicationCostProfilerServiceException_1 = require("./ApplicationCostProfilerServiceException");
|
|
5
|
+
class AccessDeniedException extends ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class InternalServerException extends ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException {
|
|
19
|
+
name = "InternalServerException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InternalServerException",
|
|
24
|
+
$fault: "server",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InternalServerException = InternalServerException;
|
|
31
|
+
class ThrottlingException extends ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException {
|
|
32
|
+
name = "ThrottlingException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ThrottlingException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ThrottlingException = ThrottlingException;
|
|
44
|
+
class ValidationException extends ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ValidationException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ValidationException = ValidationException;
|
|
57
|
+
class ServiceQuotaExceededException extends ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException {
|
|
58
|
+
name = "ServiceQuotaExceededException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ServiceQuotaExceededException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -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: "2020-09-10",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.applicationcostprofiler",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2020-09-10",
|
|
33
35
|
serviceTarget: "AWSApplicationCostProfiler",
|
|
34
36
|
},
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateReportDefinition$ = exports.PutReportDefinition$ = exports.ListReportDefinitions$ = exports.ImportApplicationUsage$ = exports.GetReportDefinition$ = exports.DeleteReportDefinition$ = exports.UpdateReportDefinitionResult$ = exports.UpdateReportDefinitionRequest$ = exports.SourceS3Location$ = exports.S3Location$ = exports.ReportDefinition$ = exports.PutReportDefinitionResult$ = exports.PutReportDefinitionRequest$ = exports.ListReportDefinitionsResult$ = exports.ListReportDefinitionsRequest$ = exports.ImportApplicationUsageResult$ = exports.ImportApplicationUsageRequest$ = exports.GetReportDefinitionResult$ = exports.GetReportDefinitionRequest$ = exports.DeleteReportDefinitionResult$ = exports.DeleteReportDefinitionRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.ApplicationCostProfilerServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _DRD = "DeleteReportDefinition";
|
|
6
|
+
const _DRDR = "DeleteReportDefinitionRequest";
|
|
7
|
+
const _DRDRe = "DeleteReportDefinitionResult";
|
|
8
|
+
const _GRD = "GetReportDefinition";
|
|
9
|
+
const _GRDR = "GetReportDefinitionRequest";
|
|
10
|
+
const _GRDRe = "GetReportDefinitionResult";
|
|
11
|
+
const _IAU = "ImportApplicationUsage";
|
|
12
|
+
const _IAUR = "ImportApplicationUsageRequest";
|
|
13
|
+
const _IAURm = "ImportApplicationUsageResult";
|
|
14
|
+
const _ISE = "InternalServerException";
|
|
15
|
+
const _LRD = "ListReportDefinitions";
|
|
16
|
+
const _LRDR = "ListReportDefinitionsRequest";
|
|
17
|
+
const _LRDRi = "ListReportDefinitionsResult";
|
|
18
|
+
const _PRD = "PutReportDefinition";
|
|
19
|
+
const _PRDR = "PutReportDefinitionRequest";
|
|
20
|
+
const _PRDRu = "PutReportDefinitionResult";
|
|
21
|
+
const _RD = "ReportDefinition";
|
|
22
|
+
const _RDL = "ReportDefinitionList";
|
|
23
|
+
const _SL = "S3Location";
|
|
24
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
25
|
+
const _SSL = "SourceS3Location";
|
|
26
|
+
const _TE = "ThrottlingException";
|
|
27
|
+
const _URD = "UpdateReportDefinition";
|
|
28
|
+
const _URDR = "UpdateReportDefinitionRequest";
|
|
29
|
+
const _URDRp = "UpdateReportDefinitionResult";
|
|
30
|
+
const _VE = "ValidationException";
|
|
31
|
+
const _b = "bucket";
|
|
32
|
+
const _c = "client";
|
|
33
|
+
const _cA = "createdAt";
|
|
34
|
+
const _dSL = "destinationS3Location";
|
|
35
|
+
const _e = "error";
|
|
36
|
+
const _f = "format";
|
|
37
|
+
const _h = "http";
|
|
38
|
+
const _hE = "httpError";
|
|
39
|
+
const _hQ = "httpQuery";
|
|
40
|
+
const _iI = "importId";
|
|
41
|
+
const _k = "key";
|
|
42
|
+
const _lU = "lastUpdated";
|
|
43
|
+
const _lUA = "lastUpdatedAt";
|
|
44
|
+
const _m = "message";
|
|
45
|
+
const _mR = "maxResults";
|
|
46
|
+
const _nT = "nextToken";
|
|
47
|
+
const _p = "prefix";
|
|
48
|
+
const _r = "region";
|
|
49
|
+
const _rD = "reportDescription";
|
|
50
|
+
const _rDe = "reportDefinitions";
|
|
51
|
+
const _rF = "reportFrequency";
|
|
52
|
+
const _rI = "reportId";
|
|
53
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.applicationcostprofiler";
|
|
54
|
+
const _sSL = "sourceS3Location";
|
|
55
|
+
const _se = "server";
|
|
56
|
+
const n0 = "com.amazonaws.applicationcostprofiler";
|
|
57
|
+
const schema_1 = require("@smithy/core/schema");
|
|
58
|
+
const ApplicationCostProfilerServiceException_1 = require("../models/ApplicationCostProfilerServiceException");
|
|
59
|
+
const errors_1 = require("../models/errors");
|
|
60
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
61
|
+
exports.ApplicationCostProfilerServiceException$ = [-3, _s, "ApplicationCostProfilerServiceException", 0, [], []];
|
|
62
|
+
_s_registry.registerError(exports.ApplicationCostProfilerServiceException$, ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException);
|
|
63
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
64
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
65
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
66
|
+
[_m],
|
|
67
|
+
[0]
|
|
68
|
+
];
|
|
69
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
70
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
71
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
72
|
+
[_m],
|
|
73
|
+
[0]
|
|
74
|
+
];
|
|
75
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
76
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
77
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
78
|
+
[_m],
|
|
79
|
+
[0]
|
|
80
|
+
];
|
|
81
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
82
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
83
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
84
|
+
[_m],
|
|
85
|
+
[0]
|
|
86
|
+
];
|
|
87
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
88
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
89
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
90
|
+
[_m],
|
|
91
|
+
[0]
|
|
92
|
+
];
|
|
93
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
94
|
+
exports.errorTypeRegistries = [
|
|
95
|
+
_s_registry,
|
|
96
|
+
n0_registry,
|
|
97
|
+
];
|
|
98
|
+
exports.DeleteReportDefinitionRequest$ = [3, n0, _DRDR,
|
|
99
|
+
0,
|
|
100
|
+
[_rI],
|
|
101
|
+
[[0, 1]], 1
|
|
102
|
+
];
|
|
103
|
+
exports.DeleteReportDefinitionResult$ = [3, n0, _DRDRe,
|
|
104
|
+
0,
|
|
105
|
+
[_rI],
|
|
106
|
+
[0]
|
|
107
|
+
];
|
|
108
|
+
exports.GetReportDefinitionRequest$ = [3, n0, _GRDR,
|
|
109
|
+
0,
|
|
110
|
+
[_rI],
|
|
111
|
+
[[0, 1]], 1
|
|
112
|
+
];
|
|
113
|
+
exports.GetReportDefinitionResult$ = [3, n0, _GRDRe,
|
|
114
|
+
0,
|
|
115
|
+
[_rI, _rD, _rF, _f, _dSL, _cA, _lU],
|
|
116
|
+
[0, 0, 0, 0, () => exports.S3Location$, 4, 4], 7
|
|
117
|
+
];
|
|
118
|
+
exports.ImportApplicationUsageRequest$ = [3, n0, _IAUR,
|
|
119
|
+
0,
|
|
120
|
+
[_sSL],
|
|
121
|
+
[() => exports.SourceS3Location$], 1
|
|
122
|
+
];
|
|
123
|
+
exports.ImportApplicationUsageResult$ = [3, n0, _IAURm,
|
|
124
|
+
0,
|
|
125
|
+
[_iI],
|
|
126
|
+
[0], 1
|
|
127
|
+
];
|
|
128
|
+
exports.ListReportDefinitionsRequest$ = [3, n0, _LRDR,
|
|
129
|
+
0,
|
|
130
|
+
[_nT, _mR],
|
|
131
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
132
|
+
];
|
|
133
|
+
exports.ListReportDefinitionsResult$ = [3, n0, _LRDRi,
|
|
134
|
+
0,
|
|
135
|
+
[_rDe, _nT],
|
|
136
|
+
[() => ReportDefinitionList, 0]
|
|
137
|
+
];
|
|
138
|
+
exports.PutReportDefinitionRequest$ = [3, n0, _PRDR,
|
|
139
|
+
0,
|
|
140
|
+
[_rI, _rD, _rF, _f, _dSL],
|
|
141
|
+
[0, 0, 0, 0, () => exports.S3Location$], 5
|
|
142
|
+
];
|
|
143
|
+
exports.PutReportDefinitionResult$ = [3, n0, _PRDRu,
|
|
144
|
+
0,
|
|
145
|
+
[_rI],
|
|
146
|
+
[0]
|
|
147
|
+
];
|
|
148
|
+
exports.ReportDefinition$ = [3, n0, _RD,
|
|
149
|
+
0,
|
|
150
|
+
[_rI, _rD, _rF, _f, _dSL, _cA, _lUA],
|
|
151
|
+
[0, 0, 0, 0, () => exports.S3Location$, 4, 4]
|
|
152
|
+
];
|
|
153
|
+
exports.S3Location$ = [3, n0, _SL,
|
|
154
|
+
0,
|
|
155
|
+
[_b, _p],
|
|
156
|
+
[0, 0], 2
|
|
157
|
+
];
|
|
158
|
+
exports.SourceS3Location$ = [3, n0, _SSL,
|
|
159
|
+
0,
|
|
160
|
+
[_b, _k, _r],
|
|
161
|
+
[0, 0, 0], 2
|
|
162
|
+
];
|
|
163
|
+
exports.UpdateReportDefinitionRequest$ = [3, n0, _URDR,
|
|
164
|
+
0,
|
|
165
|
+
[_rI, _rD, _rF, _f, _dSL],
|
|
166
|
+
[[0, 1], 0, 0, 0, () => exports.S3Location$], 5
|
|
167
|
+
];
|
|
168
|
+
exports.UpdateReportDefinitionResult$ = [3, n0, _URDRp,
|
|
169
|
+
0,
|
|
170
|
+
[_rI],
|
|
171
|
+
[0]
|
|
172
|
+
];
|
|
173
|
+
var ReportDefinitionList = [1, n0, _RDL,
|
|
174
|
+
0, () => exports.ReportDefinition$
|
|
175
|
+
];
|
|
176
|
+
exports.DeleteReportDefinition$ = [9, n0, _DRD,
|
|
177
|
+
{ [_h]: ["DELETE", "/reportDefinition/{reportId}", 200] }, () => exports.DeleteReportDefinitionRequest$, () => exports.DeleteReportDefinitionResult$
|
|
178
|
+
];
|
|
179
|
+
exports.GetReportDefinition$ = [9, n0, _GRD,
|
|
180
|
+
{ [_h]: ["GET", "/reportDefinition/{reportId}", 200] }, () => exports.GetReportDefinitionRequest$, () => exports.GetReportDefinitionResult$
|
|
181
|
+
];
|
|
182
|
+
exports.ImportApplicationUsage$ = [9, n0, _IAU,
|
|
183
|
+
{ [_h]: ["POST", "/importApplicationUsage", 200] }, () => exports.ImportApplicationUsageRequest$, () => exports.ImportApplicationUsageResult$
|
|
184
|
+
];
|
|
185
|
+
exports.ListReportDefinitions$ = [9, n0, _LRD,
|
|
186
|
+
{ [_h]: ["GET", "/reportDefinition", 200] }, () => exports.ListReportDefinitionsRequest$, () => exports.ListReportDefinitionsResult$
|
|
187
|
+
];
|
|
188
|
+
exports.PutReportDefinition$ = [9, n0, _PRD,
|
|
189
|
+
{ [_h]: ["POST", "/reportDefinition", 200] }, () => exports.PutReportDefinitionRequest$, () => exports.PutReportDefinitionResult$
|
|
190
|
+
];
|
|
191
|
+
exports.UpdateReportDefinition$ = [9, n0, _URD,
|
|
192
|
+
{ [_h]: ["PUT", "/reportDefinition/{reportId}", 200] }, () => exports.UpdateReportDefinitionRequest$, () => exports.UpdateReportDefinitionResult$
|
|
193
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultApplicationCostProfilerHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2020-09-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.applicationcostprofiler",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2020-09-10",
|
|
30
32
|
serviceTarget: "AWSApplicationCostProfiler",
|
|
31
33
|
},
|
|
@@ -47,19 +47,51 @@ const _rD = "reportDescription";
|
|
|
47
47
|
const _rDe = "reportDefinitions";
|
|
48
48
|
const _rF = "reportFrequency";
|
|
49
49
|
const _rI = "reportId";
|
|
50
|
-
const _s = "
|
|
50
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.applicationcostprofiler";
|
|
51
51
|
const _sSL = "sourceS3Location";
|
|
52
|
-
const
|
|
52
|
+
const _se = "server";
|
|
53
53
|
const n0 = "com.amazonaws.applicationcostprofiler";
|
|
54
54
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
55
55
|
import { ApplicationCostProfilerServiceException } from "../models/ApplicationCostProfilerServiceException";
|
|
56
56
|
import { AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
57
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
58
|
+
export var ApplicationCostProfilerServiceException$ = [-3, _s, "ApplicationCostProfilerServiceException", 0, [], []];
|
|
59
|
+
_s_registry.registerError(ApplicationCostProfilerServiceException$, ApplicationCostProfilerServiceException);
|
|
60
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
57
61
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
58
62
|
{ [_e]: _c, [_hE]: 403 },
|
|
59
63
|
[_m],
|
|
60
64
|
[0]
|
|
61
65
|
];
|
|
62
|
-
|
|
66
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
67
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
68
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
69
|
+
[_m],
|
|
70
|
+
[0]
|
|
71
|
+
];
|
|
72
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
73
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
74
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
75
|
+
[_m],
|
|
76
|
+
[0]
|
|
77
|
+
];
|
|
78
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
79
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
80
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
81
|
+
[_m],
|
|
82
|
+
[0]
|
|
83
|
+
];
|
|
84
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
85
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
86
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
87
|
+
[_m],
|
|
88
|
+
[0]
|
|
89
|
+
];
|
|
90
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
91
|
+
export const errorTypeRegistries = [
|
|
92
|
+
_s_registry,
|
|
93
|
+
n0_registry,
|
|
94
|
+
];
|
|
63
95
|
export var DeleteReportDefinitionRequest$ = [3, n0, _DRDR,
|
|
64
96
|
0,
|
|
65
97
|
[_rI],
|
|
@@ -90,12 +122,6 @@ export var ImportApplicationUsageResult$ = [3, n0, _IAURm,
|
|
|
90
122
|
[_iI],
|
|
91
123
|
[0], 1
|
|
92
124
|
];
|
|
93
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
94
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
95
|
-
[_m],
|
|
96
|
-
[0]
|
|
97
|
-
];
|
|
98
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
99
125
|
export var ListReportDefinitionsRequest$ = [3, n0, _LRDR,
|
|
100
126
|
0,
|
|
101
127
|
[_nT, _mR],
|
|
@@ -126,23 +152,11 @@ export var S3Location$ = [3, n0, _SL,
|
|
|
126
152
|
[_b, _p],
|
|
127
153
|
[0, 0], 2
|
|
128
154
|
];
|
|
129
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
130
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
131
|
-
[_m],
|
|
132
|
-
[0]
|
|
133
|
-
];
|
|
134
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
135
155
|
export var SourceS3Location$ = [3, n0, _SSL,
|
|
136
156
|
0,
|
|
137
157
|
[_b, _k, _r],
|
|
138
158
|
[0, 0, 0], 2
|
|
139
159
|
];
|
|
140
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
141
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
142
|
-
[_m],
|
|
143
|
-
[0]
|
|
144
|
-
];
|
|
145
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
146
160
|
export var UpdateReportDefinitionRequest$ = [3, n0, _URDR,
|
|
147
161
|
0,
|
|
148
162
|
[_rI, _rD, _rF, _f, _dSL],
|
|
@@ -153,14 +167,6 @@ export var UpdateReportDefinitionResult$ = [3, n0, _URDRp,
|
|
|
153
167
|
[_rI],
|
|
154
168
|
[0]
|
|
155
169
|
];
|
|
156
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
157
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
158
|
-
[_m],
|
|
159
|
-
[0]
|
|
160
|
-
];
|
|
161
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
162
|
-
export var ApplicationCostProfilerServiceException$ = [-3, _sm, "ApplicationCostProfilerServiceException", 0, [], []];
|
|
163
|
-
TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException$, ApplicationCostProfilerServiceException);
|
|
164
170
|
var ReportDefinitionList = [1, n0, _RDL,
|
|
165
171
|
0, () => ReportDefinition$
|
|
166
172
|
];
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ApplicationCostProfilerServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
7
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
8
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
9
|
+
/**
|
|
10
|
+
* TypeRegistry instances containing modeled errors.
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
15
|
export declare var DeleteReportDefinitionRequest$: StaticStructureSchema;
|
|
4
16
|
export declare var DeleteReportDefinitionResult$: StaticStructureSchema;
|
|
5
17
|
export declare var GetReportDefinitionRequest$: StaticStructureSchema;
|
|
6
18
|
export declare var GetReportDefinitionResult$: StaticStructureSchema;
|
|
7
19
|
export declare var ImportApplicationUsageRequest$: StaticStructureSchema;
|
|
8
20
|
export declare var ImportApplicationUsageResult$: StaticStructureSchema;
|
|
9
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
21
|
export declare var ListReportDefinitionsRequest$: StaticStructureSchema;
|
|
11
22
|
export declare var ListReportDefinitionsResult$: StaticStructureSchema;
|
|
12
23
|
export declare var PutReportDefinitionRequest$: StaticStructureSchema;
|
|
13
24
|
export declare var PutReportDefinitionResult$: StaticStructureSchema;
|
|
14
25
|
export declare var ReportDefinition$: StaticStructureSchema;
|
|
15
26
|
export declare var S3Location$: StaticStructureSchema;
|
|
16
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
17
27
|
export declare var SourceS3Location$: StaticStructureSchema;
|
|
18
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
19
28
|
export declare var UpdateReportDefinitionRequest$: StaticStructureSchema;
|
|
20
29
|
export declare var UpdateReportDefinitionResult$: StaticStructureSchema;
|
|
21
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
22
|
-
export declare var ApplicationCostProfilerServiceException$: StaticErrorSchema;
|
|
23
30
|
export declare var DeleteReportDefinition$: StaticOperationSchema;
|
|
24
31
|
export declare var GetReportDefinition$: StaticOperationSchema;
|
|
25
32
|
export declare var ImportApplicationUsage$: StaticOperationSchema;
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ApplicationCostProfilerServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
11
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
12
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
13
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
14
|
export declare var DeleteReportDefinitionRequest$: StaticStructureSchema;
|
|
8
15
|
export declare var DeleteReportDefinitionResult$: StaticStructureSchema;
|
|
9
16
|
export declare var GetReportDefinitionRequest$: StaticStructureSchema;
|
|
10
17
|
export declare var GetReportDefinitionResult$: StaticStructureSchema;
|
|
11
18
|
export declare var ImportApplicationUsageRequest$: StaticStructureSchema;
|
|
12
19
|
export declare var ImportApplicationUsageResult$: StaticStructureSchema;
|
|
13
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
14
20
|
export declare var ListReportDefinitionsRequest$: StaticStructureSchema;
|
|
15
21
|
export declare var ListReportDefinitionsResult$: StaticStructureSchema;
|
|
16
22
|
export declare var PutReportDefinitionRequest$: StaticStructureSchema;
|
|
17
23
|
export declare var PutReportDefinitionResult$: StaticStructureSchema;
|
|
18
24
|
export declare var ReportDefinition$: StaticStructureSchema;
|
|
19
25
|
export declare var S3Location$: StaticStructureSchema;
|
|
20
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
21
26
|
export declare var SourceS3Location$: StaticStructureSchema;
|
|
22
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
23
27
|
export declare var UpdateReportDefinitionRequest$: StaticStructureSchema;
|
|
24
28
|
export declare var UpdateReportDefinitionResult$: StaticStructureSchema;
|
|
25
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
26
|
-
export declare var ApplicationCostProfilerServiceException$: StaticErrorSchema;
|
|
27
29
|
export declare var DeleteReportDefinition$: StaticOperationSchema;
|
|
28
30
|
export declare var GetReportDefinition$: StaticOperationSchema;
|
|
29
31
|
export declare var ImportApplicationUsage$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-applicationcostprofiler",
|
|
3
3
|
"description": "AWS SDK for JavaScript Applicationcostprofiler Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-applicationcostprofiler",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|