aws-sdk-iotroborunner 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,743 @@
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::IoTRoboRunner
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ CartesianCoordinates = Shapes::StructureShape.new(name: 'CartesianCoordinates')
18
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
+ CreateDestinationRequest = Shapes::StructureShape.new(name: 'CreateDestinationRequest')
20
+ CreateDestinationResponse = Shapes::StructureShape.new(name: 'CreateDestinationResponse')
21
+ CreateSiteRequest = Shapes::StructureShape.new(name: 'CreateSiteRequest')
22
+ CreateSiteResponse = Shapes::StructureShape.new(name: 'CreateSiteResponse')
23
+ CreateWorkerFleetRequest = Shapes::StructureShape.new(name: 'CreateWorkerFleetRequest')
24
+ CreateWorkerFleetResponse = Shapes::StructureShape.new(name: 'CreateWorkerFleetResponse')
25
+ CreateWorkerRequest = Shapes::StructureShape.new(name: 'CreateWorkerRequest')
26
+ CreateWorkerResponse = Shapes::StructureShape.new(name: 'CreateWorkerResponse')
27
+ CreatedAtTimestamp = Shapes::TimestampShape.new(name: 'CreatedAtTimestamp')
28
+ DeleteDestinationRequest = Shapes::StructureShape.new(name: 'DeleteDestinationRequest')
29
+ DeleteDestinationResponse = Shapes::StructureShape.new(name: 'DeleteDestinationResponse')
30
+ DeleteSiteRequest = Shapes::StructureShape.new(name: 'DeleteSiteRequest')
31
+ DeleteSiteResponse = Shapes::StructureShape.new(name: 'DeleteSiteResponse')
32
+ DeleteWorkerFleetRequest = Shapes::StructureShape.new(name: 'DeleteWorkerFleetRequest')
33
+ DeleteWorkerFleetResponse = Shapes::StructureShape.new(name: 'DeleteWorkerFleetResponse')
34
+ DeleteWorkerRequest = Shapes::StructureShape.new(name: 'DeleteWorkerRequest')
35
+ DeleteWorkerResponse = Shapes::StructureShape.new(name: 'DeleteWorkerResponse')
36
+ Destination = Shapes::StructureShape.new(name: 'Destination')
37
+ DestinationAdditionalFixedProperties = Shapes::StringShape.new(name: 'DestinationAdditionalFixedProperties')
38
+ DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
39
+ DestinationGenericIdentifier = Shapes::StringShape.new(name: 'DestinationGenericIdentifier')
40
+ DestinationId = Shapes::StringShape.new(name: 'DestinationId')
41
+ DestinationState = Shapes::StringShape.new(name: 'DestinationState')
42
+ Destinations = Shapes::ListShape.new(name: 'Destinations')
43
+ Double = Shapes::FloatShape.new(name: 'Double')
44
+ GetDestinationRequest = Shapes::StructureShape.new(name: 'GetDestinationRequest')
45
+ GetDestinationResponse = Shapes::StructureShape.new(name: 'GetDestinationResponse')
46
+ GetSiteRequest = Shapes::StructureShape.new(name: 'GetSiteRequest')
47
+ GetSiteResponse = Shapes::StructureShape.new(name: 'GetSiteResponse')
48
+ GetWorkerFleetRequest = Shapes::StructureShape.new(name: 'GetWorkerFleetRequest')
49
+ GetWorkerFleetResponse = Shapes::StructureShape.new(name: 'GetWorkerFleetResponse')
50
+ GetWorkerRequest = Shapes::StructureShape.new(name: 'GetWorkerRequest')
51
+ GetWorkerResponse = Shapes::StructureShape.new(name: 'GetWorkerResponse')
52
+ IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
53
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
54
+ ListDestinationsRequest = Shapes::StructureShape.new(name: 'ListDestinationsRequest')
55
+ ListDestinationsResponse = Shapes::StructureShape.new(name: 'ListDestinationsResponse')
56
+ ListSitesPageSize = Shapes::IntegerShape.new(name: 'ListSitesPageSize')
57
+ ListSitesRequest = Shapes::StructureShape.new(name: 'ListSitesRequest')
58
+ ListSitesResponse = Shapes::StructureShape.new(name: 'ListSitesResponse')
59
+ ListWorkerFleetsPageSize = Shapes::IntegerShape.new(name: 'ListWorkerFleetsPageSize')
60
+ ListWorkerFleetsRequest = Shapes::StructureShape.new(name: 'ListWorkerFleetsRequest')
61
+ ListWorkerFleetsResponse = Shapes::StructureShape.new(name: 'ListWorkerFleetsResponse')
62
+ ListWorkersPageSize = Shapes::IntegerShape.new(name: 'ListWorkersPageSize')
63
+ ListWorkersRequest = Shapes::StructureShape.new(name: 'ListWorkersRequest')
64
+ ListWorkersResponse = Shapes::StructureShape.new(name: 'ListWorkersResponse')
65
+ Name = Shapes::StringShape.new(name: 'Name')
66
+ Orientation = Shapes::UnionShape.new(name: 'Orientation')
67
+ OrientationDegreesDouble = Shapes::FloatShape.new(name: 'OrientationDegreesDouble')
68
+ PageSize = Shapes::IntegerShape.new(name: 'PageSize')
69
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
70
+ PositionCoordinates = Shapes::UnionShape.new(name: 'PositionCoordinates')
71
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
72
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
73
+ Site = Shapes::StructureShape.new(name: 'Site')
74
+ SiteArn = Shapes::StringShape.new(name: 'SiteArn')
75
+ SiteCountryCode = Shapes::StringShape.new(name: 'SiteCountryCode')
76
+ SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
77
+ SiteGenericIdentifier = Shapes::StringShape.new(name: 'SiteGenericIdentifier')
78
+ SiteId = Shapes::StringShape.new(name: 'SiteId')
79
+ Sites = Shapes::ListShape.new(name: 'Sites')
80
+ String = Shapes::StringShape.new(name: 'String')
81
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
82
+ UpdateDestinationRequest = Shapes::StructureShape.new(name: 'UpdateDestinationRequest')
83
+ UpdateDestinationResponse = Shapes::StructureShape.new(name: 'UpdateDestinationResponse')
84
+ UpdateSiteRequest = Shapes::StructureShape.new(name: 'UpdateSiteRequest')
85
+ UpdateSiteResponse = Shapes::StructureShape.new(name: 'UpdateSiteResponse')
86
+ UpdateWorkerFleetRequest = Shapes::StructureShape.new(name: 'UpdateWorkerFleetRequest')
87
+ UpdateWorkerFleetResponse = Shapes::StructureShape.new(name: 'UpdateWorkerFleetResponse')
88
+ UpdateWorkerRequest = Shapes::StructureShape.new(name: 'UpdateWorkerRequest')
89
+ UpdateWorkerResponse = Shapes::StructureShape.new(name: 'UpdateWorkerResponse')
90
+ UpdatedAtTimestamp = Shapes::TimestampShape.new(name: 'UpdatedAtTimestamp')
91
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
92
+ VendorAdditionalFixedPropertiesJson = Shapes::StringShape.new(name: 'VendorAdditionalFixedPropertiesJson')
93
+ VendorAdditionalTransientPropertiesJson = Shapes::StringShape.new(name: 'VendorAdditionalTransientPropertiesJson')
94
+ VendorProperties = Shapes::StructureShape.new(name: 'VendorProperties')
95
+ VendorWorkerId = Shapes::StringShape.new(name: 'VendorWorkerId')
96
+ VendorWorkerIpAddress = Shapes::StringShape.new(name: 'VendorWorkerIpAddress')
97
+ Worker = Shapes::StructureShape.new(name: 'Worker')
98
+ WorkerAdditionalFixedPropertiesJson = Shapes::StringShape.new(name: 'WorkerAdditionalFixedPropertiesJson')
99
+ WorkerAdditionalTransientPropertiesJson = Shapes::StringShape.new(name: 'WorkerAdditionalTransientPropertiesJson')
100
+ WorkerArn = Shapes::StringShape.new(name: 'WorkerArn')
101
+ WorkerFleet = Shapes::StructureShape.new(name: 'WorkerFleet')
102
+ WorkerFleetAdditionalFixedProperties = Shapes::StringShape.new(name: 'WorkerFleetAdditionalFixedProperties')
103
+ WorkerFleetArn = Shapes::StringShape.new(name: 'WorkerFleetArn')
104
+ WorkerFleetGenericIdentifier = Shapes::StringShape.new(name: 'WorkerFleetGenericIdentifier')
105
+ WorkerFleetId = Shapes::StringShape.new(name: 'WorkerFleetId')
106
+ WorkerFleets = Shapes::ListShape.new(name: 'WorkerFleets')
107
+ WorkerGenericIdentifier = Shapes::StringShape.new(name: 'WorkerGenericIdentifier')
108
+ WorkerId = Shapes::StringShape.new(name: 'WorkerId')
109
+ Workers = Shapes::ListShape.new(name: 'Workers')
110
+
111
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
112
+ AccessDeniedException.struct_class = Types::AccessDeniedException
113
+
114
+ CartesianCoordinates.add_member(:x, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "x"))
115
+ CartesianCoordinates.add_member(:y, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "y"))
116
+ CartesianCoordinates.add_member(:z, Shapes::ShapeRef.new(shape: Double, location_name: "z"))
117
+ CartesianCoordinates.struct_class = Types::CartesianCoordinates
118
+
119
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
120
+ ConflictException.struct_class = Types::ConflictException
121
+
122
+ CreateDestinationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
123
+ CreateDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
124
+ CreateDestinationRequest.add_member(:site, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location_name: "site"))
125
+ CreateDestinationRequest.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, location_name: "state"))
126
+ CreateDestinationRequest.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: DestinationAdditionalFixedProperties, location_name: "additionalFixedProperties"))
127
+ CreateDestinationRequest.struct_class = Types::CreateDestinationRequest
128
+
129
+ CreateDestinationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DestinationArn, required: true, location_name: "arn"))
130
+ CreateDestinationResponse.add_member(:id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "id"))
131
+ CreateDestinationResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
132
+ CreateDestinationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
133
+ CreateDestinationResponse.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, required: true, location_name: "state"))
134
+ CreateDestinationResponse.struct_class = Types::CreateDestinationResponse
135
+
136
+ CreateSiteRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
137
+ CreateSiteRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
138
+ CreateSiteRequest.add_member(:country_code, Shapes::ShapeRef.new(shape: SiteCountryCode, required: true, location_name: "countryCode"))
139
+ CreateSiteRequest.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "description"))
140
+ CreateSiteRequest.struct_class = Types::CreateSiteRequest
141
+
142
+ CreateSiteResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "arn"))
143
+ CreateSiteResponse.add_member(:id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "id"))
144
+ CreateSiteResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
145
+ CreateSiteResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
146
+ CreateSiteResponse.struct_class = Types::CreateSiteResponse
147
+
148
+ CreateWorkerFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
149
+ CreateWorkerFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
150
+ CreateWorkerFleetRequest.add_member(:site, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location_name: "site"))
151
+ CreateWorkerFleetRequest.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerFleetAdditionalFixedProperties, location_name: "additionalFixedProperties"))
152
+ CreateWorkerFleetRequest.struct_class = Types::CreateWorkerFleetRequest
153
+
154
+ CreateWorkerFleetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "arn"))
155
+ CreateWorkerFleetResponse.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetId, required: true, location_name: "id"))
156
+ CreateWorkerFleetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
157
+ CreateWorkerFleetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
158
+ CreateWorkerFleetResponse.struct_class = Types::CreateWorkerFleetResponse
159
+
160
+ CreateWorkerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
161
+ CreateWorkerRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
162
+ CreateWorkerRequest.add_member(:fleet, Shapes::ShapeRef.new(shape: WorkerFleetGenericIdentifier, required: true, location_name: "fleet"))
163
+ CreateWorkerRequest.add_member(:additional_transient_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalTransientPropertiesJson, location_name: "additionalTransientProperties"))
164
+ CreateWorkerRequest.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalFixedPropertiesJson, location_name: "additionalFixedProperties"))
165
+ CreateWorkerRequest.add_member(:vendor_properties, Shapes::ShapeRef.new(shape: VendorProperties, location_name: "vendorProperties"))
166
+ CreateWorkerRequest.add_member(:position, Shapes::ShapeRef.new(shape: PositionCoordinates, location_name: "position"))
167
+ CreateWorkerRequest.add_member(:orientation, Shapes::ShapeRef.new(shape: Orientation, location_name: "orientation"))
168
+ CreateWorkerRequest.struct_class = Types::CreateWorkerRequest
169
+
170
+ CreateWorkerResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerArn, required: true, location_name: "arn"))
171
+ CreateWorkerResponse.add_member(:id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location_name: "id"))
172
+ CreateWorkerResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
173
+ CreateWorkerResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
174
+ CreateWorkerResponse.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
175
+ CreateWorkerResponse.struct_class = Types::CreateWorkerResponse
176
+
177
+ DeleteDestinationRequest.add_member(:id, Shapes::ShapeRef.new(shape: DestinationGenericIdentifier, required: true, location_name: "id"))
178
+ DeleteDestinationRequest.struct_class = Types::DeleteDestinationRequest
179
+
180
+ DeleteDestinationResponse.struct_class = Types::DeleteDestinationResponse
181
+
182
+ DeleteSiteRequest.add_member(:id, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location_name: "id"))
183
+ DeleteSiteRequest.struct_class = Types::DeleteSiteRequest
184
+
185
+ DeleteSiteResponse.struct_class = Types::DeleteSiteResponse
186
+
187
+ DeleteWorkerFleetRequest.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetGenericIdentifier, required: true, location_name: "id"))
188
+ DeleteWorkerFleetRequest.struct_class = Types::DeleteWorkerFleetRequest
189
+
190
+ DeleteWorkerFleetResponse.struct_class = Types::DeleteWorkerFleetResponse
191
+
192
+ DeleteWorkerRequest.add_member(:id, Shapes::ShapeRef.new(shape: WorkerGenericIdentifier, required: true, location_name: "id"))
193
+ DeleteWorkerRequest.struct_class = Types::DeleteWorkerRequest
194
+
195
+ DeleteWorkerResponse.struct_class = Types::DeleteWorkerResponse
196
+
197
+ Destination.add_member(:arn, Shapes::ShapeRef.new(shape: DestinationArn, required: true, location_name: "arn"))
198
+ Destination.add_member(:id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "id"))
199
+ Destination.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
200
+ Destination.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
201
+ Destination.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
202
+ Destination.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
203
+ Destination.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, required: true, location_name: "state"))
204
+ Destination.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: DestinationAdditionalFixedProperties, location_name: "additionalFixedProperties"))
205
+ Destination.struct_class = Types::Destination
206
+
207
+ Destinations.member = Shapes::ShapeRef.new(shape: Destination)
208
+
209
+ GetDestinationRequest.add_member(:id, Shapes::ShapeRef.new(shape: DestinationGenericIdentifier, required: true, location: "querystring", location_name: "id"))
210
+ GetDestinationRequest.struct_class = Types::GetDestinationRequest
211
+
212
+ GetDestinationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DestinationArn, required: true, location_name: "arn"))
213
+ GetDestinationResponse.add_member(:id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "id"))
214
+ GetDestinationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
215
+ GetDestinationResponse.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
216
+ GetDestinationResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
217
+ GetDestinationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
218
+ GetDestinationResponse.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, required: true, location_name: "state"))
219
+ GetDestinationResponse.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: DestinationAdditionalFixedProperties, location_name: "additionalFixedProperties"))
220
+ GetDestinationResponse.struct_class = Types::GetDestinationResponse
221
+
222
+ GetSiteRequest.add_member(:id, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location: "querystring", location_name: "id"))
223
+ GetSiteRequest.struct_class = Types::GetSiteRequest
224
+
225
+ GetSiteResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "arn"))
226
+ GetSiteResponse.add_member(:id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "id"))
227
+ GetSiteResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
228
+ GetSiteResponse.add_member(:country_code, Shapes::ShapeRef.new(shape: SiteCountryCode, required: true, location_name: "countryCode"))
229
+ GetSiteResponse.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "description"))
230
+ GetSiteResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
231
+ GetSiteResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
232
+ GetSiteResponse.struct_class = Types::GetSiteResponse
233
+
234
+ GetWorkerFleetRequest.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetGenericIdentifier, required: true, location: "querystring", location_name: "id"))
235
+ GetWorkerFleetRequest.struct_class = Types::GetWorkerFleetRequest
236
+
237
+ GetWorkerFleetResponse.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetId, required: true, location_name: "id"))
238
+ GetWorkerFleetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "arn"))
239
+ GetWorkerFleetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
240
+ GetWorkerFleetResponse.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
241
+ GetWorkerFleetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
242
+ GetWorkerFleetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
243
+ GetWorkerFleetResponse.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerFleetAdditionalFixedProperties, location_name: "additionalFixedProperties"))
244
+ GetWorkerFleetResponse.struct_class = Types::GetWorkerFleetResponse
245
+
246
+ GetWorkerRequest.add_member(:id, Shapes::ShapeRef.new(shape: WorkerGenericIdentifier, required: true, location: "querystring", location_name: "id"))
247
+ GetWorkerRequest.struct_class = Types::GetWorkerRequest
248
+
249
+ GetWorkerResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerArn, required: true, location_name: "arn"))
250
+ GetWorkerResponse.add_member(:id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location_name: "id"))
251
+ GetWorkerResponse.add_member(:fleet, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "fleet"))
252
+ GetWorkerResponse.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
253
+ GetWorkerResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
254
+ GetWorkerResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
255
+ GetWorkerResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
256
+ GetWorkerResponse.add_member(:additional_transient_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalTransientPropertiesJson, location_name: "additionalTransientProperties"))
257
+ GetWorkerResponse.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalFixedPropertiesJson, location_name: "additionalFixedProperties"))
258
+ GetWorkerResponse.add_member(:vendor_properties, Shapes::ShapeRef.new(shape: VendorProperties, location_name: "vendorProperties"))
259
+ GetWorkerResponse.add_member(:position, Shapes::ShapeRef.new(shape: PositionCoordinates, location_name: "position"))
260
+ GetWorkerResponse.add_member(:orientation, Shapes::ShapeRef.new(shape: Orientation, location_name: "orientation"))
261
+ GetWorkerResponse.struct_class = Types::GetWorkerResponse
262
+
263
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
264
+ InternalServerException.struct_class = Types::InternalServerException
265
+
266
+ ListDestinationsRequest.add_member(:site, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location: "querystring", location_name: "site"))
267
+ ListDestinationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "maxResults"))
268
+ ListDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
269
+ ListDestinationsRequest.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, location: "querystring", location_name: "state"))
270
+ ListDestinationsRequest.struct_class = Types::ListDestinationsRequest
271
+
272
+ ListDestinationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
273
+ ListDestinationsResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "destinations"))
274
+ ListDestinationsResponse.struct_class = Types::ListDestinationsResponse
275
+
276
+ ListSitesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSitesPageSize, location: "querystring", location_name: "maxResults"))
277
+ ListSitesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
278
+ ListSitesRequest.struct_class = Types::ListSitesRequest
279
+
280
+ ListSitesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
281
+ ListSitesResponse.add_member(:sites, Shapes::ShapeRef.new(shape: Sites, location_name: "sites"))
282
+ ListSitesResponse.struct_class = Types::ListSitesResponse
283
+
284
+ ListWorkerFleetsRequest.add_member(:site, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location: "querystring", location_name: "site"))
285
+ ListWorkerFleetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkerFleetsPageSize, location: "querystring", location_name: "maxResults"))
286
+ ListWorkerFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
287
+ ListWorkerFleetsRequest.struct_class = Types::ListWorkerFleetsRequest
288
+
289
+ ListWorkerFleetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
290
+ ListWorkerFleetsResponse.add_member(:worker_fleets, Shapes::ShapeRef.new(shape: WorkerFleets, location_name: "workerFleets"))
291
+ ListWorkerFleetsResponse.struct_class = Types::ListWorkerFleetsResponse
292
+
293
+ ListWorkersRequest.add_member(:site, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location: "querystring", location_name: "site"))
294
+ ListWorkersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkersPageSize, location: "querystring", location_name: "maxResults"))
295
+ ListWorkersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
296
+ ListWorkersRequest.add_member(:fleet, Shapes::ShapeRef.new(shape: WorkerFleetGenericIdentifier, location: "querystring", location_name: "fleet"))
297
+ ListWorkersRequest.struct_class = Types::ListWorkersRequest
298
+
299
+ ListWorkersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
300
+ ListWorkersResponse.add_member(:workers, Shapes::ShapeRef.new(shape: Workers, location_name: "workers"))
301
+ ListWorkersResponse.struct_class = Types::ListWorkersResponse
302
+
303
+ Orientation.add_member(:degrees, Shapes::ShapeRef.new(shape: OrientationDegreesDouble, location_name: "degrees"))
304
+ Orientation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
305
+ Orientation.add_member_subclass(:degrees, Types::Orientation::Degrees)
306
+ Orientation.add_member_subclass(:unknown, Types::Orientation::Unknown)
307
+ Orientation.struct_class = Types::Orientation
308
+
309
+ PositionCoordinates.add_member(:cartesian_coordinates, Shapes::ShapeRef.new(shape: CartesianCoordinates, location_name: "cartesianCoordinates"))
310
+ PositionCoordinates.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
311
+ PositionCoordinates.add_member_subclass(:cartesian_coordinates, Types::PositionCoordinates::CartesianCoordinates)
312
+ PositionCoordinates.add_member_subclass(:unknown, Types::PositionCoordinates::Unknown)
313
+ PositionCoordinates.struct_class = Types::PositionCoordinates
314
+
315
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
316
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
317
+
318
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
319
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
320
+
321
+ Site.add_member(:arn, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "arn"))
322
+ Site.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
323
+ Site.add_member(:country_code, Shapes::ShapeRef.new(shape: SiteCountryCode, required: true, location_name: "countryCode"))
324
+ Site.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
325
+ Site.struct_class = Types::Site
326
+
327
+ Sites.member = Shapes::ShapeRef.new(shape: Site)
328
+
329
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
330
+ ThrottlingException.struct_class = Types::ThrottlingException
331
+
332
+ UpdateDestinationRequest.add_member(:id, Shapes::ShapeRef.new(shape: DestinationGenericIdentifier, required: true, location_name: "id"))
333
+ UpdateDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
334
+ UpdateDestinationRequest.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, location_name: "state"))
335
+ UpdateDestinationRequest.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: DestinationAdditionalFixedProperties, location_name: "additionalFixedProperties"))
336
+ UpdateDestinationRequest.struct_class = Types::UpdateDestinationRequest
337
+
338
+ UpdateDestinationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DestinationArn, required: true, location_name: "arn"))
339
+ UpdateDestinationResponse.add_member(:id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "id"))
340
+ UpdateDestinationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
341
+ UpdateDestinationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
342
+ UpdateDestinationResponse.add_member(:state, Shapes::ShapeRef.new(shape: DestinationState, required: true, location_name: "state"))
343
+ UpdateDestinationResponse.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: DestinationAdditionalFixedProperties, location_name: "additionalFixedProperties"))
344
+ UpdateDestinationResponse.struct_class = Types::UpdateDestinationResponse
345
+
346
+ UpdateSiteRequest.add_member(:id, Shapes::ShapeRef.new(shape: SiteGenericIdentifier, required: true, location_name: "id"))
347
+ UpdateSiteRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
348
+ UpdateSiteRequest.add_member(:country_code, Shapes::ShapeRef.new(shape: SiteCountryCode, location_name: "countryCode"))
349
+ UpdateSiteRequest.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "description"))
350
+ UpdateSiteRequest.struct_class = Types::UpdateSiteRequest
351
+
352
+ UpdateSiteResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "arn"))
353
+ UpdateSiteResponse.add_member(:id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "id"))
354
+ UpdateSiteResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
355
+ UpdateSiteResponse.add_member(:country_code, Shapes::ShapeRef.new(shape: SiteCountryCode, location_name: "countryCode"))
356
+ UpdateSiteResponse.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "description"))
357
+ UpdateSiteResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
358
+ UpdateSiteResponse.struct_class = Types::UpdateSiteResponse
359
+
360
+ UpdateWorkerFleetRequest.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetGenericIdentifier, required: true, location_name: "id"))
361
+ UpdateWorkerFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
362
+ UpdateWorkerFleetRequest.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerFleetAdditionalFixedProperties, location_name: "additionalFixedProperties"))
363
+ UpdateWorkerFleetRequest.struct_class = Types::UpdateWorkerFleetRequest
364
+
365
+ UpdateWorkerFleetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "arn"))
366
+ UpdateWorkerFleetResponse.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetId, required: true, location_name: "id"))
367
+ UpdateWorkerFleetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
368
+ UpdateWorkerFleetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
369
+ UpdateWorkerFleetResponse.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerFleetAdditionalFixedProperties, location_name: "additionalFixedProperties"))
370
+ UpdateWorkerFleetResponse.struct_class = Types::UpdateWorkerFleetResponse
371
+
372
+ UpdateWorkerRequest.add_member(:id, Shapes::ShapeRef.new(shape: WorkerGenericIdentifier, required: true, location_name: "id"))
373
+ UpdateWorkerRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
374
+ UpdateWorkerRequest.add_member(:additional_transient_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalTransientPropertiesJson, location_name: "additionalTransientProperties"))
375
+ UpdateWorkerRequest.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalFixedPropertiesJson, location_name: "additionalFixedProperties"))
376
+ UpdateWorkerRequest.add_member(:vendor_properties, Shapes::ShapeRef.new(shape: VendorProperties, location_name: "vendorProperties"))
377
+ UpdateWorkerRequest.add_member(:position, Shapes::ShapeRef.new(shape: PositionCoordinates, location_name: "position"))
378
+ UpdateWorkerRequest.add_member(:orientation, Shapes::ShapeRef.new(shape: Orientation, location_name: "orientation"))
379
+ UpdateWorkerRequest.struct_class = Types::UpdateWorkerRequest
380
+
381
+ UpdateWorkerResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerArn, required: true, location_name: "arn"))
382
+ UpdateWorkerResponse.add_member(:id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location_name: "id"))
383
+ UpdateWorkerResponse.add_member(:fleet, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "fleet"))
384
+ UpdateWorkerResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
385
+ UpdateWorkerResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
386
+ UpdateWorkerResponse.add_member(:additional_transient_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalTransientPropertiesJson, location_name: "additionalTransientProperties"))
387
+ UpdateWorkerResponse.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalFixedPropertiesJson, location_name: "additionalFixedProperties"))
388
+ UpdateWorkerResponse.add_member(:orientation, Shapes::ShapeRef.new(shape: Orientation, location_name: "orientation"))
389
+ UpdateWorkerResponse.add_member(:vendor_properties, Shapes::ShapeRef.new(shape: VendorProperties, location_name: "vendorProperties"))
390
+ UpdateWorkerResponse.add_member(:position, Shapes::ShapeRef.new(shape: PositionCoordinates, location_name: "position"))
391
+ UpdateWorkerResponse.struct_class = Types::UpdateWorkerResponse
392
+
393
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
394
+ ValidationException.struct_class = Types::ValidationException
395
+
396
+ VendorProperties.add_member(:vendor_worker_id, Shapes::ShapeRef.new(shape: VendorWorkerId, required: true, location_name: "vendorWorkerId"))
397
+ VendorProperties.add_member(:vendor_worker_ip_address, Shapes::ShapeRef.new(shape: VendorWorkerIpAddress, location_name: "vendorWorkerIpAddress"))
398
+ VendorProperties.add_member(:vendor_additional_transient_properties, Shapes::ShapeRef.new(shape: VendorAdditionalTransientPropertiesJson, location_name: "vendorAdditionalTransientProperties"))
399
+ VendorProperties.add_member(:vendor_additional_fixed_properties, Shapes::ShapeRef.new(shape: VendorAdditionalFixedPropertiesJson, location_name: "vendorAdditionalFixedProperties"))
400
+ VendorProperties.struct_class = Types::VendorProperties
401
+
402
+ Worker.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerArn, required: true, location_name: "arn"))
403
+ Worker.add_member(:id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location_name: "id"))
404
+ Worker.add_member(:fleet, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "fleet"))
405
+ Worker.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
406
+ Worker.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
407
+ Worker.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
408
+ Worker.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
409
+ Worker.add_member(:additional_transient_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalTransientPropertiesJson, location_name: "additionalTransientProperties"))
410
+ Worker.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerAdditionalFixedPropertiesJson, location_name: "additionalFixedProperties"))
411
+ Worker.add_member(:vendor_properties, Shapes::ShapeRef.new(shape: VendorProperties, location_name: "vendorProperties"))
412
+ Worker.add_member(:position, Shapes::ShapeRef.new(shape: PositionCoordinates, location_name: "position"))
413
+ Worker.add_member(:orientation, Shapes::ShapeRef.new(shape: Orientation, location_name: "orientation"))
414
+ Worker.struct_class = Types::Worker
415
+
416
+ WorkerFleet.add_member(:arn, Shapes::ShapeRef.new(shape: WorkerFleetArn, required: true, location_name: "arn"))
417
+ WorkerFleet.add_member(:id, Shapes::ShapeRef.new(shape: WorkerFleetId, required: true, location_name: "id"))
418
+ WorkerFleet.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
419
+ WorkerFleet.add_member(:site, Shapes::ShapeRef.new(shape: SiteArn, required: true, location_name: "site"))
420
+ WorkerFleet.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtTimestamp, required: true, location_name: "createdAt"))
421
+ WorkerFleet.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAtTimestamp, required: true, location_name: "updatedAt"))
422
+ WorkerFleet.add_member(:additional_fixed_properties, Shapes::ShapeRef.new(shape: WorkerFleetAdditionalFixedProperties, location_name: "additionalFixedProperties"))
423
+ WorkerFleet.struct_class = Types::WorkerFleet
424
+
425
+ WorkerFleets.member = Shapes::ShapeRef.new(shape: WorkerFleet)
426
+
427
+ Workers.member = Shapes::ShapeRef.new(shape: Worker)
428
+
429
+
430
+ # @api private
431
+ API = Seahorse::Model::Api.new.tap do |api|
432
+
433
+ api.version = "2018-05-10"
434
+
435
+ api.metadata = {
436
+ "apiVersion" => "2018-05-10",
437
+ "endpointPrefix" => "iotroborunner",
438
+ "jsonVersion" => "1.1",
439
+ "protocol" => "rest-json",
440
+ "serviceFullName" => "AWS IoT RoboRunner",
441
+ "serviceId" => "IoT RoboRunner",
442
+ "signatureVersion" => "v4",
443
+ "signingName" => "iotroborunner",
444
+ "uid" => "iot-roborunner-2018-05-10",
445
+ }
446
+
447
+ api.add_operation(:create_destination, Seahorse::Model::Operation.new.tap do |o|
448
+ o.name = "CreateDestination"
449
+ o.http_method = "POST"
450
+ o.http_request_uri = "/createDestination"
451
+ o.input = Shapes::ShapeRef.new(shape: CreateDestinationRequest)
452
+ o.output = Shapes::ShapeRef.new(shape: CreateDestinationResponse)
453
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
454
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
455
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
456
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
457
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
458
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
460
+ end)
461
+
462
+ api.add_operation(:create_site, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "CreateSite"
464
+ o.http_method = "POST"
465
+ o.http_request_uri = "/createSite"
466
+ o.input = Shapes::ShapeRef.new(shape: CreateSiteRequest)
467
+ o.output = Shapes::ShapeRef.new(shape: CreateSiteResponse)
468
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
469
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
470
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
471
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
472
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
473
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
474
+ end)
475
+
476
+ api.add_operation(:create_worker, Seahorse::Model::Operation.new.tap do |o|
477
+ o.name = "CreateWorker"
478
+ o.http_method = "POST"
479
+ o.http_request_uri = "/createWorker"
480
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkerRequest)
481
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkerResponse)
482
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
483
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
484
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
485
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
487
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
488
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
489
+ end)
490
+
491
+ api.add_operation(:create_worker_fleet, Seahorse::Model::Operation.new.tap do |o|
492
+ o.name = "CreateWorkerFleet"
493
+ o.http_method = "POST"
494
+ o.http_request_uri = "/createWorkerFleet"
495
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkerFleetRequest)
496
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkerFleetResponse)
497
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
498
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
499
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
501
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
502
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
504
+ end)
505
+
506
+ api.add_operation(:delete_destination, Seahorse::Model::Operation.new.tap do |o|
507
+ o.name = "DeleteDestination"
508
+ o.http_method = "POST"
509
+ o.http_request_uri = "/deleteDestination"
510
+ o.input = Shapes::ShapeRef.new(shape: DeleteDestinationRequest)
511
+ o.output = Shapes::ShapeRef.new(shape: DeleteDestinationResponse)
512
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
513
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
514
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
515
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
516
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
517
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
518
+ end)
519
+
520
+ api.add_operation(:delete_site, Seahorse::Model::Operation.new.tap do |o|
521
+ o.name = "DeleteSite"
522
+ o.http_method = "POST"
523
+ o.http_request_uri = "/deleteSite"
524
+ o.input = Shapes::ShapeRef.new(shape: DeleteSiteRequest)
525
+ o.output = Shapes::ShapeRef.new(shape: DeleteSiteResponse)
526
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
527
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
529
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
531
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
532
+ end)
533
+
534
+ api.add_operation(:delete_worker, Seahorse::Model::Operation.new.tap do |o|
535
+ o.name = "DeleteWorker"
536
+ o.http_method = "POST"
537
+ o.http_request_uri = "/deleteWorker"
538
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkerRequest)
539
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkerResponse)
540
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
541
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
542
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
543
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
544
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
545
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
546
+ end)
547
+
548
+ api.add_operation(:delete_worker_fleet, Seahorse::Model::Operation.new.tap do |o|
549
+ o.name = "DeleteWorkerFleet"
550
+ o.http_method = "POST"
551
+ o.http_request_uri = "/deleteWorkerFleet"
552
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkerFleetRequest)
553
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkerFleetResponse)
554
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
555
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
556
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
557
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
559
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
560
+ end)
561
+
562
+ api.add_operation(:get_destination, Seahorse::Model::Operation.new.tap do |o|
563
+ o.name = "GetDestination"
564
+ o.http_method = "GET"
565
+ o.http_request_uri = "/getDestination"
566
+ o.input = Shapes::ShapeRef.new(shape: GetDestinationRequest)
567
+ o.output = Shapes::ShapeRef.new(shape: GetDestinationResponse)
568
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
569
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
572
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
573
+ end)
574
+
575
+ api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
576
+ o.name = "GetSite"
577
+ o.http_method = "GET"
578
+ o.http_request_uri = "/getSite"
579
+ o.input = Shapes::ShapeRef.new(shape: GetSiteRequest)
580
+ o.output = Shapes::ShapeRef.new(shape: GetSiteResponse)
581
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
582
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
585
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
586
+ end)
587
+
588
+ api.add_operation(:get_worker, Seahorse::Model::Operation.new.tap do |o|
589
+ o.name = "GetWorker"
590
+ o.http_method = "GET"
591
+ o.http_request_uri = "/getWorker"
592
+ o.input = Shapes::ShapeRef.new(shape: GetWorkerRequest)
593
+ o.output = Shapes::ShapeRef.new(shape: GetWorkerResponse)
594
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
595
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
596
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
599
+ end)
600
+
601
+ api.add_operation(:get_worker_fleet, Seahorse::Model::Operation.new.tap do |o|
602
+ o.name = "GetWorkerFleet"
603
+ o.http_method = "GET"
604
+ o.http_request_uri = "/getWorkerFleet"
605
+ o.input = Shapes::ShapeRef.new(shape: GetWorkerFleetRequest)
606
+ o.output = Shapes::ShapeRef.new(shape: GetWorkerFleetResponse)
607
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
611
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
612
+ end)
613
+
614
+ api.add_operation(:list_destinations, Seahorse::Model::Operation.new.tap do |o|
615
+ o.name = "ListDestinations"
616
+ o.http_method = "GET"
617
+ o.http_request_uri = "/listDestinations"
618
+ o.input = Shapes::ShapeRef.new(shape: ListDestinationsRequest)
619
+ o.output = Shapes::ShapeRef.new(shape: ListDestinationsResponse)
620
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
624
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
625
+ o[:pager] = Aws::Pager.new(
626
+ limit_key: "max_results",
627
+ tokens: {
628
+ "next_token" => "next_token"
629
+ }
630
+ )
631
+ end)
632
+
633
+ api.add_operation(:list_sites, Seahorse::Model::Operation.new.tap do |o|
634
+ o.name = "ListSites"
635
+ o.http_method = "GET"
636
+ o.http_request_uri = "/listSites"
637
+ o.input = Shapes::ShapeRef.new(shape: ListSitesRequest)
638
+ o.output = Shapes::ShapeRef.new(shape: ListSitesResponse)
639
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
640
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
641
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
642
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
643
+ o[:pager] = Aws::Pager.new(
644
+ limit_key: "max_results",
645
+ tokens: {
646
+ "next_token" => "next_token"
647
+ }
648
+ )
649
+ end)
650
+
651
+ api.add_operation(:list_worker_fleets, Seahorse::Model::Operation.new.tap do |o|
652
+ o.name = "ListWorkerFleets"
653
+ o.http_method = "GET"
654
+ o.http_request_uri = "/listWorkerFleets"
655
+ o.input = Shapes::ShapeRef.new(shape: ListWorkerFleetsRequest)
656
+ o.output = Shapes::ShapeRef.new(shape: ListWorkerFleetsResponse)
657
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
658
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
660
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
661
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
662
+ o[:pager] = Aws::Pager.new(
663
+ limit_key: "max_results",
664
+ tokens: {
665
+ "next_token" => "next_token"
666
+ }
667
+ )
668
+ end)
669
+
670
+ api.add_operation(:list_workers, Seahorse::Model::Operation.new.tap do |o|
671
+ o.name = "ListWorkers"
672
+ o.http_method = "GET"
673
+ o.http_request_uri = "/listWorkers"
674
+ o.input = Shapes::ShapeRef.new(shape: ListWorkersRequest)
675
+ o.output = Shapes::ShapeRef.new(shape: ListWorkersResponse)
676
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
681
+ o[:pager] = Aws::Pager.new(
682
+ limit_key: "max_results",
683
+ tokens: {
684
+ "next_token" => "next_token"
685
+ }
686
+ )
687
+ end)
688
+
689
+ api.add_operation(:update_destination, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "UpdateDestination"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/updateDestination"
693
+ o.input = Shapes::ShapeRef.new(shape: UpdateDestinationRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: UpdateDestinationResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
700
+ end)
701
+
702
+ api.add_operation(:update_site, Seahorse::Model::Operation.new.tap do |o|
703
+ o.name = "UpdateSite"
704
+ o.http_method = "POST"
705
+ o.http_request_uri = "/updateSite"
706
+ o.input = Shapes::ShapeRef.new(shape: UpdateSiteRequest)
707
+ o.output = Shapes::ShapeRef.new(shape: UpdateSiteResponse)
708
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
710
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
712
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
713
+ end)
714
+
715
+ api.add_operation(:update_worker, Seahorse::Model::Operation.new.tap do |o|
716
+ o.name = "UpdateWorker"
717
+ o.http_method = "POST"
718
+ o.http_request_uri = "/updateWorker"
719
+ o.input = Shapes::ShapeRef.new(shape: UpdateWorkerRequest)
720
+ o.output = Shapes::ShapeRef.new(shape: UpdateWorkerResponse)
721
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
723
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
726
+ end)
727
+
728
+ api.add_operation(:update_worker_fleet, Seahorse::Model::Operation.new.tap do |o|
729
+ o.name = "UpdateWorkerFleet"
730
+ o.http_method = "POST"
731
+ o.http_request_uri = "/updateWorkerFleet"
732
+ o.input = Shapes::ShapeRef.new(shape: UpdateWorkerFleetRequest)
733
+ o.output = Shapes::ShapeRef.new(shape: UpdateWorkerFleetResponse)
734
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
736
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
737
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
738
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
739
+ end)
740
+ end
741
+
742
+ end
743
+ end