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