@aws-sdk/client-bcm-dashboards 3.975.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
@@ -686,6 +686,8 @@ class UpdateDashboardCommand extends smithyClient.Command
686
686
  .build() {
687
687
  }
688
688
 
689
+ const paginateListDashboards = core.createPaginator(BCMDashboardsClient, ListDashboardsCommand, "nextToken", "nextToken", "maxResults");
690
+
689
691
  const commands = {
690
692
  CreateDashboardCommand,
691
693
  DeleteDashboardCommand,
@@ -697,11 +699,12 @@ const commands = {
697
699
  UntagResourceCommand,
698
700
  UpdateDashboardCommand,
699
701
  };
702
+ const paginators = {
703
+ paginateListDashboards,
704
+ };
700
705
  class BCMDashboards extends BCMDashboardsClient {
701
706
  }
702
- smithyClient.createAggregatedClient(commands, BCMDashboards);
703
-
704
- const paginateListDashboards = core.createPaginator(BCMDashboardsClient, ListDashboardsCommand, "nextToken", "nextToken", "maxResults");
707
+ smithyClient.createAggregatedClient(commands, BCMDashboards, { paginators });
705
708
 
706
709
  const VisualType = {
707
710
  BAR: "BAR",
@@ -9,6 +9,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
9
9
  import { TagResourceCommand } from "./commands/TagResourceCommand";
10
10
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
11
11
  import { UpdateDashboardCommand, } from "./commands/UpdateDashboardCommand";
12
+ import { paginateListDashboards } from "./pagination/ListDashboardsPaginator";
12
13
  const commands = {
13
14
  CreateDashboardCommand,
14
15
  DeleteDashboardCommand,
@@ -20,6 +21,9 @@ const commands = {
20
21
  UntagResourceCommand,
21
22
  UpdateDashboardCommand,
22
23
  };
24
+ const paginators = {
25
+ paginateListDashboards,
26
+ };
23
27
  export class BCMDashboards extends BCMDashboardsClient {
24
28
  }
25
- createAggregatedClient(commands, BCMDashboards);
29
+ createAggregatedClient(commands, BCMDashboards, { 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 { BCMDashboardsClient } from "./BCMDashboardsClient";
3
3
  import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "./commands/CreateDashboardCommand";
4
4
  import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
@@ -65,6 +65,13 @@ export interface BCMDashboards {
65
65
  updateDashboard(args: UpdateDashboardCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDashboardCommandOutput>;
66
66
  updateDashboard(args: UpdateDashboardCommandInput, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void;
67
67
  updateDashboard(args: UpdateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link ListDashboardsCommand}
70
+ * @param args - command input.
71
+ * @param paginationConfig - optional pagination config.
72
+ * @returns AsyncIterable of {@link ListDashboardsCommandOutput}.
73
+ */
74
+ paginateListDashboards(args?: ListDashboardsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDashboardsCommandOutput>;
68
75
  }
69
76
  /**
70
77
  * <p>Amazon Web Services Billing and Cost Management Dashboards is a service that enables you to create, manage, and share dashboards that combine multiple visualizations of your Amazon Web Services cost and usage data. You can combine multiple data sources including Cost Explorer, Savings Plans, and Reserved Instance metrics into unified dashboards, helping you analyze spending patterns and share cost insights across your organization.</p> <p>You can use the Amazon Web Services Billing and Cost Management Dashboards API to programmatically create, manage, and share dashboards. This includes creating custom dashboards, configuring widgets, managing dashboard permissions, and sharing dashboards across accounts in your organization.</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 { BCMDashboardsClient } from "./BCMDashboardsClient";
3
7
  import {
4
8
  CreateDashboardCommandInput,
@@ -155,6 +159,13 @@ export interface BCMDashboards {
155
159
  options: __HttpHandlerOptions,
156
160
  cb: (err: any, data?: UpdateDashboardCommandOutput) => void
157
161
  ): void;
162
+ paginateListDashboards(
163
+ args?: ListDashboardsCommandInput,
164
+ paginationConfig?: Pick<
165
+ PaginationConfiguration,
166
+ Exclude<keyof PaginationConfiguration, "client">
167
+ >
168
+ ): Paginator<ListDashboardsCommandOutput>;
158
169
  }
159
170
  export declare class BCMDashboards
160
171
  extends BCMDashboardsClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bcm-dashboards",
3
3
  "description": "AWS SDK for JavaScript Bcm Dashboards Client for Node.js, Browser and React Native",
4
- "version": "3.975.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-bcm-dashboards",
@@ -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.1",
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.2",
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.1",
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.11",
42
- "@smithy/middleware-retry": "^4.4.27",
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.12",
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.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",