@aws-sdk/client-marketplace-catalog 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
|
@@ -1382,6 +1382,10 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1382
1382
|
.build() {
|
|
1383
1383
|
}
|
|
1384
1384
|
|
|
1385
|
+
const paginateListChangeSets = core.createPaginator(MarketplaceCatalogClient, ListChangeSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1386
|
+
|
|
1387
|
+
const paginateListEntities = core.createPaginator(MarketplaceCatalogClient, ListEntitiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1388
|
+
|
|
1385
1389
|
const commands = {
|
|
1386
1390
|
BatchDescribeEntitiesCommand,
|
|
1387
1391
|
CancelChangeSetCommand,
|
|
@@ -1397,13 +1401,13 @@ const commands = {
|
|
|
1397
1401
|
TagResourceCommand,
|
|
1398
1402
|
UntagResourceCommand,
|
|
1399
1403
|
};
|
|
1404
|
+
const paginators = {
|
|
1405
|
+
paginateListChangeSets,
|
|
1406
|
+
paginateListEntities,
|
|
1407
|
+
};
|
|
1400
1408
|
class MarketplaceCatalog extends MarketplaceCatalogClient {
|
|
1401
1409
|
}
|
|
1402
|
-
smithyClient.createAggregatedClient(commands, MarketplaceCatalog);
|
|
1403
|
-
|
|
1404
|
-
const paginateListChangeSets = core.createPaginator(MarketplaceCatalogClient, ListChangeSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1405
|
-
|
|
1406
|
-
const paginateListEntities = core.createPaginator(MarketplaceCatalogClient, ListEntitiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1410
|
+
smithyClient.createAggregatedClient(commands, MarketplaceCatalog, { paginators });
|
|
1407
1411
|
|
|
1408
1412
|
const AmiProductVisibilityString = {
|
|
1409
1413
|
Draft: "Draft",
|
|
@@ -13,6 +13,8 @@ import { StartChangeSetCommand, } from "./commands/StartChangeSetCommand";
|
|
|
13
13
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
14
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
15
|
import { MarketplaceCatalogClient } from "./MarketplaceCatalogClient";
|
|
16
|
+
import { paginateListChangeSets } from "./pagination/ListChangeSetsPaginator";
|
|
17
|
+
import { paginateListEntities } from "./pagination/ListEntitiesPaginator";
|
|
16
18
|
const commands = {
|
|
17
19
|
BatchDescribeEntitiesCommand,
|
|
18
20
|
CancelChangeSetCommand,
|
|
@@ -28,6 +30,10 @@ const commands = {
|
|
|
28
30
|
TagResourceCommand,
|
|
29
31
|
UntagResourceCommand,
|
|
30
32
|
};
|
|
33
|
+
const paginators = {
|
|
34
|
+
paginateListChangeSets,
|
|
35
|
+
paginateListEntities,
|
|
36
|
+
};
|
|
31
37
|
export class MarketplaceCatalog extends MarketplaceCatalogClient {
|
|
32
38
|
}
|
|
33
|
-
createAggregatedClient(commands, MarketplaceCatalog);
|
|
39
|
+
createAggregatedClient(commands, MarketplaceCatalog, { 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 { BatchDescribeEntitiesCommandInput, BatchDescribeEntitiesCommandOutput } from "./commands/BatchDescribeEntitiesCommand";
|
|
3
3
|
import { CancelChangeSetCommandInput, CancelChangeSetCommandOutput } from "./commands/CancelChangeSetCommand";
|
|
4
4
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
@@ -92,6 +92,20 @@ export interface MarketplaceCatalog {
|
|
|
92
92
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
93
93
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
94
94
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link ListChangeSetsCommand}
|
|
97
|
+
* @param args - command input.
|
|
98
|
+
* @param paginationConfig - optional pagination config.
|
|
99
|
+
* @returns AsyncIterable of {@link ListChangeSetsCommandOutput}.
|
|
100
|
+
*/
|
|
101
|
+
paginateListChangeSets(args: ListChangeSetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChangeSetsCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link ListEntitiesCommand}
|
|
104
|
+
* @param args - command input.
|
|
105
|
+
* @param paginationConfig - optional pagination config.
|
|
106
|
+
* @returns AsyncIterable of {@link ListEntitiesCommandOutput}.
|
|
107
|
+
*/
|
|
108
|
+
paginateListEntities(args: ListEntitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEntitiesCommandOutput>;
|
|
95
109
|
}
|
|
96
110
|
/**
|
|
97
111
|
* <p>Catalog API actions allow you to manage your entities through list, describe, and
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchDescribeEntitiesCommandInput,
|
|
4
8
|
BatchDescribeEntitiesCommandOutput,
|
|
@@ -222,6 +226,20 @@ export interface MarketplaceCatalog {
|
|
|
222
226
|
options: __HttpHandlerOptions,
|
|
223
227
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
224
228
|
): void;
|
|
229
|
+
paginateListChangeSets(
|
|
230
|
+
args: ListChangeSetsCommandInput,
|
|
231
|
+
paginationConfig?: Pick<
|
|
232
|
+
PaginationConfiguration,
|
|
233
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
234
|
+
>
|
|
235
|
+
): Paginator<ListChangeSetsCommandOutput>;
|
|
236
|
+
paginateListEntities(
|
|
237
|
+
args: ListEntitiesCommandInput,
|
|
238
|
+
paginationConfig?: Pick<
|
|
239
|
+
PaginationConfiguration,
|
|
240
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
241
|
+
>
|
|
242
|
+
): Paginator<ListEntitiesCommandOutput>;
|
|
225
243
|
}
|
|
226
244
|
export declare class MarketplaceCatalog
|
|
227
245
|
extends MarketplaceCatalogClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-catalog",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Catalog 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-marketplace-catalog",
|
|
@@ -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",
|