@aws-sdk/client-codestar-connections 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
|
@@ -1434,6 +1434,14 @@ class UpdateSyncConfigurationCommand extends smithyClient.Command
|
|
|
1434
1434
|
.build() {
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
|
+
const paginateListConnections = core.createPaginator(CodeStarConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1438
|
+
|
|
1439
|
+
const paginateListHosts = core.createPaginator(CodeStarConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1440
|
+
|
|
1441
|
+
const paginateListRepositoryLinks = core.createPaginator(CodeStarConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1442
|
+
|
|
1443
|
+
const paginateListSyncConfigurations = core.createPaginator(CodeStarConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1444
|
+
|
|
1437
1445
|
const commands = {
|
|
1438
1446
|
CreateConnectionCommand,
|
|
1439
1447
|
CreateHostCommand,
|
|
@@ -1463,17 +1471,15 @@ const commands = {
|
|
|
1463
1471
|
UpdateSyncBlockerCommand,
|
|
1464
1472
|
UpdateSyncConfigurationCommand,
|
|
1465
1473
|
};
|
|
1474
|
+
const paginators = {
|
|
1475
|
+
paginateListConnections,
|
|
1476
|
+
paginateListHosts,
|
|
1477
|
+
paginateListRepositoryLinks,
|
|
1478
|
+
paginateListSyncConfigurations,
|
|
1479
|
+
};
|
|
1466
1480
|
class CodeStarConnections extends CodeStarConnectionsClient {
|
|
1467
1481
|
}
|
|
1468
|
-
smithyClient.createAggregatedClient(commands, CodeStarConnections);
|
|
1469
|
-
|
|
1470
|
-
const paginateListConnections = core.createPaginator(CodeStarConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1471
|
-
|
|
1472
|
-
const paginateListHosts = core.createPaginator(CodeStarConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1473
|
-
|
|
1474
|
-
const paginateListRepositoryLinks = core.createPaginator(CodeStarConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1475
|
-
|
|
1476
|
-
const paginateListSyncConfigurations = core.createPaginator(CodeStarConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1482
|
+
smithyClient.createAggregatedClient(commands, CodeStarConnections, { paginators });
|
|
1477
1483
|
|
|
1478
1484
|
const BlockerStatus = {
|
|
1479
1485
|
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 CodeStarConnections extends CodeStarConnectionsClient {
|
|
60
70
|
}
|
|
61
|
-
createAggregatedClient(commands, CodeStarConnections);
|
|
71
|
+
createAggregatedClient(commands, CodeStarConnections, { 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 { CodeStarConnectionsClient } from "./CodeStarConnectionsClient";
|
|
3
3
|
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
4
4
|
import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
|
|
@@ -193,6 +193,34 @@ export interface CodeStarConnections {
|
|
|
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 CodeStar Connections</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { CodeStarConnectionsClient } from "./CodeStarConnectionsClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateConnectionCommandInput,
|
|
@@ -463,6 +467,34 @@ export interface CodeStarConnections {
|
|
|
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 CodeStarConnections
|
|
468
500
|
extends CodeStarConnectionsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-connections",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Connections 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-codestar-connections",
|
|
@@ -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",
|