aws-sdk-workspacesthinclient 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,699 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::WorkSpacesThinClient
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ ActivationCode = Shapes::StringShape.new(name: 'ActivationCode')
18
+ ApplyTimeOf = Shapes::StringShape.new(name: 'ApplyTimeOf')
19
+ Arn = Shapes::StringShape.new(name: 'Arn')
20
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
21
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
22
+ CreateEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentRequest')
23
+ CreateEnvironmentResponse = Shapes::StructureShape.new(name: 'CreateEnvironmentResponse')
24
+ DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
25
+ DayOfWeekList = Shapes::ListShape.new(name: 'DayOfWeekList')
26
+ DeleteDeviceRequest = Shapes::StructureShape.new(name: 'DeleteDeviceRequest')
27
+ DeleteDeviceResponse = Shapes::StructureShape.new(name: 'DeleteDeviceResponse')
28
+ DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
29
+ DeleteEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteEnvironmentResponse')
30
+ DeregisterDeviceRequest = Shapes::StructureShape.new(name: 'DeregisterDeviceRequest')
31
+ DeregisterDeviceResponse = Shapes::StructureShape.new(name: 'DeregisterDeviceResponse')
32
+ DesktopEndpoint = Shapes::StringShape.new(name: 'DesktopEndpoint')
33
+ DesktopType = Shapes::StringShape.new(name: 'DesktopType')
34
+ Device = Shapes::StructureShape.new(name: 'Device')
35
+ DeviceId = Shapes::StringShape.new(name: 'DeviceId')
36
+ DeviceList = Shapes::ListShape.new(name: 'DeviceList')
37
+ DeviceName = Shapes::StringShape.new(name: 'DeviceName')
38
+ DeviceSoftwareSetComplianceStatus = Shapes::StringShape.new(name: 'DeviceSoftwareSetComplianceStatus')
39
+ DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus')
40
+ DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary')
41
+ EmbeddedTag = Shapes::StructureShape.new(name: 'EmbeddedTag')
42
+ Environment = Shapes::StructureShape.new(name: 'Environment')
43
+ EnvironmentId = Shapes::StringShape.new(name: 'EnvironmentId')
44
+ EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
45
+ EnvironmentName = Shapes::StringShape.new(name: 'EnvironmentName')
46
+ EnvironmentSoftwareSetComplianceStatus = Shapes::StringShape.new(name: 'EnvironmentSoftwareSetComplianceStatus')
47
+ EnvironmentSummary = Shapes::StructureShape.new(name: 'EnvironmentSummary')
48
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
49
+ FieldName = Shapes::StringShape.new(name: 'FieldName')
50
+ GetDeviceRequest = Shapes::StructureShape.new(name: 'GetDeviceRequest')
51
+ GetDeviceResponse = Shapes::StructureShape.new(name: 'GetDeviceResponse')
52
+ GetEnvironmentRequest = Shapes::StructureShape.new(name: 'GetEnvironmentRequest')
53
+ GetEnvironmentResponse = Shapes::StructureShape.new(name: 'GetEnvironmentResponse')
54
+ GetSoftwareSetRequest = Shapes::StructureShape.new(name: 'GetSoftwareSetRequest')
55
+ GetSoftwareSetResponse = Shapes::StructureShape.new(name: 'GetSoftwareSetResponse')
56
+ Hour = Shapes::IntegerShape.new(name: 'Hour')
57
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
58
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
59
+ InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
60
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
61
+ ListDevicesRequest = Shapes::StructureShape.new(name: 'ListDevicesRequest')
62
+ ListDevicesResponse = Shapes::StructureShape.new(name: 'ListDevicesResponse')
63
+ ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest')
64
+ ListEnvironmentsResponse = Shapes::StructureShape.new(name: 'ListEnvironmentsResponse')
65
+ ListSoftwareSetsRequest = Shapes::StructureShape.new(name: 'ListSoftwareSetsRequest')
66
+ ListSoftwareSetsResponse = Shapes::StructureShape.new(name: 'ListSoftwareSetsResponse')
67
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
68
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
69
+ MaintenanceWindow = Shapes::StructureShape.new(name: 'MaintenanceWindow')
70
+ MaintenanceWindowType = Shapes::StringShape.new(name: 'MaintenanceWindowType')
71
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
72
+ Minute = Shapes::IntegerShape.new(name: 'Minute')
73
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
74
+ QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
75
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
76
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
77
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
78
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
79
+ ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
80
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
81
+ Software = Shapes::StructureShape.new(name: 'Software')
82
+ SoftwareList = Shapes::ListShape.new(name: 'SoftwareList')
83
+ SoftwareSet = Shapes::StructureShape.new(name: 'SoftwareSet')
84
+ SoftwareSetId = Shapes::StringShape.new(name: 'SoftwareSetId')
85
+ SoftwareSetIdOrEmptyString = Shapes::StringShape.new(name: 'SoftwareSetIdOrEmptyString')
86
+ SoftwareSetList = Shapes::ListShape.new(name: 'SoftwareSetList')
87
+ SoftwareSetSummary = Shapes::StructureShape.new(name: 'SoftwareSetSummary')
88
+ SoftwareSetUpdateMode = Shapes::StringShape.new(name: 'SoftwareSetUpdateMode')
89
+ SoftwareSetUpdateSchedule = Shapes::StringShape.new(name: 'SoftwareSetUpdateSchedule')
90
+ SoftwareSetUpdateStatus = Shapes::StringShape.new(name: 'SoftwareSetUpdateStatus')
91
+ SoftwareSetValidationStatus = Shapes::StringShape.new(name: 'SoftwareSetValidationStatus')
92
+ String = Shapes::StringShape.new(name: 'String')
93
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
94
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
95
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
96
+ TagsMap = Shapes::MapShape.new(name: 'TagsMap')
97
+ TargetDeviceStatus = Shapes::StringShape.new(name: 'TargetDeviceStatus')
98
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
99
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
100
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
101
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
102
+ UpdateDeviceRequest = Shapes::StructureShape.new(name: 'UpdateDeviceRequest')
103
+ UpdateDeviceResponse = Shapes::StructureShape.new(name: 'UpdateDeviceResponse')
104
+ UpdateEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentRequest')
105
+ UpdateEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateEnvironmentResponse')
106
+ UpdateSoftwareSetRequest = Shapes::StructureShape.new(name: 'UpdateSoftwareSetRequest')
107
+ UpdateSoftwareSetResponse = Shapes::StructureShape.new(name: 'UpdateSoftwareSetResponse')
108
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
109
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
110
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
111
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
112
+
113
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
114
+ AccessDeniedException.struct_class = Types::AccessDeniedException
115
+
116
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
117
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
118
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
119
+ ConflictException.struct_class = Types::ConflictException
120
+
121
+ CreateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
122
+ CreateEnvironmentRequest.add_member(:desktop_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "desktopArn"))
123
+ CreateEnvironmentRequest.add_member(:desktop_endpoint, Shapes::ShapeRef.new(shape: DesktopEndpoint, location_name: "desktopEndpoint"))
124
+ CreateEnvironmentRequest.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
125
+ CreateEnvironmentRequest.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "maintenanceWindow"))
126
+ CreateEnvironmentRequest.add_member(:software_set_update_mode, Shapes::ShapeRef.new(shape: SoftwareSetUpdateMode, location_name: "softwareSetUpdateMode"))
127
+ CreateEnvironmentRequest.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "desiredSoftwareSetId"))
128
+ CreateEnvironmentRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
129
+ CreateEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
130
+ CreateEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
131
+ CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
132
+
133
+ CreateEnvironmentResponse.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentSummary, location_name: "environment"))
134
+ CreateEnvironmentResponse.struct_class = Types::CreateEnvironmentResponse
135
+
136
+ DayOfWeekList.member = Shapes::ShapeRef.new(shape: DayOfWeek)
137
+
138
+ DeleteDeviceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location: "uri", location_name: "id"))
139
+ DeleteDeviceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
140
+ DeleteDeviceRequest.struct_class = Types::DeleteDeviceRequest
141
+
142
+ DeleteDeviceResponse.struct_class = Types::DeleteDeviceResponse
143
+
144
+ DeleteEnvironmentRequest.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location: "uri", location_name: "id"))
145
+ DeleteEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
146
+ DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
147
+
148
+ DeleteEnvironmentResponse.struct_class = Types::DeleteEnvironmentResponse
149
+
150
+ DeregisterDeviceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location: "uri", location_name: "id"))
151
+ DeregisterDeviceRequest.add_member(:target_device_status, Shapes::ShapeRef.new(shape: TargetDeviceStatus, location_name: "targetDeviceStatus"))
152
+ DeregisterDeviceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
153
+ DeregisterDeviceRequest.struct_class = Types::DeregisterDeviceRequest
154
+
155
+ DeregisterDeviceResponse.struct_class = Types::DeregisterDeviceResponse
156
+
157
+ Device.add_member(:id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "id"))
158
+ Device.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "serialNumber"))
159
+ Device.add_member(:name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "name"))
160
+ Device.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
161
+ Device.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
162
+ Device.add_member(:status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "status"))
163
+ Device.add_member(:current_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "currentSoftwareSetId"))
164
+ Device.add_member(:current_software_set_version, Shapes::ShapeRef.new(shape: String, location_name: "currentSoftwareSetVersion"))
165
+ Device.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "desiredSoftwareSetId"))
166
+ Device.add_member(:pending_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "pendingSoftwareSetId"))
167
+ Device.add_member(:pending_software_set_version, Shapes::ShapeRef.new(shape: String, location_name: "pendingSoftwareSetVersion"))
168
+ Device.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
169
+ Device.add_member(:software_set_compliance_status, Shapes::ShapeRef.new(shape: DeviceSoftwareSetComplianceStatus, location_name: "softwareSetComplianceStatus"))
170
+ Device.add_member(:software_set_update_status, Shapes::ShapeRef.new(shape: SoftwareSetUpdateStatus, location_name: "softwareSetUpdateStatus"))
171
+ Device.add_member(:last_connected_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastConnectedAt"))
172
+ Device.add_member(:last_posture_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastPostureAt"))
173
+ Device.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
174
+ Device.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
175
+ Device.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
176
+ Device.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
177
+ Device.add_member(:tags, Shapes::ShapeRef.new(shape: EmbeddedTag, location_name: "tags"))
178
+ Device.struct_class = Types::Device
179
+
180
+ DeviceList.member = Shapes::ShapeRef.new(shape: DeviceSummary)
181
+
182
+ DeviceSummary.add_member(:id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "id"))
183
+ DeviceSummary.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "serialNumber"))
184
+ DeviceSummary.add_member(:name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "name"))
185
+ DeviceSummary.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
186
+ DeviceSummary.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
187
+ DeviceSummary.add_member(:status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "status"))
188
+ DeviceSummary.add_member(:current_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "currentSoftwareSetId"))
189
+ DeviceSummary.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "desiredSoftwareSetId"))
190
+ DeviceSummary.add_member(:pending_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "pendingSoftwareSetId"))
191
+ DeviceSummary.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
192
+ DeviceSummary.add_member(:last_connected_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastConnectedAt"))
193
+ DeviceSummary.add_member(:last_posture_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastPostureAt"))
194
+ DeviceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
195
+ DeviceSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
196
+ DeviceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
197
+ DeviceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: EmbeddedTag, location_name: "tags"))
198
+ DeviceSummary.struct_class = Types::DeviceSummary
199
+
200
+ EmbeddedTag.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
201
+ EmbeddedTag.add_member(:internal_id, Shapes::ShapeRef.new(shape: String, location_name: "internalId"))
202
+ EmbeddedTag.struct_class = Types::EmbeddedTag
203
+
204
+ Environment.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "id"))
205
+ Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
206
+ Environment.add_member(:desktop_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "desktopArn"))
207
+ Environment.add_member(:desktop_endpoint, Shapes::ShapeRef.new(shape: DesktopEndpoint, location_name: "desktopEndpoint"))
208
+ Environment.add_member(:desktop_type, Shapes::ShapeRef.new(shape: DesktopType, location_name: "desktopType"))
209
+ Environment.add_member(:activation_code, Shapes::ShapeRef.new(shape: ActivationCode, location_name: "activationCode"))
210
+ Environment.add_member(:registered_devices_count, Shapes::ShapeRef.new(shape: Integer, location_name: "registeredDevicesCount"))
211
+ Environment.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
212
+ Environment.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "maintenanceWindow"))
213
+ Environment.add_member(:software_set_update_mode, Shapes::ShapeRef.new(shape: SoftwareSetUpdateMode, location_name: "softwareSetUpdateMode"))
214
+ Environment.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "desiredSoftwareSetId"))
215
+ Environment.add_member(:pending_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "pendingSoftwareSetId"))
216
+ Environment.add_member(:pending_software_set_version, Shapes::ShapeRef.new(shape: String, location_name: "pendingSoftwareSetVersion"))
217
+ Environment.add_member(:software_set_compliance_status, Shapes::ShapeRef.new(shape: EnvironmentSoftwareSetComplianceStatus, location_name: "softwareSetComplianceStatus"))
218
+ Environment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
219
+ Environment.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
220
+ Environment.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
221
+ Environment.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
222
+ Environment.add_member(:tags, Shapes::ShapeRef.new(shape: EmbeddedTag, location_name: "tags"))
223
+ Environment.struct_class = Types::Environment
224
+
225
+ EnvironmentList.member = Shapes::ShapeRef.new(shape: EnvironmentSummary)
226
+
227
+ EnvironmentSummary.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "id"))
228
+ EnvironmentSummary.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
229
+ EnvironmentSummary.add_member(:desktop_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "desktopArn"))
230
+ EnvironmentSummary.add_member(:desktop_endpoint, Shapes::ShapeRef.new(shape: DesktopEndpoint, location_name: "desktopEndpoint"))
231
+ EnvironmentSummary.add_member(:desktop_type, Shapes::ShapeRef.new(shape: DesktopType, location_name: "desktopType"))
232
+ EnvironmentSummary.add_member(:activation_code, Shapes::ShapeRef.new(shape: ActivationCode, location_name: "activationCode"))
233
+ EnvironmentSummary.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
234
+ EnvironmentSummary.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "maintenanceWindow"))
235
+ EnvironmentSummary.add_member(:software_set_update_mode, Shapes::ShapeRef.new(shape: SoftwareSetUpdateMode, location_name: "softwareSetUpdateMode"))
236
+ EnvironmentSummary.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "desiredSoftwareSetId"))
237
+ EnvironmentSummary.add_member(:pending_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "pendingSoftwareSetId"))
238
+ EnvironmentSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
239
+ EnvironmentSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
240
+ EnvironmentSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
241
+ EnvironmentSummary.add_member(:tags, Shapes::ShapeRef.new(shape: EmbeddedTag, location_name: "tags"))
242
+ EnvironmentSummary.struct_class = Types::EnvironmentSummary
243
+
244
+ GetDeviceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location: "uri", location_name: "id"))
245
+ GetDeviceRequest.struct_class = Types::GetDeviceRequest
246
+
247
+ GetDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "device"))
248
+ GetDeviceResponse.struct_class = Types::GetDeviceResponse
249
+
250
+ GetEnvironmentRequest.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location: "uri", location_name: "id"))
251
+ GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
252
+
253
+ GetEnvironmentResponse.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "environment"))
254
+ GetEnvironmentResponse.struct_class = Types::GetEnvironmentResponse
255
+
256
+ GetSoftwareSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: SoftwareSetId, required: true, location: "uri", location_name: "id"))
257
+ GetSoftwareSetRequest.struct_class = Types::GetSoftwareSetRequest
258
+
259
+ GetSoftwareSetResponse.add_member(:software_set, Shapes::ShapeRef.new(shape: SoftwareSet, location_name: "softwareSet"))
260
+ GetSoftwareSetResponse.struct_class = Types::GetSoftwareSetResponse
261
+
262
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
263
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
264
+ InternalServerException.struct_class = Types::InternalServerException
265
+
266
+ InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
267
+ InternalServiceException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
268
+ InternalServiceException.struct_class = Types::InternalServiceException
269
+
270
+ ListDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
271
+ ListDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
272
+ ListDevicesRequest.struct_class = Types::ListDevicesRequest
273
+
274
+ ListDevicesResponse.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceList, location_name: "devices"))
275
+ ListDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
276
+ ListDevicesResponse.struct_class = Types::ListDevicesResponse
277
+
278
+ ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
279
+ ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
280
+ ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
281
+
282
+ ListEnvironmentsResponse.add_member(:environments, Shapes::ShapeRef.new(shape: EnvironmentList, location_name: "environments"))
283
+ ListEnvironmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
284
+ ListEnvironmentsResponse.struct_class = Types::ListEnvironmentsResponse
285
+
286
+ ListSoftwareSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
287
+ ListSoftwareSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
288
+ ListSoftwareSetsRequest.struct_class = Types::ListSoftwareSetsRequest
289
+
290
+ ListSoftwareSetsResponse.add_member(:software_sets, Shapes::ShapeRef.new(shape: SoftwareSetList, location_name: "softwareSets"))
291
+ ListSoftwareSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
292
+ ListSoftwareSetsResponse.struct_class = Types::ListSoftwareSetsResponse
293
+
294
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
295
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
296
+
297
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
298
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
299
+
300
+ MaintenanceWindow.add_member(:type, Shapes::ShapeRef.new(shape: MaintenanceWindowType, location_name: "type"))
301
+ MaintenanceWindow.add_member(:start_time_hour, Shapes::ShapeRef.new(shape: Hour, location_name: "startTimeHour"))
302
+ MaintenanceWindow.add_member(:start_time_minute, Shapes::ShapeRef.new(shape: Minute, location_name: "startTimeMinute"))
303
+ MaintenanceWindow.add_member(:end_time_hour, Shapes::ShapeRef.new(shape: Hour, location_name: "endTimeHour"))
304
+ MaintenanceWindow.add_member(:end_time_minute, Shapes::ShapeRef.new(shape: Minute, location_name: "endTimeMinute"))
305
+ MaintenanceWindow.add_member(:days_of_the_week, Shapes::ShapeRef.new(shape: DayOfWeekList, location_name: "daysOfTheWeek"))
306
+ MaintenanceWindow.add_member(:apply_time_of, Shapes::ShapeRef.new(shape: ApplyTimeOf, location_name: "applyTimeOf"))
307
+ MaintenanceWindow.struct_class = Types::MaintenanceWindow
308
+
309
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
310
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
311
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
312
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
313
+
314
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
315
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
316
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
317
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
318
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "quotaCode"))
319
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
320
+
321
+ Software.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
322
+ Software.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
323
+ Software.struct_class = Types::Software
324
+
325
+ SoftwareList.member = Shapes::ShapeRef.new(shape: Software)
326
+
327
+ SoftwareSet.add_member(:id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "id"))
328
+ SoftwareSet.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
329
+ SoftwareSet.add_member(:released_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "releasedAt"))
330
+ SoftwareSet.add_member(:supported_until, Shapes::ShapeRef.new(shape: Timestamp, location_name: "supportedUntil"))
331
+ SoftwareSet.add_member(:validation_status, Shapes::ShapeRef.new(shape: SoftwareSetValidationStatus, location_name: "validationStatus"))
332
+ SoftwareSet.add_member(:software, Shapes::ShapeRef.new(shape: SoftwareList, location_name: "software"))
333
+ SoftwareSet.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
334
+ SoftwareSet.struct_class = Types::SoftwareSet
335
+
336
+ SoftwareSetList.member = Shapes::ShapeRef.new(shape: SoftwareSetSummary)
337
+
338
+ SoftwareSetSummary.add_member(:id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "id"))
339
+ SoftwareSetSummary.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
340
+ SoftwareSetSummary.add_member(:released_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "releasedAt"))
341
+ SoftwareSetSummary.add_member(:supported_until, Shapes::ShapeRef.new(shape: Timestamp, location_name: "supportedUntil"))
342
+ SoftwareSetSummary.add_member(:validation_status, Shapes::ShapeRef.new(shape: SoftwareSetValidationStatus, location_name: "validationStatus"))
343
+ SoftwareSetSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
344
+ SoftwareSetSummary.struct_class = Types::SoftwareSetSummary
345
+
346
+ TagKeys.member = Shapes::ShapeRef.new(shape: String)
347
+
348
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
349
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
350
+ TagResourceRequest.struct_class = Types::TagResourceRequest
351
+
352
+ TagResourceResponse.struct_class = Types::TagResourceResponse
353
+
354
+ TagsMap.key = Shapes::ShapeRef.new(shape: String)
355
+ TagsMap.value = Shapes::ShapeRef.new(shape: String)
356
+
357
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
358
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
359
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "quotaCode"))
360
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
361
+ ThrottlingException.struct_class = Types::ThrottlingException
362
+
363
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
364
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
365
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
366
+
367
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
368
+
369
+ UpdateDeviceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location: "uri", location_name: "id"))
370
+ UpdateDeviceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "name"))
371
+ UpdateDeviceRequest.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetId, location_name: "desiredSoftwareSetId"))
372
+ UpdateDeviceRequest.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
373
+ UpdateDeviceRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
374
+ UpdateDeviceRequest.struct_class = Types::UpdateDeviceRequest
375
+
376
+ UpdateDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: DeviceSummary, location_name: "device"))
377
+ UpdateDeviceResponse.struct_class = Types::UpdateDeviceResponse
378
+
379
+ UpdateEnvironmentRequest.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location: "uri", location_name: "id"))
380
+ UpdateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
381
+ UpdateEnvironmentRequest.add_member(:desktop_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "desktopArn"))
382
+ UpdateEnvironmentRequest.add_member(:desktop_endpoint, Shapes::ShapeRef.new(shape: DesktopEndpoint, location_name: "desktopEndpoint"))
383
+ UpdateEnvironmentRequest.add_member(:software_set_update_schedule, Shapes::ShapeRef.new(shape: SoftwareSetUpdateSchedule, location_name: "softwareSetUpdateSchedule"))
384
+ UpdateEnvironmentRequest.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "maintenanceWindow"))
385
+ UpdateEnvironmentRequest.add_member(:software_set_update_mode, Shapes::ShapeRef.new(shape: SoftwareSetUpdateMode, location_name: "softwareSetUpdateMode"))
386
+ UpdateEnvironmentRequest.add_member(:desired_software_set_id, Shapes::ShapeRef.new(shape: SoftwareSetIdOrEmptyString, location_name: "desiredSoftwareSetId"))
387
+ UpdateEnvironmentRequest.struct_class = Types::UpdateEnvironmentRequest
388
+
389
+ UpdateEnvironmentResponse.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentSummary, location_name: "environment"))
390
+ UpdateEnvironmentResponse.struct_class = Types::UpdateEnvironmentResponse
391
+
392
+ UpdateSoftwareSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: SoftwareSetId, required: true, location: "uri", location_name: "id"))
393
+ UpdateSoftwareSetRequest.add_member(:validation_status, Shapes::ShapeRef.new(shape: SoftwareSetValidationStatus, required: true, location_name: "validationStatus"))
394
+ UpdateSoftwareSetRequest.struct_class = Types::UpdateSoftwareSetRequest
395
+
396
+ UpdateSoftwareSetResponse.struct_class = Types::UpdateSoftwareSetResponse
397
+
398
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
399
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
400
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
401
+ ValidationException.struct_class = Types::ValidationException
402
+
403
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "name"))
404
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
405
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
406
+
407
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
408
+
409
+
410
+ # @api private
411
+ API = Seahorse::Model::Api.new.tap do |api|
412
+
413
+ api.version = "2023-08-22"
414
+
415
+ api.metadata = {
416
+ "apiVersion" => "2023-08-22",
417
+ "endpointPrefix" => "thinclient",
418
+ "jsonVersion" => "1.1",
419
+ "protocol" => "rest-json",
420
+ "serviceFullName" => "Amazon WorkSpaces Thin Client",
421
+ "serviceId" => "WorkSpaces Thin Client",
422
+ "signatureVersion" => "v4",
423
+ "signingName" => "thinclient",
424
+ "uid" => "workspaces-thin-client-2023-08-22",
425
+ }
426
+
427
+ api.add_operation(:create_environment, Seahorse::Model::Operation.new.tap do |o|
428
+ o.name = "CreateEnvironment"
429
+ o.http_method = "POST"
430
+ o.http_request_uri = "/environments"
431
+ o.endpoint_pattern = {
432
+ "hostPrefix" => "api.",
433
+ }
434
+ o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentRequest)
435
+ o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentResponse)
436
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
437
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
438
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
439
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
440
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
441
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
442
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
443
+ end)
444
+
445
+ api.add_operation(:delete_device, Seahorse::Model::Operation.new.tap do |o|
446
+ o.name = "DeleteDevice"
447
+ o.http_method = "DELETE"
448
+ o.http_request_uri = "/devices/{id}"
449
+ o.endpoint_pattern = {
450
+ "hostPrefix" => "api.",
451
+ }
452
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeviceRequest)
453
+ o.output = Shapes::ShapeRef.new(shape: DeleteDeviceResponse)
454
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
455
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
456
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
457
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
458
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
459
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
460
+ end)
461
+
462
+ api.add_operation(:delete_environment, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "DeleteEnvironment"
464
+ o.http_method = "DELETE"
465
+ o.http_request_uri = "/environments/{id}"
466
+ o.endpoint_pattern = {
467
+ "hostPrefix" => "api.",
468
+ }
469
+ o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentRequest)
470
+ o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentResponse)
471
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
472
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
473
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
474
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
475
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
476
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
477
+ end)
478
+
479
+ api.add_operation(:deregister_device, Seahorse::Model::Operation.new.tap do |o|
480
+ o.name = "DeregisterDevice"
481
+ o.http_method = "POST"
482
+ o.http_request_uri = "/deregister-device/{id}"
483
+ o.endpoint_pattern = {
484
+ "hostPrefix" => "api.",
485
+ }
486
+ o.input = Shapes::ShapeRef.new(shape: DeregisterDeviceRequest)
487
+ o.output = Shapes::ShapeRef.new(shape: DeregisterDeviceResponse)
488
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
489
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
490
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
491
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
492
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
493
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
494
+ end)
495
+
496
+ api.add_operation(:get_device, Seahorse::Model::Operation.new.tap do |o|
497
+ o.name = "GetDevice"
498
+ o.http_method = "GET"
499
+ o.http_request_uri = "/devices/{id}"
500
+ o.endpoint_pattern = {
501
+ "hostPrefix" => "api.",
502
+ }
503
+ o.input = Shapes::ShapeRef.new(shape: GetDeviceRequest)
504
+ o.output = Shapes::ShapeRef.new(shape: GetDeviceResponse)
505
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
506
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
507
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
508
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
509
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
510
+ end)
511
+
512
+ api.add_operation(:get_environment, Seahorse::Model::Operation.new.tap do |o|
513
+ o.name = "GetEnvironment"
514
+ o.http_method = "GET"
515
+ o.http_request_uri = "/environments/{id}"
516
+ o.endpoint_pattern = {
517
+ "hostPrefix" => "api.",
518
+ }
519
+ o.input = Shapes::ShapeRef.new(shape: GetEnvironmentRequest)
520
+ o.output = Shapes::ShapeRef.new(shape: GetEnvironmentResponse)
521
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
522
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
523
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
524
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
526
+ end)
527
+
528
+ api.add_operation(:get_software_set, Seahorse::Model::Operation.new.tap do |o|
529
+ o.name = "GetSoftwareSet"
530
+ o.http_method = "GET"
531
+ o.http_request_uri = "/softwaresets/{id}"
532
+ o.endpoint_pattern = {
533
+ "hostPrefix" => "api.",
534
+ }
535
+ o.input = Shapes::ShapeRef.new(shape: GetSoftwareSetRequest)
536
+ o.output = Shapes::ShapeRef.new(shape: GetSoftwareSetResponse)
537
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
538
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
539
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
540
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
541
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
542
+ end)
543
+
544
+ api.add_operation(:list_devices, Seahorse::Model::Operation.new.tap do |o|
545
+ o.name = "ListDevices"
546
+ o.http_method = "GET"
547
+ o.http_request_uri = "/devices"
548
+ o.endpoint_pattern = {
549
+ "hostPrefix" => "api.",
550
+ }
551
+ o.input = Shapes::ShapeRef.new(shape: ListDevicesRequest)
552
+ o.output = Shapes::ShapeRef.new(shape: ListDevicesResponse)
553
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
554
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
555
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
556
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
557
+ o[:pager] = Aws::Pager.new(
558
+ limit_key: "max_results",
559
+ tokens: {
560
+ "next_token" => "next_token"
561
+ }
562
+ )
563
+ end)
564
+
565
+ api.add_operation(:list_environments, Seahorse::Model::Operation.new.tap do |o|
566
+ o.name = "ListEnvironments"
567
+ o.http_method = "GET"
568
+ o.http_request_uri = "/environments"
569
+ o.endpoint_pattern = {
570
+ "hostPrefix" => "api.",
571
+ }
572
+ o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsRequest)
573
+ o.output = Shapes::ShapeRef.new(shape: ListEnvironmentsResponse)
574
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
575
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
576
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
577
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
578
+ o[:pager] = Aws::Pager.new(
579
+ limit_key: "max_results",
580
+ tokens: {
581
+ "next_token" => "next_token"
582
+ }
583
+ )
584
+ end)
585
+
586
+ api.add_operation(:list_software_sets, Seahorse::Model::Operation.new.tap do |o|
587
+ o.name = "ListSoftwareSets"
588
+ o.http_method = "GET"
589
+ o.http_request_uri = "/softwaresets"
590
+ o.endpoint_pattern = {
591
+ "hostPrefix" => "api.",
592
+ }
593
+ o.input = Shapes::ShapeRef.new(shape: ListSoftwareSetsRequest)
594
+ o.output = Shapes::ShapeRef.new(shape: ListSoftwareSetsResponse)
595
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
596
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
599
+ o[:pager] = Aws::Pager.new(
600
+ limit_key: "max_results",
601
+ tokens: {
602
+ "next_token" => "next_token"
603
+ }
604
+ )
605
+ end)
606
+
607
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
608
+ o.name = "ListTagsForResource"
609
+ o.http_method = "GET"
610
+ o.http_request_uri = "/tags/{resourceArn}"
611
+ o.endpoint_pattern = {
612
+ "hostPrefix" => "api.",
613
+ }
614
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
615
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
616
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
617
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
618
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
619
+ end)
620
+
621
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
622
+ o.name = "TagResource"
623
+ o.http_method = "POST"
624
+ o.http_request_uri = "/tags/{resourceArn}"
625
+ o.endpoint_pattern = {
626
+ "hostPrefix" => "api.",
627
+ }
628
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
629
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
630
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
631
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
632
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
633
+ end)
634
+
635
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
636
+ o.name = "UntagResource"
637
+ o.http_method = "DELETE"
638
+ o.http_request_uri = "/tags/{resourceArn}"
639
+ o.endpoint_pattern = {
640
+ "hostPrefix" => "api.",
641
+ }
642
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
643
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
644
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
647
+ end)
648
+
649
+ api.add_operation(:update_device, Seahorse::Model::Operation.new.tap do |o|
650
+ o.name = "UpdateDevice"
651
+ o.http_method = "PATCH"
652
+ o.http_request_uri = "/devices/{id}"
653
+ o.endpoint_pattern = {
654
+ "hostPrefix" => "api.",
655
+ }
656
+ o.input = Shapes::ShapeRef.new(shape: UpdateDeviceRequest)
657
+ o.output = Shapes::ShapeRef.new(shape: UpdateDeviceResponse)
658
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
659
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
660
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
661
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
662
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
663
+ end)
664
+
665
+ api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o|
666
+ o.name = "UpdateEnvironment"
667
+ o.http_method = "PATCH"
668
+ o.http_request_uri = "/environments/{id}"
669
+ o.endpoint_pattern = {
670
+ "hostPrefix" => "api.",
671
+ }
672
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentRequest)
673
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentResponse)
674
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
675
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
678
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
679
+ end)
680
+
681
+ api.add_operation(:update_software_set, Seahorse::Model::Operation.new.tap do |o|
682
+ o.name = "UpdateSoftwareSet"
683
+ o.http_method = "PATCH"
684
+ o.http_request_uri = "/softwaresets/{id}"
685
+ o.endpoint_pattern = {
686
+ "hostPrefix" => "api.",
687
+ }
688
+ o.input = Shapes::ShapeRef.new(shape: UpdateSoftwareSetRequest)
689
+ o.output = Shapes::ShapeRef.new(shape: UpdateSoftwareSetResponse)
690
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
691
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
692
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
693
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
694
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
695
+ end)
696
+ end
697
+
698
+ end
699
+ end