@aws-sdk/client-codeconnections 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
|
@@ -1435,6 +1435,14 @@ class UpdateSyncConfigurationCommand extends smithyClient.Command
|
|
|
1435
1435
|
.build() {
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
1438
|
+
const paginateListConnections = core.createPaginator(CodeConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1439
|
+
|
|
1440
|
+
const paginateListHosts = core.createPaginator(CodeConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1441
|
+
|
|
1442
|
+
const paginateListRepositoryLinks = core.createPaginator(CodeConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1443
|
+
|
|
1444
|
+
const paginateListSyncConfigurations = core.createPaginator(CodeConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1445
|
+
|
|
1438
1446
|
const commands = {
|
|
1439
1447
|
CreateConnectionCommand,
|
|
1440
1448
|
CreateHostCommand,
|
|
@@ -1464,17 +1472,15 @@ const commands = {
|
|
|
1464
1472
|
UpdateSyncBlockerCommand,
|
|
1465
1473
|
UpdateSyncConfigurationCommand,
|
|
1466
1474
|
};
|
|
1475
|
+
const paginators = {
|
|
1476
|
+
paginateListConnections,
|
|
1477
|
+
paginateListHosts,
|
|
1478
|
+
paginateListRepositoryLinks,
|
|
1479
|
+
paginateListSyncConfigurations,
|
|
1480
|
+
};
|
|
1467
1481
|
class CodeConnections extends CodeConnectionsClient {
|
|
1468
1482
|
}
|
|
1469
|
-
smithyClient.createAggregatedClient(commands, CodeConnections);
|
|
1470
|
-
|
|
1471
|
-
const paginateListConnections = core.createPaginator(CodeConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1472
|
-
|
|
1473
|
-
const paginateListHosts = core.createPaginator(CodeConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1474
|
-
|
|
1475
|
-
const paginateListRepositoryLinks = core.createPaginator(CodeConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1476
|
-
|
|
1477
|
-
const paginateListSyncConfigurations = core.createPaginator(CodeConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1483
|
+
smithyClient.createAggregatedClient(commands, CodeConnections, { paginators });
|
|
1478
1484
|
|
|
1479
1485
|
const BlockerStatus = {
|
|
1480
1486
|
ACTIVE: "ACTIVE",
|
|
@@ -27,6 +27,10 @@ import { UpdateHostCommand } from "./commands/UpdateHostCommand";
|
|
|
27
27
|
import { UpdateRepositoryLinkCommand, } from "./commands/UpdateRepositoryLinkCommand";
|
|
28
28
|
import { UpdateSyncBlockerCommand, } from "./commands/UpdateSyncBlockerCommand";
|
|
29
29
|
import { UpdateSyncConfigurationCommand, } from "./commands/UpdateSyncConfigurationCommand";
|
|
30
|
+
import { paginateListConnections } from "./pagination/ListConnectionsPaginator";
|
|
31
|
+
import { paginateListHosts } from "./pagination/ListHostsPaginator";
|
|
32
|
+
import { paginateListRepositoryLinks } from "./pagination/ListRepositoryLinksPaginator";
|
|
33
|
+
import { paginateListSyncConfigurations } from "./pagination/ListSyncConfigurationsPaginator";
|
|
30
34
|
const commands = {
|
|
31
35
|
CreateConnectionCommand,
|
|
32
36
|
CreateHostCommand,
|
|
@@ -56,6 +60,12 @@ const commands = {
|
|
|
56
60
|
UpdateSyncBlockerCommand,
|
|
57
61
|
UpdateSyncConfigurationCommand,
|
|
58
62
|
};
|
|
63
|
+
const paginators = {
|
|
64
|
+
paginateListConnections,
|
|
65
|
+
paginateListHosts,
|
|
66
|
+
paginateListRepositoryLinks,
|
|
67
|
+
paginateListSyncConfigurations,
|
|
68
|
+
};
|
|
59
69
|
export class CodeConnections extends CodeConnectionsClient {
|
|
60
70
|
}
|
|
61
|
-
createAggregatedClient(commands, CodeConnections);
|
|
71
|
+
createAggregatedClient(commands, CodeConnections, { 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 { CodeConnectionsClient } from "./CodeConnectionsClient";
|
|
3
3
|
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
4
4
|
import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
|
|
@@ -193,6 +193,34 @@ export interface CodeConnections {
|
|
|
193
193
|
updateSyncConfiguration(args: UpdateSyncConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSyncConfigurationCommandOutput>;
|
|
194
194
|
updateSyncConfiguration(args: UpdateSyncConfigurationCommandInput, cb: (err: any, data?: UpdateSyncConfigurationCommandOutput) => void): void;
|
|
195
195
|
updateSyncConfiguration(args: UpdateSyncConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSyncConfigurationCommandOutput) => void): void;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link ListConnectionsCommand}
|
|
198
|
+
* @param args - command input.
|
|
199
|
+
* @param paginationConfig - optional pagination config.
|
|
200
|
+
* @returns AsyncIterable of {@link ListConnectionsCommandOutput}.
|
|
201
|
+
*/
|
|
202
|
+
paginateListConnections(args?: ListConnectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectionsCommandOutput>;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link ListHostsCommand}
|
|
205
|
+
* @param args - command input.
|
|
206
|
+
* @param paginationConfig - optional pagination config.
|
|
207
|
+
* @returns AsyncIterable of {@link ListHostsCommandOutput}.
|
|
208
|
+
*/
|
|
209
|
+
paginateListHosts(args?: ListHostsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHostsCommandOutput>;
|
|
210
|
+
/**
|
|
211
|
+
* @see {@link ListRepositoryLinksCommand}
|
|
212
|
+
* @param args - command input.
|
|
213
|
+
* @param paginationConfig - optional pagination config.
|
|
214
|
+
* @returns AsyncIterable of {@link ListRepositoryLinksCommandOutput}.
|
|
215
|
+
*/
|
|
216
|
+
paginateListRepositoryLinks(args?: ListRepositoryLinksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRepositoryLinksCommandOutput>;
|
|
217
|
+
/**
|
|
218
|
+
* @see {@link ListSyncConfigurationsCommand}
|
|
219
|
+
* @param args - command input.
|
|
220
|
+
* @param paginationConfig - optional pagination config.
|
|
221
|
+
* @returns AsyncIterable of {@link ListSyncConfigurationsCommandOutput}.
|
|
222
|
+
*/
|
|
223
|
+
paginateListSyncConfigurations(args: ListSyncConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSyncConfigurationsCommandOutput>;
|
|
196
224
|
}
|
|
197
225
|
/**
|
|
198
226
|
* <fullname>AWS CodeConnections</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { CodeConnectionsClient } from "./CodeConnectionsClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateConnectionCommandInput,
|
|
@@ -463,6 +467,34 @@ export interface CodeConnections {
|
|
|
463
467
|
options: __HttpHandlerOptions,
|
|
464
468
|
cb: (err: any, data?: UpdateSyncConfigurationCommandOutput) => void
|
|
465
469
|
): void;
|
|
470
|
+
paginateListConnections(
|
|
471
|
+
args?: ListConnectionsCommandInput,
|
|
472
|
+
paginationConfig?: Pick<
|
|
473
|
+
PaginationConfiguration,
|
|
474
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
475
|
+
>
|
|
476
|
+
): Paginator<ListConnectionsCommandOutput>;
|
|
477
|
+
paginateListHosts(
|
|
478
|
+
args?: ListHostsCommandInput,
|
|
479
|
+
paginationConfig?: Pick<
|
|
480
|
+
PaginationConfiguration,
|
|
481
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
482
|
+
>
|
|
483
|
+
): Paginator<ListHostsCommandOutput>;
|
|
484
|
+
paginateListRepositoryLinks(
|
|
485
|
+
args?: ListRepositoryLinksCommandInput,
|
|
486
|
+
paginationConfig?: Pick<
|
|
487
|
+
PaginationConfiguration,
|
|
488
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
489
|
+
>
|
|
490
|
+
): Paginator<ListRepositoryLinksCommandOutput>;
|
|
491
|
+
paginateListSyncConfigurations(
|
|
492
|
+
args: ListSyncConfigurationsCommandInput,
|
|
493
|
+
paginationConfig?: Pick<
|
|
494
|
+
PaginationConfiguration,
|
|
495
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
496
|
+
>
|
|
497
|
+
): Paginator<ListSyncConfigurationsCommandOutput>;
|
|
466
498
|
}
|
|
467
499
|
export declare class CodeConnections
|
|
468
500
|
extends CodeConnectionsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeconnections",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeconnections 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-codeconnections",
|
|
@@ -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",
|