@aws-sdk/client-cloud9 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/Cloud9.js +0 -70
- package/dist-cjs/Cloud9Client.js +0 -75
- package/dist-cjs/commands/CreateEnvironmentEC2Command.js +0 -26
- package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +0 -25
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
- package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +0 -25
- package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +0 -25
- package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +0 -25
- package/dist-cjs/commands/DescribeEnvironmentsCommand.js +0 -25
- package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -29
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
- package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +0 -26
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -19
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -115
- package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Cloud9.js +0 -1
- package/dist-es/Cloud9Client.js +0 -1
- package/dist-es/commands/CreateEnvironmentEC2Command.js +0 -1
- package/dist-es/commands/CreateEnvironmentMembershipCommand.js +0 -1
- package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
- package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +0 -1
- package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +0 -1
- package/dist-es/commands/DescribeEnvironmentStatusCommand.js +0 -1
- package/dist-es/commands/DescribeEnvironmentsCommand.js +0 -1
- package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
- package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +0 -1
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -19
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +4 -18
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/Cloud9.d.ts +14 -115
- package/dist-types/ts3.4/Cloud9Client.d.ts +24 -155
- package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/index.d.ts +4 -18
- package/dist-types/ts3.4/models/models_0.d.ts +118 -629
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Cloud9.js.map +0 -1
- package/dist-cjs/Cloud9Client.js.map +0 -1
- package/dist-cjs/commands/CreateEnvironmentEC2Command.js.map +0 -1
- package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEnvironmentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Cloud9.js.map +0 -1
- package/dist-es/Cloud9Client.js.map +0 -1
- package/dist-es/commands/CreateEnvironmentEC2Command.js.map +0 -1
- package/dist-es/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
- package/dist-es/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist-es/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
- package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
- package/dist-es/commands/DescribeEnvironmentsCommand.js.map +0 -1
- package/dist-es/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist-es/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Cloud9.ts +0 -552
- package/src/Cloud9Client.ts +0 -365
- package/src/commands/CreateEnvironmentEC2Command.ts +0 -96
- package/src/commands/CreateEnvironmentMembershipCommand.ts +0 -98
- package/src/commands/DeleteEnvironmentCommand.ts +0 -96
- package/src/commands/DeleteEnvironmentMembershipCommand.ts +0 -98
- package/src/commands/DescribeEnvironmentMembershipsCommand.ts +0 -103
- package/src/commands/DescribeEnvironmentStatusCommand.ts +0 -98
- package/src/commands/DescribeEnvironmentsCommand.ts +0 -95
- package/src/commands/ListEnvironmentsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -99
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateEnvironmentCommand.ts +0 -95
- package/src/commands/UpdateEnvironmentMembershipCommand.ts +0 -99
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -19
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1187
- package/src/pagination/DescribeEnvironmentMembershipsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -2189
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/Cloud9.ts
DELETED
|
@@ -1,552 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { Cloud9Client } from "./Cloud9Client";
|
|
4
|
-
import {
|
|
5
|
-
CreateEnvironmentEC2Command,
|
|
6
|
-
CreateEnvironmentEC2CommandInput,
|
|
7
|
-
CreateEnvironmentEC2CommandOutput,
|
|
8
|
-
} from "./commands/CreateEnvironmentEC2Command";
|
|
9
|
-
import {
|
|
10
|
-
CreateEnvironmentMembershipCommand,
|
|
11
|
-
CreateEnvironmentMembershipCommandInput,
|
|
12
|
-
CreateEnvironmentMembershipCommandOutput,
|
|
13
|
-
} from "./commands/CreateEnvironmentMembershipCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteEnvironmentCommand,
|
|
16
|
-
DeleteEnvironmentCommandInput,
|
|
17
|
-
DeleteEnvironmentCommandOutput,
|
|
18
|
-
} from "./commands/DeleteEnvironmentCommand";
|
|
19
|
-
import {
|
|
20
|
-
DeleteEnvironmentMembershipCommand,
|
|
21
|
-
DeleteEnvironmentMembershipCommandInput,
|
|
22
|
-
DeleteEnvironmentMembershipCommandOutput,
|
|
23
|
-
} from "./commands/DeleteEnvironmentMembershipCommand";
|
|
24
|
-
import {
|
|
25
|
-
DescribeEnvironmentMembershipsCommand,
|
|
26
|
-
DescribeEnvironmentMembershipsCommandInput,
|
|
27
|
-
DescribeEnvironmentMembershipsCommandOutput,
|
|
28
|
-
} from "./commands/DescribeEnvironmentMembershipsCommand";
|
|
29
|
-
import {
|
|
30
|
-
DescribeEnvironmentsCommand,
|
|
31
|
-
DescribeEnvironmentsCommandInput,
|
|
32
|
-
DescribeEnvironmentsCommandOutput,
|
|
33
|
-
} from "./commands/DescribeEnvironmentsCommand";
|
|
34
|
-
import {
|
|
35
|
-
DescribeEnvironmentStatusCommand,
|
|
36
|
-
DescribeEnvironmentStatusCommandInput,
|
|
37
|
-
DescribeEnvironmentStatusCommandOutput,
|
|
38
|
-
} from "./commands/DescribeEnvironmentStatusCommand";
|
|
39
|
-
import {
|
|
40
|
-
ListEnvironmentsCommand,
|
|
41
|
-
ListEnvironmentsCommandInput,
|
|
42
|
-
ListEnvironmentsCommandOutput,
|
|
43
|
-
} from "./commands/ListEnvironmentsCommand";
|
|
44
|
-
import {
|
|
45
|
-
ListTagsForResourceCommand,
|
|
46
|
-
ListTagsForResourceCommandInput,
|
|
47
|
-
ListTagsForResourceCommandOutput,
|
|
48
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
49
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
50
|
-
import {
|
|
51
|
-
UntagResourceCommand,
|
|
52
|
-
UntagResourceCommandInput,
|
|
53
|
-
UntagResourceCommandOutput,
|
|
54
|
-
} from "./commands/UntagResourceCommand";
|
|
55
|
-
import {
|
|
56
|
-
UpdateEnvironmentCommand,
|
|
57
|
-
UpdateEnvironmentCommandInput,
|
|
58
|
-
UpdateEnvironmentCommandOutput,
|
|
59
|
-
} from "./commands/UpdateEnvironmentCommand";
|
|
60
|
-
import {
|
|
61
|
-
UpdateEnvironmentMembershipCommand,
|
|
62
|
-
UpdateEnvironmentMembershipCommandInput,
|
|
63
|
-
UpdateEnvironmentMembershipCommandOutput,
|
|
64
|
-
} from "./commands/UpdateEnvironmentMembershipCommand";
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* <fullname>Cloud9</fullname>
|
|
68
|
-
* <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
|
|
69
|
-
* release software in the cloud.</p>
|
|
70
|
-
* <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
|
|
71
|
-
* <p>Cloud9 supports these operations:</p>
|
|
72
|
-
* <ul>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>
|
|
75
|
-
* <code>CreateEnvironmentEC2</code>: Creates an Cloud9 development environment, launches
|
|
76
|
-
* an Amazon EC2 instance, and then connects from the instance to the environment.</p>
|
|
77
|
-
* </li>
|
|
78
|
-
* <li>
|
|
79
|
-
* <p>
|
|
80
|
-
* <code>CreateEnvironmentMembership</code>: Adds an environment member to an
|
|
81
|
-
* environment.</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>
|
|
85
|
-
* <code>DeleteEnvironment</code>: Deletes an environment. If an Amazon EC2 instance is
|
|
86
|
-
* connected to the environment, also terminates the instance.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>
|
|
90
|
-
* <code>DeleteEnvironmentMembership</code>: Deletes an environment member from an
|
|
91
|
-
* environment.</p>
|
|
92
|
-
* </li>
|
|
93
|
-
* <li>
|
|
94
|
-
* <p>
|
|
95
|
-
* <code>DescribeEnvironmentMemberships</code>: Gets information about environment
|
|
96
|
-
* members for an environment.</p>
|
|
97
|
-
* </li>
|
|
98
|
-
* <li>
|
|
99
|
-
* <p>
|
|
100
|
-
* <code>DescribeEnvironments</code>: Gets information about environments.</p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>
|
|
104
|
-
* <code>DescribeEnvironmentStatus</code>: Gets status information for an
|
|
105
|
-
* environment.</p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>
|
|
109
|
-
* <code>ListEnvironments</code>: Gets a list of environment identifiers.</p>
|
|
110
|
-
* </li>
|
|
111
|
-
* <li>
|
|
112
|
-
* <p>
|
|
113
|
-
* <code>ListTagsForResource</code>: Gets the tags for an environment.</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>
|
|
117
|
-
* <code>TagResource</code>: Adds tags to an environment.</p>
|
|
118
|
-
* </li>
|
|
119
|
-
* <li>
|
|
120
|
-
* <p>
|
|
121
|
-
* <code>UntagResource</code>: Removes tags from an environment.</p>
|
|
122
|
-
* </li>
|
|
123
|
-
* <li>
|
|
124
|
-
* <p>
|
|
125
|
-
* <code>UpdateEnvironment</code>: Changes the settings of an existing
|
|
126
|
-
* environment.</p>
|
|
127
|
-
* </li>
|
|
128
|
-
* <li>
|
|
129
|
-
* <p>
|
|
130
|
-
* <code>UpdateEnvironmentMembership</code>: Changes the settings of an existing
|
|
131
|
-
* environment member for an environment.</p>
|
|
132
|
-
* </li>
|
|
133
|
-
* </ul>
|
|
134
|
-
*/
|
|
135
|
-
export class Cloud9 extends Cloud9Client {
|
|
136
|
-
/**
|
|
137
|
-
* <p>Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and
|
|
138
|
-
* then connects from the instance to the environment.</p>
|
|
139
|
-
*/
|
|
140
|
-
public createEnvironmentEC2(
|
|
141
|
-
args: CreateEnvironmentEC2CommandInput,
|
|
142
|
-
options?: __HttpHandlerOptions
|
|
143
|
-
): Promise<CreateEnvironmentEC2CommandOutput>;
|
|
144
|
-
public createEnvironmentEC2(
|
|
145
|
-
args: CreateEnvironmentEC2CommandInput,
|
|
146
|
-
cb: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void
|
|
147
|
-
): void;
|
|
148
|
-
public createEnvironmentEC2(
|
|
149
|
-
args: CreateEnvironmentEC2CommandInput,
|
|
150
|
-
options: __HttpHandlerOptions,
|
|
151
|
-
cb: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void
|
|
152
|
-
): void;
|
|
153
|
-
public createEnvironmentEC2(
|
|
154
|
-
args: CreateEnvironmentEC2CommandInput,
|
|
155
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEnvironmentEC2CommandOutput) => void),
|
|
156
|
-
cb?: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void
|
|
157
|
-
): Promise<CreateEnvironmentEC2CommandOutput> | void {
|
|
158
|
-
const command = new CreateEnvironmentEC2Command(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
} else if (typeof cb === "function") {
|
|
162
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
} else {
|
|
165
|
-
return this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* <p>Adds an environment member to an Cloud9 development environment.</p>
|
|
171
|
-
*/
|
|
172
|
-
public createEnvironmentMembership(
|
|
173
|
-
args: CreateEnvironmentMembershipCommandInput,
|
|
174
|
-
options?: __HttpHandlerOptions
|
|
175
|
-
): Promise<CreateEnvironmentMembershipCommandOutput>;
|
|
176
|
-
public createEnvironmentMembership(
|
|
177
|
-
args: CreateEnvironmentMembershipCommandInput,
|
|
178
|
-
cb: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void
|
|
179
|
-
): void;
|
|
180
|
-
public createEnvironmentMembership(
|
|
181
|
-
args: CreateEnvironmentMembershipCommandInput,
|
|
182
|
-
options: __HttpHandlerOptions,
|
|
183
|
-
cb: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void
|
|
184
|
-
): void;
|
|
185
|
-
public createEnvironmentMembership(
|
|
186
|
-
args: CreateEnvironmentMembershipCommandInput,
|
|
187
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEnvironmentMembershipCommandOutput) => void),
|
|
188
|
-
cb?: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void
|
|
189
|
-
): Promise<CreateEnvironmentMembershipCommandOutput> | void {
|
|
190
|
-
const command = new CreateEnvironmentMembershipCommand(args);
|
|
191
|
-
if (typeof optionsOrCb === "function") {
|
|
192
|
-
this.send(command, optionsOrCb);
|
|
193
|
-
} else if (typeof cb === "function") {
|
|
194
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
195
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
196
|
-
} else {
|
|
197
|
-
return this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* <p>Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the
|
|
203
|
-
* environment, also terminates the instance.</p>
|
|
204
|
-
*/
|
|
205
|
-
public deleteEnvironment(
|
|
206
|
-
args: DeleteEnvironmentCommandInput,
|
|
207
|
-
options?: __HttpHandlerOptions
|
|
208
|
-
): Promise<DeleteEnvironmentCommandOutput>;
|
|
209
|
-
public deleteEnvironment(
|
|
210
|
-
args: DeleteEnvironmentCommandInput,
|
|
211
|
-
cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void
|
|
212
|
-
): void;
|
|
213
|
-
public deleteEnvironment(
|
|
214
|
-
args: DeleteEnvironmentCommandInput,
|
|
215
|
-
options: __HttpHandlerOptions,
|
|
216
|
-
cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void
|
|
217
|
-
): void;
|
|
218
|
-
public deleteEnvironment(
|
|
219
|
-
args: DeleteEnvironmentCommandInput,
|
|
220
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEnvironmentCommandOutput) => void),
|
|
221
|
-
cb?: (err: any, data?: DeleteEnvironmentCommandOutput) => void
|
|
222
|
-
): Promise<DeleteEnvironmentCommandOutput> | void {
|
|
223
|
-
const command = new DeleteEnvironmentCommand(args);
|
|
224
|
-
if (typeof optionsOrCb === "function") {
|
|
225
|
-
this.send(command, optionsOrCb);
|
|
226
|
-
} else if (typeof cb === "function") {
|
|
227
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
-
} else {
|
|
230
|
-
return this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* <p>Deletes an environment member from an Cloud9 development environment.</p>
|
|
236
|
-
*/
|
|
237
|
-
public deleteEnvironmentMembership(
|
|
238
|
-
args: DeleteEnvironmentMembershipCommandInput,
|
|
239
|
-
options?: __HttpHandlerOptions
|
|
240
|
-
): Promise<DeleteEnvironmentMembershipCommandOutput>;
|
|
241
|
-
public deleteEnvironmentMembership(
|
|
242
|
-
args: DeleteEnvironmentMembershipCommandInput,
|
|
243
|
-
cb: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void
|
|
244
|
-
): void;
|
|
245
|
-
public deleteEnvironmentMembership(
|
|
246
|
-
args: DeleteEnvironmentMembershipCommandInput,
|
|
247
|
-
options: __HttpHandlerOptions,
|
|
248
|
-
cb: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void
|
|
249
|
-
): void;
|
|
250
|
-
public deleteEnvironmentMembership(
|
|
251
|
-
args: DeleteEnvironmentMembershipCommandInput,
|
|
252
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void),
|
|
253
|
-
cb?: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void
|
|
254
|
-
): Promise<DeleteEnvironmentMembershipCommandOutput> | void {
|
|
255
|
-
const command = new DeleteEnvironmentMembershipCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
} else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
-
} else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* <p>Gets information about environment members for an Cloud9 development environment.</p>
|
|
268
|
-
*/
|
|
269
|
-
public describeEnvironmentMemberships(
|
|
270
|
-
args: DescribeEnvironmentMembershipsCommandInput,
|
|
271
|
-
options?: __HttpHandlerOptions
|
|
272
|
-
): Promise<DescribeEnvironmentMembershipsCommandOutput>;
|
|
273
|
-
public describeEnvironmentMemberships(
|
|
274
|
-
args: DescribeEnvironmentMembershipsCommandInput,
|
|
275
|
-
cb: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void
|
|
276
|
-
): void;
|
|
277
|
-
public describeEnvironmentMemberships(
|
|
278
|
-
args: DescribeEnvironmentMembershipsCommandInput,
|
|
279
|
-
options: __HttpHandlerOptions,
|
|
280
|
-
cb: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void
|
|
281
|
-
): void;
|
|
282
|
-
public describeEnvironmentMemberships(
|
|
283
|
-
args: DescribeEnvironmentMembershipsCommandInput,
|
|
284
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void),
|
|
285
|
-
cb?: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void
|
|
286
|
-
): Promise<DescribeEnvironmentMembershipsCommandOutput> | void {
|
|
287
|
-
const command = new DescribeEnvironmentMembershipsCommand(args);
|
|
288
|
-
if (typeof optionsOrCb === "function") {
|
|
289
|
-
this.send(command, optionsOrCb);
|
|
290
|
-
} else if (typeof cb === "function") {
|
|
291
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
292
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
293
|
-
} else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* <p>Gets information about Cloud9 development environments.</p>
|
|
300
|
-
*/
|
|
301
|
-
public describeEnvironments(
|
|
302
|
-
args: DescribeEnvironmentsCommandInput,
|
|
303
|
-
options?: __HttpHandlerOptions
|
|
304
|
-
): Promise<DescribeEnvironmentsCommandOutput>;
|
|
305
|
-
public describeEnvironments(
|
|
306
|
-
args: DescribeEnvironmentsCommandInput,
|
|
307
|
-
cb: (err: any, data?: DescribeEnvironmentsCommandOutput) => void
|
|
308
|
-
): void;
|
|
309
|
-
public describeEnvironments(
|
|
310
|
-
args: DescribeEnvironmentsCommandInput,
|
|
311
|
-
options: __HttpHandlerOptions,
|
|
312
|
-
cb: (err: any, data?: DescribeEnvironmentsCommandOutput) => void
|
|
313
|
-
): void;
|
|
314
|
-
public describeEnvironments(
|
|
315
|
-
args: DescribeEnvironmentsCommandInput,
|
|
316
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEnvironmentsCommandOutput) => void),
|
|
317
|
-
cb?: (err: any, data?: DescribeEnvironmentsCommandOutput) => void
|
|
318
|
-
): Promise<DescribeEnvironmentsCommandOutput> | void {
|
|
319
|
-
const command = new DescribeEnvironmentsCommand(args);
|
|
320
|
-
if (typeof optionsOrCb === "function") {
|
|
321
|
-
this.send(command, optionsOrCb);
|
|
322
|
-
} else if (typeof cb === "function") {
|
|
323
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
324
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
325
|
-
} else {
|
|
326
|
-
return this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* <p>Gets status information for an Cloud9 development environment.</p>
|
|
332
|
-
*/
|
|
333
|
-
public describeEnvironmentStatus(
|
|
334
|
-
args: DescribeEnvironmentStatusCommandInput,
|
|
335
|
-
options?: __HttpHandlerOptions
|
|
336
|
-
): Promise<DescribeEnvironmentStatusCommandOutput>;
|
|
337
|
-
public describeEnvironmentStatus(
|
|
338
|
-
args: DescribeEnvironmentStatusCommandInput,
|
|
339
|
-
cb: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void
|
|
340
|
-
): void;
|
|
341
|
-
public describeEnvironmentStatus(
|
|
342
|
-
args: DescribeEnvironmentStatusCommandInput,
|
|
343
|
-
options: __HttpHandlerOptions,
|
|
344
|
-
cb: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void
|
|
345
|
-
): void;
|
|
346
|
-
public describeEnvironmentStatus(
|
|
347
|
-
args: DescribeEnvironmentStatusCommandInput,
|
|
348
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEnvironmentStatusCommandOutput) => void),
|
|
349
|
-
cb?: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void
|
|
350
|
-
): Promise<DescribeEnvironmentStatusCommandOutput> | void {
|
|
351
|
-
const command = new DescribeEnvironmentStatusCommand(args);
|
|
352
|
-
if (typeof optionsOrCb === "function") {
|
|
353
|
-
this.send(command, optionsOrCb);
|
|
354
|
-
} else if (typeof cb === "function") {
|
|
355
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
356
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
357
|
-
} else {
|
|
358
|
-
return this.send(command, optionsOrCb);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* <p>Gets a list of Cloud9 development environment identifiers.</p>
|
|
364
|
-
*/
|
|
365
|
-
public listEnvironments(
|
|
366
|
-
args: ListEnvironmentsCommandInput,
|
|
367
|
-
options?: __HttpHandlerOptions
|
|
368
|
-
): Promise<ListEnvironmentsCommandOutput>;
|
|
369
|
-
public listEnvironments(
|
|
370
|
-
args: ListEnvironmentsCommandInput,
|
|
371
|
-
cb: (err: any, data?: ListEnvironmentsCommandOutput) => void
|
|
372
|
-
): void;
|
|
373
|
-
public listEnvironments(
|
|
374
|
-
args: ListEnvironmentsCommandInput,
|
|
375
|
-
options: __HttpHandlerOptions,
|
|
376
|
-
cb: (err: any, data?: ListEnvironmentsCommandOutput) => void
|
|
377
|
-
): void;
|
|
378
|
-
public listEnvironments(
|
|
379
|
-
args: ListEnvironmentsCommandInput,
|
|
380
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEnvironmentsCommandOutput) => void),
|
|
381
|
-
cb?: (err: any, data?: ListEnvironmentsCommandOutput) => void
|
|
382
|
-
): Promise<ListEnvironmentsCommandOutput> | void {
|
|
383
|
-
const command = new ListEnvironmentsCommand(args);
|
|
384
|
-
if (typeof optionsOrCb === "function") {
|
|
385
|
-
this.send(command, optionsOrCb);
|
|
386
|
-
} else if (typeof cb === "function") {
|
|
387
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
388
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
389
|
-
} else {
|
|
390
|
-
return this.send(command, optionsOrCb);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* <p>Gets a list of the tags associated with an Cloud9 development environment.</p>
|
|
396
|
-
*/
|
|
397
|
-
public listTagsForResource(
|
|
398
|
-
args: ListTagsForResourceCommandInput,
|
|
399
|
-
options?: __HttpHandlerOptions
|
|
400
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
401
|
-
public listTagsForResource(
|
|
402
|
-
args: ListTagsForResourceCommandInput,
|
|
403
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
404
|
-
): void;
|
|
405
|
-
public listTagsForResource(
|
|
406
|
-
args: ListTagsForResourceCommandInput,
|
|
407
|
-
options: __HttpHandlerOptions,
|
|
408
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
409
|
-
): void;
|
|
410
|
-
public listTagsForResource(
|
|
411
|
-
args: ListTagsForResourceCommandInput,
|
|
412
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
413
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
414
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
415
|
-
const command = new ListTagsForResourceCommand(args);
|
|
416
|
-
if (typeof optionsOrCb === "function") {
|
|
417
|
-
this.send(command, optionsOrCb);
|
|
418
|
-
} else if (typeof cb === "function") {
|
|
419
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
420
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
421
|
-
} else {
|
|
422
|
-
return this.send(command, optionsOrCb);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* <p>Adds tags to an Cloud9 development environment.</p>
|
|
428
|
-
* <important>
|
|
429
|
-
* <p>Tags that you add to an Cloud9 environment by using this method will NOT be
|
|
430
|
-
* automatically propagated to underlying resources.</p>
|
|
431
|
-
* </important>
|
|
432
|
-
*/
|
|
433
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
434
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
435
|
-
public tagResource(
|
|
436
|
-
args: TagResourceCommandInput,
|
|
437
|
-
options: __HttpHandlerOptions,
|
|
438
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
439
|
-
): void;
|
|
440
|
-
public tagResource(
|
|
441
|
-
args: TagResourceCommandInput,
|
|
442
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
443
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
444
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
445
|
-
const command = new TagResourceCommand(args);
|
|
446
|
-
if (typeof optionsOrCb === "function") {
|
|
447
|
-
this.send(command, optionsOrCb);
|
|
448
|
-
} else if (typeof cb === "function") {
|
|
449
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
450
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
451
|
-
} else {
|
|
452
|
-
return this.send(command, optionsOrCb);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* <p>Removes tags from an Cloud9 development environment.</p>
|
|
458
|
-
*/
|
|
459
|
-
public untagResource(
|
|
460
|
-
args: UntagResourceCommandInput,
|
|
461
|
-
options?: __HttpHandlerOptions
|
|
462
|
-
): Promise<UntagResourceCommandOutput>;
|
|
463
|
-
public untagResource(
|
|
464
|
-
args: UntagResourceCommandInput,
|
|
465
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
466
|
-
): void;
|
|
467
|
-
public untagResource(
|
|
468
|
-
args: UntagResourceCommandInput,
|
|
469
|
-
options: __HttpHandlerOptions,
|
|
470
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
471
|
-
): void;
|
|
472
|
-
public untagResource(
|
|
473
|
-
args: UntagResourceCommandInput,
|
|
474
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
475
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
476
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
477
|
-
const command = new UntagResourceCommand(args);
|
|
478
|
-
if (typeof optionsOrCb === "function") {
|
|
479
|
-
this.send(command, optionsOrCb);
|
|
480
|
-
} else if (typeof cb === "function") {
|
|
481
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
482
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
483
|
-
} else {
|
|
484
|
-
return this.send(command, optionsOrCb);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* <p>Changes the settings of an existing Cloud9 development environment.</p>
|
|
490
|
-
*/
|
|
491
|
-
public updateEnvironment(
|
|
492
|
-
args: UpdateEnvironmentCommandInput,
|
|
493
|
-
options?: __HttpHandlerOptions
|
|
494
|
-
): Promise<UpdateEnvironmentCommandOutput>;
|
|
495
|
-
public updateEnvironment(
|
|
496
|
-
args: UpdateEnvironmentCommandInput,
|
|
497
|
-
cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
498
|
-
): void;
|
|
499
|
-
public updateEnvironment(
|
|
500
|
-
args: UpdateEnvironmentCommandInput,
|
|
501
|
-
options: __HttpHandlerOptions,
|
|
502
|
-
cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
503
|
-
): void;
|
|
504
|
-
public updateEnvironment(
|
|
505
|
-
args: UpdateEnvironmentCommandInput,
|
|
506
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEnvironmentCommandOutput) => void),
|
|
507
|
-
cb?: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
508
|
-
): Promise<UpdateEnvironmentCommandOutput> | void {
|
|
509
|
-
const command = new UpdateEnvironmentCommand(args);
|
|
510
|
-
if (typeof optionsOrCb === "function") {
|
|
511
|
-
this.send(command, optionsOrCb);
|
|
512
|
-
} else if (typeof cb === "function") {
|
|
513
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
514
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
515
|
-
} else {
|
|
516
|
-
return this.send(command, optionsOrCb);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* <p>Changes the settings of an existing environment member for an Cloud9 development
|
|
522
|
-
* environment.</p>
|
|
523
|
-
*/
|
|
524
|
-
public updateEnvironmentMembership(
|
|
525
|
-
args: UpdateEnvironmentMembershipCommandInput,
|
|
526
|
-
options?: __HttpHandlerOptions
|
|
527
|
-
): Promise<UpdateEnvironmentMembershipCommandOutput>;
|
|
528
|
-
public updateEnvironmentMembership(
|
|
529
|
-
args: UpdateEnvironmentMembershipCommandInput,
|
|
530
|
-
cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void
|
|
531
|
-
): void;
|
|
532
|
-
public updateEnvironmentMembership(
|
|
533
|
-
args: UpdateEnvironmentMembershipCommandInput,
|
|
534
|
-
options: __HttpHandlerOptions,
|
|
535
|
-
cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void
|
|
536
|
-
): void;
|
|
537
|
-
public updateEnvironmentMembership(
|
|
538
|
-
args: UpdateEnvironmentMembershipCommandInput,
|
|
539
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void),
|
|
540
|
-
cb?: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void
|
|
541
|
-
): Promise<UpdateEnvironmentMembershipCommandOutput> | void {
|
|
542
|
-
const command = new UpdateEnvironmentMembershipCommand(args);
|
|
543
|
-
if (typeof optionsOrCb === "function") {
|
|
544
|
-
this.send(command, optionsOrCb);
|
|
545
|
-
} else if (typeof cb === "function") {
|
|
546
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
547
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
548
|
-
} else {
|
|
549
|
-
return this.send(command, optionsOrCb);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|