@aws-sdk/client-cloud9 3.299.0 → 3.300.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-types/commands/CreateEnvironmentEC2Command.d.ts +18 -0
- package/dist-types/commands/CreateEnvironmentMembershipCommand.d.ts +5 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEnvironmentMembershipCommand.d.ts +4 -0
- package/dist-types/commands/DescribeEnvironmentMembershipsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeEnvironmentStatusCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +5 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -0
- package/dist-types/commands/UpdateEnvironmentMembershipCommand.d.ts +5 -0
- package/package.json +8 -8
|
@@ -27,6 +27,24 @@ export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2R
|
|
|
27
27
|
* import { Cloud9Client, CreateEnvironmentEC2Command } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
28
28
|
* // const { Cloud9Client, CreateEnvironmentEC2Command } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
29
29
|
* const client = new Cloud9Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* clientRequestToken: "STRING_VALUE",
|
|
34
|
+
* instanceType: "STRING_VALUE", // required
|
|
35
|
+
* subnetId: "STRING_VALUE",
|
|
36
|
+
* imageId: "STRING_VALUE",
|
|
37
|
+
* automaticStopTimeMinutes: Number("int"),
|
|
38
|
+
* ownerArn: "STRING_VALUE",
|
|
39
|
+
* tags: [
|
|
40
|
+
* {
|
|
41
|
+
* Key: "STRING_VALUE", // required
|
|
42
|
+
* Value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* connectionType: "CONNECT_SSH" || "CONNECT_SSM",
|
|
46
|
+
* dryRun: true || false,
|
|
47
|
+
* };
|
|
30
48
|
* const command = new CreateEnvironmentEC2Command(input);
|
|
31
49
|
* const response = await client.send(command);
|
|
32
50
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironm
|
|
|
26
26
|
* import { Cloud9Client, CreateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, CreateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* userArn: "STRING_VALUE", // required
|
|
32
|
+
* permissions: "read-write" || "read-only", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreateEnvironmentMembershipCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult,
|
|
|
27
27
|
* import { Cloud9Client, DeleteEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
28
28
|
* // const { Cloud9Client, DeleteEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
29
29
|
* const client = new Cloud9Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* environmentId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteEnvironmentCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironm
|
|
|
26
26
|
* import { Cloud9Client, DeleteEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, DeleteEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* userArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteEnvironmentMembershipCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface DescribeEnvironmentMembershipsCommandOutput extends DescribeEnv
|
|
|
26
26
|
* import { Cloud9Client, DescribeEnvironmentMembershipsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, DescribeEnvironmentMembershipsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* userArn: "STRING_VALUE",
|
|
31
|
+
* environmentId: "STRING_VALUE",
|
|
32
|
+
* permissions: [
|
|
33
|
+
* "owner" || "read-write" || "read-only",
|
|
34
|
+
* ],
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* };
|
|
29
38
|
* const command = new DescribeEnvironmentMembershipsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeEnvironmentStatusCommandOutput extends DescribeEnvironm
|
|
|
26
26
|
* import { Cloud9Client, DescribeEnvironmentStatusCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, DescribeEnvironmentStatusCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeEnvironmentStatusCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeEnvironmentsCommandOutput extends DescribeEnvironmentsR
|
|
|
26
26
|
* import { Cloud9Client, DescribeEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, DescribeEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeEnvironmentsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResult, _
|
|
|
26
26
|
* import { Cloud9Client, ListEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, ListEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListEnvironmentsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { Cloud9Client, ListTagsForResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, ListTagsForResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* import { Cloud9Client, TagResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
31
31
|
* // const { Cloud9Client, TagResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
32
32
|
* const client = new Cloud9Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
35
|
+
* Tags: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
33
42
|
* const command = new TagResourceCommand(input);
|
|
34
43
|
* const response = await client.send(command);
|
|
35
44
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { Cloud9Client, UntagResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, UntagResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResult,
|
|
|
26
26
|
* import { Cloud9Client, UpdateEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
27
27
|
* // const { Cloud9Client, UpdateEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
28
28
|
* const client = new Cloud9Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* environmentId: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* managedCredentialsAction: "ENABLE" || "DISABLE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateEnvironmentCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateEnvironmentMembershipCommandOutput extends UpdateEnvironm
|
|
|
27
27
|
* import { Cloud9Client, UpdateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
28
28
|
* // const { Cloud9Client, UpdateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
29
29
|
* const client = new Cloud9Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* environmentId: "STRING_VALUE", // required
|
|
32
|
+
* userArn: "STRING_VALUE", // required
|
|
33
|
+
* permissions: "read-write" || "read-only", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateEnvironmentMembershipCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
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.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|