@aws-sdk/client-applicationcostprofiler 3.974.0 → 3.978.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
@@ -432,6 +432,8 @@ class UpdateReportDefinitionCommand extends smithyClient.Command
432
432
  .build() {
433
433
  }
434
434
 
435
+ const paginateListReportDefinitions = core.createPaginator(ApplicationCostProfilerClient, ListReportDefinitionsCommand, "nextToken", "nextToken", "maxResults");
436
+
435
437
  const commands = {
436
438
  DeleteReportDefinitionCommand,
437
439
  GetReportDefinitionCommand,
@@ -440,11 +442,12 @@ const commands = {
440
442
  PutReportDefinitionCommand,
441
443
  UpdateReportDefinitionCommand,
442
444
  };
445
+ const paginators = {
446
+ paginateListReportDefinitions,
447
+ };
443
448
  class ApplicationCostProfiler extends ApplicationCostProfilerClient {
444
449
  }
445
- smithyClient.createAggregatedClient(commands, ApplicationCostProfiler);
446
-
447
- const paginateListReportDefinitions = core.createPaginator(ApplicationCostProfilerClient, ListReportDefinitionsCommand, "nextToken", "nextToken", "maxResults");
450
+ smithyClient.createAggregatedClient(commands, ApplicationCostProfiler, { paginators });
448
451
 
449
452
  const Format = {
450
453
  CSV: "CSV",
@@ -6,6 +6,7 @@ import { ImportApplicationUsageCommand, } from "./commands/ImportApplicationUsag
6
6
  import { ListReportDefinitionsCommand, } from "./commands/ListReportDefinitionsCommand";
7
7
  import { PutReportDefinitionCommand, } from "./commands/PutReportDefinitionCommand";
8
8
  import { UpdateReportDefinitionCommand, } from "./commands/UpdateReportDefinitionCommand";
9
+ import { paginateListReportDefinitions } from "./pagination/ListReportDefinitionsPaginator";
9
10
  const commands = {
10
11
  DeleteReportDefinitionCommand,
11
12
  GetReportDefinitionCommand,
@@ -14,6 +15,9 @@ const commands = {
14
15
  PutReportDefinitionCommand,
15
16
  UpdateReportDefinitionCommand,
16
17
  };
18
+ const paginators = {
19
+ paginateListReportDefinitions,
20
+ };
17
21
  export class ApplicationCostProfiler extends ApplicationCostProfilerClient {
18
22
  }
19
- createAggregatedClient(commands, ApplicationCostProfiler);
23
+ createAggregatedClient(commands, ApplicationCostProfiler, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { ApplicationCostProfilerClient } from "./ApplicationCostProfilerClient";
3
3
  import { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
4
4
  import { GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput } from "./commands/GetReportDefinitionCommand";
@@ -44,6 +44,13 @@ export interface ApplicationCostProfiler {
44
44
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReportDefinitionCommandOutput>;
45
45
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
46
46
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link ListReportDefinitionsCommand}
49
+ * @param args - command input.
50
+ * @param paginationConfig - optional pagination config.
51
+ * @returns AsyncIterable of {@link ListReportDefinitionsCommandOutput}.
52
+ */
53
+ paginateListReportDefinitions(args?: ListReportDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListReportDefinitionsCommandOutput>;
47
54
  }
48
55
  /**
49
56
  * <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import { ApplicationCostProfilerClient } from "./ApplicationCostProfilerClient";
3
7
  import {
4
8
  DeleteReportDefinitionCommandInput,
@@ -104,6 +108,13 @@ export interface ApplicationCostProfiler {
104
108
  options: __HttpHandlerOptions,
105
109
  cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void
106
110
  ): void;
111
+ paginateListReportDefinitions(
112
+ args?: ListReportDefinitionsCommandInput,
113
+ paginationConfig?: Pick<
114
+ PaginationConfiguration,
115
+ Exclude<keyof PaginationConfiguration, "client">
116
+ >
117
+ ): Paginator<ListReportDefinitionsCommandOutput>;
107
118
  }
108
119
  export declare class ApplicationCostProfiler
109
120
  extends ApplicationCostProfilerClient
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.974.0",
4
+ "version": "3.978.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-applicationcostprofiler",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.0",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.1",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.0",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.10",
42
- "@smithy/middleware-retry": "^4.4.26",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.11",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.25",
55
- "@smithy/util-defaults-mode-node": "^4.2.28",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",