@aws-sdk/client-applicationcostprofiler 3.716.0 → 3.723.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
@@ -139,7 +139,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
139
139
  }, "resolveRuntimeExtensions");
140
140
 
141
141
  // src/ApplicationCostProfilerClient.ts
142
- var _ApplicationCostProfilerClient = class _ApplicationCostProfilerClient extends import_smithy_client.Client {
142
+ var ApplicationCostProfilerClient = class extends import_smithy_client.Client {
143
+ static {
144
+ __name(this, "ApplicationCostProfilerClient");
145
+ }
146
+ /**
147
+ * The resolved configuration of ApplicationCostProfilerClient class. This is resolved and normalized from the {@link ApplicationCostProfilerClientConfig | constructor configuration interface}.
148
+ */
149
+ config;
143
150
  constructor(...[configuration]) {
144
151
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
145
152
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -149,7 +156,7 @@ var _ApplicationCostProfilerClient = class _ApplicationCostProfilerClient extend
149
156
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
150
157
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
151
158
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
152
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
159
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
153
160
  super(_config_8);
154
161
  this.config = _config_8;
155
162
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -177,8 +184,6 @@ var _ApplicationCostProfilerClient = class _ApplicationCostProfilerClient extend
177
184
  super.destroy();
178
185
  }
179
186
  };
180
- __name(_ApplicationCostProfilerClient, "ApplicationCostProfilerClient");
181
- var ApplicationCostProfilerClient = _ApplicationCostProfilerClient;
182
187
 
183
188
  // src/ApplicationCostProfiler.ts
184
189
 
@@ -195,7 +200,10 @@ var import_core2 = require("@aws-sdk/core");
195
200
 
196
201
  // src/models/ApplicationCostProfilerServiceException.ts
197
202
 
198
- var _ApplicationCostProfilerServiceException = class _ApplicationCostProfilerServiceException extends import_smithy_client.ServiceException {
203
+ var ApplicationCostProfilerServiceException = class _ApplicationCostProfilerServiceException extends import_smithy_client.ServiceException {
204
+ static {
205
+ __name(this, "ApplicationCostProfilerServiceException");
206
+ }
199
207
  /**
200
208
  * @internal
201
209
  */
@@ -204,11 +212,14 @@ var _ApplicationCostProfilerServiceException = class _ApplicationCostProfilerSer
204
212
  Object.setPrototypeOf(this, _ApplicationCostProfilerServiceException.prototype);
205
213
  }
206
214
  };
207
- __name(_ApplicationCostProfilerServiceException, "ApplicationCostProfilerServiceException");
208
- var ApplicationCostProfilerServiceException = _ApplicationCostProfilerServiceException;
209
215
 
210
216
  // src/models/models_0.ts
211
- var _AccessDeniedException = class _AccessDeniedException extends ApplicationCostProfilerServiceException {
217
+ var AccessDeniedException = class _AccessDeniedException extends ApplicationCostProfilerServiceException {
218
+ static {
219
+ __name(this, "AccessDeniedException");
220
+ }
221
+ name = "AccessDeniedException";
222
+ $fault = "client";
212
223
  /**
213
224
  * @internal
214
225
  */
@@ -218,14 +229,15 @@ var _AccessDeniedException = class _AccessDeniedException extends ApplicationCos
218
229
  $fault: "client",
219
230
  ...opts
220
231
  });
221
- this.name = "AccessDeniedException";
222
- this.$fault = "client";
223
232
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
224
233
  }
225
234
  };
226
- __name(_AccessDeniedException, "AccessDeniedException");
227
- var AccessDeniedException = _AccessDeniedException;
228
- var _InternalServerException = class _InternalServerException extends ApplicationCostProfilerServiceException {
235
+ var InternalServerException = class _InternalServerException extends ApplicationCostProfilerServiceException {
236
+ static {
237
+ __name(this, "InternalServerException");
238
+ }
239
+ name = "InternalServerException";
240
+ $fault = "server";
229
241
  /**
230
242
  * @internal
231
243
  */
@@ -235,14 +247,15 @@ var _InternalServerException = class _InternalServerException extends Applicatio
235
247
  $fault: "server",
236
248
  ...opts
237
249
  });
238
- this.name = "InternalServerException";
239
- this.$fault = "server";
240
250
  Object.setPrototypeOf(this, _InternalServerException.prototype);
241
251
  }
242
252
  };
243
- __name(_InternalServerException, "InternalServerException");
244
- var InternalServerException = _InternalServerException;
245
- var _ThrottlingException = class _ThrottlingException extends ApplicationCostProfilerServiceException {
253
+ var ThrottlingException = class _ThrottlingException extends ApplicationCostProfilerServiceException {
254
+ static {
255
+ __name(this, "ThrottlingException");
256
+ }
257
+ name = "ThrottlingException";
258
+ $fault = "client";
246
259
  /**
247
260
  * @internal
248
261
  */
@@ -252,14 +265,15 @@ var _ThrottlingException = class _ThrottlingException extends ApplicationCostPro
252
265
  $fault: "client",
253
266
  ...opts
254
267
  });
255
- this.name = "ThrottlingException";
256
- this.$fault = "client";
257
268
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
258
269
  }
259
270
  };
260
- __name(_ThrottlingException, "ThrottlingException");
261
- var ThrottlingException = _ThrottlingException;
262
- var _ValidationException = class _ValidationException extends ApplicationCostProfilerServiceException {
271
+ var ValidationException = class _ValidationException extends ApplicationCostProfilerServiceException {
272
+ static {
273
+ __name(this, "ValidationException");
274
+ }
275
+ name = "ValidationException";
276
+ $fault = "client";
263
277
  /**
264
278
  * @internal
265
279
  */
@@ -269,13 +283,9 @@ var _ValidationException = class _ValidationException extends ApplicationCostPro
269
283
  $fault: "client",
270
284
  ...opts
271
285
  });
272
- this.name = "ValidationException";
273
- this.$fault = "client";
274
286
  Object.setPrototypeOf(this, _ValidationException.prototype);
275
287
  }
276
288
  };
277
- __name(_ValidationException, "ValidationException");
278
- var ValidationException = _ValidationException;
279
289
  var Format = {
280
290
  CSV: "CSV",
281
291
  PARQUET: "PARQUET"
@@ -291,7 +301,12 @@ var S3BucketRegion = {
291
301
  EU_SOUTH_1: "eu-south-1",
292
302
  ME_SOUTH_1: "me-south-1"
293
303
  };
294
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ApplicationCostProfilerServiceException {
304
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ApplicationCostProfilerServiceException {
305
+ static {
306
+ __name(this, "ServiceQuotaExceededException");
307
+ }
308
+ name = "ServiceQuotaExceededException";
309
+ $fault = "client";
295
310
  /**
296
311
  * @internal
297
312
  */
@@ -301,13 +316,9 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
301
316
  $fault: "client",
302
317
  ...opts
303
318
  });
304
- this.name = "ServiceQuotaExceededException";
305
- this.$fault = "client";
306
319
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
307
320
  }
308
321
  };
309
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
310
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
311
322
 
312
323
  // src/protocols/Aws_restJson1.ts
313
324
  var se_DeleteReportDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -608,85 +619,91 @@ var _mR = "maxResults";
608
619
  var _nT = "nextToken";
609
620
 
610
621
  // src/commands/DeleteReportDefinitionCommand.ts
611
- var _DeleteReportDefinitionCommand = class _DeleteReportDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
622
+ var DeleteReportDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
612
623
  return [
613
624
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
614
625
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
615
626
  ];
616
627
  }).s("AWSApplicationCostProfiler", "DeleteReportDefinition", {}).n("ApplicationCostProfilerClient", "DeleteReportDefinitionCommand").f(void 0, void 0).ser(se_DeleteReportDefinitionCommand).de(de_DeleteReportDefinitionCommand).build() {
628
+ static {
629
+ __name(this, "DeleteReportDefinitionCommand");
630
+ }
617
631
  };
618
- __name(_DeleteReportDefinitionCommand, "DeleteReportDefinitionCommand");
619
- var DeleteReportDefinitionCommand = _DeleteReportDefinitionCommand;
620
632
 
621
633
  // src/commands/GetReportDefinitionCommand.ts
622
634
 
623
635
 
624
636
 
625
- var _GetReportDefinitionCommand = class _GetReportDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
637
+ var GetReportDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
626
638
  return [
627
639
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
628
640
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
629
641
  ];
630
642
  }).s("AWSApplicationCostProfiler", "GetReportDefinition", {}).n("ApplicationCostProfilerClient", "GetReportDefinitionCommand").f(void 0, void 0).ser(se_GetReportDefinitionCommand).de(de_GetReportDefinitionCommand).build() {
643
+ static {
644
+ __name(this, "GetReportDefinitionCommand");
645
+ }
631
646
  };
632
- __name(_GetReportDefinitionCommand, "GetReportDefinitionCommand");
633
- var GetReportDefinitionCommand = _GetReportDefinitionCommand;
634
647
 
635
648
  // src/commands/ImportApplicationUsageCommand.ts
636
649
 
637
650
 
638
651
 
639
- var _ImportApplicationUsageCommand = class _ImportApplicationUsageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
652
+ var ImportApplicationUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
640
653
  return [
641
654
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
642
655
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
643
656
  ];
644
657
  }).s("AWSApplicationCostProfiler", "ImportApplicationUsage", {}).n("ApplicationCostProfilerClient", "ImportApplicationUsageCommand").f(void 0, void 0).ser(se_ImportApplicationUsageCommand).de(de_ImportApplicationUsageCommand).build() {
658
+ static {
659
+ __name(this, "ImportApplicationUsageCommand");
660
+ }
645
661
  };
646
- __name(_ImportApplicationUsageCommand, "ImportApplicationUsageCommand");
647
- var ImportApplicationUsageCommand = _ImportApplicationUsageCommand;
648
662
 
649
663
  // src/commands/ListReportDefinitionsCommand.ts
650
664
 
651
665
 
652
666
 
653
- var _ListReportDefinitionsCommand = class _ListReportDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
667
+ var ListReportDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
654
668
  return [
655
669
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
656
670
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
657
671
  ];
658
672
  }).s("AWSApplicationCostProfiler", "ListReportDefinitions", {}).n("ApplicationCostProfilerClient", "ListReportDefinitionsCommand").f(void 0, void 0).ser(se_ListReportDefinitionsCommand).de(de_ListReportDefinitionsCommand).build() {
673
+ static {
674
+ __name(this, "ListReportDefinitionsCommand");
675
+ }
659
676
  };
660
- __name(_ListReportDefinitionsCommand, "ListReportDefinitionsCommand");
661
- var ListReportDefinitionsCommand = _ListReportDefinitionsCommand;
662
677
 
663
678
  // src/commands/PutReportDefinitionCommand.ts
664
679
 
665
680
 
666
681
 
667
- var _PutReportDefinitionCommand = class _PutReportDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
682
+ var PutReportDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
668
683
  return [
669
684
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
670
685
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
671
686
  ];
672
687
  }).s("AWSApplicationCostProfiler", "PutReportDefinition", {}).n("ApplicationCostProfilerClient", "PutReportDefinitionCommand").f(void 0, void 0).ser(se_PutReportDefinitionCommand).de(de_PutReportDefinitionCommand).build() {
688
+ static {
689
+ __name(this, "PutReportDefinitionCommand");
690
+ }
673
691
  };
674
- __name(_PutReportDefinitionCommand, "PutReportDefinitionCommand");
675
- var PutReportDefinitionCommand = _PutReportDefinitionCommand;
676
692
 
677
693
  // src/commands/UpdateReportDefinitionCommand.ts
678
694
 
679
695
 
680
696
 
681
- var _UpdateReportDefinitionCommand = class _UpdateReportDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
697
+ var UpdateReportDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
682
698
  return [
683
699
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
684
700
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
685
701
  ];
686
702
  }).s("AWSApplicationCostProfiler", "UpdateReportDefinition", {}).n("ApplicationCostProfilerClient", "UpdateReportDefinitionCommand").f(void 0, void 0).ser(se_UpdateReportDefinitionCommand).de(de_UpdateReportDefinitionCommand).build() {
703
+ static {
704
+ __name(this, "UpdateReportDefinitionCommand");
705
+ }
687
706
  };
688
- __name(_UpdateReportDefinitionCommand, "UpdateReportDefinitionCommand");
689
- var UpdateReportDefinitionCommand = _UpdateReportDefinitionCommand;
690
707
 
691
708
  // src/ApplicationCostProfiler.ts
692
709
  var commands = {
@@ -697,10 +714,11 @@ var commands = {
697
714
  PutReportDefinitionCommand,
698
715
  UpdateReportDefinitionCommand
699
716
  };
700
- var _ApplicationCostProfiler = class _ApplicationCostProfiler extends ApplicationCostProfilerClient {
717
+ var ApplicationCostProfiler = class extends ApplicationCostProfilerClient {
718
+ static {
719
+ __name(this, "ApplicationCostProfiler");
720
+ }
701
721
  };
702
- __name(_ApplicationCostProfiler, "ApplicationCostProfiler");
703
- var ApplicationCostProfiler = _ApplicationCostProfiler;
704
722
  (0, import_smithy_client.createAggregatedClient)(commands, ApplicationCostProfiler);
705
723
 
706
724
  // src/pagination/ListReportDefinitionsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ApplicationCostProfilerClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,49 +1,49 @@
1
1
  import { ApplicationCostProfilerServiceException as __BaseException } from "./ApplicationCostProfilerServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "AccessDeniedException",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
14
14
  export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
15
17
  constructor(opts) {
16
18
  super({
17
19
  name: "InternalServerException",
18
20
  $fault: "server",
19
21
  ...opts,
20
22
  });
21
- this.name = "InternalServerException";
22
- this.$fault = "server";
23
23
  Object.setPrototypeOf(this, InternalServerException.prototype);
24
24
  }
25
25
  }
26
26
  export class ThrottlingException extends __BaseException {
27
+ name = "ThrottlingException";
28
+ $fault = "client";
27
29
  constructor(opts) {
28
30
  super({
29
31
  name: "ThrottlingException",
30
32
  $fault: "client",
31
33
  ...opts,
32
34
  });
33
- this.name = "ThrottlingException";
34
- this.$fault = "client";
35
35
  Object.setPrototypeOf(this, ThrottlingException.prototype);
36
36
  }
37
37
  }
38
38
  export class ValidationException extends __BaseException {
39
+ name = "ValidationException";
40
+ $fault = "client";
39
41
  constructor(opts) {
40
42
  super({
41
43
  name: "ValidationException",
42
44
  $fault: "client",
43
45
  ...opts,
44
46
  });
45
- this.name = "ValidationException";
46
- this.$fault = "client";
47
47
  Object.setPrototypeOf(this, ValidationException.prototype);
48
48
  }
49
49
  }
@@ -63,14 +63,14 @@ export const S3BucketRegion = {
63
63
  ME_SOUTH_1: "me-south-1",
64
64
  };
65
65
  export class ServiceQuotaExceededException extends __BaseException {
66
+ name = "ServiceQuotaExceededException";
67
+ $fault = "client";
66
68
  constructor(opts) {
67
69
  super({
68
70
  name: "ServiceQuotaExceededException",
69
71
  $fault: "client",
70
72
  ...opts,
71
73
  });
72
- this.name = "ServiceQuotaExceededException";
73
- this.$fault = "client";
74
74
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
75
75
  }
76
76
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- 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> | undefined;
34
+ 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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-applicationcostprofiler",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {