@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
@@ -1,1187 +0,0 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
-
4
- /**
5
- * <p>The target request is invalid.</p>
6
- */
7
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
8
- name: "BadRequestException";
9
- $fault: "client";
10
- message?: string;
11
- className?: string;
12
- code?: number;
13
- }
14
-
15
- export namespace BadRequestException {
16
- /**
17
- * @internal
18
- */
19
- export const filterSensitiveLog = (obj: BadRequestException): any => ({
20
- ...obj,
21
- });
22
- }
23
-
24
- /**
25
- * <p>A conflict occurred.</p>
26
- */
27
- export interface ConflictException extends __SmithyException, $MetadataBearer {
28
- name: "ConflictException";
29
- $fault: "client";
30
- message?: string;
31
- className?: string;
32
- code?: number;
33
- }
34
-
35
- export namespace ConflictException {
36
- /**
37
- * @internal
38
- */
39
- export const filterSensitiveLog = (obj: ConflictException): any => ({
40
- ...obj,
41
- });
42
- }
43
-
44
- export enum ConnectionType {
45
- CONNECT_SSH = "CONNECT_SSH",
46
- CONNECT_SSM = "CONNECT_SSM",
47
- }
48
-
49
- /**
50
- * <p>Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that
51
- * can be associated with an Cloud9 development environment. There are two types of tags:
52
- * <i>user tags</i> and <i>system tags</i>. A user tag is created
53
- * by the user. A system tag is automatically created by Amazon Web Services services. A system tag is prefixed
54
- * with <code>"aws:"</code> and cannot be modified by the user.</p>
55
- */
56
- export interface Tag {
57
- /**
58
- * <p>The <b>name</b> part of a tag.</p>
59
- */
60
- Key: string | undefined;
61
-
62
- /**
63
- * <p>The <b>value</b> part of a tag.</p>
64
- */
65
- Value: string | undefined;
66
- }
67
-
68
- export namespace Tag {
69
- /**
70
- * @internal
71
- */
72
- export const filterSensitiveLog = (obj: Tag): any => ({
73
- ...obj,
74
- ...(obj.Key && { Key: SENSITIVE_STRING }),
75
- ...(obj.Value && { Value: SENSITIVE_STRING }),
76
- });
77
- }
78
-
79
- export interface CreateEnvironmentEC2Request {
80
- /**
81
- * <p>The name of the environment to create.</p>
82
- * <p>This name is visible to other IAM users in the same Amazon Web Services account.</p>
83
- */
84
- name: string | undefined;
85
-
86
- /**
87
- * <p>The description of the environment to create.</p>
88
- */
89
- description?: string;
90
-
91
- /**
92
- * <p>A unique, case-sensitive string that helps Cloud9 to ensure this operation completes no
93
- * more than one time.</p>
94
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Client Tokens</a> in the
95
- * <i>Amazon EC2 API Reference</i>.</p>
96
- */
97
- clientRequestToken?: string;
98
-
99
- /**
100
- * <p>The type of instance to connect to the environment (for example,
101
- * <code>t2.micro</code>).</p>
102
- */
103
- instanceType: string | undefined;
104
-
105
- /**
106
- * <p>The ID of the subnet in Amazon VPC that Cloud9 will use to communicate with the Amazon EC2
107
- * instance.</p>
108
- */
109
- subnetId?: string;
110
-
111
- /**
112
- * <p>The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.
113
- * To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
114
- * path.</p>
115
- * <p>The default AMI is used if the parameter isn't explicitly assigned a value in the request.
116
- * Because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you
117
- * choose Amazon Linux 2, which includes long term support through 2023.</p>
118
- * <p>
119
- * <b>AMI aliases </b>
120
- * </p>
121
- * <ul>
122
- * <li>
123
- * <p>
124
- * <b>Amazon Linux (default):
125
- * <code>amazonlinux-1-x86_64</code>
126
- * </b>
127
- * </p>
128
- * </li>
129
- * <li>
130
- * <p>Amazon Linux 2: <code>amazonlinux-2-x86_64</code>
131
- * </p>
132
- * </li>
133
- * <li>
134
- * <p>Ubuntu 18.04: <code>ubuntu-18.04-x86_64</code>
135
- * </p>
136
- * </li>
137
- * </ul>
138
- * <p>
139
- * <b>SSM paths</b>
140
- * </p>
141
- * <ul>
142
- * <li>
143
- * <p>
144
- * <b>Amazon Linux (default):
145
- * <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64</code>
146
- * </b>
147
- * </p>
148
- * </li>
149
- * <li>
150
- * <p>Amazon Linux 2:
151
- * <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64</code>
152
- * </p>
153
- * </li>
154
- * <li>
155
- * <p>Ubuntu 18.04:
156
- * <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64</code>
157
- * </p>
158
- * </li>
159
- * </ul>
160
- */
161
- imageId?: string;
162
-
163
- /**
164
- * <p>The number of minutes until the running instance is shut down after the environment has
165
- * last been used.</p>
166
- */
167
- automaticStopTimeMinutes?: number;
168
-
169
- /**
170
- * <p>The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any
171
- * IAM principal. If this value is not specified, the ARN defaults to this environment's
172
- * creator.</p>
173
- */
174
- ownerArn?: string;
175
-
176
- /**
177
- * <p>An array of key-value pairs that will be associated with the new Cloud9 development
178
- * environment.</p>
179
- */
180
- tags?: Tag[];
181
-
182
- /**
183
- * <p>The connection type used for connecting to an Amazon EC2 environment. Valid values are
184
- * <code>CONNECT_SSH</code> (default) and <code>CONNECT_SSM</code> (connected through
185
- * Amazon EC2 Systems Manager).</p>
186
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html">Accessing no-ingress EC2 instances with
187
- * Amazon EC2 Systems Manager</a> in the <i>Cloud9 User Guide</i>.</p>
188
- */
189
- connectionType?: ConnectionType | string;
190
-
191
- /**
192
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
193
- */
194
- dryRun?: boolean;
195
- }
196
-
197
- export namespace CreateEnvironmentEC2Request {
198
- /**
199
- * @internal
200
- */
201
- export const filterSensitiveLog = (obj: CreateEnvironmentEC2Request): any => ({
202
- ...obj,
203
- ...(obj.description && { description: SENSITIVE_STRING }),
204
- ...(obj.tags && { tags: SENSITIVE_STRING }),
205
- });
206
- }
207
-
208
- export interface CreateEnvironmentEC2Result {
209
- /**
210
- * <p>The ID of the environment that was created.</p>
211
- */
212
- environmentId?: string;
213
- }
214
-
215
- export namespace CreateEnvironmentEC2Result {
216
- /**
217
- * @internal
218
- */
219
- export const filterSensitiveLog = (obj: CreateEnvironmentEC2Result): any => ({
220
- ...obj,
221
- });
222
- }
223
-
224
- /**
225
- * <p>An access permissions issue occurred.</p>
226
- */
227
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
228
- name: "ForbiddenException";
229
- $fault: "client";
230
- message?: string;
231
- className?: string;
232
- code?: number;
233
- }
234
-
235
- export namespace ForbiddenException {
236
- /**
237
- * @internal
238
- */
239
- export const filterSensitiveLog = (obj: ForbiddenException): any => ({
240
- ...obj,
241
- });
242
- }
243
-
244
- /**
245
- * <p>An internal server error occurred.</p>
246
- */
247
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
248
- name: "InternalServerErrorException";
249
- $fault: "server";
250
- message?: string;
251
- className?: string;
252
- code?: number;
253
- }
254
-
255
- export namespace InternalServerErrorException {
256
- /**
257
- * @internal
258
- */
259
- export const filterSensitiveLog = (obj: InternalServerErrorException): any => ({
260
- ...obj,
261
- });
262
- }
263
-
264
- /**
265
- * <p>A service limit was exceeded.</p>
266
- */
267
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
268
- name: "LimitExceededException";
269
- $fault: "client";
270
- message?: string;
271
- className?: string;
272
- code?: number;
273
- }
274
-
275
- export namespace LimitExceededException {
276
- /**
277
- * @internal
278
- */
279
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
280
- ...obj,
281
- });
282
- }
283
-
284
- /**
285
- * <p>The target resource cannot be found.</p>
286
- */
287
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
288
- name: "NotFoundException";
289
- $fault: "client";
290
- message?: string;
291
- className?: string;
292
- code?: number;
293
- }
294
-
295
- export namespace NotFoundException {
296
- /**
297
- * @internal
298
- */
299
- export const filterSensitiveLog = (obj: NotFoundException): any => ({
300
- ...obj,
301
- });
302
- }
303
-
304
- /**
305
- * <p>Too many service requests were made over the given time period.</p>
306
- */
307
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
308
- name: "TooManyRequestsException";
309
- $fault: "client";
310
- message?: string;
311
- className?: string;
312
- code?: number;
313
- }
314
-
315
- export namespace TooManyRequestsException {
316
- /**
317
- * @internal
318
- */
319
- export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({
320
- ...obj,
321
- });
322
- }
323
-
324
- export enum MemberPermissions {
325
- READ_ONLY = "read-only",
326
- READ_WRITE = "read-write",
327
- }
328
-
329
- export interface CreateEnvironmentMembershipRequest {
330
- /**
331
- * <p>The ID of the environment that contains the environment member you want to add.</p>
332
- */
333
- environmentId: string | undefined;
334
-
335
- /**
336
- * <p>The Amazon Resource Name (ARN) of the environment member you want to add.</p>
337
- */
338
- userArn: string | undefined;
339
-
340
- /**
341
- * <p>The type of environment member permissions you want to associate with this environment
342
- * member. Available values include:</p>
343
- * <ul>
344
- * <li>
345
- * <p>
346
- * <code>read-only</code>: Has read-only access to the environment.</p>
347
- * </li>
348
- * <li>
349
- * <p>
350
- * <code>read-write</code>: Has read-write access to the environment.</p>
351
- * </li>
352
- * </ul>
353
- */
354
- permissions: MemberPermissions | string | undefined;
355
- }
356
-
357
- export namespace CreateEnvironmentMembershipRequest {
358
- /**
359
- * @internal
360
- */
361
- export const filterSensitiveLog = (obj: CreateEnvironmentMembershipRequest): any => ({
362
- ...obj,
363
- });
364
- }
365
-
366
- export enum Permissions {
367
- OWNER = "owner",
368
- READ_ONLY = "read-only",
369
- READ_WRITE = "read-write",
370
- }
371
-
372
- /**
373
- * <p>Information about an environment member for an Cloud9 development environment.</p>
374
- */
375
- export interface EnvironmentMember {
376
- /**
377
- * <p>The type of environment member permissions associated with this environment member.
378
- * Available values include:</p>
379
- * <ul>
380
- * <li>
381
- * <p>
382
- * <code>owner</code>: Owns the environment.</p>
383
- * </li>
384
- * <li>
385
- * <p>
386
- * <code>read-only</code>: Has read-only access to the environment.</p>
387
- * </li>
388
- * <li>
389
- * <p>
390
- * <code>read-write</code>: Has read-write access to the environment.</p>
391
- * </li>
392
- * </ul>
393
- */
394
- permissions: Permissions | string | undefined;
395
-
396
- /**
397
- * <p>The user ID in Identity and Access Management (IAM) of the environment member.</p>
398
- */
399
- userId: string | undefined;
400
-
401
- /**
402
- * <p>The Amazon Resource Name (ARN) of the environment member.</p>
403
- */
404
- userArn: string | undefined;
405
-
406
- /**
407
- * <p>The ID of the environment for the environment member.</p>
408
- */
409
- environmentId: string | undefined;
410
-
411
- /**
412
- * <p>The time, expressed in epoch time format, when the environment member last opened the
413
- * environment.</p>
414
- */
415
- lastAccess?: Date;
416
- }
417
-
418
- export namespace EnvironmentMember {
419
- /**
420
- * @internal
421
- */
422
- export const filterSensitiveLog = (obj: EnvironmentMember): any => ({
423
- ...obj,
424
- });
425
- }
426
-
427
- export interface CreateEnvironmentMembershipResult {
428
- /**
429
- * <p>Information about the environment member that was added.</p>
430
- */
431
- membership: EnvironmentMember | undefined;
432
- }
433
-
434
- export namespace CreateEnvironmentMembershipResult {
435
- /**
436
- * @internal
437
- */
438
- export const filterSensitiveLog = (obj: CreateEnvironmentMembershipResult): any => ({
439
- ...obj,
440
- });
441
- }
442
-
443
- export interface DeleteEnvironmentRequest {
444
- /**
445
- * <p>The ID of the environment to delete.</p>
446
- */
447
- environmentId: string | undefined;
448
- }
449
-
450
- export namespace DeleteEnvironmentRequest {
451
- /**
452
- * @internal
453
- */
454
- export const filterSensitiveLog = (obj: DeleteEnvironmentRequest): any => ({
455
- ...obj,
456
- });
457
- }
458
-
459
- export interface DeleteEnvironmentResult {}
460
-
461
- export namespace DeleteEnvironmentResult {
462
- /**
463
- * @internal
464
- */
465
- export const filterSensitiveLog = (obj: DeleteEnvironmentResult): any => ({
466
- ...obj,
467
- });
468
- }
469
-
470
- export interface DeleteEnvironmentMembershipRequest {
471
- /**
472
- * <p>The ID of the environment to delete the environment member from.</p>
473
- */
474
- environmentId: string | undefined;
475
-
476
- /**
477
- * <p>The Amazon Resource Name (ARN) of the environment member to delete from the
478
- * environment.</p>
479
- */
480
- userArn: string | undefined;
481
- }
482
-
483
- export namespace DeleteEnvironmentMembershipRequest {
484
- /**
485
- * @internal
486
- */
487
- export const filterSensitiveLog = (obj: DeleteEnvironmentMembershipRequest): any => ({
488
- ...obj,
489
- });
490
- }
491
-
492
- export interface DeleteEnvironmentMembershipResult {}
493
-
494
- export namespace DeleteEnvironmentMembershipResult {
495
- /**
496
- * @internal
497
- */
498
- export const filterSensitiveLog = (obj: DeleteEnvironmentMembershipResult): any => ({
499
- ...obj,
500
- });
501
- }
502
-
503
- export interface DescribeEnvironmentMembershipsRequest {
504
- /**
505
- * <p>The Amazon Resource Name (ARN) of an individual environment member to get information
506
- * about. If no value is specified, information about all environment members are
507
- * returned.</p>
508
- */
509
- userArn?: string;
510
-
511
- /**
512
- * <p>The ID of the environment to get environment member information about.</p>
513
- */
514
- environmentId?: string;
515
-
516
- /**
517
- * <p>The type of environment member permissions to get information about. Available values
518
- * include:</p>
519
- * <ul>
520
- * <li>
521
- * <p>
522
- * <code>owner</code>: Owns the environment.</p>
523
- * </li>
524
- * <li>
525
- * <p>
526
- * <code>read-only</code>: Has read-only access to the environment.</p>
527
- * </li>
528
- * <li>
529
- * <p>
530
- * <code>read-write</code>: Has read-write access to the environment.</p>
531
- * </li>
532
- * </ul>
533
- * <p>If no value is specified, information about all environment members are returned.</p>
534
- */
535
- permissions?: (Permissions | string)[];
536
-
537
- /**
538
- * <p>During a previous call, if there are more than 25 items in the list, only the first 25
539
- * items are returned, along with a unique string called a <i>next token</i>. To
540
- * get the next batch of items in the list, call this operation again, adding the next token to
541
- * the call. To get all of the items in the list, keep calling this operation with each
542
- * subsequent next token that is returned, until no more next tokens are returned.</p>
543
- */
544
- nextToken?: string;
545
-
546
- /**
547
- * <p>The maximum number of environment members to get information about.</p>
548
- */
549
- maxResults?: number;
550
- }
551
-
552
- export namespace DescribeEnvironmentMembershipsRequest {
553
- /**
554
- * @internal
555
- */
556
- export const filterSensitiveLog = (obj: DescribeEnvironmentMembershipsRequest): any => ({
557
- ...obj,
558
- });
559
- }
560
-
561
- export interface DescribeEnvironmentMembershipsResult {
562
- /**
563
- * <p>Information about the environment members for the environment.</p>
564
- */
565
- memberships?: EnvironmentMember[];
566
-
567
- /**
568
- * <p>If there are more than 25 items in the list, only the first 25 items are returned, along
569
- * with a unique string called a <i>next token</i>. To get the next batch of items
570
- * in the list, call this operation again, adding the next token to the call.</p>
571
- */
572
- nextToken?: string;
573
- }
574
-
575
- export namespace DescribeEnvironmentMembershipsResult {
576
- /**
577
- * @internal
578
- */
579
- export const filterSensitiveLog = (obj: DescribeEnvironmentMembershipsResult): any => ({
580
- ...obj,
581
- });
582
- }
583
-
584
- export interface DescribeEnvironmentsRequest {
585
- /**
586
- * <p>The IDs of individual environments to get information about.</p>
587
- */
588
- environmentIds: string[] | undefined;
589
- }
590
-
591
- export namespace DescribeEnvironmentsRequest {
592
- /**
593
- * @internal
594
- */
595
- export const filterSensitiveLog = (obj: DescribeEnvironmentsRequest): any => ({
596
- ...obj,
597
- });
598
- }
599
-
600
- export enum EnvironmentLifecycleStatus {
601
- CREATED = "CREATED",
602
- CREATE_FAILED = "CREATE_FAILED",
603
- CREATING = "CREATING",
604
- DELETE_FAILED = "DELETE_FAILED",
605
- DELETING = "DELETING",
606
- }
607
-
608
- /**
609
- * <p>Information about the current creation or deletion lifecycle state of an Cloud9 development
610
- * environment.</p>
611
- */
612
- export interface EnvironmentLifecycle {
613
- /**
614
- * <p>The current creation or deletion lifecycle state of the environment.</p>
615
- * <ul>
616
- * <li>
617
- * <p>
618
- * <code>CREATING</code>: The environment is in the process of being created.</p>
619
- * </li>
620
- * <li>
621
- * <p>
622
- * <code>CREATED</code>: The environment was successfully created.</p>
623
- * </li>
624
- * <li>
625
- * <p>
626
- * <code>CREATE_FAILED</code>: The environment failed to be created.</p>
627
- * </li>
628
- * <li>
629
- * <p>
630
- * <code>DELETING</code>: The environment is in the process of being deleted.</p>
631
- * </li>
632
- * <li>
633
- * <p>
634
- * <code>DELETE_FAILED</code>: The environment failed to delete.</p>
635
- * </li>
636
- * </ul>
637
- */
638
- status?: EnvironmentLifecycleStatus | string;
639
-
640
- /**
641
- * <p>Any informational message about the lifecycle state of the environment.</p>
642
- */
643
- reason?: string;
644
-
645
- /**
646
- * <p>If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services
647
- * resource.</p>
648
- */
649
- failureResource?: string;
650
- }
651
-
652
- export namespace EnvironmentLifecycle {
653
- /**
654
- * @internal
655
- */
656
- export const filterSensitiveLog = (obj: EnvironmentLifecycle): any => ({
657
- ...obj,
658
- });
659
- }
660
-
661
- export enum ManagedCredentialsStatus {
662
- DISABLED_BY_COLLABORATOR = "DISABLED_BY_COLLABORATOR",
663
- DISABLED_BY_DEFAULT = "DISABLED_BY_DEFAULT",
664
- DISABLED_BY_OWNER = "DISABLED_BY_OWNER",
665
- ENABLED_BY_OWNER = "ENABLED_BY_OWNER",
666
- ENABLED_ON_CREATE = "ENABLED_ON_CREATE",
667
- FAILED_REMOVAL_BY_COLLABORATOR = "FAILED_REMOVAL_BY_COLLABORATOR",
668
- FAILED_REMOVAL_BY_OWNER = "FAILED_REMOVAL_BY_OWNER",
669
- PENDING_REMOVAL_BY_COLLABORATOR = "PENDING_REMOVAL_BY_COLLABORATOR",
670
- PENDING_REMOVAL_BY_OWNER = "PENDING_REMOVAL_BY_OWNER",
671
- PENDING_START_REMOVAL_BY_COLLABORATOR = "PENDING_START_REMOVAL_BY_COLLABORATOR",
672
- PENDING_START_REMOVAL_BY_OWNER = "PENDING_START_REMOVAL_BY_OWNER",
673
- }
674
-
675
- export enum EnvironmentType {
676
- EC2 = "ec2",
677
- SSH = "ssh",
678
- }
679
-
680
- /**
681
- * <p>Information about an Cloud9 development environment.</p>
682
- */
683
- export interface Environment {
684
- /**
685
- * <p>The ID of the environment.</p>
686
- */
687
- id?: string;
688
-
689
- /**
690
- * <p>The name of the environment.</p>
691
- */
692
- name?: string;
693
-
694
- /**
695
- * <p>The description for the environment.</p>
696
- */
697
- description?: string;
698
-
699
- /**
700
- * <p>The type of environment. Valid values include the following:</p>
701
- * <ul>
702
- * <li>
703
- * <p>
704
- * <code>ec2</code>: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.</p>
705
- * </li>
706
- * <li>
707
- * <p>
708
- * <code>ssh</code>: Your own server connects to the environment.</p>
709
- * </li>
710
- * </ul>
711
- */
712
- type: EnvironmentType | string | undefined;
713
-
714
- /**
715
- * <p>The connection type used for connecting to an Amazon EC2 environment. <code>CONNECT_SSH</code>
716
- * is selected by default.</p>
717
- */
718
- connectionType?: ConnectionType | string;
719
-
720
- /**
721
- * <p>The Amazon Resource Name (ARN) of the environment.</p>
722
- */
723
- arn: string | undefined;
724
-
725
- /**
726
- * <p>The Amazon Resource Name (ARN) of the environment owner.</p>
727
- */
728
- ownerArn: string | undefined;
729
-
730
- /**
731
- * <p>The state of the environment in its creation or deletion lifecycle.</p>
732
- */
733
- lifecycle?: EnvironmentLifecycle;
734
-
735
- /**
736
- * <p>Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
737
- * Available values are:</p>
738
- * <ul>
739
- * <li>
740
- * <p>
741
- * <code>ENABLED_ON_CREATE</code>
742
- * </p>
743
- * </li>
744
- * <li>
745
- * <p>
746
- * <code>ENABLED_BY_OWNER</code>
747
- * </p>
748
- * </li>
749
- * <li>
750
- * <p>
751
- * <code>DISABLED_BY_DEFAULT</code>
752
- * </p>
753
- * </li>
754
- * <li>
755
- * <p>
756
- * <code>DISABLED_BY_OWNER</code>
757
- * </p>
758
- * </li>
759
- * <li>
760
- * <p>
761
- * <code>DISABLED_BY_COLLABORATOR</code>
762
- * </p>
763
- * </li>
764
- * <li>
765
- * <p>
766
- * <code>PENDING_REMOVAL_BY_COLLABORATOR</code>
767
- * </p>
768
- * </li>
769
- * <li>
770
- * <p>
771
- * <code>PENDING_REMOVAL_BY_OWNER</code>
772
- * </p>
773
- * </li>
774
- * <li>
775
- * <p>
776
- * <code>FAILED_REMOVAL_BY_COLLABORATOR</code>
777
- * </p>
778
- * </li>
779
- * <li>
780
- * <p>
781
- * <code>ENABLED_BY_OWNER</code>
782
- * </p>
783
- * </li>
784
- * <li>
785
- * <p>
786
- * <code>DISABLED_BY_DEFAULT</code>
787
- * </p>
788
- * </li>
789
- * </ul>
790
- */
791
- managedCredentialsStatus?: ManagedCredentialsStatus | string;
792
- }
793
-
794
- export namespace Environment {
795
- /**
796
- * @internal
797
- */
798
- export const filterSensitiveLog = (obj: Environment): any => ({
799
- ...obj,
800
- ...(obj.description && { description: SENSITIVE_STRING }),
801
- });
802
- }
803
-
804
- export interface DescribeEnvironmentsResult {
805
- /**
806
- * <p>Information about the environments that are returned.</p>
807
- */
808
- environments?: Environment[];
809
- }
810
-
811
- export namespace DescribeEnvironmentsResult {
812
- /**
813
- * @internal
814
- */
815
- export const filterSensitiveLog = (obj: DescribeEnvironmentsResult): any => ({
816
- ...obj,
817
- ...(obj.environments && { environments: obj.environments.map((item) => Environment.filterSensitiveLog(item)) }),
818
- });
819
- }
820
-
821
- export interface DescribeEnvironmentStatusRequest {
822
- /**
823
- * <p>The ID of the environment to get status information about.</p>
824
- */
825
- environmentId: string | undefined;
826
- }
827
-
828
- export namespace DescribeEnvironmentStatusRequest {
829
- /**
830
- * @internal
831
- */
832
- export const filterSensitiveLog = (obj: DescribeEnvironmentStatusRequest): any => ({
833
- ...obj,
834
- });
835
- }
836
-
837
- export enum EnvironmentStatus {
838
- CONNECTING = "connecting",
839
- CREATING = "creating",
840
- DELETING = "deleting",
841
- ERROR = "error",
842
- READY = "ready",
843
- STOPPED = "stopped",
844
- STOPPING = "stopping",
845
- }
846
-
847
- export interface DescribeEnvironmentStatusResult {
848
- /**
849
- * <p>The status of the environment. Available values include:</p>
850
- * <ul>
851
- * <li>
852
- * <p>
853
- * <code>connecting</code>: The environment is connecting.</p>
854
- * </li>
855
- * <li>
856
- * <p>
857
- * <code>creating</code>: The environment is being created.</p>
858
- * </li>
859
- * <li>
860
- * <p>
861
- * <code>deleting</code>: The environment is being deleted.</p>
862
- * </li>
863
- * <li>
864
- * <p>
865
- * <code>error</code>: The environment is in an error state.</p>
866
- * </li>
867
- * <li>
868
- * <p>
869
- * <code>ready</code>: The environment is ready.</p>
870
- * </li>
871
- * <li>
872
- * <p>
873
- * <code>stopped</code>: The environment is stopped.</p>
874
- * </li>
875
- * <li>
876
- * <p>
877
- * <code>stopping</code>: The environment is stopping.</p>
878
- * </li>
879
- * </ul>
880
- */
881
- status: EnvironmentStatus | string | undefined;
882
-
883
- /**
884
- * <p>Any informational message about the status of the environment.</p>
885
- */
886
- message: string | undefined;
887
- }
888
-
889
- export namespace DescribeEnvironmentStatusResult {
890
- /**
891
- * @internal
892
- */
893
- export const filterSensitiveLog = (obj: DescribeEnvironmentStatusResult): any => ({
894
- ...obj,
895
- });
896
- }
897
-
898
- export interface ListEnvironmentsRequest {
899
- /**
900
- * <p>During a previous call, if there are more than 25 items in the list, only the first 25
901
- * items are returned, along with a unique string called a <i>next token</i>. To
902
- * get the next batch of items in the list, call this operation again, adding the next token to
903
- * the call. To get all of the items in the list, keep calling this operation with each
904
- * subsequent next token that is returned, until no more next tokens are returned.</p>
905
- */
906
- nextToken?: string;
907
-
908
- /**
909
- * <p>The maximum number of environments to get identifiers for.</p>
910
- */
911
- maxResults?: number;
912
- }
913
-
914
- export namespace ListEnvironmentsRequest {
915
- /**
916
- * @internal
917
- */
918
- export const filterSensitiveLog = (obj: ListEnvironmentsRequest): any => ({
919
- ...obj,
920
- });
921
- }
922
-
923
- export interface ListEnvironmentsResult {
924
- /**
925
- * <p>If there are more than 25 items in the list, only the first 25 items are returned, along
926
- * with a unique string called a <i>next token</i>. To get the next batch of items
927
- * in the list, call this operation again, adding the next token to the call.</p>
928
- */
929
- nextToken?: string;
930
-
931
- /**
932
- * <p>The list of environment identifiers.</p>
933
- */
934
- environmentIds?: string[];
935
- }
936
-
937
- export namespace ListEnvironmentsResult {
938
- /**
939
- * @internal
940
- */
941
- export const filterSensitiveLog = (obj: ListEnvironmentsResult): any => ({
942
- ...obj,
943
- });
944
- }
945
-
946
- export interface ListTagsForResourceRequest {
947
- /**
948
- * <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to get the tags
949
- * for.</p>
950
- */
951
- ResourceARN: string | undefined;
952
- }
953
-
954
- export namespace ListTagsForResourceRequest {
955
- /**
956
- * @internal
957
- */
958
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
959
- ...obj,
960
- });
961
- }
962
-
963
- export interface ListTagsForResourceResponse {
964
- /**
965
- * <p>The list of tags associated with the Cloud9 development environment.</p>
966
- */
967
- Tags?: Tag[];
968
- }
969
-
970
- export namespace ListTagsForResourceResponse {
971
- /**
972
- * @internal
973
- */
974
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
975
- ...obj,
976
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
977
- });
978
- }
979
-
980
- /**
981
- * <p>A concurrent access issue occurred.</p>
982
- */
983
- export interface ConcurrentAccessException extends __SmithyException, $MetadataBearer {
984
- name: "ConcurrentAccessException";
985
- $fault: "client";
986
- message?: string;
987
- className?: string;
988
- code?: number;
989
- }
990
-
991
- export namespace ConcurrentAccessException {
992
- /**
993
- * @internal
994
- */
995
- export const filterSensitiveLog = (obj: ConcurrentAccessException): any => ({
996
- ...obj,
997
- });
998
- }
999
-
1000
- export interface TagResourceRequest {
1001
- /**
1002
- * <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags
1003
- * to.</p>
1004
- */
1005
- ResourceARN: string | undefined;
1006
-
1007
- /**
1008
- * <p>The list of tags to add to the given Cloud9 development environment.</p>
1009
- */
1010
- Tags: Tag[] | undefined;
1011
- }
1012
-
1013
- export namespace TagResourceRequest {
1014
- /**
1015
- * @internal
1016
- */
1017
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
1018
- ...obj,
1019
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
1020
- });
1021
- }
1022
-
1023
- export interface TagResourceResponse {}
1024
-
1025
- export namespace TagResourceResponse {
1026
- /**
1027
- * @internal
1028
- */
1029
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
1030
- ...obj,
1031
- });
1032
- }
1033
-
1034
- export interface UntagResourceRequest {
1035
- /**
1036
- * <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to remove tags
1037
- * from.</p>
1038
- */
1039
- ResourceARN: string | undefined;
1040
-
1041
- /**
1042
- * <p>The tag names of the tags to remove from the given Cloud9 development
1043
- * environment.</p>
1044
- */
1045
- TagKeys: string[] | undefined;
1046
- }
1047
-
1048
- export namespace UntagResourceRequest {
1049
- /**
1050
- * @internal
1051
- */
1052
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
1053
- ...obj,
1054
- ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
1055
- });
1056
- }
1057
-
1058
- export interface UntagResourceResponse {}
1059
-
1060
- export namespace UntagResourceResponse {
1061
- /**
1062
- * @internal
1063
- */
1064
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
1065
- ...obj,
1066
- });
1067
- }
1068
-
1069
- export enum ManagedCredentialsAction {
1070
- DISABLE = "DISABLE",
1071
- ENABLE = "ENABLE",
1072
- }
1073
-
1074
- export interface UpdateEnvironmentRequest {
1075
- /**
1076
- * <p>The ID of the environment to change settings.</p>
1077
- */
1078
- environmentId: string | undefined;
1079
-
1080
- /**
1081
- * <p>A replacement name for the environment.</p>
1082
- */
1083
- name?: string;
1084
-
1085
- /**
1086
- * <p>Any new or replacement description for the environment.</p>
1087
- */
1088
- description?: string;
1089
-
1090
- /**
1091
- * <p>Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary
1092
- * credentials for an Cloud9 environment by using one of the following values:</p>
1093
- * <ul>
1094
- * <li>
1095
- * <p>
1096
- * <code>ENABLE</code>
1097
- * </p>
1098
- * </li>
1099
- * <li>
1100
- * <p>
1101
- * <code>DISABLE</code>
1102
- * </p>
1103
- * </li>
1104
- * </ul>
1105
- * <note>
1106
- * <p>Only the environment owner can change the status of managed temporary credentials. An <code>AccessDeniedException</code> is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment
1107
- * owner.</p>
1108
- * </note>
1109
- */
1110
- managedCredentialsAction?: ManagedCredentialsAction | string;
1111
- }
1112
-
1113
- export namespace UpdateEnvironmentRequest {
1114
- /**
1115
- * @internal
1116
- */
1117
- export const filterSensitiveLog = (obj: UpdateEnvironmentRequest): any => ({
1118
- ...obj,
1119
- ...(obj.description && { description: SENSITIVE_STRING }),
1120
- });
1121
- }
1122
-
1123
- export interface UpdateEnvironmentResult {}
1124
-
1125
- export namespace UpdateEnvironmentResult {
1126
- /**
1127
- * @internal
1128
- */
1129
- export const filterSensitiveLog = (obj: UpdateEnvironmentResult): any => ({
1130
- ...obj,
1131
- });
1132
- }
1133
-
1134
- export interface UpdateEnvironmentMembershipRequest {
1135
- /**
1136
- * <p>The ID of the environment for the environment member whose settings you want to
1137
- * change.</p>
1138
- */
1139
- environmentId: string | undefined;
1140
-
1141
- /**
1142
- * <p>The Amazon Resource Name (ARN) of the environment member whose settings you want to
1143
- * change.</p>
1144
- */
1145
- userArn: string | undefined;
1146
-
1147
- /**
1148
- * <p>The replacement type of environment member permissions you want to associate with this
1149
- * environment member. Available values include:</p>
1150
- * <ul>
1151
- * <li>
1152
- * <p>
1153
- * <code>read-only</code>: Has read-only access to the environment.</p>
1154
- * </li>
1155
- * <li>
1156
- * <p>
1157
- * <code>read-write</code>: Has read-write access to the environment.</p>
1158
- * </li>
1159
- * </ul>
1160
- */
1161
- permissions: MemberPermissions | string | undefined;
1162
- }
1163
-
1164
- export namespace UpdateEnvironmentMembershipRequest {
1165
- /**
1166
- * @internal
1167
- */
1168
- export const filterSensitiveLog = (obj: UpdateEnvironmentMembershipRequest): any => ({
1169
- ...obj,
1170
- });
1171
- }
1172
-
1173
- export interface UpdateEnvironmentMembershipResult {
1174
- /**
1175
- * <p>Information about the environment member whose settings were changed.</p>
1176
- */
1177
- membership?: EnvironmentMember;
1178
- }
1179
-
1180
- export namespace UpdateEnvironmentMembershipResult {
1181
- /**
1182
- * @internal
1183
- */
1184
- export const filterSensitiveLog = (obj: UpdateEnvironmentMembershipResult): any => ({
1185
- ...obj,
1186
- });
1187
- }