@aws-sdk/client-partnercentral-account 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
|
@@ -1385,6 +1385,12 @@ class UpdateConnectionPreferencesCommand extends smithyClient.Command
|
|
|
1385
1385
|
.build() {
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
|
+
const paginateListConnectionInvitations = core.createPaginator(PartnerCentralAccountClient, ListConnectionInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1389
|
+
|
|
1390
|
+
const paginateListConnections = core.createPaginator(PartnerCentralAccountClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1391
|
+
|
|
1392
|
+
const paginateListPartners = core.createPaginator(PartnerCentralAccountClient, ListPartnersCommand, "NextToken", "NextToken", "");
|
|
1393
|
+
|
|
1388
1394
|
const commands = {
|
|
1389
1395
|
AcceptConnectionInvitationCommand,
|
|
1390
1396
|
AssociateAwsTrainingCertificationEmailDomainCommand,
|
|
@@ -1416,15 +1422,14 @@ const commands = {
|
|
|
1416
1422
|
UntagResourceCommand,
|
|
1417
1423
|
UpdateConnectionPreferencesCommand,
|
|
1418
1424
|
};
|
|
1425
|
+
const paginators = {
|
|
1426
|
+
paginateListConnectionInvitations,
|
|
1427
|
+
paginateListConnections,
|
|
1428
|
+
paginateListPartners,
|
|
1429
|
+
};
|
|
1419
1430
|
class PartnerCentralAccount extends PartnerCentralAccountClient {
|
|
1420
1431
|
}
|
|
1421
|
-
smithyClient.createAggregatedClient(commands, PartnerCentralAccount);
|
|
1422
|
-
|
|
1423
|
-
const paginateListConnectionInvitations = core.createPaginator(PartnerCentralAccountClient, ListConnectionInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1424
|
-
|
|
1425
|
-
const paginateListConnections = core.createPaginator(PartnerCentralAccountClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1426
|
-
|
|
1427
|
-
const paginateListPartners = core.createPaginator(PartnerCentralAccountClient, ListPartnersCommand, "NextToken", "NextToken", "");
|
|
1432
|
+
smithyClient.createAggregatedClient(commands, PartnerCentralAccount, { paginators });
|
|
1428
1433
|
|
|
1429
1434
|
const ConnectionType = {
|
|
1430
1435
|
OPPORTUNITY_COLLABORATION: "OPPORTUNITY_COLLABORATION",
|
|
@@ -28,6 +28,9 @@ import { StartVerificationCommand, } from "./commands/StartVerificationCommand";
|
|
|
28
28
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
29
29
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
30
30
|
import { UpdateConnectionPreferencesCommand, } from "./commands/UpdateConnectionPreferencesCommand";
|
|
31
|
+
import { paginateListConnectionInvitations } from "./pagination/ListConnectionInvitationsPaginator";
|
|
32
|
+
import { paginateListConnections } from "./pagination/ListConnectionsPaginator";
|
|
33
|
+
import { paginateListPartners } from "./pagination/ListPartnersPaginator";
|
|
31
34
|
import { PartnerCentralAccountClient } from "./PartnerCentralAccountClient";
|
|
32
35
|
const commands = {
|
|
33
36
|
AcceptConnectionInvitationCommand,
|
|
@@ -60,6 +63,11 @@ const commands = {
|
|
|
60
63
|
UntagResourceCommand,
|
|
61
64
|
UpdateConnectionPreferencesCommand,
|
|
62
65
|
};
|
|
66
|
+
const paginators = {
|
|
67
|
+
paginateListConnectionInvitations,
|
|
68
|
+
paginateListConnections,
|
|
69
|
+
paginateListPartners,
|
|
70
|
+
};
|
|
63
71
|
export class PartnerCentralAccount extends PartnerCentralAccountClient {
|
|
64
72
|
}
|
|
65
|
-
createAggregatedClient(commands, PartnerCentralAccount);
|
|
73
|
+
createAggregatedClient(commands, PartnerCentralAccount, { 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 { AcceptConnectionInvitationCommandInput, AcceptConnectionInvitationCommandOutput } from "./commands/AcceptConnectionInvitationCommand";
|
|
3
3
|
import { AssociateAwsTrainingCertificationEmailDomainCommandInput, AssociateAwsTrainingCertificationEmailDomainCommandOutput } from "./commands/AssociateAwsTrainingCertificationEmailDomainCommand";
|
|
4
4
|
import { CancelConnectionCommandInput, CancelConnectionCommandOutput } from "./commands/CancelConnectionCommand";
|
|
@@ -205,6 +205,27 @@ export interface PartnerCentralAccount {
|
|
|
205
205
|
updateConnectionPreferences(args: UpdateConnectionPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectionPreferencesCommandOutput>;
|
|
206
206
|
updateConnectionPreferences(args: UpdateConnectionPreferencesCommandInput, cb: (err: any, data?: UpdateConnectionPreferencesCommandOutput) => void): void;
|
|
207
207
|
updateConnectionPreferences(args: UpdateConnectionPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectionPreferencesCommandOutput) => void): void;
|
|
208
|
+
/**
|
|
209
|
+
* @see {@link ListConnectionInvitationsCommand}
|
|
210
|
+
* @param args - command input.
|
|
211
|
+
* @param paginationConfig - optional pagination config.
|
|
212
|
+
* @returns AsyncIterable of {@link ListConnectionInvitationsCommandOutput}.
|
|
213
|
+
*/
|
|
214
|
+
paginateListConnectionInvitations(args: ListConnectionInvitationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectionInvitationsCommandOutput>;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link ListConnectionsCommand}
|
|
217
|
+
* @param args - command input.
|
|
218
|
+
* @param paginationConfig - optional pagination config.
|
|
219
|
+
* @returns AsyncIterable of {@link ListConnectionsCommandOutput}.
|
|
220
|
+
*/
|
|
221
|
+
paginateListConnections(args: ListConnectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectionsCommandOutput>;
|
|
222
|
+
/**
|
|
223
|
+
* @see {@link ListPartnersCommand}
|
|
224
|
+
* @param args - command input.
|
|
225
|
+
* @param paginationConfig - optional pagination config.
|
|
226
|
+
* @returns AsyncIterable of {@link ListPartnersCommandOutput}.
|
|
227
|
+
*/
|
|
228
|
+
paginateListPartners(args: ListPartnersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPartnersCommandOutput>;
|
|
208
229
|
}
|
|
209
230
|
/**
|
|
210
231
|
* <p>AWS Partner Central Account service provides APIs for managing partner accounts, connections, and profiles within the AWS Partner Network. This service enables partners to create and manage their partner profiles, establish connections with other partners, and maintain their account information.</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
|
AcceptConnectionInvitationCommandInput,
|
|
4
8
|
AcceptConnectionInvitationCommandOutput,
|
|
@@ -507,6 +511,27 @@ export interface PartnerCentralAccount {
|
|
|
507
511
|
options: __HttpHandlerOptions,
|
|
508
512
|
cb: (err: any, data?: UpdateConnectionPreferencesCommandOutput) => void
|
|
509
513
|
): void;
|
|
514
|
+
paginateListConnectionInvitations(
|
|
515
|
+
args: ListConnectionInvitationsCommandInput,
|
|
516
|
+
paginationConfig?: Pick<
|
|
517
|
+
PaginationConfiguration,
|
|
518
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
519
|
+
>
|
|
520
|
+
): Paginator<ListConnectionInvitationsCommandOutput>;
|
|
521
|
+
paginateListConnections(
|
|
522
|
+
args: ListConnectionsCommandInput,
|
|
523
|
+
paginationConfig?: Pick<
|
|
524
|
+
PaginationConfiguration,
|
|
525
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
526
|
+
>
|
|
527
|
+
): Paginator<ListConnectionsCommandOutput>;
|
|
528
|
+
paginateListPartners(
|
|
529
|
+
args: ListPartnersCommandInput,
|
|
530
|
+
paginationConfig?: Pick<
|
|
531
|
+
PaginationConfiguration,
|
|
532
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
533
|
+
>
|
|
534
|
+
): Paginator<ListPartnersCommandOutput>;
|
|
510
535
|
}
|
|
511
536
|
export declare class PartnerCentralAccount
|
|
512
537
|
extends PartnerCentralAccountClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-partnercentral-account",
|
|
3
3
|
"description": "AWS SDK for JavaScript Partnercentral Account 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-account",
|
|
@@ -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.
|
|
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.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
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.
|
|
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",
|