@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.
Files changed (171) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Cloud9.js +0 -70
  3. package/dist-cjs/Cloud9Client.js +0 -75
  4. package/dist-cjs/commands/CreateEnvironmentEC2Command.js +0 -26
  5. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +0 -25
  6. package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
  7. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +0 -25
  8. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +0 -25
  9. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeEnvironmentsCommand.js +0 -25
  11. package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  13. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  14. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  15. package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
  16. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +0 -26
  17. package/dist-cjs/commands/index.js +16 -0
  18. package/dist-cjs/endpoints.js +1 -2
  19. package/dist-cjs/index.js +4 -19
  20. package/dist-cjs/models/index.js +0 -1
  21. package/dist-cjs/models/models_0.js +0 -115
  22. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -11
  23. package/dist-cjs/pagination/Interfaces.js +0 -1
  24. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
  25. package/dist-cjs/pagination/index.js +6 -0
  26. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  27. package/dist-cjs/runtimeConfig.browser.js +1 -6
  28. package/dist-cjs/runtimeConfig.js +2 -7
  29. package/dist-cjs/runtimeConfig.native.js +0 -4
  30. package/dist-cjs/runtimeConfig.shared.js +0 -4
  31. package/dist-es/Cloud9.js +0 -1
  32. package/dist-es/Cloud9Client.js +0 -1
  33. package/dist-es/commands/CreateEnvironmentEC2Command.js +0 -1
  34. package/dist-es/commands/CreateEnvironmentMembershipCommand.js +0 -1
  35. package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
  36. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +0 -1
  37. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +0 -1
  38. package/dist-es/commands/DescribeEnvironmentStatusCommand.js +0 -1
  39. package/dist-es/commands/DescribeEnvironmentsCommand.js +0 -1
  40. package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
  41. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  42. package/dist-es/commands/TagResourceCommand.js +0 -1
  43. package/dist-es/commands/UntagResourceCommand.js +0 -1
  44. package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
  45. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +0 -1
  46. package/dist-es/commands/index.js +13 -0
  47. package/dist-es/endpoints.js +1 -2
  48. package/dist-es/index.js +4 -19
  49. package/dist-es/models/index.js +0 -1
  50. package/dist-es/models/models_0.js +0 -1
  51. package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -1
  52. package/dist-es/pagination/Interfaces.js +0 -1
  53. package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
  54. package/dist-es/pagination/index.js +3 -0
  55. package/dist-es/protocols/Aws_json1_1.js +0 -1
  56. package/dist-es/runtimeConfig.browser.js +1 -2
  57. package/dist-es/runtimeConfig.js +2 -3
  58. package/dist-es/runtimeConfig.native.js +0 -1
  59. package/dist-es/runtimeConfig.shared.js +0 -1
  60. package/dist-types/commands/index.d.ts +13 -0
  61. package/dist-types/index.d.ts +4 -18
  62. package/dist-types/pagination/index.d.ts +3 -0
  63. package/dist-types/ts3.4/Cloud9.d.ts +14 -115
  64. package/dist-types/ts3.4/Cloud9Client.d.ts +24 -155
  65. package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +2 -21
  66. package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
  68. package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -21
  78. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  79. package/dist-types/ts3.4/index.d.ts +4 -18
  80. package/dist-types/ts3.4/models/models_0.d.ts +118 -629
  81. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  86. package/package.json +33 -30
  87. package/dist-cjs/Cloud9.js.map +0 -1
  88. package/dist-cjs/Cloud9Client.js.map +0 -1
  89. package/dist-cjs/commands/CreateEnvironmentEC2Command.js.map +0 -1
  90. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
  91. package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  92. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
  93. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
  94. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
  95. package/dist-cjs/commands/DescribeEnvironmentsCommand.js.map +0 -1
  96. package/dist-cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  97. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  98. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  99. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  100. package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  101. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
  102. package/dist-cjs/endpoints.js.map +0 -1
  103. package/dist-cjs/index.js.map +0 -1
  104. package/dist-cjs/models/index.js.map +0 -1
  105. package/dist-cjs/models/models_0.js.map +0 -1
  106. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
  107. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  108. package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
  109. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  110. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  111. package/dist-cjs/runtimeConfig.js.map +0 -1
  112. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  113. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  114. package/dist-es/Cloud9.js.map +0 -1
  115. package/dist-es/Cloud9Client.js.map +0 -1
  116. package/dist-es/commands/CreateEnvironmentEC2Command.js.map +0 -1
  117. package/dist-es/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
  118. package/dist-es/commands/DeleteEnvironmentCommand.js.map +0 -1
  119. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
  120. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
  121. package/dist-es/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
  122. package/dist-es/commands/DescribeEnvironmentsCommand.js.map +0 -1
  123. package/dist-es/commands/ListEnvironmentsCommand.js.map +0 -1
  124. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  125. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  126. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  127. package/dist-es/commands/UpdateEnvironmentCommand.js.map +0 -1
  128. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
  129. package/dist-es/endpoints.js.map +0 -1
  130. package/dist-es/index.js.map +0 -1
  131. package/dist-es/models/index.js.map +0 -1
  132. package/dist-es/models/models_0.js.map +0 -1
  133. package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
  134. package/dist-es/pagination/Interfaces.js.map +0 -1
  135. package/dist-es/pagination/ListEnvironmentsPaginator.js.map +0 -1
  136. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  137. package/dist-es/runtimeConfig.browser.js.map +0 -1
  138. package/dist-es/runtimeConfig.js.map +0 -1
  139. package/dist-es/runtimeConfig.native.js.map +0 -1
  140. package/dist-es/runtimeConfig.shared.js.map +0 -1
  141. package/jest.config.js +0 -4
  142. package/src/Cloud9.ts +0 -552
  143. package/src/Cloud9Client.ts +0 -365
  144. package/src/commands/CreateEnvironmentEC2Command.ts +0 -96
  145. package/src/commands/CreateEnvironmentMembershipCommand.ts +0 -98
  146. package/src/commands/DeleteEnvironmentCommand.ts +0 -96
  147. package/src/commands/DeleteEnvironmentMembershipCommand.ts +0 -98
  148. package/src/commands/DescribeEnvironmentMembershipsCommand.ts +0 -103
  149. package/src/commands/DescribeEnvironmentStatusCommand.ts +0 -98
  150. package/src/commands/DescribeEnvironmentsCommand.ts +0 -95
  151. package/src/commands/ListEnvironmentsCommand.ts +0 -95
  152. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  153. package/src/commands/TagResourceCommand.ts +0 -99
  154. package/src/commands/UntagResourceCommand.ts +0 -95
  155. package/src/commands/UpdateEnvironmentCommand.ts +0 -95
  156. package/src/commands/UpdateEnvironmentMembershipCommand.ts +0 -99
  157. package/src/endpoints.ts +0 -57
  158. package/src/index.ts +0 -19
  159. package/src/models/index.ts +0 -1
  160. package/src/models/models_0.ts +0 -1187
  161. package/src/pagination/DescribeEnvironmentMembershipsPaginator.ts +0 -59
  162. package/src/pagination/Interfaces.ts +0 -8
  163. package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
  164. package/src/protocols/Aws_json1_1.ts +0 -2189
  165. package/src/runtimeConfig.browser.ts +0 -41
  166. package/src/runtimeConfig.native.ts +0 -17
  167. package/src/runtimeConfig.shared.ts +0 -17
  168. package/src/runtimeConfig.ts +0 -46
  169. package/tsconfig.es.json +0 -10
  170. package/tsconfig.json +0 -33
  171. package/tsconfig.types.json +0 -9
@@ -1,365 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- CreateEnvironmentEC2CommandInput,
54
- CreateEnvironmentEC2CommandOutput,
55
- } from "./commands/CreateEnvironmentEC2Command";
56
- import {
57
- CreateEnvironmentMembershipCommandInput,
58
- CreateEnvironmentMembershipCommandOutput,
59
- } from "./commands/CreateEnvironmentMembershipCommand";
60
- import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
61
- import {
62
- DeleteEnvironmentMembershipCommandInput,
63
- DeleteEnvironmentMembershipCommandOutput,
64
- } from "./commands/DeleteEnvironmentMembershipCommand";
65
- import {
66
- DescribeEnvironmentMembershipsCommandInput,
67
- DescribeEnvironmentMembershipsCommandOutput,
68
- } from "./commands/DescribeEnvironmentMembershipsCommand";
69
- import {
70
- DescribeEnvironmentsCommandInput,
71
- DescribeEnvironmentsCommandOutput,
72
- } from "./commands/DescribeEnvironmentsCommand";
73
- import {
74
- DescribeEnvironmentStatusCommandInput,
75
- DescribeEnvironmentStatusCommandOutput,
76
- } from "./commands/DescribeEnvironmentStatusCommand";
77
- import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
78
- import {
79
- ListTagsForResourceCommandInput,
80
- ListTagsForResourceCommandOutput,
81
- } from "./commands/ListTagsForResourceCommand";
82
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
83
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
84
- import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
85
- import {
86
- UpdateEnvironmentMembershipCommandInput,
87
- UpdateEnvironmentMembershipCommandOutput,
88
- } from "./commands/UpdateEnvironmentMembershipCommand";
89
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
90
-
91
- export type ServiceInputTypes =
92
- | CreateEnvironmentEC2CommandInput
93
- | CreateEnvironmentMembershipCommandInput
94
- | DeleteEnvironmentCommandInput
95
- | DeleteEnvironmentMembershipCommandInput
96
- | DescribeEnvironmentMembershipsCommandInput
97
- | DescribeEnvironmentStatusCommandInput
98
- | DescribeEnvironmentsCommandInput
99
- | ListEnvironmentsCommandInput
100
- | ListTagsForResourceCommandInput
101
- | TagResourceCommandInput
102
- | UntagResourceCommandInput
103
- | UpdateEnvironmentCommandInput
104
- | UpdateEnvironmentMembershipCommandInput;
105
-
106
- export type ServiceOutputTypes =
107
- | CreateEnvironmentEC2CommandOutput
108
- | CreateEnvironmentMembershipCommandOutput
109
- | DeleteEnvironmentCommandOutput
110
- | DeleteEnvironmentMembershipCommandOutput
111
- | DescribeEnvironmentMembershipsCommandOutput
112
- | DescribeEnvironmentStatusCommandOutput
113
- | DescribeEnvironmentsCommandOutput
114
- | ListEnvironmentsCommandOutput
115
- | ListTagsForResourceCommandOutput
116
- | TagResourceCommandOutput
117
- | UntagResourceCommandOutput
118
- | UpdateEnvironmentCommandOutput
119
- | UpdateEnvironmentMembershipCommandOutput;
120
-
121
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
122
- /**
123
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
124
- */
125
- requestHandler?: __HttpHandler;
126
-
127
- /**
128
- * A constructor for a class implementing the {@link __Hash} interface
129
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
130
- * @internal
131
- */
132
- sha256?: __HashConstructor;
133
-
134
- /**
135
- * The function that will be used to convert strings into HTTP endpoints.
136
- * @internal
137
- */
138
- urlParser?: __UrlParser;
139
-
140
- /**
141
- * A function that can calculate the length of a request body.
142
- * @internal
143
- */
144
- bodyLengthChecker?: (body: any) => number | undefined;
145
-
146
- /**
147
- * A function that converts a stream into an array of bytes.
148
- * @internal
149
- */
150
- streamCollector?: __StreamCollector;
151
-
152
- /**
153
- * The function that will be used to convert a base64-encoded string to a byte array.
154
- * @internal
155
- */
156
- base64Decoder?: __Decoder;
157
-
158
- /**
159
- * The function that will be used to convert binary data to a base64-encoded string.
160
- * @internal
161
- */
162
- base64Encoder?: __Encoder;
163
-
164
- /**
165
- * The function that will be used to convert a UTF8-encoded string to a byte array.
166
- * @internal
167
- */
168
- utf8Decoder?: __Decoder;
169
-
170
- /**
171
- * The function that will be used to convert binary data to a UTF-8 encoded string.
172
- * @internal
173
- */
174
- utf8Encoder?: __Encoder;
175
-
176
- /**
177
- * The runtime environment.
178
- * @internal
179
- */
180
- runtime?: string;
181
-
182
- /**
183
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
184
- * trait of an operation.
185
- */
186
- disableHostPrefix?: boolean;
187
-
188
- /**
189
- * Value for how many times a request will be made at most in case of retry.
190
- */
191
- maxAttempts?: number | __Provider<number>;
192
-
193
- /**
194
- * Specifies which retry algorithm to use.
195
- */
196
- retryMode?: string | __Provider<string>;
197
-
198
- /**
199
- * Optional logger for logging debug/info/warn/error.
200
- */
201
- logger?: __Logger;
202
-
203
- /**
204
- * Unique service identifier.
205
- * @internal
206
- */
207
- serviceId?: string;
208
-
209
- /**
210
- * The AWS region to which this client will send requests
211
- */
212
- region?: string | __Provider<string>;
213
-
214
- /**
215
- * Default credentials provider; Not available in browser runtime.
216
- * @internal
217
- */
218
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
219
-
220
- /**
221
- * Fetch related hostname, signing name or signing region with given region.
222
- * @internal
223
- */
224
- regionInfoProvider?: RegionInfoProvider;
225
-
226
- /**
227
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
228
- * @internal
229
- */
230
- defaultUserAgentProvider?: Provider<__UserAgent>;
231
- }
232
-
233
- type Cloud9ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
234
- ClientDefaults &
235
- RegionInputConfig &
236
- EndpointsInputConfig &
237
- RetryInputConfig &
238
- HostHeaderInputConfig &
239
- AwsAuthInputConfig &
240
- UserAgentInputConfig;
241
- /**
242
- * The configuration interface of Cloud9Client class constructor that set the region, credentials and other options.
243
- */
244
- export interface Cloud9ClientConfig extends Cloud9ClientConfigType {}
245
-
246
- type Cloud9ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
247
- Required<ClientDefaults> &
248
- RegionResolvedConfig &
249
- EndpointsResolvedConfig &
250
- RetryResolvedConfig &
251
- HostHeaderResolvedConfig &
252
- AwsAuthResolvedConfig &
253
- UserAgentResolvedConfig;
254
- /**
255
- * The resolved configuration interface of Cloud9Client class. This is resolved and normalized from the {@link Cloud9ClientConfig | constructor configuration interface}.
256
- */
257
- export interface Cloud9ClientResolvedConfig extends Cloud9ClientResolvedConfigType {}
258
-
259
- /**
260
- * <fullname>Cloud9</fullname>
261
- * <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
262
- * release software in the cloud.</p>
263
- * <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
264
- * <p>Cloud9 supports these operations:</p>
265
- * <ul>
266
- * <li>
267
- * <p>
268
- * <code>CreateEnvironmentEC2</code>: Creates an Cloud9 development environment, launches
269
- * an Amazon EC2 instance, and then connects from the instance to the environment.</p>
270
- * </li>
271
- * <li>
272
- * <p>
273
- * <code>CreateEnvironmentMembership</code>: Adds an environment member to an
274
- * environment.</p>
275
- * </li>
276
- * <li>
277
- * <p>
278
- * <code>DeleteEnvironment</code>: Deletes an environment. If an Amazon EC2 instance is
279
- * connected to the environment, also terminates the instance.</p>
280
- * </li>
281
- * <li>
282
- * <p>
283
- * <code>DeleteEnvironmentMembership</code>: Deletes an environment member from an
284
- * environment.</p>
285
- * </li>
286
- * <li>
287
- * <p>
288
- * <code>DescribeEnvironmentMemberships</code>: Gets information about environment
289
- * members for an environment.</p>
290
- * </li>
291
- * <li>
292
- * <p>
293
- * <code>DescribeEnvironments</code>: Gets information about environments.</p>
294
- * </li>
295
- * <li>
296
- * <p>
297
- * <code>DescribeEnvironmentStatus</code>: Gets status information for an
298
- * environment.</p>
299
- * </li>
300
- * <li>
301
- * <p>
302
- * <code>ListEnvironments</code>: Gets a list of environment identifiers.</p>
303
- * </li>
304
- * <li>
305
- * <p>
306
- * <code>ListTagsForResource</code>: Gets the tags for an environment.</p>
307
- * </li>
308
- * <li>
309
- * <p>
310
- * <code>TagResource</code>: Adds tags to an environment.</p>
311
- * </li>
312
- * <li>
313
- * <p>
314
- * <code>UntagResource</code>: Removes tags from an environment.</p>
315
- * </li>
316
- * <li>
317
- * <p>
318
- * <code>UpdateEnvironment</code>: Changes the settings of an existing
319
- * environment.</p>
320
- * </li>
321
- * <li>
322
- * <p>
323
- * <code>UpdateEnvironmentMembership</code>: Changes the settings of an existing
324
- * environment member for an environment.</p>
325
- * </li>
326
- * </ul>
327
- */
328
- export class Cloud9Client extends __Client<
329
- __HttpHandlerOptions,
330
- ServiceInputTypes,
331
- ServiceOutputTypes,
332
- Cloud9ClientResolvedConfig
333
- > {
334
- /**
335
- * The resolved configuration of Cloud9Client class. This is resolved and normalized from the {@link Cloud9ClientConfig | constructor configuration interface}.
336
- */
337
- readonly config: Cloud9ClientResolvedConfig;
338
-
339
- constructor(configuration: Cloud9ClientConfig) {
340
- const _config_0 = __getRuntimeConfig(configuration);
341
- const _config_1 = resolveRegionConfig(_config_0);
342
- const _config_2 = resolveEndpointsConfig(_config_1);
343
- const _config_3 = resolveRetryConfig(_config_2);
344
- const _config_4 = resolveHostHeaderConfig(_config_3);
345
- const _config_5 = resolveAwsAuthConfig(_config_4);
346
- const _config_6 = resolveUserAgentConfig(_config_5);
347
- super(_config_6);
348
- this.config = _config_6;
349
- this.middlewareStack.use(getRetryPlugin(this.config));
350
- this.middlewareStack.use(getContentLengthPlugin(this.config));
351
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
352
- this.middlewareStack.use(getLoggerPlugin(this.config));
353
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
354
- this.middlewareStack.use(getUserAgentPlugin(this.config));
355
- }
356
-
357
- /**
358
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
359
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
360
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
361
- */
362
- destroy(): void {
363
- super.destroy();
364
- }
365
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
15
- import { CreateEnvironmentEC2Request, CreateEnvironmentEC2Result } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1CreateEnvironmentEC2Command,
18
- serializeAws_json1_1CreateEnvironmentEC2Command,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreateEnvironmentEC2CommandInput extends CreateEnvironmentEC2Request {}
22
- export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2Result, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and
26
- * then connects from the instance to the environment.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { Cloud9Client, CreateEnvironmentEC2Command } from "@aws-sdk/client-cloud9"; // ES Modules import
31
- * // const { Cloud9Client, CreateEnvironmentEC2Command } = require("@aws-sdk/client-cloud9"); // CommonJS import
32
- * const client = new Cloud9Client(config);
33
- * const command = new CreateEnvironmentEC2Command(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link CreateEnvironmentEC2CommandInput} for command's `input` shape.
38
- * @see {@link CreateEnvironmentEC2CommandOutput} for command's `response` shape.
39
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class CreateEnvironmentEC2Command extends $Command<
43
- CreateEnvironmentEC2CommandInput,
44
- CreateEnvironmentEC2CommandOutput,
45
- Cloud9ClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: CreateEnvironmentEC2CommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: Cloud9ClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "Cloud9Client";
70
- const commandName = "CreateEnvironmentEC2Command";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: CreateEnvironmentEC2Request.filterSensitiveLog,
76
- outputFilterSensitiveLog: CreateEnvironmentEC2Result.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: CreateEnvironmentEC2CommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1CreateEnvironmentEC2Command(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEnvironmentEC2CommandOutput> {
91
- return deserializeAws_json1_1CreateEnvironmentEC2Command(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
15
- import { CreateEnvironmentMembershipRequest, CreateEnvironmentMembershipResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1CreateEnvironmentMembershipCommand,
18
- serializeAws_json1_1CreateEnvironmentMembershipCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreateEnvironmentMembershipCommandInput extends CreateEnvironmentMembershipRequest {}
22
- export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironmentMembershipResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Adds an environment member to an Cloud9 development environment.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { Cloud9Client, CreateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, CreateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new CreateEnvironmentMembershipCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateEnvironmentMembershipCommandInput} for command's `input` shape.
37
- * @see {@link CreateEnvironmentMembershipCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateEnvironmentMembershipCommand extends $Command<
42
- CreateEnvironmentMembershipCommandInput,
43
- CreateEnvironmentMembershipCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateEnvironmentMembershipCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: Cloud9ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "Cloud9Client";
69
- const commandName = "CreateEnvironmentMembershipCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateEnvironmentMembershipRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateEnvironmentMembershipResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateEnvironmentMembershipCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1CreateEnvironmentMembershipCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<CreateEnvironmentMembershipCommandOutput> {
93
- return deserializeAws_json1_1CreateEnvironmentMembershipCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
15
- import { DeleteEnvironmentRequest, DeleteEnvironmentResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteEnvironmentCommand,
18
- serializeAws_json1_1DeleteEnvironmentCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest {}
22
- export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the
26
- * environment, also terminates the instance.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { Cloud9Client, DeleteEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
31
- * // const { Cloud9Client, DeleteEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
32
- * const client = new Cloud9Client(config);
33
- * const command = new DeleteEnvironmentCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
38
- * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
39
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteEnvironmentCommand extends $Command<
43
- DeleteEnvironmentCommandInput,
44
- DeleteEnvironmentCommandOutput,
45
- Cloud9ClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteEnvironmentCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: Cloud9ClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "Cloud9Client";
70
- const commandName = "DeleteEnvironmentCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteEnvironmentRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteEnvironmentResult.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeleteEnvironmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DeleteEnvironmentCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteEnvironmentCommandOutput> {
91
- return deserializeAws_json1_1DeleteEnvironmentCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }