@aws-sdk/client-partnercentral-channel 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
|
@@ -1081,6 +1081,12 @@ class UpdateRelationshipCommand extends smithyClient.Command
|
|
|
1081
1081
|
.build() {
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
+
const paginateListChannelHandshakes = core.createPaginator(PartnerCentralChannelClient, ListChannelHandshakesCommand, "nextToken", "nextToken", "maxResults");
|
|
1085
|
+
|
|
1086
|
+
const paginateListProgramManagementAccounts = core.createPaginator(PartnerCentralChannelClient, ListProgramManagementAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
1087
|
+
|
|
1088
|
+
const paginateListRelationships = core.createPaginator(PartnerCentralChannelClient, ListRelationshipsCommand, "nextToken", "nextToken", "maxResults");
|
|
1089
|
+
|
|
1084
1090
|
const commands = {
|
|
1085
1091
|
AcceptChannelHandshakeCommand,
|
|
1086
1092
|
CancelChannelHandshakeCommand,
|
|
@@ -1100,15 +1106,14 @@ const commands = {
|
|
|
1100
1106
|
UpdateProgramManagementAccountCommand,
|
|
1101
1107
|
UpdateRelationshipCommand,
|
|
1102
1108
|
};
|
|
1109
|
+
const paginators = {
|
|
1110
|
+
paginateListChannelHandshakes,
|
|
1111
|
+
paginateListProgramManagementAccounts,
|
|
1112
|
+
paginateListRelationships,
|
|
1113
|
+
};
|
|
1103
1114
|
class PartnerCentralChannel extends PartnerCentralChannelClient {
|
|
1104
1115
|
}
|
|
1105
|
-
smithyClient.createAggregatedClient(commands, PartnerCentralChannel);
|
|
1106
|
-
|
|
1107
|
-
const paginateListChannelHandshakes = core.createPaginator(PartnerCentralChannelClient, ListChannelHandshakesCommand, "nextToken", "nextToken", "maxResults");
|
|
1108
|
-
|
|
1109
|
-
const paginateListProgramManagementAccounts = core.createPaginator(PartnerCentralChannelClient, ListProgramManagementAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
1110
|
-
|
|
1111
|
-
const paginateListRelationships = core.createPaginator(PartnerCentralChannelClient, ListRelationshipsCommand, "nextToken", "nextToken", "maxResults");
|
|
1116
|
+
smithyClient.createAggregatedClient(commands, PartnerCentralChannel, { paginators });
|
|
1112
1117
|
|
|
1113
1118
|
const HandshakeStatus = {
|
|
1114
1119
|
ACCEPTED: "ACCEPTED",
|
|
@@ -16,6 +16,9 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
16
16
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
17
17
|
import { UpdateProgramManagementAccountCommand, } from "./commands/UpdateProgramManagementAccountCommand";
|
|
18
18
|
import { UpdateRelationshipCommand, } from "./commands/UpdateRelationshipCommand";
|
|
19
|
+
import { paginateListChannelHandshakes } from "./pagination/ListChannelHandshakesPaginator";
|
|
20
|
+
import { paginateListProgramManagementAccounts } from "./pagination/ListProgramManagementAccountsPaginator";
|
|
21
|
+
import { paginateListRelationships } from "./pagination/ListRelationshipsPaginator";
|
|
19
22
|
import { PartnerCentralChannelClient } from "./PartnerCentralChannelClient";
|
|
20
23
|
const commands = {
|
|
21
24
|
AcceptChannelHandshakeCommand,
|
|
@@ -36,6 +39,11 @@ const commands = {
|
|
|
36
39
|
UpdateProgramManagementAccountCommand,
|
|
37
40
|
UpdateRelationshipCommand,
|
|
38
41
|
};
|
|
42
|
+
const paginators = {
|
|
43
|
+
paginateListChannelHandshakes,
|
|
44
|
+
paginateListProgramManagementAccounts,
|
|
45
|
+
paginateListRelationships,
|
|
46
|
+
};
|
|
39
47
|
export class PartnerCentralChannel extends PartnerCentralChannelClient {
|
|
40
48
|
}
|
|
41
|
-
createAggregatedClient(commands, PartnerCentralChannel);
|
|
49
|
+
createAggregatedClient(commands, PartnerCentralChannel, { 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 { AcceptChannelHandshakeCommandInput, AcceptChannelHandshakeCommandOutput } from "./commands/AcceptChannelHandshakeCommand";
|
|
3
3
|
import { CancelChannelHandshakeCommandInput, CancelChannelHandshakeCommandOutput } from "./commands/CancelChannelHandshakeCommand";
|
|
4
4
|
import { CreateChannelHandshakeCommandInput, CreateChannelHandshakeCommandOutput } from "./commands/CreateChannelHandshakeCommand";
|
|
@@ -120,6 +120,27 @@ export interface PartnerCentralChannel {
|
|
|
120
120
|
updateRelationship(args: UpdateRelationshipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRelationshipCommandOutput>;
|
|
121
121
|
updateRelationship(args: UpdateRelationshipCommandInput, cb: (err: any, data?: UpdateRelationshipCommandOutput) => void): void;
|
|
122
122
|
updateRelationship(args: UpdateRelationshipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRelationshipCommandOutput) => void): void;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link ListChannelHandshakesCommand}
|
|
125
|
+
* @param args - command input.
|
|
126
|
+
* @param paginationConfig - optional pagination config.
|
|
127
|
+
* @returns AsyncIterable of {@link ListChannelHandshakesCommandOutput}.
|
|
128
|
+
*/
|
|
129
|
+
paginateListChannelHandshakes(args: ListChannelHandshakesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChannelHandshakesCommandOutput>;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link ListProgramManagementAccountsCommand}
|
|
132
|
+
* @param args - command input.
|
|
133
|
+
* @param paginationConfig - optional pagination config.
|
|
134
|
+
* @returns AsyncIterable of {@link ListProgramManagementAccountsCommandOutput}.
|
|
135
|
+
*/
|
|
136
|
+
paginateListProgramManagementAccounts(args: ListProgramManagementAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProgramManagementAccountsCommandOutput>;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link ListRelationshipsCommand}
|
|
139
|
+
* @param args - command input.
|
|
140
|
+
* @param paginationConfig - optional pagination config.
|
|
141
|
+
* @returns AsyncIterable of {@link ListRelationshipsCommandOutput}.
|
|
142
|
+
*/
|
|
143
|
+
paginateListRelationships(args: ListRelationshipsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRelationshipsCommandOutput>;
|
|
123
144
|
}
|
|
124
145
|
/**
|
|
125
146
|
* <p>AWS Partner Central Channel service for managing partner relationships, handshakes, and program management accounts.</p>
|
|
@@ -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
|
AcceptChannelHandshakeCommandInput,
|
|
4
8
|
AcceptChannelHandshakeCommandOutput,
|
|
@@ -290,6 +294,27 @@ export interface PartnerCentralChannel {
|
|
|
290
294
|
options: __HttpHandlerOptions,
|
|
291
295
|
cb: (err: any, data?: UpdateRelationshipCommandOutput) => void
|
|
292
296
|
): void;
|
|
297
|
+
paginateListChannelHandshakes(
|
|
298
|
+
args: ListChannelHandshakesCommandInput,
|
|
299
|
+
paginationConfig?: Pick<
|
|
300
|
+
PaginationConfiguration,
|
|
301
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
302
|
+
>
|
|
303
|
+
): Paginator<ListChannelHandshakesCommandOutput>;
|
|
304
|
+
paginateListProgramManagementAccounts(
|
|
305
|
+
args: ListProgramManagementAccountsCommandInput,
|
|
306
|
+
paginationConfig?: Pick<
|
|
307
|
+
PaginationConfiguration,
|
|
308
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
309
|
+
>
|
|
310
|
+
): Paginator<ListProgramManagementAccountsCommandOutput>;
|
|
311
|
+
paginateListRelationships(
|
|
312
|
+
args: ListRelationshipsCommandInput,
|
|
313
|
+
paginationConfig?: Pick<
|
|
314
|
+
PaginationConfiguration,
|
|
315
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
316
|
+
>
|
|
317
|
+
): Paginator<ListRelationshipsCommandOutput>;
|
|
293
318
|
}
|
|
294
319
|
export declare class PartnerCentralChannel
|
|
295
320
|
extends PartnerCentralChannelClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-partnercentral-channel",
|
|
3
3
|
"description": "AWS SDK for JavaScript Partnercentral Channel Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-partnercentral-channel",
|
|
@@ -21,39 +21,39 @@
|
|
|
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.
|
|
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
31
|
"@aws-sdk/signature-v4-multi-region": "3.972.0",
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
+
"@aws-sdk/types": "^3.973.1",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.6",
|
|
37
|
-
"@smithy/core": "^3.
|
|
37
|
+
"@smithy/core": "^3.22.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
39
39
|
"@smithy/hash-node": "^4.2.8",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
44
44
|
"@smithy/middleware-serde": "^4.2.9",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.8",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.8",
|
|
47
47
|
"@smithy/node-http-handler": "^4.4.8",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.8",
|
|
49
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
50
50
|
"@smithy/types": "^4.12.0",
|
|
51
51
|
"@smithy/url-parser": "^4.2.8",
|
|
52
52
|
"@smithy/util-base64": "^4.3.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
57
57
|
"@smithy/util-endpoints": "^3.2.8",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.8",
|
|
59
59
|
"@smithy/util-retry": "^4.2.8",
|