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