@aws-sdk/client-cloud9 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 +9 -5
- package/dist-es/Cloud9.js +7 -1
- package/dist-types/Cloud9.d.ts +15 -1
- package/dist-types/ts3.4/Cloud9.d.ts +19 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -762,6 +762,10 @@ class UpdateEnvironmentMembershipCommand extends smithyClient.Command
|
|
|
762
762
|
.build() {
|
|
763
763
|
}
|
|
764
764
|
|
|
765
|
+
const paginateDescribeEnvironmentMemberships = core.createPaginator(Cloud9Client, DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
766
|
+
|
|
767
|
+
const paginateListEnvironments = core.createPaginator(Cloud9Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
768
|
+
|
|
765
769
|
const commands = {
|
|
766
770
|
CreateEnvironmentEC2Command,
|
|
767
771
|
CreateEnvironmentMembershipCommand,
|
|
@@ -777,13 +781,13 @@ const commands = {
|
|
|
777
781
|
UpdateEnvironmentCommand,
|
|
778
782
|
UpdateEnvironmentMembershipCommand,
|
|
779
783
|
};
|
|
784
|
+
const paginators = {
|
|
785
|
+
paginateDescribeEnvironmentMemberships,
|
|
786
|
+
paginateListEnvironments,
|
|
787
|
+
};
|
|
780
788
|
class Cloud9 extends Cloud9Client {
|
|
781
789
|
}
|
|
782
|
-
smithyClient.createAggregatedClient(commands, Cloud9);
|
|
783
|
-
|
|
784
|
-
const paginateDescribeEnvironmentMemberships = core.createPaginator(Cloud9Client, DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
785
|
-
|
|
786
|
-
const paginateListEnvironments = core.createPaginator(Cloud9Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
790
|
+
smithyClient.createAggregatedClient(commands, Cloud9, { paginators });
|
|
787
791
|
|
|
788
792
|
const ConnectionType = {
|
|
789
793
|
CONNECT_SSH: "CONNECT_SSH",
|
package/dist-es/Cloud9.js
CHANGED
|
@@ -13,6 +13,8 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
13
13
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
14
14
|
import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
|
|
15
15
|
import { UpdateEnvironmentMembershipCommand, } from "./commands/UpdateEnvironmentMembershipCommand";
|
|
16
|
+
import { paginateDescribeEnvironmentMemberships } from "./pagination/DescribeEnvironmentMembershipsPaginator";
|
|
17
|
+
import { paginateListEnvironments } from "./pagination/ListEnvironmentsPaginator";
|
|
16
18
|
const commands = {
|
|
17
19
|
CreateEnvironmentEC2Command,
|
|
18
20
|
CreateEnvironmentMembershipCommand,
|
|
@@ -28,6 +30,10 @@ const commands = {
|
|
|
28
30
|
UpdateEnvironmentCommand,
|
|
29
31
|
UpdateEnvironmentMembershipCommand,
|
|
30
32
|
};
|
|
33
|
+
const paginators = {
|
|
34
|
+
paginateDescribeEnvironmentMemberships,
|
|
35
|
+
paginateListEnvironments,
|
|
36
|
+
};
|
|
31
37
|
export class Cloud9 extends Cloud9Client {
|
|
32
38
|
}
|
|
33
|
-
createAggregatedClient(commands, Cloud9);
|
|
39
|
+
createAggregatedClient(commands, Cloud9, { paginators });
|
package/dist-types/Cloud9.d.ts
CHANGED
|
@@ -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 { Cloud9Client } from "./Cloud9Client";
|
|
3
3
|
import { CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput } from "./commands/CreateEnvironmentEC2Command";
|
|
4
4
|
import { CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput } from "./commands/CreateEnvironmentMembershipCommand";
|
|
@@ -94,6 +94,20 @@ export interface Cloud9 {
|
|
|
94
94
|
updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentMembershipCommandOutput>;
|
|
95
95
|
updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void): void;
|
|
96
96
|
updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link DescribeEnvironmentMembershipsCommand}
|
|
99
|
+
* @param args - command input.
|
|
100
|
+
* @param paginationConfig - optional pagination config.
|
|
101
|
+
* @returns AsyncIterable of {@link DescribeEnvironmentMembershipsCommandOutput}.
|
|
102
|
+
*/
|
|
103
|
+
paginateDescribeEnvironmentMemberships(args?: DescribeEnvironmentMembershipsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeEnvironmentMembershipsCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListEnvironmentsCommand}
|
|
106
|
+
* @param args - command input.
|
|
107
|
+
* @param paginationConfig - optional pagination config.
|
|
108
|
+
* @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
|
|
109
|
+
*/
|
|
110
|
+
paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
|
|
97
111
|
}
|
|
98
112
|
/**
|
|
99
113
|
* <fullname>Cloud9</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { Cloud9Client } from "./Cloud9Client";
|
|
3
7
|
import {
|
|
4
8
|
CreateEnvironmentEC2CommandInput,
|
|
@@ -224,5 +228,19 @@ export interface Cloud9 {
|
|
|
224
228
|
options: __HttpHandlerOptions,
|
|
225
229
|
cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void
|
|
226
230
|
): void;
|
|
231
|
+
paginateDescribeEnvironmentMemberships(
|
|
232
|
+
args?: DescribeEnvironmentMembershipsCommandInput,
|
|
233
|
+
paginationConfig?: Pick<
|
|
234
|
+
PaginationConfiguration,
|
|
235
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
236
|
+
>
|
|
237
|
+
): Paginator<DescribeEnvironmentMembershipsCommandOutput>;
|
|
238
|
+
paginateListEnvironments(
|
|
239
|
+
args?: ListEnvironmentsCommandInput,
|
|
240
|
+
paginationConfig?: Pick<
|
|
241
|
+
PaginationConfiguration,
|
|
242
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
243
|
+
>
|
|
244
|
+
): Paginator<ListEnvironmentsCommandOutput>;
|
|
227
245
|
}
|
|
228
246
|
export declare class Cloud9 extends Cloud9Client implements Cloud9 {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloud9",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloud9 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-cloud9",
|
|
@@ -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",
|