@aws-sdk/client-applicationcostprofiler 3.952.0 → 3.953.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 CHANGED
@@ -110,14 +110,14 @@ class ApplicationCostProfilerClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let ApplicationCostProfilerServiceException$1 = class ApplicationCostProfilerServiceException extends smithyClient.ServiceException {
113
+ class ApplicationCostProfilerServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ApplicationCostProfilerServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends ApplicationCostProfilerServiceException$1 {
120
+ class AccessDeniedException extends ApplicationCostProfilerServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends ApplicationCos
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- };
132
- let InternalServerException$1 = class InternalServerException extends ApplicationCostProfilerServiceException$1 {
131
+ }
132
+ class InternalServerException extends ApplicationCostProfilerServiceException {
133
133
  name = "InternalServerException";
134
134
  $fault = "server";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let InternalServerException$1 = class InternalServerException extends Applicatio
140
140
  });
141
141
  Object.setPrototypeOf(this, InternalServerException.prototype);
142
142
  }
143
- };
144
- let ThrottlingException$1 = class ThrottlingException extends ApplicationCostProfilerServiceException$1 {
143
+ }
144
+ class ThrottlingException extends ApplicationCostProfilerServiceException {
145
145
  name = "ThrottlingException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ let ThrottlingException$1 = class ThrottlingException extends ApplicationCostPro
152
152
  });
153
153
  Object.setPrototypeOf(this, ThrottlingException.prototype);
154
154
  }
155
- };
156
- let ValidationException$1 = class ValidationException extends ApplicationCostProfilerServiceException$1 {
155
+ }
156
+ class ValidationException extends ApplicationCostProfilerServiceException {
157
157
  name = "ValidationException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ let ValidationException$1 = class ValidationException extends ApplicationCostPro
164
164
  });
165
165
  Object.setPrototypeOf(this, ValidationException.prototype);
166
166
  }
167
- };
168
- let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ApplicationCostProfilerServiceException$1 {
167
+ }
168
+ class ServiceQuotaExceededException extends ApplicationCostProfilerServiceException {
169
169
  name = "ServiceQuotaExceededException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,7 +176,7 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
176
176
  });
177
177
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
178
178
  }
179
- };
179
+ }
180
180
 
181
181
  const _ADE = "AccessDeniedException";
182
182
  const _DRD = "DeleteReportDefinition";
@@ -231,24 +231,24 @@ const _s = "server";
231
231
  const _sSL = "sourceS3Location";
232
232
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.applicationcostprofiler";
233
233
  const n0 = "com.amazonaws.applicationcostprofiler";
234
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
235
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
236
- var DeleteReportDefinitionRequest = [3, n0, _DRDR, 0, [_rI], [[0, 1]]];
237
- var DeleteReportDefinitionResult = [3, n0, _DRDRe, 0, [_rI], [0]];
238
- var GetReportDefinitionRequest = [3, n0, _GRDR, 0, [_rI], [[0, 1]]];
239
- var GetReportDefinitionResult = [
234
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
235
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
236
+ var DeleteReportDefinitionRequest$ = [3, n0, _DRDR, 0, [_rI], [[0, 1]]];
237
+ var DeleteReportDefinitionResult$ = [3, n0, _DRDRe, 0, [_rI], [0]];
238
+ var GetReportDefinitionRequest$ = [3, n0, _GRDR, 0, [_rI], [[0, 1]]];
239
+ var GetReportDefinitionResult$ = [
240
240
  3,
241
241
  n0,
242
242
  _GRDRe,
243
243
  0,
244
244
  [_rI, _rD, _rF, _f, _dSL, _cA, _lU],
245
- [0, 0, 0, 0, () => S3Location, 4, 4],
245
+ [0, 0, 0, 0, () => S3Location$, 4, 4],
246
246
  ];
247
- var ImportApplicationUsageRequest = [3, n0, _IAUR, 0, [_sSL], [() => SourceS3Location]];
248
- var ImportApplicationUsageResult = [3, n0, _IAURm, 0, [_iI], [0]];
249
- var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
250
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
251
- var ListReportDefinitionsRequest = [
247
+ var ImportApplicationUsageRequest$ = [3, n0, _IAUR, 0, [_sSL], [() => SourceS3Location$]];
248
+ var ImportApplicationUsageResult$ = [3, n0, _IAURm, 0, [_iI], [0]];
249
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
250
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
251
+ var ListReportDefinitionsRequest$ = [
252
252
  3,
253
253
  n0,
254
254
  _LRDR,
@@ -259,7 +259,7 @@ var ListReportDefinitionsRequest = [
259
259
  [1, { [_hQ]: _mR }],
260
260
  ],
261
261
  ];
262
- var ListReportDefinitionsResult = [
262
+ var ListReportDefinitionsResult$ = [
263
263
  3,
264
264
  n0,
265
265
  _LRDRi,
@@ -267,41 +267,41 @@ var ListReportDefinitionsResult = [
267
267
  [_rDe, _nT],
268
268
  [() => ReportDefinitionList, 0],
269
269
  ];
270
- var PutReportDefinitionRequest = [
270
+ var PutReportDefinitionRequest$ = [
271
271
  3,
272
272
  n0,
273
273
  _PRDR,
274
274
  0,
275
275
  [_rI, _rD, _rF, _f, _dSL],
276
- [0, 0, 0, 0, () => S3Location],
276
+ [0, 0, 0, 0, () => S3Location$],
277
277
  ];
278
- var PutReportDefinitionResult = [3, n0, _PRDRu, 0, [_rI], [0]];
279
- var ReportDefinition = [
278
+ var PutReportDefinitionResult$ = [3, n0, _PRDRu, 0, [_rI], [0]];
279
+ var ReportDefinition$ = [
280
280
  3,
281
281
  n0,
282
282
  _RD,
283
283
  0,
284
284
  [_rI, _rD, _rF, _f, _dSL, _cA, _lUA],
285
- [0, 0, 0, 0, () => S3Location, 4, 4],
285
+ [0, 0, 0, 0, () => S3Location$, 4, 4],
286
286
  ];
287
- var S3Location = [3, n0, _SL, 0, [_b, _p], [0, 0]];
288
- var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
289
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
290
- var SourceS3Location = [3, n0, _SSL, 0, [_b, _k, _r], [0, 0, 0]];
291
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
292
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
293
- var UpdateReportDefinitionRequest = [
287
+ var S3Location$ = [3, n0, _SL, 0, [_b, _p], [0, 0]];
288
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
289
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
290
+ var SourceS3Location$ = [3, n0, _SSL, 0, [_b, _k, _r], [0, 0, 0]];
291
+ var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
292
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
293
+ var UpdateReportDefinitionRequest$ = [
294
294
  3,
295
295
  n0,
296
296
  _URDR,
297
297
  0,
298
298
  [_rI, _rD, _rF, _f, _dSL],
299
- [[0, 1], 0, 0, 0, () => S3Location],
299
+ [[0, 1], 0, 0, 0, () => S3Location$],
300
300
  ];
301
- var UpdateReportDefinitionResult = [3, n0, _URDRp, 0, [_rI], [0]];
302
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
303
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
304
- var ApplicationCostProfilerServiceException = [
301
+ var UpdateReportDefinitionResult$ = [3, n0, _URDRp, 0, [_rI], [0]];
302
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
303
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
304
+ var ApplicationCostProfilerServiceException$ = [
305
305
  -3,
306
306
  _sm,
307
307
  "ApplicationCostProfilerServiceException",
@@ -309,55 +309,55 @@ var ApplicationCostProfilerServiceException = [
309
309
  [],
310
310
  [],
311
311
  ];
312
- schema.TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException, ApplicationCostProfilerServiceException$1);
313
- var ReportDefinitionList = [1, n0, _RDL, 0, () => ReportDefinition];
314
- var DeleteReportDefinition = [
312
+ schema.TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException$, ApplicationCostProfilerServiceException);
313
+ var ReportDefinitionList = [1, n0, _RDL, 0, () => ReportDefinition$];
314
+ var DeleteReportDefinition$ = [
315
315
  9,
316
316
  n0,
317
317
  _DRD,
318
318
  { [_h]: ["DELETE", "/reportDefinition/{reportId}", 200] },
319
- () => DeleteReportDefinitionRequest,
320
- () => DeleteReportDefinitionResult,
319
+ () => DeleteReportDefinitionRequest$,
320
+ () => DeleteReportDefinitionResult$,
321
321
  ];
322
- var GetReportDefinition = [
322
+ var GetReportDefinition$ = [
323
323
  9,
324
324
  n0,
325
325
  _GRD,
326
326
  { [_h]: ["GET", "/reportDefinition/{reportId}", 200] },
327
- () => GetReportDefinitionRequest,
328
- () => GetReportDefinitionResult,
327
+ () => GetReportDefinitionRequest$,
328
+ () => GetReportDefinitionResult$,
329
329
  ];
330
- var ImportApplicationUsage = [
330
+ var ImportApplicationUsage$ = [
331
331
  9,
332
332
  n0,
333
333
  _IAU,
334
334
  { [_h]: ["POST", "/importApplicationUsage", 200] },
335
- () => ImportApplicationUsageRequest,
336
- () => ImportApplicationUsageResult,
335
+ () => ImportApplicationUsageRequest$,
336
+ () => ImportApplicationUsageResult$,
337
337
  ];
338
- var ListReportDefinitions = [
338
+ var ListReportDefinitions$ = [
339
339
  9,
340
340
  n0,
341
341
  _LRD,
342
342
  { [_h]: ["GET", "/reportDefinition", 200] },
343
- () => ListReportDefinitionsRequest,
344
- () => ListReportDefinitionsResult,
343
+ () => ListReportDefinitionsRequest$,
344
+ () => ListReportDefinitionsResult$,
345
345
  ];
346
- var PutReportDefinition = [
346
+ var PutReportDefinition$ = [
347
347
  9,
348
348
  n0,
349
349
  _PRD,
350
350
  { [_h]: ["POST", "/reportDefinition", 200] },
351
- () => PutReportDefinitionRequest,
352
- () => PutReportDefinitionResult,
351
+ () => PutReportDefinitionRequest$,
352
+ () => PutReportDefinitionResult$,
353
353
  ];
354
- var UpdateReportDefinition = [
354
+ var UpdateReportDefinition$ = [
355
355
  9,
356
356
  n0,
357
357
  _URD,
358
358
  { [_h]: ["PUT", "/reportDefinition/{reportId}", 200] },
359
- () => UpdateReportDefinitionRequest,
360
- () => UpdateReportDefinitionResult,
359
+ () => UpdateReportDefinitionRequest$,
360
+ () => UpdateReportDefinitionResult$,
361
361
  ];
362
362
 
363
363
  class DeleteReportDefinitionCommand extends smithyClient.Command
@@ -368,7 +368,7 @@ class DeleteReportDefinitionCommand extends smithyClient.Command
368
368
  })
369
369
  .s("AWSApplicationCostProfiler", "DeleteReportDefinition", {})
370
370
  .n("ApplicationCostProfilerClient", "DeleteReportDefinitionCommand")
371
- .sc(DeleteReportDefinition)
371
+ .sc(DeleteReportDefinition$)
372
372
  .build() {
373
373
  }
374
374
 
@@ -380,7 +380,7 @@ class GetReportDefinitionCommand extends smithyClient.Command
380
380
  })
381
381
  .s("AWSApplicationCostProfiler", "GetReportDefinition", {})
382
382
  .n("ApplicationCostProfilerClient", "GetReportDefinitionCommand")
383
- .sc(GetReportDefinition)
383
+ .sc(GetReportDefinition$)
384
384
  .build() {
385
385
  }
386
386
 
@@ -392,7 +392,7 @@ class ImportApplicationUsageCommand extends smithyClient.Command
392
392
  })
393
393
  .s("AWSApplicationCostProfiler", "ImportApplicationUsage", {})
394
394
  .n("ApplicationCostProfilerClient", "ImportApplicationUsageCommand")
395
- .sc(ImportApplicationUsage)
395
+ .sc(ImportApplicationUsage$)
396
396
  .build() {
397
397
  }
398
398
 
@@ -404,7 +404,7 @@ class ListReportDefinitionsCommand extends smithyClient.Command
404
404
  })
405
405
  .s("AWSApplicationCostProfiler", "ListReportDefinitions", {})
406
406
  .n("ApplicationCostProfilerClient", "ListReportDefinitionsCommand")
407
- .sc(ListReportDefinitions)
407
+ .sc(ListReportDefinitions$)
408
408
  .build() {
409
409
  }
410
410
 
@@ -416,7 +416,7 @@ class PutReportDefinitionCommand extends smithyClient.Command
416
416
  })
417
417
  .s("AWSApplicationCostProfiler", "PutReportDefinition", {})
418
418
  .n("ApplicationCostProfilerClient", "PutReportDefinitionCommand")
419
- .sc(PutReportDefinition)
419
+ .sc(PutReportDefinition$)
420
420
  .build() {
421
421
  }
422
422
 
@@ -428,7 +428,7 @@ class UpdateReportDefinitionCommand extends smithyClient.Command
428
428
  })
429
429
  .s("AWSApplicationCostProfiler", "UpdateReportDefinition", {})
430
430
  .n("ApplicationCostProfilerClient", "UpdateReportDefinitionCommand")
431
- .sc(UpdateReportDefinition)
431
+ .sc(UpdateReportDefinition$)
432
432
  .build() {
433
433
  }
434
434
 
@@ -470,21 +470,48 @@ Object.defineProperty(exports, "__Client", {
470
470
  enumerable: true,
471
471
  get: function () { return smithyClient.Client; }
472
472
  });
473
- exports.AccessDeniedException = AccessDeniedException$1;
473
+ exports.AccessDeniedException = AccessDeniedException;
474
+ exports.AccessDeniedException$ = AccessDeniedException$;
474
475
  exports.ApplicationCostProfiler = ApplicationCostProfiler;
475
476
  exports.ApplicationCostProfilerClient = ApplicationCostProfilerClient;
476
- exports.ApplicationCostProfilerServiceException = ApplicationCostProfilerServiceException$1;
477
+ exports.ApplicationCostProfilerServiceException = ApplicationCostProfilerServiceException;
478
+ exports.ApplicationCostProfilerServiceException$ = ApplicationCostProfilerServiceException$;
479
+ exports.DeleteReportDefinition$ = DeleteReportDefinition$;
477
480
  exports.DeleteReportDefinitionCommand = DeleteReportDefinitionCommand;
481
+ exports.DeleteReportDefinitionRequest$ = DeleteReportDefinitionRequest$;
482
+ exports.DeleteReportDefinitionResult$ = DeleteReportDefinitionResult$;
478
483
  exports.Format = Format;
484
+ exports.GetReportDefinition$ = GetReportDefinition$;
479
485
  exports.GetReportDefinitionCommand = GetReportDefinitionCommand;
486
+ exports.GetReportDefinitionRequest$ = GetReportDefinitionRequest$;
487
+ exports.GetReportDefinitionResult$ = GetReportDefinitionResult$;
488
+ exports.ImportApplicationUsage$ = ImportApplicationUsage$;
480
489
  exports.ImportApplicationUsageCommand = ImportApplicationUsageCommand;
481
- exports.InternalServerException = InternalServerException$1;
490
+ exports.ImportApplicationUsageRequest$ = ImportApplicationUsageRequest$;
491
+ exports.ImportApplicationUsageResult$ = ImportApplicationUsageResult$;
492
+ exports.InternalServerException = InternalServerException;
493
+ exports.InternalServerException$ = InternalServerException$;
494
+ exports.ListReportDefinitions$ = ListReportDefinitions$;
482
495
  exports.ListReportDefinitionsCommand = ListReportDefinitionsCommand;
496
+ exports.ListReportDefinitionsRequest$ = ListReportDefinitionsRequest$;
497
+ exports.ListReportDefinitionsResult$ = ListReportDefinitionsResult$;
498
+ exports.PutReportDefinition$ = PutReportDefinition$;
483
499
  exports.PutReportDefinitionCommand = PutReportDefinitionCommand;
500
+ exports.PutReportDefinitionRequest$ = PutReportDefinitionRequest$;
501
+ exports.PutReportDefinitionResult$ = PutReportDefinitionResult$;
502
+ exports.ReportDefinition$ = ReportDefinition$;
484
503
  exports.ReportFrequency = ReportFrequency;
485
504
  exports.S3BucketRegion = S3BucketRegion;
486
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
487
- exports.ThrottlingException = ThrottlingException$1;
505
+ exports.S3Location$ = S3Location$;
506
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
507
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
508
+ exports.SourceS3Location$ = SourceS3Location$;
509
+ exports.ThrottlingException = ThrottlingException;
510
+ exports.ThrottlingException$ = ThrottlingException$;
511
+ exports.UpdateReportDefinition$ = UpdateReportDefinition$;
488
512
  exports.UpdateReportDefinitionCommand = UpdateReportDefinitionCommand;
489
- exports.ValidationException = ValidationException$1;
513
+ exports.UpdateReportDefinitionRequest$ = UpdateReportDefinitionRequest$;
514
+ exports.UpdateReportDefinitionResult$ = UpdateReportDefinitionResult$;
515
+ exports.ValidationException = ValidationException;
516
+ exports.ValidationException$ = ValidationException$;
490
517
  exports.paginateListReportDefinitions = paginateListReportDefinitions;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.applicationcostprofiler" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.applicationcostprofiler",
32
+ version: "2020-09-10",
33
+ serviceTarget: "AWSApplicationCostProfiler",
34
+ },
30
35
  serviceId: config?.serviceId ?? "ApplicationCostProfiler",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteReportDefinition } from "../schemas/schemas_0";
4
+ import { DeleteReportDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteReportDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteReportDefinitionCommand extends $Command
11
11
  })
12
12
  .s("AWSApplicationCostProfiler", "DeleteReportDefinition", {})
13
13
  .n("ApplicationCostProfilerClient", "DeleteReportDefinitionCommand")
14
- .sc(DeleteReportDefinition)
14
+ .sc(DeleteReportDefinition$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetReportDefinition } from "../schemas/schemas_0";
4
+ import { GetReportDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetReportDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetReportDefinitionCommand extends $Command
11
11
  })
12
12
  .s("AWSApplicationCostProfiler", "GetReportDefinition", {})
13
13
  .n("ApplicationCostProfilerClient", "GetReportDefinitionCommand")
14
- .sc(GetReportDefinition)
14
+ .sc(GetReportDefinition$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ImportApplicationUsage } from "../schemas/schemas_0";
4
+ import { ImportApplicationUsage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ImportApplicationUsageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ImportApplicationUsageCommand extends $Command
11
11
  })
12
12
  .s("AWSApplicationCostProfiler", "ImportApplicationUsage", {})
13
13
  .n("ApplicationCostProfilerClient", "ImportApplicationUsageCommand")
14
- .sc(ImportApplicationUsage)
14
+ .sc(ImportApplicationUsage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListReportDefinitions } from "../schemas/schemas_0";
4
+ import { ListReportDefinitions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListReportDefinitionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListReportDefinitionsCommand extends $Command
11
11
  })
12
12
  .s("AWSApplicationCostProfiler", "ListReportDefinitions", {})
13
13
  .n("ApplicationCostProfilerClient", "ListReportDefinitionsCommand")
14
- .sc(ListReportDefinitions)
14
+ .sc(ListReportDefinitions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutReportDefinition } from "../schemas/schemas_0";
4
+ import { PutReportDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutReportDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutReportDefinitionCommand extends $Command
11
11
  })
12
12
  .s("AWSApplicationCostProfiler", "PutReportDefinition", {})
13
13
  .n("ApplicationCostProfilerClient", "PutReportDefinitionCommand")
14
- .sc(PutReportDefinition)
14
+ .sc(PutReportDefinition$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateReportDefinition } from "../schemas/schemas_0";
4
+ import { UpdateReportDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateReportDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateReportDefinitionCommand extends $Command
11
11
  })
12
12
  .s("AWSApplicationCostProfiler", "UpdateReportDefinition", {})
13
13
  .n("ApplicationCostProfilerClient", "UpdateReportDefinitionCommand")
14
- .sc(UpdateReportDefinition)
14
+ .sc(UpdateReportDefinition$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ApplicationCostProfilerClient";
2
2
  export * from "./ApplicationCostProfiler";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.applicationcostprofiler" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.applicationcostprofiler",
29
+ version: "2020-09-10",
30
+ serviceTarget: "AWSApplicationCostProfiler",
31
+ },
27
32
  serviceId: config?.serviceId ?? "ApplicationCostProfiler",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -52,26 +52,26 @@ const _sSL = "sourceS3Location";
52
52
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.applicationcostprofiler";
53
53
  const n0 = "com.amazonaws.applicationcostprofiler";
54
54
  import { TypeRegistry } from "@smithy/core/schema";
55
- import { ApplicationCostProfilerServiceException as __ApplicationCostProfilerServiceException } from "../models/ApplicationCostProfilerServiceException";
56
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
57
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
58
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
59
- export var DeleteReportDefinitionRequest = [3, n0, _DRDR, 0, [_rI], [[0, 1]]];
60
- export var DeleteReportDefinitionResult = [3, n0, _DRDRe, 0, [_rI], [0]];
61
- export var GetReportDefinitionRequest = [3, n0, _GRDR, 0, [_rI], [[0, 1]]];
62
- export var GetReportDefinitionResult = [
55
+ import { ApplicationCostProfilerServiceException } from "../models/ApplicationCostProfilerServiceException";
56
+ import { AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
57
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
58
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
59
+ export var DeleteReportDefinitionRequest$ = [3, n0, _DRDR, 0, [_rI], [[0, 1]]];
60
+ export var DeleteReportDefinitionResult$ = [3, n0, _DRDRe, 0, [_rI], [0]];
61
+ export var GetReportDefinitionRequest$ = [3, n0, _GRDR, 0, [_rI], [[0, 1]]];
62
+ export var GetReportDefinitionResult$ = [
63
63
  3,
64
64
  n0,
65
65
  _GRDRe,
66
66
  0,
67
67
  [_rI, _rD, _rF, _f, _dSL, _cA, _lU],
68
- [0, 0, 0, 0, () => S3Location, 4, 4],
68
+ [0, 0, 0, 0, () => S3Location$, 4, 4],
69
69
  ];
70
- export var ImportApplicationUsageRequest = [3, n0, _IAUR, 0, [_sSL], [() => SourceS3Location]];
71
- export var ImportApplicationUsageResult = [3, n0, _IAURm, 0, [_iI], [0]];
72
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
73
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
74
- export var ListReportDefinitionsRequest = [
70
+ export var ImportApplicationUsageRequest$ = [3, n0, _IAUR, 0, [_sSL], [() => SourceS3Location$]];
71
+ export var ImportApplicationUsageResult$ = [3, n0, _IAURm, 0, [_iI], [0]];
72
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
73
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
74
+ export var ListReportDefinitionsRequest$ = [
75
75
  3,
76
76
  n0,
77
77
  _LRDR,
@@ -82,7 +82,7 @@ export var ListReportDefinitionsRequest = [
82
82
  [1, { [_hQ]: _mR }],
83
83
  ],
84
84
  ];
85
- export var ListReportDefinitionsResult = [
85
+ export var ListReportDefinitionsResult$ = [
86
86
  3,
87
87
  n0,
88
88
  _LRDRi,
@@ -90,41 +90,41 @@ export var ListReportDefinitionsResult = [
90
90
  [_rDe, _nT],
91
91
  [() => ReportDefinitionList, 0],
92
92
  ];
93
- export var PutReportDefinitionRequest = [
93
+ export var PutReportDefinitionRequest$ = [
94
94
  3,
95
95
  n0,
96
96
  _PRDR,
97
97
  0,
98
98
  [_rI, _rD, _rF, _f, _dSL],
99
- [0, 0, 0, 0, () => S3Location],
99
+ [0, 0, 0, 0, () => S3Location$],
100
100
  ];
101
- export var PutReportDefinitionResult = [3, n0, _PRDRu, 0, [_rI], [0]];
102
- export var ReportDefinition = [
101
+ export var PutReportDefinitionResult$ = [3, n0, _PRDRu, 0, [_rI], [0]];
102
+ export var ReportDefinition$ = [
103
103
  3,
104
104
  n0,
105
105
  _RD,
106
106
  0,
107
107
  [_rI, _rD, _rF, _f, _dSL, _cA, _lUA],
108
- [0, 0, 0, 0, () => S3Location, 4, 4],
108
+ [0, 0, 0, 0, () => S3Location$, 4, 4],
109
109
  ];
110
- export var S3Location = [3, n0, _SL, 0, [_b, _p], [0, 0]];
111
- export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
112
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
113
- export var SourceS3Location = [3, n0, _SSL, 0, [_b, _k, _r], [0, 0, 0]];
114
- export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
115
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
116
- export var UpdateReportDefinitionRequest = [
110
+ export var S3Location$ = [3, n0, _SL, 0, [_b, _p], [0, 0]];
111
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
112
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
113
+ export var SourceS3Location$ = [3, n0, _SSL, 0, [_b, _k, _r], [0, 0, 0]];
114
+ export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
115
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
116
+ export var UpdateReportDefinitionRequest$ = [
117
117
  3,
118
118
  n0,
119
119
  _URDR,
120
120
  0,
121
121
  [_rI, _rD, _rF, _f, _dSL],
122
- [[0, 1], 0, 0, 0, () => S3Location],
122
+ [[0, 1], 0, 0, 0, () => S3Location$],
123
123
  ];
124
- export var UpdateReportDefinitionResult = [3, n0, _URDRp, 0, [_rI], [0]];
125
- export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
126
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
127
- export var ApplicationCostProfilerServiceException = [
124
+ export var UpdateReportDefinitionResult$ = [3, n0, _URDRp, 0, [_rI], [0]];
125
+ export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
126
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
127
+ export var ApplicationCostProfilerServiceException$ = [
128
128
  -3,
129
129
  _sm,
130
130
  "ApplicationCostProfilerServiceException",
@@ -132,53 +132,53 @@ export var ApplicationCostProfilerServiceException = [
132
132
  [],
133
133
  [],
134
134
  ];
135
- TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException, __ApplicationCostProfilerServiceException);
136
- export var ReportDefinitionList = [1, n0, _RDL, 0, () => ReportDefinition];
137
- export var DeleteReportDefinition = [
135
+ TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException$, ApplicationCostProfilerServiceException);
136
+ var ReportDefinitionList = [1, n0, _RDL, 0, () => ReportDefinition$];
137
+ export var DeleteReportDefinition$ = [
138
138
  9,
139
139
  n0,
140
140
  _DRD,
141
141
  { [_h]: ["DELETE", "/reportDefinition/{reportId}", 200] },
142
- () => DeleteReportDefinitionRequest,
143
- () => DeleteReportDefinitionResult,
142
+ () => DeleteReportDefinitionRequest$,
143
+ () => DeleteReportDefinitionResult$,
144
144
  ];
145
- export var GetReportDefinition = [
145
+ export var GetReportDefinition$ = [
146
146
  9,
147
147
  n0,
148
148
  _GRD,
149
149
  { [_h]: ["GET", "/reportDefinition/{reportId}", 200] },
150
- () => GetReportDefinitionRequest,
151
- () => GetReportDefinitionResult,
150
+ () => GetReportDefinitionRequest$,
151
+ () => GetReportDefinitionResult$,
152
152
  ];
153
- export var ImportApplicationUsage = [
153
+ export var ImportApplicationUsage$ = [
154
154
  9,
155
155
  n0,
156
156
  _IAU,
157
157
  { [_h]: ["POST", "/importApplicationUsage", 200] },
158
- () => ImportApplicationUsageRequest,
159
- () => ImportApplicationUsageResult,
158
+ () => ImportApplicationUsageRequest$,
159
+ () => ImportApplicationUsageResult$,
160
160
  ];
161
- export var ListReportDefinitions = [
161
+ export var ListReportDefinitions$ = [
162
162
  9,
163
163
  n0,
164
164
  _LRD,
165
165
  { [_h]: ["GET", "/reportDefinition", 200] },
166
- () => ListReportDefinitionsRequest,
167
- () => ListReportDefinitionsResult,
166
+ () => ListReportDefinitionsRequest$,
167
+ () => ListReportDefinitionsResult$,
168
168
  ];
169
- export var PutReportDefinition = [
169
+ export var PutReportDefinition$ = [
170
170
  9,
171
171
  n0,
172
172
  _PRD,
173
173
  { [_h]: ["POST", "/reportDefinition", 200] },
174
- () => PutReportDefinitionRequest,
175
- () => PutReportDefinitionResult,
174
+ () => PutReportDefinitionRequest$,
175
+ () => PutReportDefinitionResult$,
176
176
  ];
177
- export var UpdateReportDefinition = [
177
+ export var UpdateReportDefinition$ = [
178
178
  9,
179
179
  n0,
180
180
  _URD,
181
181
  { [_h]: ["PUT", "/reportDefinition/{reportId}", 200] },
182
- () => UpdateReportDefinitionRequest,
183
- () => UpdateReportDefinitionResult,
182
+ () => UpdateReportDefinitionRequest$,
183
+ () => UpdateReportDefinitionResult$,
184
184
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
11
11
  import { GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput } from "./commands/GetReportDefinitionCommand";
@@ -147,15 +147,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
147
147
  * Optional extensions
148
148
  */
149
149
  extensions?: RuntimeExtension[];
150
- /**
151
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
152
- * may be overridden. A default will always be set by the client.
153
- * Available options depend on the service's supported protocols and will not be validated by
154
- * the client.
155
- * @alpha
156
- *
157
- */
158
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
159
150
  /**
160
151
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
161
152
  */
@@ -14,6 +14,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
14
  export type { RuntimeExtension } from "./runtimeExtensions";
15
15
  export type { ApplicationCostProfilerExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
17
+ export * from "./schemas/schemas_0";
17
18
  export * from "./pagination";
18
19
  export * from "./models/enums";
19
20
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { ApplicationCostProfilerClientConfig } from "./ApplicationCostProfilerClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationCostProfilerHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,29 +1,28 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var DeleteReportDefinitionRequest: StaticStructureSchema;
4
- export declare var DeleteReportDefinitionResult: StaticStructureSchema;
5
- export declare var GetReportDefinitionRequest: StaticStructureSchema;
6
- export declare var GetReportDefinitionResult: StaticStructureSchema;
7
- export declare var ImportApplicationUsageRequest: StaticStructureSchema;
8
- export declare var ImportApplicationUsageResult: StaticStructureSchema;
9
- export declare var InternalServerException: StaticErrorSchema;
10
- export declare var ListReportDefinitionsRequest: StaticStructureSchema;
11
- export declare var ListReportDefinitionsResult: StaticStructureSchema;
12
- export declare var PutReportDefinitionRequest: StaticStructureSchema;
13
- export declare var PutReportDefinitionResult: StaticStructureSchema;
14
- export declare var ReportDefinition: StaticStructureSchema;
15
- export declare var S3Location: StaticStructureSchema;
16
- export declare var ServiceQuotaExceededException: StaticErrorSchema;
17
- export declare var SourceS3Location: StaticStructureSchema;
18
- export declare var ThrottlingException: StaticErrorSchema;
19
- export declare var UpdateReportDefinitionRequest: StaticStructureSchema;
20
- export declare var UpdateReportDefinitionResult: StaticStructureSchema;
21
- export declare var ValidationException: StaticErrorSchema;
22
- export declare var ApplicationCostProfilerServiceException: StaticErrorSchema;
23
- export declare var ReportDefinitionList: StaticListSchema;
24
- export declare var DeleteReportDefinition: StaticOperationSchema;
25
- export declare var GetReportDefinition: StaticOperationSchema;
26
- export declare var ImportApplicationUsage: StaticOperationSchema;
27
- export declare var ListReportDefinitions: StaticOperationSchema;
28
- export declare var PutReportDefinition: StaticOperationSchema;
29
- export declare var UpdateReportDefinition: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var DeleteReportDefinitionRequest$: StaticStructureSchema;
4
+ export declare var DeleteReportDefinitionResult$: StaticStructureSchema;
5
+ export declare var GetReportDefinitionRequest$: StaticStructureSchema;
6
+ export declare var GetReportDefinitionResult$: StaticStructureSchema;
7
+ export declare var ImportApplicationUsageRequest$: StaticStructureSchema;
8
+ export declare var ImportApplicationUsageResult$: StaticStructureSchema;
9
+ export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var ListReportDefinitionsRequest$: StaticStructureSchema;
11
+ export declare var ListReportDefinitionsResult$: StaticStructureSchema;
12
+ export declare var PutReportDefinitionRequest$: StaticStructureSchema;
13
+ export declare var PutReportDefinitionResult$: StaticStructureSchema;
14
+ export declare var ReportDefinition$: StaticStructureSchema;
15
+ export declare var S3Location$: StaticStructureSchema;
16
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
17
+ export declare var SourceS3Location$: StaticStructureSchema;
18
+ export declare var ThrottlingException$: StaticErrorSchema;
19
+ export declare var UpdateReportDefinitionRequest$: StaticStructureSchema;
20
+ export declare var UpdateReportDefinitionResult$: StaticStructureSchema;
21
+ export declare var ValidationException$: StaticErrorSchema;
22
+ export declare var ApplicationCostProfilerServiceException$: StaticErrorSchema;
23
+ export declare var DeleteReportDefinition$: StaticOperationSchema;
24
+ export declare var GetReportDefinition$: StaticOperationSchema;
25
+ export declare var ImportApplicationUsage$: StaticOperationSchema;
26
+ export declare var ListReportDefinitions$: StaticOperationSchema;
27
+ export declare var PutReportDefinition$: StaticOperationSchema;
28
+ export declare var UpdateReportDefinition$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -117,7 +114,6 @@ export interface ClientDefaults
117
114
  retryMode?: string | __Provider<string>;
118
115
  logger?: __Logger;
119
116
  extensions?: RuntimeExtension[];
120
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
121
117
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
122
118
  }
123
119
  export type ApplicationCostProfilerClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ApplicationCostProfilerExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  userAgentAppId?:
49
53
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { ApplicationCostProfilerClientConfig } from "./ApplicationCostProfilerClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: ApplicationCostProfilerClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationCostProfilerHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  serviceId: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,34 +1,32 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var AccessDeniedException: StaticErrorSchema;
8
- export declare var DeleteReportDefinitionRequest: StaticStructureSchema;
9
- export declare var DeleteReportDefinitionResult: StaticStructureSchema;
10
- export declare var GetReportDefinitionRequest: StaticStructureSchema;
11
- export declare var GetReportDefinitionResult: StaticStructureSchema;
12
- export declare var ImportApplicationUsageRequest: StaticStructureSchema;
13
- export declare var ImportApplicationUsageResult: StaticStructureSchema;
14
- export declare var InternalServerException: StaticErrorSchema;
15
- export declare var ListReportDefinitionsRequest: StaticStructureSchema;
16
- export declare var ListReportDefinitionsResult: StaticStructureSchema;
17
- export declare var PutReportDefinitionRequest: StaticStructureSchema;
18
- export declare var PutReportDefinitionResult: StaticStructureSchema;
19
- export declare var ReportDefinition: StaticStructureSchema;
20
- export declare var S3Location: StaticStructureSchema;
21
- export declare var ServiceQuotaExceededException: StaticErrorSchema;
22
- export declare var SourceS3Location: StaticStructureSchema;
23
- export declare var ThrottlingException: StaticErrorSchema;
24
- export declare var UpdateReportDefinitionRequest: StaticStructureSchema;
25
- export declare var UpdateReportDefinitionResult: StaticStructureSchema;
26
- export declare var ValidationException: StaticErrorSchema;
27
- export declare var ApplicationCostProfilerServiceException: StaticErrorSchema;
28
- export declare var ReportDefinitionList: StaticListSchema;
29
- export declare var DeleteReportDefinition: StaticOperationSchema;
30
- export declare var GetReportDefinition: StaticOperationSchema;
31
- export declare var ImportApplicationUsage: StaticOperationSchema;
32
- export declare var ListReportDefinitions: StaticOperationSchema;
33
- export declare var PutReportDefinition: StaticOperationSchema;
34
- export declare var UpdateReportDefinition: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var DeleteReportDefinitionRequest$: StaticStructureSchema;
8
+ export declare var DeleteReportDefinitionResult$: StaticStructureSchema;
9
+ export declare var GetReportDefinitionRequest$: StaticStructureSchema;
10
+ export declare var GetReportDefinitionResult$: StaticStructureSchema;
11
+ export declare var ImportApplicationUsageRequest$: StaticStructureSchema;
12
+ export declare var ImportApplicationUsageResult$: StaticStructureSchema;
13
+ export declare var InternalServerException$: StaticErrorSchema;
14
+ export declare var ListReportDefinitionsRequest$: StaticStructureSchema;
15
+ export declare var ListReportDefinitionsResult$: StaticStructureSchema;
16
+ export declare var PutReportDefinitionRequest$: StaticStructureSchema;
17
+ export declare var PutReportDefinitionResult$: StaticStructureSchema;
18
+ export declare var ReportDefinition$: StaticStructureSchema;
19
+ export declare var S3Location$: StaticStructureSchema;
20
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
21
+ export declare var SourceS3Location$: StaticStructureSchema;
22
+ export declare var ThrottlingException$: StaticErrorSchema;
23
+ export declare var UpdateReportDefinitionRequest$: StaticStructureSchema;
24
+ export declare var UpdateReportDefinitionResult$: StaticStructureSchema;
25
+ export declare var ValidationException$: StaticErrorSchema;
26
+ export declare var ApplicationCostProfilerServiceException$: StaticErrorSchema;
27
+ export declare var DeleteReportDefinition$: StaticOperationSchema;
28
+ export declare var GetReportDefinition$: StaticOperationSchema;
29
+ export declare var ImportApplicationUsage$: StaticOperationSchema;
30
+ export declare var ListReportDefinitions$: StaticOperationSchema;
31
+ export declare var PutReportDefinition$: StaticOperationSchema;
32
+ export declare var UpdateReportDefinition$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.952.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-applicationcostprofiler",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
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.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
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.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },