@aws-sdk/client-bcm-recommended-actions 3.975.0 → 3.980.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
|
@@ -290,14 +290,17 @@ class ListRecommendedActionsCommand extends smithyClient.Command
|
|
|
290
290
|
.build() {
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
+
const paginateListRecommendedActions = core.createPaginator(BCMRecommendedActionsClient, ListRecommendedActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
294
|
+
|
|
293
295
|
const commands = {
|
|
294
296
|
ListRecommendedActionsCommand,
|
|
295
297
|
};
|
|
298
|
+
const paginators = {
|
|
299
|
+
paginateListRecommendedActions,
|
|
300
|
+
};
|
|
296
301
|
class BCMRecommendedActions extends BCMRecommendedActionsClient {
|
|
297
302
|
}
|
|
298
|
-
smithyClient.createAggregatedClient(commands, BCMRecommendedActions);
|
|
299
|
-
|
|
300
|
-
const paginateListRecommendedActions = core.createPaginator(BCMRecommendedActionsClient, ListRecommendedActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
303
|
+
smithyClient.createAggregatedClient(commands, BCMRecommendedActions, { paginators });
|
|
301
304
|
|
|
302
305
|
const FilterName = {
|
|
303
306
|
FEATURE: "FEATURE",
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BCMRecommendedActionsClient } from "./BCMRecommendedActionsClient";
|
|
3
3
|
import { ListRecommendedActionsCommand, } from "./commands/ListRecommendedActionsCommand";
|
|
4
|
+
import { paginateListRecommendedActions } from "./pagination/ListRecommendedActionsPaginator";
|
|
4
5
|
const commands = {
|
|
5
6
|
ListRecommendedActionsCommand,
|
|
6
7
|
};
|
|
8
|
+
const paginators = {
|
|
9
|
+
paginateListRecommendedActions,
|
|
10
|
+
};
|
|
7
11
|
export class BCMRecommendedActions extends BCMRecommendedActionsClient {
|
|
8
12
|
}
|
|
9
|
-
createAggregatedClient(commands, BCMRecommendedActions);
|
|
13
|
+
createAggregatedClient(commands, BCMRecommendedActions, { 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 { BCMRecommendedActionsClient } from "./BCMRecommendedActionsClient";
|
|
3
3
|
import { ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput } from "./commands/ListRecommendedActionsCommand";
|
|
4
4
|
export interface BCMRecommendedActions {
|
|
@@ -9,6 +9,13 @@ export interface BCMRecommendedActions {
|
|
|
9
9
|
listRecommendedActions(args: ListRecommendedActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendedActionsCommandOutput>;
|
|
10
10
|
listRecommendedActions(args: ListRecommendedActionsCommandInput, cb: (err: any, data?: ListRecommendedActionsCommandOutput) => void): void;
|
|
11
11
|
listRecommendedActions(args: ListRecommendedActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendedActionsCommandOutput) => void): void;
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link ListRecommendedActionsCommand}
|
|
14
|
+
* @param args - command input.
|
|
15
|
+
* @param paginationConfig - optional pagination config.
|
|
16
|
+
* @returns AsyncIterable of {@link ListRecommendedActionsCommandOutput}.
|
|
17
|
+
*/
|
|
18
|
+
paginateListRecommendedActions(args?: ListRecommendedActionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecommendedActionsCommandOutput>;
|
|
12
19
|
}
|
|
13
20
|
/**
|
|
14
21
|
* <p>You can use the Billing and Cost Management Recommended Actions API to programmatically query your best practices and recommendations to optimize your costs.</p> <p>The Billing and Cost Management Recommended Actions API provides the following endpoint:</p> <ul> <li> <p> https://bcm-recommended-actions.us-east-1.api.aws</p> </li> </ul>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { BCMRecommendedActionsClient } from "./BCMRecommendedActionsClient";
|
|
3
7
|
import {
|
|
4
8
|
ListRecommendedActionsCommandInput,
|
|
@@ -19,6 +23,13 @@ export interface BCMRecommendedActions {
|
|
|
19
23
|
options: __HttpHandlerOptions,
|
|
20
24
|
cb: (err: any, data?: ListRecommendedActionsCommandOutput) => void
|
|
21
25
|
): void;
|
|
26
|
+
paginateListRecommendedActions(
|
|
27
|
+
args?: ListRecommendedActionsCommandInput,
|
|
28
|
+
paginationConfig?: Pick<
|
|
29
|
+
PaginationConfiguration,
|
|
30
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
31
|
+
>
|
|
32
|
+
): Paginator<ListRecommendedActionsCommandOutput>;
|
|
22
33
|
}
|
|
23
34
|
export declare class BCMRecommendedActions
|
|
24
35
|
extends BCMRecommendedActionsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bcm-recommended-actions",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bcm Recommended Actions Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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-recommended-actions",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
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.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
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.
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|