aws-sdk-cloud9 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,346 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Cloud9
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AutomaticStopTimeMinutes = Shapes::IntegerShape.new(name: 'AutomaticStopTimeMinutes')
15
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
16
+ BoundedEnvironmentIdList = Shapes::ListShape.new(name: 'BoundedEnvironmentIdList')
17
+ ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
18
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
+ CreateEnvironmentEC2Request = Shapes::StructureShape.new(name: 'CreateEnvironmentEC2Request')
20
+ CreateEnvironmentEC2Result = Shapes::StructureShape.new(name: 'CreateEnvironmentEC2Result')
21
+ CreateEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentMembershipRequest')
22
+ CreateEnvironmentMembershipResult = Shapes::StructureShape.new(name: 'CreateEnvironmentMembershipResult')
23
+ DeleteEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentMembershipRequest')
24
+ DeleteEnvironmentMembershipResult = Shapes::StructureShape.new(name: 'DeleteEnvironmentMembershipResult')
25
+ DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
26
+ DeleteEnvironmentResult = Shapes::StructureShape.new(name: 'DeleteEnvironmentResult')
27
+ DescribeEnvironmentMembershipsRequest = Shapes::StructureShape.new(name: 'DescribeEnvironmentMembershipsRequest')
28
+ DescribeEnvironmentMembershipsResult = Shapes::StructureShape.new(name: 'DescribeEnvironmentMembershipsResult')
29
+ DescribeEnvironmentStatusRequest = Shapes::StructureShape.new(name: 'DescribeEnvironmentStatusRequest')
30
+ DescribeEnvironmentStatusResult = Shapes::StructureShape.new(name: 'DescribeEnvironmentStatusResult')
31
+ DescribeEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeEnvironmentsRequest')
32
+ DescribeEnvironmentsResult = Shapes::StructureShape.new(name: 'DescribeEnvironmentsResult')
33
+ Environment = Shapes::StructureShape.new(name: 'Environment')
34
+ EnvironmentDescription = Shapes::StringShape.new(name: 'EnvironmentDescription')
35
+ EnvironmentId = Shapes::StringShape.new(name: 'EnvironmentId')
36
+ EnvironmentIdList = Shapes::ListShape.new(name: 'EnvironmentIdList')
37
+ EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
38
+ EnvironmentMember = Shapes::StructureShape.new(name: 'EnvironmentMember')
39
+ EnvironmentMembersList = Shapes::ListShape.new(name: 'EnvironmentMembersList')
40
+ EnvironmentName = Shapes::StringShape.new(name: 'EnvironmentName')
41
+ EnvironmentStatus = Shapes::StringShape.new(name: 'EnvironmentStatus')
42
+ EnvironmentType = Shapes::StringShape.new(name: 'EnvironmentType')
43
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
44
+ InstanceType = Shapes::StringShape.new(name: 'InstanceType')
45
+ InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
46
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
47
+ ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest')
48
+ ListEnvironmentsResult = Shapes::StructureShape.new(name: 'ListEnvironmentsResult')
49
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
50
+ MemberPermissions = Shapes::StringShape.new(name: 'MemberPermissions')
51
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
52
+ Permissions = Shapes::StringShape.new(name: 'Permissions')
53
+ PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
54
+ String = Shapes::StringShape.new(name: 'String')
55
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
56
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
57
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
58
+ UpdateEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentMembershipRequest')
59
+ UpdateEnvironmentMembershipResult = Shapes::StructureShape.new(name: 'UpdateEnvironmentMembershipResult')
60
+ UpdateEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentRequest')
61
+ UpdateEnvironmentResult = Shapes::StructureShape.new(name: 'UpdateEnvironmentResult')
62
+ UserArn = Shapes::StringShape.new(name: 'UserArn')
63
+
64
+ BoundedEnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId)
65
+
66
+ CreateEnvironmentEC2Request.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "name"))
67
+ CreateEnvironmentEC2Request.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
68
+ CreateEnvironmentEC2Request.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
69
+ CreateEnvironmentEC2Request.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
70
+ CreateEnvironmentEC2Request.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
71
+ CreateEnvironmentEC2Request.add_member(:automatic_stop_time_minutes, Shapes::ShapeRef.new(shape: AutomaticStopTimeMinutes, location_name: "automaticStopTimeMinutes"))
72
+ CreateEnvironmentEC2Request.add_member(:owner_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "ownerArn"))
73
+ CreateEnvironmentEC2Request.struct_class = Types::CreateEnvironmentEC2Request
74
+
75
+ CreateEnvironmentEC2Result.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
76
+ CreateEnvironmentEC2Result.struct_class = Types::CreateEnvironmentEC2Result
77
+
78
+ CreateEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
79
+ CreateEnvironmentMembershipRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn"))
80
+ CreateEnvironmentMembershipRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: MemberPermissions, required: true, location_name: "permissions"))
81
+ CreateEnvironmentMembershipRequest.struct_class = Types::CreateEnvironmentMembershipRequest
82
+
83
+ CreateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, location_name: "membership"))
84
+ CreateEnvironmentMembershipResult.struct_class = Types::CreateEnvironmentMembershipResult
85
+
86
+ DeleteEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
87
+ DeleteEnvironmentMembershipRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn"))
88
+ DeleteEnvironmentMembershipRequest.struct_class = Types::DeleteEnvironmentMembershipRequest
89
+
90
+ DeleteEnvironmentMembershipResult.struct_class = Types::DeleteEnvironmentMembershipResult
91
+
92
+ DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
93
+ DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
94
+
95
+ DeleteEnvironmentResult.struct_class = Types::DeleteEnvironmentResult
96
+
97
+ DescribeEnvironmentMembershipsRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn"))
98
+ DescribeEnvironmentMembershipsRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
99
+ DescribeEnvironmentMembershipsRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "permissions"))
100
+ DescribeEnvironmentMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
101
+ DescribeEnvironmentMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
102
+ DescribeEnvironmentMembershipsRequest.struct_class = Types::DescribeEnvironmentMembershipsRequest
103
+
104
+ DescribeEnvironmentMembershipsResult.add_member(:memberships, Shapes::ShapeRef.new(shape: EnvironmentMembersList, location_name: "memberships"))
105
+ DescribeEnvironmentMembershipsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
106
+ DescribeEnvironmentMembershipsResult.struct_class = Types::DescribeEnvironmentMembershipsResult
107
+
108
+ DescribeEnvironmentStatusRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
109
+ DescribeEnvironmentStatusRequest.struct_class = Types::DescribeEnvironmentStatusRequest
110
+
111
+ DescribeEnvironmentStatusResult.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, location_name: "status"))
112
+ DescribeEnvironmentStatusResult.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
113
+ DescribeEnvironmentStatusResult.struct_class = Types::DescribeEnvironmentStatusResult
114
+
115
+ DescribeEnvironmentsRequest.add_member(:environment_ids, Shapes::ShapeRef.new(shape: BoundedEnvironmentIdList, required: true, location_name: "environmentIds"))
116
+ DescribeEnvironmentsRequest.struct_class = Types::DescribeEnvironmentsRequest
117
+
118
+ DescribeEnvironmentsResult.add_member(:environments, Shapes::ShapeRef.new(shape: EnvironmentList, location_name: "environments"))
119
+ DescribeEnvironmentsResult.struct_class = Types::DescribeEnvironmentsResult
120
+
121
+ Environment.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "id"))
122
+ Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
123
+ Environment.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
124
+ Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "type"))
125
+ Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
126
+ Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownerArn"))
127
+ Environment.struct_class = Types::Environment
128
+
129
+ EnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId)
130
+
131
+ EnvironmentList.member = Shapes::ShapeRef.new(shape: Environment)
132
+
133
+ EnvironmentMember.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, location_name: "permissions"))
134
+ EnvironmentMember.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
135
+ EnvironmentMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn"))
136
+ EnvironmentMember.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
137
+ EnvironmentMember.add_member(:last_access, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastAccess"))
138
+ EnvironmentMember.struct_class = Types::EnvironmentMember
139
+
140
+ EnvironmentMembersList.member = Shapes::ShapeRef.new(shape: EnvironmentMember)
141
+
142
+ ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
143
+ ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
144
+ ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
145
+
146
+ ListEnvironmentsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
147
+ ListEnvironmentsResult.add_member(:environment_ids, Shapes::ShapeRef.new(shape: EnvironmentIdList, location_name: "environmentIds"))
148
+ ListEnvironmentsResult.struct_class = Types::ListEnvironmentsResult
149
+
150
+ PermissionsList.member = Shapes::ShapeRef.new(shape: Permissions)
151
+
152
+ UpdateEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
153
+ UpdateEnvironmentMembershipRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn"))
154
+ UpdateEnvironmentMembershipRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: MemberPermissions, required: true, location_name: "permissions"))
155
+ UpdateEnvironmentMembershipRequest.struct_class = Types::UpdateEnvironmentMembershipRequest
156
+
157
+ UpdateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, location_name: "membership"))
158
+ UpdateEnvironmentMembershipResult.struct_class = Types::UpdateEnvironmentMembershipResult
159
+
160
+ UpdateEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
161
+ UpdateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
162
+ UpdateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
163
+ UpdateEnvironmentRequest.struct_class = Types::UpdateEnvironmentRequest
164
+
165
+ UpdateEnvironmentResult.struct_class = Types::UpdateEnvironmentResult
166
+
167
+
168
+ # @api private
169
+ API = Seahorse::Model::Api.new.tap do |api|
170
+
171
+ api.version = "2017-09-23"
172
+
173
+ api.metadata = {
174
+ "endpointPrefix" => "cloud9",
175
+ "jsonVersion" => "1.1",
176
+ "protocol" => "json",
177
+ "serviceFullName" => "AWS Cloud9",
178
+ "signatureVersion" => "v4",
179
+ "targetPrefix" => "AWSCloud9WorkspaceManagementService",
180
+ }
181
+
182
+ api.add_operation(:create_environment_ec2, Seahorse::Model::Operation.new.tap do |o|
183
+ o.name = "CreateEnvironmentEC2"
184
+ o.http_method = "POST"
185
+ o.http_request_uri = "/"
186
+ o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentEC2Request)
187
+ o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentEC2Result)
188
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
189
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
190
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
191
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
192
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
193
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
194
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
195
+ end)
196
+
197
+ api.add_operation(:create_environment_membership, Seahorse::Model::Operation.new.tap do |o|
198
+ o.name = "CreateEnvironmentMembership"
199
+ o.http_method = "POST"
200
+ o.http_request_uri = "/"
201
+ o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentMembershipRequest)
202
+ o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentMembershipResult)
203
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
204
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
205
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
206
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
207
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
208
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
209
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
210
+ end)
211
+
212
+ api.add_operation(:delete_environment, Seahorse::Model::Operation.new.tap do |o|
213
+ o.name = "DeleteEnvironment"
214
+ o.http_method = "POST"
215
+ o.http_request_uri = "/"
216
+ o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentRequest)
217
+ o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentResult)
218
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
219
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
220
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
221
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
222
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
223
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
224
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
225
+ end)
226
+
227
+ api.add_operation(:delete_environment_membership, Seahorse::Model::Operation.new.tap do |o|
228
+ o.name = "DeleteEnvironmentMembership"
229
+ o.http_method = "POST"
230
+ o.http_request_uri = "/"
231
+ o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentMembershipRequest)
232
+ o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentMembershipResult)
233
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
234
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
235
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
236
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
237
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
238
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
239
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
240
+ end)
241
+
242
+ api.add_operation(:describe_environment_memberships, Seahorse::Model::Operation.new.tap do |o|
243
+ o.name = "DescribeEnvironmentMemberships"
244
+ o.http_method = "POST"
245
+ o.http_request_uri = "/"
246
+ o.input = Shapes::ShapeRef.new(shape: DescribeEnvironmentMembershipsRequest)
247
+ o.output = Shapes::ShapeRef.new(shape: DescribeEnvironmentMembershipsResult)
248
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
249
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
250
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
251
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
252
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
253
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
254
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
255
+ o[:pager] = Aws::Pager.new(
256
+ limit_key: "max_results",
257
+ tokens: {
258
+ "next_token" => "next_token"
259
+ }
260
+ )
261
+ end)
262
+
263
+ api.add_operation(:describe_environment_status, Seahorse::Model::Operation.new.tap do |o|
264
+ o.name = "DescribeEnvironmentStatus"
265
+ o.http_method = "POST"
266
+ o.http_request_uri = "/"
267
+ o.input = Shapes::ShapeRef.new(shape: DescribeEnvironmentStatusRequest)
268
+ o.output = Shapes::ShapeRef.new(shape: DescribeEnvironmentStatusResult)
269
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
270
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
271
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
272
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
273
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
274
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
275
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
276
+ end)
277
+
278
+ api.add_operation(:describe_environments, Seahorse::Model::Operation.new.tap do |o|
279
+ o.name = "DescribeEnvironments"
280
+ o.http_method = "POST"
281
+ o.http_request_uri = "/"
282
+ o.input = Shapes::ShapeRef.new(shape: DescribeEnvironmentsRequest)
283
+ o.output = Shapes::ShapeRef.new(shape: DescribeEnvironmentsResult)
284
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
285
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
286
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
287
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
288
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
289
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
290
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
291
+ end)
292
+
293
+ api.add_operation(:list_environments, Seahorse::Model::Operation.new.tap do |o|
294
+ o.name = "ListEnvironments"
295
+ o.http_method = "POST"
296
+ o.http_request_uri = "/"
297
+ o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsRequest)
298
+ o.output = Shapes::ShapeRef.new(shape: ListEnvironmentsResult)
299
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
300
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
301
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
302
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
303
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
304
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
305
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
306
+ o[:pager] = Aws::Pager.new(
307
+ limit_key: "max_results",
308
+ tokens: {
309
+ "next_token" => "next_token"
310
+ }
311
+ )
312
+ end)
313
+
314
+ api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o|
315
+ o.name = "UpdateEnvironment"
316
+ o.http_method = "POST"
317
+ o.http_request_uri = "/"
318
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentRequest)
319
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentResult)
320
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
321
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
322
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
323
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
324
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
325
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
326
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
327
+ end)
328
+
329
+ api.add_operation(:update_environment_membership, Seahorse::Model::Operation.new.tap do |o|
330
+ o.name = "UpdateEnvironmentMembership"
331
+ o.http_method = "POST"
332
+ o.http_request_uri = "/"
333
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentMembershipRequest)
334
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentMembershipResult)
335
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
336
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
337
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
338
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
339
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
340
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
341
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
342
+ end)
343
+ end
344
+
345
+ end
346
+ end
File without changes
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Cloud9
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Cloud9
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,566 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Cloud9
9
+ module Types
10
+
11
+ # @note When making an API call, you may pass CreateEnvironmentEC2Request
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # name: "EnvironmentName", # required
16
+ # description: "EnvironmentDescription",
17
+ # client_request_token: "ClientRequestToken",
18
+ # instance_type: "InstanceType", # required
19
+ # subnet_id: "SubnetId",
20
+ # automatic_stop_time_minutes: 1,
21
+ # owner_arn: "UserArn",
22
+ # }
23
+ #
24
+ # @!attribute [rw] name
25
+ # The name of the environment to create.
26
+ #
27
+ # This name is visible to other AWS IAM users in the same AWS account.
28
+ # @return [String]
29
+ #
30
+ # @!attribute [rw] description
31
+ # The description of the environment to create.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] client_request_token
35
+ # A unique, case-sensitive string that helps AWS Cloud9 to ensure this
36
+ # operation completes no more than one time.
37
+ #
38
+ # For more information, see [Client Tokens][1] in the *Amazon EC2 API
39
+ # Reference*.
40
+ #
41
+ #
42
+ #
43
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] instance_type
47
+ # The type of instance to host the environment on (for example,
48
+ # `t2.micro`).
49
+ # @return [String]
50
+ #
51
+ # @!attribute [rw] subnet_id
52
+ # The ID of the subnet in Amazon VPC that AWS Cloud9 will use to
53
+ # communicate with the Amazon EC2 instance.
54
+ # @return [String]
55
+ #
56
+ # @!attribute [rw] automatic_stop_time_minutes
57
+ # The number of minutes until the running instance is shut down after
58
+ # the environment has last been used.
59
+ # @return [Integer]
60
+ #
61
+ # @!attribute [rw] owner_arn
62
+ # The Amazon Resource Name (ARN) of the environment owner. This ARN
63
+ # can be the ARN of any AWS IAM principal. If this value is not
64
+ # specified, the ARN defaults to this environment's creator.
65
+ # @return [String]
66
+ #
67
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Request AWS API Documentation
68
+ #
69
+ class CreateEnvironmentEC2Request < Struct.new(
70
+ :name,
71
+ :description,
72
+ :client_request_token,
73
+ :instance_type,
74
+ :subnet_id,
75
+ :automatic_stop_time_minutes,
76
+ :owner_arn)
77
+ include Aws::Structure
78
+ end
79
+
80
+ # @!attribute [rw] environment_id
81
+ # The ID of the environment that was created.
82
+ # @return [String]
83
+ #
84
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Result AWS API Documentation
85
+ #
86
+ class CreateEnvironmentEC2Result < Struct.new(
87
+ :environment_id)
88
+ include Aws::Structure
89
+ end
90
+
91
+ # @note When making an API call, you may pass CreateEnvironmentMembershipRequest
92
+ # data as a hash:
93
+ #
94
+ # {
95
+ # environment_id: "EnvironmentId", # required
96
+ # user_arn: "UserArn", # required
97
+ # permissions: "read-write", # required, accepts read-write, read-only
98
+ # }
99
+ #
100
+ # @!attribute [rw] environment_id
101
+ # The ID of the environment that contains the environment member you
102
+ # want to add.
103
+ # @return [String]
104
+ #
105
+ # @!attribute [rw] user_arn
106
+ # The Amazon Resource Name (ARN) of the environment member you want to
107
+ # add.
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] permissions
111
+ # The type of environment member permissions you want to associate
112
+ # with this environment member. Available values include:
113
+ #
114
+ # * `read-only`\: Has read-only access to the environment.
115
+ #
116
+ # * `read-write`\: Has read-write access to the environment.
117
+ # @return [String]
118
+ #
119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembershipRequest AWS API Documentation
120
+ #
121
+ class CreateEnvironmentMembershipRequest < Struct.new(
122
+ :environment_id,
123
+ :user_arn,
124
+ :permissions)
125
+ include Aws::Structure
126
+ end
127
+
128
+ # @!attribute [rw] membership
129
+ # Information about the environment member that was added.
130
+ # @return [Types::EnvironmentMember]
131
+ #
132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembershipResult AWS API Documentation
133
+ #
134
+ class CreateEnvironmentMembershipResult < Struct.new(
135
+ :membership)
136
+ include Aws::Structure
137
+ end
138
+
139
+ # @note When making an API call, you may pass DeleteEnvironmentMembershipRequest
140
+ # data as a hash:
141
+ #
142
+ # {
143
+ # environment_id: "EnvironmentId", # required
144
+ # user_arn: "UserArn", # required
145
+ # }
146
+ #
147
+ # @!attribute [rw] environment_id
148
+ # The ID of the environment to delete the environment member from.
149
+ # @return [String]
150
+ #
151
+ # @!attribute [rw] user_arn
152
+ # The Amazon Resource Name (ARN) of the environment member to delete
153
+ # from the environment.
154
+ # @return [String]
155
+ #
156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembershipRequest AWS API Documentation
157
+ #
158
+ class DeleteEnvironmentMembershipRequest < Struct.new(
159
+ :environment_id,
160
+ :user_arn)
161
+ include Aws::Structure
162
+ end
163
+
164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembershipResult AWS API Documentation
165
+ #
166
+ class DeleteEnvironmentMembershipResult < Aws::EmptyStructure; end
167
+
168
+ # @note When making an API call, you may pass DeleteEnvironmentRequest
169
+ # data as a hash:
170
+ #
171
+ # {
172
+ # environment_id: "EnvironmentId", # required
173
+ # }
174
+ #
175
+ # @!attribute [rw] environment_id
176
+ # The ID of the environment to delete.
177
+ # @return [String]
178
+ #
179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentRequest AWS API Documentation
180
+ #
181
+ class DeleteEnvironmentRequest < Struct.new(
182
+ :environment_id)
183
+ include Aws::Structure
184
+ end
185
+
186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentResult AWS API Documentation
187
+ #
188
+ class DeleteEnvironmentResult < Aws::EmptyStructure; end
189
+
190
+ # @note When making an API call, you may pass DescribeEnvironmentMembershipsRequest
191
+ # data as a hash:
192
+ #
193
+ # {
194
+ # user_arn: "UserArn",
195
+ # environment_id: "EnvironmentId",
196
+ # permissions: ["owner"], # accepts owner, read-write, read-only
197
+ # next_token: "String",
198
+ # max_results: 1,
199
+ # }
200
+ #
201
+ # @!attribute [rw] user_arn
202
+ # The Amazon Resource Name (ARN) of an individual environment member
203
+ # to get information about. If no value is specified, information
204
+ # about all environment members are returned.
205
+ # @return [String]
206
+ #
207
+ # @!attribute [rw] environment_id
208
+ # The ID of the environment to get environment member information
209
+ # about.
210
+ # @return [String]
211
+ #
212
+ # @!attribute [rw] permissions
213
+ # The type of environment member permissions to get information about.
214
+ # Available values include:
215
+ #
216
+ # * `owner`\: Owns the environment.
217
+ #
218
+ # * `read-only`\: Has read-only access to the environment.
219
+ #
220
+ # * `read-write`\: Has read-write access to the environment.
221
+ #
222
+ # If no value is specified, information about all environment members
223
+ # are returned.
224
+ # @return [Array<String>]
225
+ #
226
+ # @!attribute [rw] next_token
227
+ # During a previous call, if there are more than 25 items in the list,
228
+ # only the first 25 items are returned, along with a unique string
229
+ # called a *next token*. To get the next batch of items in the list,
230
+ # call this operation again, adding the next token to the call. To get
231
+ # all of the items in the list, keep calling this operation with each
232
+ # subsequent next token that is returned, until no more next tokens
233
+ # are returned.
234
+ # @return [String]
235
+ #
236
+ # @!attribute [rw] max_results
237
+ # The maximum number of environment members to get information about.
238
+ # @return [Integer]
239
+ #
240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentMembershipsRequest AWS API Documentation
241
+ #
242
+ class DescribeEnvironmentMembershipsRequest < Struct.new(
243
+ :user_arn,
244
+ :environment_id,
245
+ :permissions,
246
+ :next_token,
247
+ :max_results)
248
+ include Aws::Structure
249
+ end
250
+
251
+ # @!attribute [rw] memberships
252
+ # Information about the environment members for the environment.
253
+ # @return [Array<Types::EnvironmentMember>]
254
+ #
255
+ # @!attribute [rw] next_token
256
+ # If there are more than 25 items in the list, only the first 25 items
257
+ # are returned, along with a unique string called a *next token*. To
258
+ # get the next batch of items in the list, call this operation again,
259
+ # adding the next token to the call.
260
+ # @return [String]
261
+ #
262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentMembershipsResult AWS API Documentation
263
+ #
264
+ class DescribeEnvironmentMembershipsResult < Struct.new(
265
+ :memberships,
266
+ :next_token)
267
+ include Aws::Structure
268
+ end
269
+
270
+ # @note When making an API call, you may pass DescribeEnvironmentStatusRequest
271
+ # data as a hash:
272
+ #
273
+ # {
274
+ # environment_id: "EnvironmentId", # required
275
+ # }
276
+ #
277
+ # @!attribute [rw] environment_id
278
+ # The ID of the environment to get status information about.
279
+ # @return [String]
280
+ #
281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentStatusRequest AWS API Documentation
282
+ #
283
+ class DescribeEnvironmentStatusRequest < Struct.new(
284
+ :environment_id)
285
+ include Aws::Structure
286
+ end
287
+
288
+ # @!attribute [rw] status
289
+ # The status of the environment. Available values include:
290
+ #
291
+ # * `connecting`\: The environment is connecting.
292
+ #
293
+ # * `creating`\: The environment is being created.
294
+ #
295
+ # * `deleting`\: The environment is being deleted.
296
+ #
297
+ # * `error`\: The environment is in an error state.
298
+ #
299
+ # * `ready`\: The environment is ready.
300
+ #
301
+ # * `stopped`\: The environment is stopped.
302
+ #
303
+ # * `stopping`\: The environment is stopping.
304
+ # @return [String]
305
+ #
306
+ # @!attribute [rw] message
307
+ # Any informational message about the status of the environment.
308
+ # @return [String]
309
+ #
310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentStatusResult AWS API Documentation
311
+ #
312
+ class DescribeEnvironmentStatusResult < Struct.new(
313
+ :status,
314
+ :message)
315
+ include Aws::Structure
316
+ end
317
+
318
+ # @note When making an API call, you may pass DescribeEnvironmentsRequest
319
+ # data as a hash:
320
+ #
321
+ # {
322
+ # environment_ids: ["EnvironmentId"], # required
323
+ # }
324
+ #
325
+ # @!attribute [rw] environment_ids
326
+ # The IDs of invidividual environments to get information about.
327
+ # @return [Array<String>]
328
+ #
329
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentsRequest AWS API Documentation
330
+ #
331
+ class DescribeEnvironmentsRequest < Struct.new(
332
+ :environment_ids)
333
+ include Aws::Structure
334
+ end
335
+
336
+ # @!attribute [rw] environments
337
+ # Information about the environments that are returned.
338
+ # @return [Array<Types::Environment>]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentsResult AWS API Documentation
341
+ #
342
+ class DescribeEnvironmentsResult < Struct.new(
343
+ :environments)
344
+ include Aws::Structure
345
+ end
346
+
347
+ # Information about an AWS Cloud9 development environment.
348
+ #
349
+ # @!attribute [rw] id
350
+ # The ID of the environment.
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] name
354
+ # The name of the environment.
355
+ # @return [String]
356
+ #
357
+ # @!attribute [rw] description
358
+ # The description for the environment.
359
+ # @return [String]
360
+ #
361
+ # @!attribute [rw] type
362
+ # The type of environment. Valid values include the following:
363
+ #
364
+ # * `ec2`\: An environment hosted on an Amazon Elastic Compute Cloud
365
+ # (Amazon EC2) instance.
366
+ #
367
+ # * `ssh`\: An environment hosted on your own server.
368
+ # @return [String]
369
+ #
370
+ # @!attribute [rw] arn
371
+ # The Amazon Resource Name (ARN) of the environment.
372
+ # @return [String]
373
+ #
374
+ # @!attribute [rw] owner_arn
375
+ # The Amazon Resource Name (ARN) of the environment owner.
376
+ # @return [String]
377
+ #
378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/Environment AWS API Documentation
379
+ #
380
+ class Environment < Struct.new(
381
+ :id,
382
+ :name,
383
+ :description,
384
+ :type,
385
+ :arn,
386
+ :owner_arn)
387
+ include Aws::Structure
388
+ end
389
+
390
+ # Information about an environment member for an AWS Cloud9 development
391
+ # environment.
392
+ #
393
+ # @!attribute [rw] permissions
394
+ # The type of environment member permissions associated with this
395
+ # environment member. Available values include:
396
+ #
397
+ # * `owner`\: Owns the environment.
398
+ #
399
+ # * `read-only`\: Has read-only access to the environment.
400
+ #
401
+ # * `read-write`\: Has read-write access to the environment.
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] user_id
405
+ # The user ID in AWS Identity and Access Management (AWS IAM) of the
406
+ # environment member.
407
+ # @return [String]
408
+ #
409
+ # @!attribute [rw] user_arn
410
+ # The Amazon Resource Name (ARN) of the environment member.
411
+ # @return [String]
412
+ #
413
+ # @!attribute [rw] environment_id
414
+ # The ID of the environment for the environment member.
415
+ # @return [String]
416
+ #
417
+ # @!attribute [rw] last_access
418
+ # The time, expressed in epoch time format, when the environment
419
+ # member last opened the environment.
420
+ # @return [Time]
421
+ #
422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/EnvironmentMember AWS API Documentation
423
+ #
424
+ class EnvironmentMember < Struct.new(
425
+ :permissions,
426
+ :user_id,
427
+ :user_arn,
428
+ :environment_id,
429
+ :last_access)
430
+ include Aws::Structure
431
+ end
432
+
433
+ # @note When making an API call, you may pass ListEnvironmentsRequest
434
+ # data as a hash:
435
+ #
436
+ # {
437
+ # next_token: "String",
438
+ # max_results: 1,
439
+ # }
440
+ #
441
+ # @!attribute [rw] next_token
442
+ # During a previous call, if there are more than 25 items in the list,
443
+ # only the first 25 items are returned, along with a unique string
444
+ # called a *next token*. To get the next batch of items in the list,
445
+ # call this operation again, adding the next token to the call. To get
446
+ # all of the items in the list, keep calling this operation with each
447
+ # subsequent next token that is returned, until no more next tokens
448
+ # are returned.
449
+ # @return [String]
450
+ #
451
+ # @!attribute [rw] max_results
452
+ # The maximum number of environments to get identifiers for.
453
+ # @return [Integer]
454
+ #
455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListEnvironmentsRequest AWS API Documentation
456
+ #
457
+ class ListEnvironmentsRequest < Struct.new(
458
+ :next_token,
459
+ :max_results)
460
+ include Aws::Structure
461
+ end
462
+
463
+ # @!attribute [rw] next_token
464
+ # If there are more than 25 items in the list, only the first 25 items
465
+ # are returned, along with a unique string called a *next token*. To
466
+ # get the next batch of items in the list, call this operation again,
467
+ # adding the next token to the call.
468
+ # @return [String]
469
+ #
470
+ # @!attribute [rw] environment_ids
471
+ # The list of environment identifiers.
472
+ # @return [Array<String>]
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListEnvironmentsResult AWS API Documentation
475
+ #
476
+ class ListEnvironmentsResult < Struct.new(
477
+ :next_token,
478
+ :environment_ids)
479
+ include Aws::Structure
480
+ end
481
+
482
+ # @note When making an API call, you may pass UpdateEnvironmentMembershipRequest
483
+ # data as a hash:
484
+ #
485
+ # {
486
+ # environment_id: "EnvironmentId", # required
487
+ # user_arn: "UserArn", # required
488
+ # permissions: "read-write", # required, accepts read-write, read-only
489
+ # }
490
+ #
491
+ # @!attribute [rw] environment_id
492
+ # The ID of the environment for the environment member whose settings
493
+ # you want to change.
494
+ # @return [String]
495
+ #
496
+ # @!attribute [rw] user_arn
497
+ # The Amazon Resource Name (ARN) of the environment member whose
498
+ # settings you want to change.
499
+ # @return [String]
500
+ #
501
+ # @!attribute [rw] permissions
502
+ # The replacement type of environment member permissions you want to
503
+ # associate with this environment member. Available values include:
504
+ #
505
+ # * `read-only`\: Has read-only access to the environment.
506
+ #
507
+ # * `read-write`\: Has read-write access to the environment.
508
+ # @return [String]
509
+ #
510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentMembershipRequest AWS API Documentation
511
+ #
512
+ class UpdateEnvironmentMembershipRequest < Struct.new(
513
+ :environment_id,
514
+ :user_arn,
515
+ :permissions)
516
+ include Aws::Structure
517
+ end
518
+
519
+ # @!attribute [rw] membership
520
+ # Information about the environment member whose settings were
521
+ # changed.
522
+ # @return [Types::EnvironmentMember]
523
+ #
524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentMembershipResult AWS API Documentation
525
+ #
526
+ class UpdateEnvironmentMembershipResult < Struct.new(
527
+ :membership)
528
+ include Aws::Structure
529
+ end
530
+
531
+ # @note When making an API call, you may pass UpdateEnvironmentRequest
532
+ # data as a hash:
533
+ #
534
+ # {
535
+ # environment_id: "EnvironmentId", # required
536
+ # name: "EnvironmentName",
537
+ # description: "EnvironmentDescription",
538
+ # }
539
+ #
540
+ # @!attribute [rw] environment_id
541
+ # The ID of the environment to change settings.
542
+ # @return [String]
543
+ #
544
+ # @!attribute [rw] name
545
+ # Any replacement name for the environment.
546
+ # @return [String]
547
+ #
548
+ # @!attribute [rw] description
549
+ # Any new or replacement description for the environment.
550
+ # @return [String]
551
+ #
552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentRequest AWS API Documentation
553
+ #
554
+ class UpdateEnvironmentRequest < Struct.new(
555
+ :environment_id,
556
+ :name,
557
+ :description)
558
+ include Aws::Structure
559
+ end
560
+
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentResult AWS API Documentation
562
+ #
563
+ class UpdateEnvironmentResult < Aws::EmptyStructure; end
564
+
565
+ end
566
+ end