@aws-sdk/client-applicationcostprofiler 3.54.1 → 3.58.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-applicationcostprofiler
9
+
10
+
11
+
12
+
13
+
14
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-applicationcostprofiler
17
+
18
+
19
+
20
+
21
+
22
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-applicationcostprofiler
25
+
26
+
27
+
28
+
29
+
6
30
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-applicationcostprofiler
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class ApplicationCostProfilerClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class DeleteReportDefinitionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ApplicationCostProfilerClient";
@@ -27,10 +27,10 @@ class DeleteReportDefinitionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteReportDefinitionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteReportDefinitionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteReportDefinitionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteReportDefinitionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteReportDefinitionCommand = DeleteReportDefinitionCommand;
@@ -11,7 +11,7 @@ class GetReportDefinitionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ApplicationCostProfilerClient";
@@ -27,10 +27,10 @@ class GetReportDefinitionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetReportDefinitionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetReportDefinitionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetReportDefinitionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetReportDefinitionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetReportDefinitionCommand = GetReportDefinitionCommand;
@@ -11,7 +11,7 @@ class ImportApplicationUsageCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ApplicationCostProfilerClient";
@@ -27,10 +27,10 @@ class ImportApplicationUsageCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ImportApplicationUsageCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ImportApplicationUsageCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ImportApplicationUsageCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ImportApplicationUsageCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ImportApplicationUsageCommand = ImportApplicationUsageCommand;
@@ -11,7 +11,7 @@ class ListReportDefinitionsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ApplicationCostProfilerClient";
@@ -27,10 +27,10 @@ class ListReportDefinitionsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListReportDefinitionsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListReportDefinitionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListReportDefinitionsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListReportDefinitionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListReportDefinitionsCommand = ListReportDefinitionsCommand;
@@ -11,7 +11,7 @@ class PutReportDefinitionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ApplicationCostProfilerClient";
@@ -27,10 +27,10 @@ class PutReportDefinitionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1PutReportDefinitionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutReportDefinitionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1PutReportDefinitionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutReportDefinitionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutReportDefinitionCommand = PutReportDefinitionCommand;
@@ -11,7 +11,7 @@ class UpdateReportDefinitionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ApplicationCostProfilerClient";
@@ -27,10 +27,10 @@ class UpdateReportDefinitionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateReportDefinitionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateReportDefinitionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateReportDefinitionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateReportDefinitionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateReportDefinitionCommand = UpdateReportDefinitionCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "application-cost-profiler",
128
128
  regionHash,
@@ -14,7 +14,7 @@ const serializeAws_restJson1DeleteReportDefinitionCommand = async (input, contex
14
14
  if (labelValue.length <= 0) {
15
15
  throw new Error("Empty value provided for input HTTP label: reportId.");
16
16
  }
17
- resolvedPath = resolvedPath.replace("{reportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
17
+ resolvedPath = resolvedPath.replace("{reportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
18
18
  }
19
19
  else {
20
20
  throw new Error("No value provided for input HTTP label: reportId.");
@@ -40,7 +40,7 @@ const serializeAws_restJson1GetReportDefinitionCommand = async (input, context)
40
40
  if (labelValue.length <= 0) {
41
41
  throw new Error("Empty value provided for input HTTP label: reportId.");
42
42
  }
43
- resolvedPath = resolvedPath.replace("{reportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
43
+ resolvedPath = resolvedPath.replace("{reportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
44
44
  }
45
45
  else {
46
46
  throw new Error("No value provided for input HTTP label: reportId.");
@@ -143,7 +143,7 @@ const serializeAws_restJson1UpdateReportDefinitionCommand = async (input, contex
143
143
  if (labelValue.length <= 0) {
144
144
  throw new Error("Empty value provided for input HTTP label: reportId.");
145
145
  }
146
- resolvedPath = resolvedPath.replace("{reportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
146
+ resolvedPath = resolvedPath.replace("{reportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
147
147
  }
148
148
  else {
149
149
  throw new Error("No value provided for input HTTP label: reportId.");
@@ -179,9 +179,9 @@ const deserializeAws_restJson1DeleteReportDefinitionCommand = async (output, con
179
179
  $metadata: deserializeMetadata(output),
180
180
  reportId: undefined,
181
181
  };
182
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
182
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
183
183
  if (data.reportId !== undefined && data.reportId !== null) {
184
- contents.reportId = smithy_client_1.expectString(data.reportId);
184
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
185
185
  }
186
186
  return Promise.resolve(contents);
187
187
  };
@@ -214,7 +214,7 @@ const deserializeAws_restJson1DeleteReportDefinitionCommandError = async (output
214
214
  $fault: "client",
215
215
  $metadata: deserializeMetadata(output),
216
216
  });
217
- throw smithy_client_1.decorateServiceException(response, parsedBody);
217
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
218
218
  }
219
219
  };
220
220
  const deserializeAws_restJson1GetReportDefinitionCommand = async (output, context) => {
@@ -231,27 +231,27 @@ const deserializeAws_restJson1GetReportDefinitionCommand = async (output, contex
231
231
  reportFrequency: undefined,
232
232
  reportId: undefined,
233
233
  };
234
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
234
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
235
235
  if (data.createdAt !== undefined && data.createdAt !== null) {
236
- contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
236
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
237
237
  }
238
238
  if (data.destinationS3Location !== undefined && data.destinationS3Location !== null) {
239
239
  contents.destinationS3Location = deserializeAws_restJson1S3Location(data.destinationS3Location, context);
240
240
  }
241
241
  if (data.format !== undefined && data.format !== null) {
242
- contents.format = smithy_client_1.expectString(data.format);
242
+ contents.format = (0, smithy_client_1.expectString)(data.format);
243
243
  }
244
244
  if (data.lastUpdated !== undefined && data.lastUpdated !== null) {
245
- contents.lastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdated)));
245
+ contents.lastUpdated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdated)));
246
246
  }
247
247
  if (data.reportDescription !== undefined && data.reportDescription !== null) {
248
- contents.reportDescription = smithy_client_1.expectString(data.reportDescription);
248
+ contents.reportDescription = (0, smithy_client_1.expectString)(data.reportDescription);
249
249
  }
250
250
  if (data.reportFrequency !== undefined && data.reportFrequency !== null) {
251
- contents.reportFrequency = smithy_client_1.expectString(data.reportFrequency);
251
+ contents.reportFrequency = (0, smithy_client_1.expectString)(data.reportFrequency);
252
252
  }
253
253
  if (data.reportId !== undefined && data.reportId !== null) {
254
- contents.reportId = smithy_client_1.expectString(data.reportId);
254
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
255
255
  }
256
256
  return Promise.resolve(contents);
257
257
  };
@@ -284,7 +284,7 @@ const deserializeAws_restJson1GetReportDefinitionCommandError = async (output, c
284
284
  $fault: "client",
285
285
  $metadata: deserializeMetadata(output),
286
286
  });
287
- throw smithy_client_1.decorateServiceException(response, parsedBody);
287
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
288
288
  }
289
289
  };
290
290
  const deserializeAws_restJson1ImportApplicationUsageCommand = async (output, context) => {
@@ -295,9 +295,9 @@ const deserializeAws_restJson1ImportApplicationUsageCommand = async (output, con
295
295
  $metadata: deserializeMetadata(output),
296
296
  importId: undefined,
297
297
  };
298
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
298
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
299
299
  if (data.importId !== undefined && data.importId !== null) {
300
- contents.importId = smithy_client_1.expectString(data.importId);
300
+ contents.importId = (0, smithy_client_1.expectString)(data.importId);
301
301
  }
302
302
  return Promise.resolve(contents);
303
303
  };
@@ -330,7 +330,7 @@ const deserializeAws_restJson1ImportApplicationUsageCommandError = async (output
330
330
  $fault: "client",
331
331
  $metadata: deserializeMetadata(output),
332
332
  });
333
- throw smithy_client_1.decorateServiceException(response, parsedBody);
333
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
334
334
  }
335
335
  };
336
336
  const deserializeAws_restJson1ListReportDefinitionsCommand = async (output, context) => {
@@ -342,9 +342,9 @@ const deserializeAws_restJson1ListReportDefinitionsCommand = async (output, cont
342
342
  nextToken: undefined,
343
343
  reportDefinitions: undefined,
344
344
  };
345
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
345
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
346
346
  if (data.nextToken !== undefined && data.nextToken !== null) {
347
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
347
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
348
348
  }
349
349
  if (data.reportDefinitions !== undefined && data.reportDefinitions !== null) {
350
350
  contents.reportDefinitions = deserializeAws_restJson1ReportDefinitionList(data.reportDefinitions, context);
@@ -380,7 +380,7 @@ const deserializeAws_restJson1ListReportDefinitionsCommandError = async (output,
380
380
  $fault: "client",
381
381
  $metadata: deserializeMetadata(output),
382
382
  });
383
- throw smithy_client_1.decorateServiceException(response, parsedBody);
383
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
384
384
  }
385
385
  };
386
386
  const deserializeAws_restJson1PutReportDefinitionCommand = async (output, context) => {
@@ -391,9 +391,9 @@ const deserializeAws_restJson1PutReportDefinitionCommand = async (output, contex
391
391
  $metadata: deserializeMetadata(output),
392
392
  reportId: undefined,
393
393
  };
394
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
394
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
395
395
  if (data.reportId !== undefined && data.reportId !== null) {
396
- contents.reportId = smithy_client_1.expectString(data.reportId);
396
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
397
397
  }
398
398
  return Promise.resolve(contents);
399
399
  };
@@ -429,7 +429,7 @@ const deserializeAws_restJson1PutReportDefinitionCommandError = async (output, c
429
429
  $fault: "client",
430
430
  $metadata: deserializeMetadata(output),
431
431
  });
432
- throw smithy_client_1.decorateServiceException(response, parsedBody);
432
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
433
433
  }
434
434
  };
435
435
  const deserializeAws_restJson1UpdateReportDefinitionCommand = async (output, context) => {
@@ -440,9 +440,9 @@ const deserializeAws_restJson1UpdateReportDefinitionCommand = async (output, con
440
440
  $metadata: deserializeMetadata(output),
441
441
  reportId: undefined,
442
442
  };
443
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
443
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
444
444
  if (data.reportId !== undefined && data.reportId !== null) {
445
- contents.reportId = smithy_client_1.expectString(data.reportId);
445
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
446
446
  }
447
447
  return Promise.resolve(contents);
448
448
  };
@@ -475,68 +475,68 @@ const deserializeAws_restJson1UpdateReportDefinitionCommandError = async (output
475
475
  $fault: "client",
476
476
  $metadata: deserializeMetadata(output),
477
477
  });
478
- throw smithy_client_1.decorateServiceException(response, parsedBody);
478
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
479
479
  }
480
480
  };
481
481
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
482
482
  const contents = {};
483
483
  const data = parsedOutput.body;
484
484
  if (data.message !== undefined && data.message !== null) {
485
- contents.message = smithy_client_1.expectString(data.message);
485
+ contents.message = (0, smithy_client_1.expectString)(data.message);
486
486
  }
487
487
  const exception = new models_0_1.AccessDeniedException({
488
488
  $metadata: deserializeMetadata(parsedOutput),
489
489
  ...contents,
490
490
  });
491
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
491
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
492
492
  };
493
493
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
494
494
  const contents = {};
495
495
  const data = parsedOutput.body;
496
496
  if (data.message !== undefined && data.message !== null) {
497
- contents.message = smithy_client_1.expectString(data.message);
497
+ contents.message = (0, smithy_client_1.expectString)(data.message);
498
498
  }
499
499
  const exception = new models_0_1.InternalServerException({
500
500
  $metadata: deserializeMetadata(parsedOutput),
501
501
  ...contents,
502
502
  });
503
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
503
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
504
504
  };
505
505
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
506
506
  const contents = {};
507
507
  const data = parsedOutput.body;
508
508
  if (data.message !== undefined && data.message !== null) {
509
- contents.message = smithy_client_1.expectString(data.message);
509
+ contents.message = (0, smithy_client_1.expectString)(data.message);
510
510
  }
511
511
  const exception = new models_0_1.ServiceQuotaExceededException({
512
512
  $metadata: deserializeMetadata(parsedOutput),
513
513
  ...contents,
514
514
  });
515
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
515
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
516
516
  };
517
517
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
518
518
  const contents = {};
519
519
  const data = parsedOutput.body;
520
520
  if (data.message !== undefined && data.message !== null) {
521
- contents.message = smithy_client_1.expectString(data.message);
521
+ contents.message = (0, smithy_client_1.expectString)(data.message);
522
522
  }
523
523
  const exception = new models_0_1.ThrottlingException({
524
524
  $metadata: deserializeMetadata(parsedOutput),
525
525
  ...contents,
526
526
  });
527
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
527
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
528
528
  };
529
529
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
530
530
  const contents = {};
531
531
  const data = parsedOutput.body;
532
532
  if (data.message !== undefined && data.message !== null) {
533
- contents.message = smithy_client_1.expectString(data.message);
533
+ contents.message = (0, smithy_client_1.expectString)(data.message);
534
534
  }
535
535
  const exception = new models_0_1.ValidationException({
536
536
  $metadata: deserializeMetadata(parsedOutput),
537
537
  ...contents,
538
538
  });
539
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
539
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
540
540
  };
541
541
  const serializeAws_restJson1S3Location = (input, context) => {
542
542
  return {
@@ -554,18 +554,18 @@ const serializeAws_restJson1SourceS3Location = (input, context) => {
554
554
  const deserializeAws_restJson1ReportDefinition = (output, context) => {
555
555
  return {
556
556
  createdAt: output.createdAt !== undefined && output.createdAt !== null
557
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
557
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
558
558
  : undefined,
559
559
  destinationS3Location: output.destinationS3Location !== undefined && output.destinationS3Location !== null
560
560
  ? deserializeAws_restJson1S3Location(output.destinationS3Location, context)
561
561
  : undefined,
562
- format: smithy_client_1.expectString(output.format),
562
+ format: (0, smithy_client_1.expectString)(output.format),
563
563
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
564
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
564
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
565
565
  : undefined,
566
- reportDescription: smithy_client_1.expectString(output.reportDescription),
567
- reportFrequency: smithy_client_1.expectString(output.reportFrequency),
568
- reportId: smithy_client_1.expectString(output.reportId),
566
+ reportDescription: (0, smithy_client_1.expectString)(output.reportDescription),
567
+ reportFrequency: (0, smithy_client_1.expectString)(output.reportFrequency),
568
+ reportId: (0, smithy_client_1.expectString)(output.reportId),
569
569
  };
570
570
  };
571
571
  const deserializeAws_restJson1ReportDefinitionList = (output, context) => {
@@ -581,8 +581,8 @@ const deserializeAws_restJson1ReportDefinitionList = (output, context) => {
581
581
  };
582
582
  const deserializeAws_restJson1S3Location = (output, context) => {
583
583
  return {
584
- bucket: smithy_client_1.expectString(output.bucket),
585
- prefix: smithy_client_1.expectString(output.prefix),
584
+ bucket: (0, smithy_client_1.expectString)(output.bucket),
585
+ prefix: (0, smithy_client_1.expectString)(output.prefix),
586
586
  };
587
587
  };
588
588
  const deserializeMetadata = (output) => {
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
@@ -18,7 +18,7 @@ var ApplicationCostProfiler = (function (_super) {
18
18
  }
19
19
  else if (typeof cb === "function") {
20
20
  if (typeof optionsOrCb !== "object")
21
- throw new Error("Expect http options but get " + typeof optionsOrCb);
21
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
22
22
  this.send(command, optionsOrCb || {}, cb);
23
23
  }
24
24
  else {
@@ -32,7 +32,7 @@ var ApplicationCostProfiler = (function (_super) {
32
32
  }
33
33
  else if (typeof cb === "function") {
34
34
  if (typeof optionsOrCb !== "object")
35
- throw new Error("Expect http options but get " + typeof optionsOrCb);
35
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
36
36
  this.send(command, optionsOrCb || {}, cb);
37
37
  }
38
38
  else {
@@ -46,7 +46,7 @@ var ApplicationCostProfiler = (function (_super) {
46
46
  }
47
47
  else if (typeof cb === "function") {
48
48
  if (typeof optionsOrCb !== "object")
49
- throw new Error("Expect http options but get " + typeof optionsOrCb);
49
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
50
50
  this.send(command, optionsOrCb || {}, cb);
51
51
  }
52
52
  else {
@@ -60,7 +60,7 @@ var ApplicationCostProfiler = (function (_super) {
60
60
  }
61
61
  else if (typeof cb === "function") {
62
62
  if (typeof optionsOrCb !== "object")
63
- throw new Error("Expect http options but get " + typeof optionsOrCb);
63
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
64
64
  this.send(command, optionsOrCb || {}, cb);
65
65
  }
66
66
  else {
@@ -74,7 +74,7 @@ var ApplicationCostProfiler = (function (_super) {
74
74
  }
75
75
  else if (typeof cb === "function") {
76
76
  if (typeof optionsOrCb !== "object")
77
- throw new Error("Expect http options but get " + typeof optionsOrCb);
77
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
78
78
  this.send(command, optionsOrCb || {}, cb);
79
79
  }
80
80
  else {
@@ -88,7 +88,7 @@ var ApplicationCostProfiler = (function (_super) {
88
88
  }
89
89
  else if (typeof cb === "function") {
90
90
  if (typeof optionsOrCb !== "object")
91
- throw new Error("Expect http options but get " + typeof optionsOrCb);
91
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
92
92
  this.send(command, optionsOrCb || {}, cb);
93
93
  }
94
94
  else {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListReportDefinitionsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListReportDefinitionsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listReportDefinitions.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listReportDefinitions.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListReportDefinitions(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ApplicationCostProfiler)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof ApplicationCostProfilerClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -11,7 +11,7 @@ export var serializeAws_restJson1DeleteReportDefinitionCommand = function (input
11
11
  case 1:
12
12
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
13
13
  headers = {};
14
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition/{reportId}";
14
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition/{reportId}";
15
15
  if (input.reportId !== undefined) {
16
16
  labelValue = input.reportId;
17
17
  if (labelValue.length <= 0) {
@@ -42,7 +42,7 @@ export var serializeAws_restJson1GetReportDefinitionCommand = function (input, c
42
42
  case 1:
43
43
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
44
44
  headers = {};
45
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition/{reportId}";
45
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition/{reportId}";
46
46
  if (input.reportId !== undefined) {
47
47
  labelValue = input.reportId;
48
48
  if (labelValue.length <= 0) {
@@ -75,7 +75,7 @@ export var serializeAws_restJson1ImportApplicationUsageCommand = function (input
75
75
  headers = {
76
76
  "content-type": "application/json",
77
77
  };
78
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/importApplicationUsage";
78
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/importApplicationUsage";
79
79
  body = JSON.stringify(__assign({}, (input.sourceS3Location !== undefined &&
80
80
  input.sourceS3Location !== null && {
81
81
  sourceS3Location: serializeAws_restJson1SourceS3Location(input.sourceS3Location, context),
@@ -100,7 +100,7 @@ export var serializeAws_restJson1ListReportDefinitionsCommand = function (input,
100
100
  case 1:
101
101
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
102
102
  headers = {};
103
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition";
103
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition";
104
104
  query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
105
105
  return [2, new __HttpRequest({
106
106
  protocol: protocol,
@@ -125,7 +125,7 @@ export var serializeAws_restJson1PutReportDefinitionCommand = function (input, c
125
125
  headers = {
126
126
  "content-type": "application/json",
127
127
  };
128
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition";
128
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition";
129
129
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.destinationS3Location !== undefined &&
130
130
  input.destinationS3Location !== null && {
131
131
  destinationS3Location: serializeAws_restJson1S3Location(input.destinationS3Location, context),
@@ -154,7 +154,7 @@ export var serializeAws_restJson1UpdateReportDefinitionCommand = function (input
154
154
  headers = {
155
155
  "content-type": "application/json",
156
156
  };
157
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition/{reportId}";
157
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/reportDefinition/{reportId}";
158
158
  if (input.reportId !== undefined) {
159
159
  labelValue = input.reportId;
160
160
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.54.1",
4
+ "version": "3.58.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.58.0",
22
+ "@aws-sdk/config-resolver": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.58.0",
24
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.58.0",
28
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.58.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.58.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.58.0",
35
+ "@aws-sdk/node-config-provider": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.58.0",
37
+ "@aws-sdk/protocol-http": "3.58.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.58.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.58.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
48
+ "@aws-sdk/util-user-agent-node": "3.58.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.58.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"