aws-sdk-sms 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sms.rb +2 -2
- data/lib/aws-sdk-sms/client.rb +603 -509
- data/lib/aws-sdk-sms/client_api.rb +404 -406
- data/lib/aws-sdk-sms/errors.rb +4 -13
- data/lib/aws-sdk-sms/resource.rb +12 -14
- data/lib/aws-sdk-sms/types.rb +653 -561
- metadata +2 -2
@@ -1,416 +1,414 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
# @api private
|
242
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
243
|
-
|
244
|
-
api.version = "2016-10-24"
|
245
|
-
|
246
|
-
api.metadata = {
|
247
|
-
"endpointPrefix" => "sms",
|
248
|
-
"jsonVersion" => "1.1",
|
249
|
-
"protocol" => "json",
|
250
|
-
"serviceFullName" => "AWS Server Migration Service",
|
251
|
-
"signatureVersion" => "v4",
|
252
|
-
"targetPrefix" => "AWSServerMigrationService_V2016_10_24",
|
253
|
-
}
|
254
|
-
|
255
|
-
api.add_operation(:create_replication_job, Seahorse::Model::Operation.new.tap do |o|
|
256
|
-
o.name = "CreateReplicationJob"
|
257
|
-
o.http_method = "POST"
|
258
|
-
o.http_request_uri = "/"
|
259
|
-
o.input = Shapes::ShapeRef.new(shape: CreateReplicationJobRequest)
|
260
|
-
o.output = Shapes::ShapeRef.new(shape: CreateReplicationJobResponse)
|
261
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
262
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
263
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
264
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
265
|
-
o.errors << Shapes::ShapeRef.new(shape: ServerCannotBeReplicatedException)
|
266
|
-
o.errors << Shapes::ShapeRef.new(shape: ReplicationJobAlreadyExistsException)
|
267
|
-
o.errors << Shapes::ShapeRef.new(shape: NoConnectorsAvailableException)
|
268
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalError)
|
269
|
-
end)
|
270
|
-
|
271
|
-
api.add_operation(:delete_replication_job, Seahorse::Model::Operation.new.tap do |o|
|
272
|
-
o.name = "DeleteReplicationJob"
|
273
|
-
o.http_method = "POST"
|
274
|
-
o.http_request_uri = "/"
|
275
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteReplicationJobRequest)
|
276
|
-
o.output = Shapes::ShapeRef.new(shape: DeleteReplicationJobResponse)
|
277
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
278
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
279
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
280
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
281
|
-
o.errors << Shapes::ShapeRef.new(shape: ReplicationJobNotFoundException)
|
282
|
-
end)
|
283
|
-
|
284
|
-
api.add_operation(:delete_server_catalog, Seahorse::Model::Operation.new.tap do |o|
|
285
|
-
o.name = "DeleteServerCatalog"
|
286
|
-
o.http_method = "POST"
|
287
|
-
o.http_request_uri = "/"
|
288
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteServerCatalogRequest)
|
289
|
-
o.output = Shapes::ShapeRef.new(shape: DeleteServerCatalogResponse)
|
290
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
291
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
292
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
293
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
294
|
-
end)
|
295
|
-
|
296
|
-
api.add_operation(:disassociate_connector, Seahorse::Model::Operation.new.tap do |o|
|
297
|
-
o.name = "DisassociateConnector"
|
298
|
-
o.http_method = "POST"
|
299
|
-
o.http_request_uri = "/"
|
300
|
-
o.input = Shapes::ShapeRef.new(shape: DisassociateConnectorRequest)
|
301
|
-
o.output = Shapes::ShapeRef.new(shape: DisassociateConnectorResponse)
|
302
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
303
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
304
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
305
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
306
|
-
end)
|
307
|
-
|
308
|
-
api.add_operation(:get_connectors, Seahorse::Model::Operation.new.tap do |o|
|
309
|
-
o.name = "GetConnectors"
|
310
|
-
o.http_method = "POST"
|
311
|
-
o.http_request_uri = "/"
|
312
|
-
o.input = Shapes::ShapeRef.new(shape: GetConnectorsRequest)
|
313
|
-
o.output = Shapes::ShapeRef.new(shape: GetConnectorsResponse)
|
314
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
315
|
-
o[:pager] = Aws::Pager.new(
|
316
|
-
limit_key: "max_results",
|
317
|
-
tokens: {
|
318
|
-
"next_token" => "next_token"
|
319
|
-
}
|
320
|
-
)
|
321
|
-
end)
|
322
|
-
|
323
|
-
api.add_operation(:get_replication_jobs, Seahorse::Model::Operation.new.tap do |o|
|
324
|
-
o.name = "GetReplicationJobs"
|
325
|
-
o.http_method = "POST"
|
326
|
-
o.http_request_uri = "/"
|
327
|
-
o.input = Shapes::ShapeRef.new(shape: GetReplicationJobsRequest)
|
328
|
-
o.output = Shapes::ShapeRef.new(shape: GetReplicationJobsResponse)
|
329
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
330
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
331
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
332
|
-
o[:pager] = Aws::Pager.new(
|
333
|
-
limit_key: "max_results",
|
334
|
-
tokens: {
|
335
|
-
"next_token" => "next_token"
|
336
|
-
}
|
337
|
-
)
|
338
|
-
end)
|
339
|
-
|
340
|
-
api.add_operation(:get_replication_runs, Seahorse::Model::Operation.new.tap do |o|
|
341
|
-
o.name = "GetReplicationRuns"
|
342
|
-
o.http_method = "POST"
|
343
|
-
o.http_request_uri = "/"
|
344
|
-
o.input = Shapes::ShapeRef.new(shape: GetReplicationRunsRequest)
|
345
|
-
o.output = Shapes::ShapeRef.new(shape: GetReplicationRunsResponse)
|
346
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
347
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
348
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
349
|
-
o[:pager] = Aws::Pager.new(
|
350
|
-
limit_key: "max_results",
|
351
|
-
tokens: {
|
352
|
-
"next_token" => "next_token"
|
353
|
-
}
|
354
|
-
)
|
355
|
-
end)
|
356
|
-
|
357
|
-
api.add_operation(:get_servers, Seahorse::Model::Operation.new.tap do |o|
|
358
|
-
o.name = "GetServers"
|
359
|
-
o.http_method = "POST"
|
360
|
-
o.http_request_uri = "/"
|
361
|
-
o.input = Shapes::ShapeRef.new(shape: GetServersRequest)
|
362
|
-
o.output = Shapes::ShapeRef.new(shape: GetServersResponse)
|
363
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
364
|
-
o[:pager] = Aws::Pager.new(
|
365
|
-
limit_key: "max_results",
|
366
|
-
tokens: {
|
367
|
-
"next_token" => "next_token"
|
368
|
-
}
|
369
|
-
)
|
370
|
-
end)
|
371
|
-
|
372
|
-
api.add_operation(:import_server_catalog, Seahorse::Model::Operation.new.tap do |o|
|
373
|
-
o.name = "ImportServerCatalog"
|
374
|
-
o.http_method = "POST"
|
375
|
-
o.http_request_uri = "/"
|
376
|
-
o.input = Shapes::ShapeRef.new(shape: ImportServerCatalogRequest)
|
377
|
-
o.output = Shapes::ShapeRef.new(shape: ImportServerCatalogResponse)
|
378
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
379
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
380
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
381
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
382
|
-
o.errors << Shapes::ShapeRef.new(shape: NoConnectorsAvailableException)
|
383
|
-
end)
|
384
|
-
|
385
|
-
api.add_operation(:start_on_demand_replication_run, Seahorse::Model::Operation.new.tap do |o|
|
386
|
-
o.name = "StartOnDemandReplicationRun"
|
387
|
-
o.http_method = "POST"
|
388
|
-
o.http_request_uri = "/"
|
389
|
-
o.input = Shapes::ShapeRef.new(shape: StartOnDemandReplicationRunRequest)
|
390
|
-
o.output = Shapes::ShapeRef.new(shape: StartOnDemandReplicationRunResponse)
|
391
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
392
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
393
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
394
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
395
|
-
o.errors << Shapes::ShapeRef.new(shape: ReplicationRunLimitExceededException)
|
396
|
-
end)
|
397
|
-
|
398
|
-
api.add_operation(:update_replication_job, Seahorse::Model::Operation.new.tap do |o|
|
399
|
-
o.name = "UpdateReplicationJob"
|
400
|
-
o.http_method = "POST"
|
401
|
-
o.http_request_uri = "/"
|
402
|
-
o.input = Shapes::ShapeRef.new(shape: UpdateReplicationJobRequest)
|
403
|
-
o.output = Shapes::ShapeRef.new(shape: UpdateReplicationJobResponse)
|
404
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
405
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
406
|
-
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
407
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
408
|
-
o.errors << Shapes::ShapeRef.new(shape: ServerCannotBeReplicatedException)
|
409
|
-
o.errors << Shapes::ShapeRef.new(shape: ReplicationJobNotFoundException)
|
410
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalError)
|
411
|
-
end)
|
412
|
-
end
|
8
|
+
module Aws::SMS
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AmiId = Shapes::StringShape.new(name: 'AmiId')
|
15
|
+
Connector = Shapes::StructureShape.new(name: 'Connector')
|
16
|
+
ConnectorCapability = Shapes::StringShape.new(name: 'ConnectorCapability')
|
17
|
+
ConnectorCapabilityList = Shapes::ListShape.new(name: 'ConnectorCapabilityList')
|
18
|
+
ConnectorId = Shapes::StringShape.new(name: 'ConnectorId')
|
19
|
+
ConnectorList = Shapes::ListShape.new(name: 'ConnectorList')
|
20
|
+
ConnectorStatus = Shapes::StringShape.new(name: 'ConnectorStatus')
|
21
|
+
ConnectorVersion = Shapes::StringShape.new(name: 'ConnectorVersion')
|
22
|
+
CreateReplicationJobRequest = Shapes::StructureShape.new(name: 'CreateReplicationJobRequest')
|
23
|
+
CreateReplicationJobResponse = Shapes::StructureShape.new(name: 'CreateReplicationJobResponse')
|
24
|
+
DeleteReplicationJobRequest = Shapes::StructureShape.new(name: 'DeleteReplicationJobRequest')
|
25
|
+
DeleteReplicationJobResponse = Shapes::StructureShape.new(name: 'DeleteReplicationJobResponse')
|
26
|
+
DeleteServerCatalogRequest = Shapes::StructureShape.new(name: 'DeleteServerCatalogRequest')
|
27
|
+
DeleteServerCatalogResponse = Shapes::StructureShape.new(name: 'DeleteServerCatalogResponse')
|
28
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
29
|
+
DisassociateConnectorRequest = Shapes::StructureShape.new(name: 'DisassociateConnectorRequest')
|
30
|
+
DisassociateConnectorResponse = Shapes::StructureShape.new(name: 'DisassociateConnectorResponse')
|
31
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
32
|
+
Frequency = Shapes::IntegerShape.new(name: 'Frequency')
|
33
|
+
GetConnectorsRequest = Shapes::StructureShape.new(name: 'GetConnectorsRequest')
|
34
|
+
GetConnectorsResponse = Shapes::StructureShape.new(name: 'GetConnectorsResponse')
|
35
|
+
GetReplicationJobsRequest = Shapes::StructureShape.new(name: 'GetReplicationJobsRequest')
|
36
|
+
GetReplicationJobsResponse = Shapes::StructureShape.new(name: 'GetReplicationJobsResponse')
|
37
|
+
GetReplicationRunsRequest = Shapes::StructureShape.new(name: 'GetReplicationRunsRequest')
|
38
|
+
GetReplicationRunsResponse = Shapes::StructureShape.new(name: 'GetReplicationRunsResponse')
|
39
|
+
GetServersRequest = Shapes::StructureShape.new(name: 'GetServersRequest')
|
40
|
+
GetServersResponse = Shapes::StructureShape.new(name: 'GetServersResponse')
|
41
|
+
ImportServerCatalogRequest = Shapes::StructureShape.new(name: 'ImportServerCatalogRequest')
|
42
|
+
ImportServerCatalogResponse = Shapes::StructureShape.new(name: 'ImportServerCatalogResponse')
|
43
|
+
InternalError = Shapes::StructureShape.new(name: 'InternalError')
|
44
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
45
|
+
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
46
|
+
LicenseType = Shapes::StringShape.new(name: 'LicenseType')
|
47
|
+
MacAddress = Shapes::StringShape.new(name: 'MacAddress')
|
48
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
49
|
+
MissingRequiredParameterException = Shapes::StructureShape.new(name: 'MissingRequiredParameterException')
|
50
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
51
|
+
NoConnectorsAvailableException = Shapes::StructureShape.new(name: 'NoConnectorsAvailableException')
|
52
|
+
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
53
|
+
ReplicationJob = Shapes::StructureShape.new(name: 'ReplicationJob')
|
54
|
+
ReplicationJobAlreadyExistsException = Shapes::StructureShape.new(name: 'ReplicationJobAlreadyExistsException')
|
55
|
+
ReplicationJobId = Shapes::StringShape.new(name: 'ReplicationJobId')
|
56
|
+
ReplicationJobList = Shapes::ListShape.new(name: 'ReplicationJobList')
|
57
|
+
ReplicationJobNotFoundException = Shapes::StructureShape.new(name: 'ReplicationJobNotFoundException')
|
58
|
+
ReplicationJobState = Shapes::StringShape.new(name: 'ReplicationJobState')
|
59
|
+
ReplicationJobStatusMessage = Shapes::StringShape.new(name: 'ReplicationJobStatusMessage')
|
60
|
+
ReplicationJobTerminated = Shapes::BooleanShape.new(name: 'ReplicationJobTerminated')
|
61
|
+
ReplicationRun = Shapes::StructureShape.new(name: 'ReplicationRun')
|
62
|
+
ReplicationRunId = Shapes::StringShape.new(name: 'ReplicationRunId')
|
63
|
+
ReplicationRunLimitExceededException = Shapes::StructureShape.new(name: 'ReplicationRunLimitExceededException')
|
64
|
+
ReplicationRunList = Shapes::ListShape.new(name: 'ReplicationRunList')
|
65
|
+
ReplicationRunState = Shapes::StringShape.new(name: 'ReplicationRunState')
|
66
|
+
ReplicationRunStatusMessage = Shapes::StringShape.new(name: 'ReplicationRunStatusMessage')
|
67
|
+
ReplicationRunType = Shapes::StringShape.new(name: 'ReplicationRunType')
|
68
|
+
RoleName = Shapes::StringShape.new(name: 'RoleName')
|
69
|
+
Server = Shapes::StructureShape.new(name: 'Server')
|
70
|
+
ServerCannotBeReplicatedException = Shapes::StructureShape.new(name: 'ServerCannotBeReplicatedException')
|
71
|
+
ServerCatalogStatus = Shapes::StringShape.new(name: 'ServerCatalogStatus')
|
72
|
+
ServerId = Shapes::StringShape.new(name: 'ServerId')
|
73
|
+
ServerList = Shapes::ListShape.new(name: 'ServerList')
|
74
|
+
ServerType = Shapes::StringShape.new(name: 'ServerType')
|
75
|
+
StartOnDemandReplicationRunRequest = Shapes::StructureShape.new(name: 'StartOnDemandReplicationRunRequest')
|
76
|
+
StartOnDemandReplicationRunResponse = Shapes::StructureShape.new(name: 'StartOnDemandReplicationRunResponse')
|
77
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
78
|
+
UnauthorizedOperationException = Shapes::StructureShape.new(name: 'UnauthorizedOperationException')
|
79
|
+
UpdateReplicationJobRequest = Shapes::StructureShape.new(name: 'UpdateReplicationJobRequest')
|
80
|
+
UpdateReplicationJobResponse = Shapes::StructureShape.new(name: 'UpdateReplicationJobResponse')
|
81
|
+
VmId = Shapes::StringShape.new(name: 'VmId')
|
82
|
+
VmManagerId = Shapes::StringShape.new(name: 'VmManagerId')
|
83
|
+
VmManagerName = Shapes::StringShape.new(name: 'VmManagerName')
|
84
|
+
VmManagerType = Shapes::StringShape.new(name: 'VmManagerType')
|
85
|
+
VmName = Shapes::StringShape.new(name: 'VmName')
|
86
|
+
VmPath = Shapes::StringShape.new(name: 'VmPath')
|
87
|
+
VmServer = Shapes::StructureShape.new(name: 'VmServer')
|
88
|
+
VmServerAddress = Shapes::StructureShape.new(name: 'VmServerAddress')
|
89
|
+
|
90
|
+
Connector.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, location_name: "connectorId"))
|
91
|
+
Connector.add_member(:version, Shapes::ShapeRef.new(shape: ConnectorVersion, location_name: "version"))
|
92
|
+
Connector.add_member(:status, Shapes::ShapeRef.new(shape: ConnectorStatus, location_name: "status"))
|
93
|
+
Connector.add_member(:capability_list, Shapes::ShapeRef.new(shape: ConnectorCapabilityList, location_name: "capabilityList"))
|
94
|
+
Connector.add_member(:vm_manager_name, Shapes::ShapeRef.new(shape: VmManagerName, location_name: "vmManagerName"))
|
95
|
+
Connector.add_member(:vm_manager_type, Shapes::ShapeRef.new(shape: VmManagerType, location_name: "vmManagerType"))
|
96
|
+
Connector.add_member(:vm_manager_id, Shapes::ShapeRef.new(shape: VmManagerId, location_name: "vmManagerId"))
|
97
|
+
Connector.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "ipAddress"))
|
98
|
+
Connector.add_member(:mac_address, Shapes::ShapeRef.new(shape: MacAddress, location_name: "macAddress"))
|
99
|
+
Connector.add_member(:associated_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associatedOn"))
|
100
|
+
Connector.struct_class = Types::Connector
|
101
|
+
|
102
|
+
ConnectorCapabilityList.member = Shapes::ShapeRef.new(shape: ConnectorCapability, location_name: "item")
|
103
|
+
|
104
|
+
ConnectorList.member = Shapes::ShapeRef.new(shape: Connector, location_name: "item")
|
105
|
+
|
106
|
+
CreateReplicationJobRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "serverId"))
|
107
|
+
CreateReplicationJobRequest.add_member(:seed_replication_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "seedReplicationTime"))
|
108
|
+
CreateReplicationJobRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, required: true, location_name: "frequency"))
|
109
|
+
CreateReplicationJobRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
|
110
|
+
CreateReplicationJobRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
|
111
|
+
CreateReplicationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
112
|
+
CreateReplicationJobRequest.struct_class = Types::CreateReplicationJobRequest
|
113
|
+
|
114
|
+
CreateReplicationJobResponse.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
|
115
|
+
CreateReplicationJobResponse.struct_class = Types::CreateReplicationJobResponse
|
116
|
+
|
117
|
+
DeleteReplicationJobRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
|
118
|
+
DeleteReplicationJobRequest.struct_class = Types::DeleteReplicationJobRequest
|
119
|
+
|
120
|
+
DeleteReplicationJobResponse.struct_class = Types::DeleteReplicationJobResponse
|
121
|
+
|
122
|
+
DeleteServerCatalogRequest.struct_class = Types::DeleteServerCatalogRequest
|
123
|
+
|
124
|
+
DeleteServerCatalogResponse.struct_class = Types::DeleteServerCatalogResponse
|
125
|
+
|
126
|
+
DisassociateConnectorRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "connectorId"))
|
127
|
+
DisassociateConnectorRequest.struct_class = Types::DisassociateConnectorRequest
|
128
|
+
|
129
|
+
DisassociateConnectorResponse.struct_class = Types::DisassociateConnectorResponse
|
130
|
+
|
131
|
+
GetConnectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
132
|
+
GetConnectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
133
|
+
GetConnectorsRequest.struct_class = Types::GetConnectorsRequest
|
134
|
+
|
135
|
+
GetConnectorsResponse.add_member(:connector_list, Shapes::ShapeRef.new(shape: ConnectorList, location_name: "connectorList"))
|
136
|
+
GetConnectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
137
|
+
GetConnectorsResponse.struct_class = Types::GetConnectorsResponse
|
138
|
+
|
139
|
+
GetReplicationJobsRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
|
140
|
+
GetReplicationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
141
|
+
GetReplicationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
142
|
+
GetReplicationJobsRequest.struct_class = Types::GetReplicationJobsRequest
|
143
|
+
|
144
|
+
GetReplicationJobsResponse.add_member(:replication_job_list, Shapes::ShapeRef.new(shape: ReplicationJobList, location_name: "replicationJobList"))
|
145
|
+
GetReplicationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
146
|
+
GetReplicationJobsResponse.struct_class = Types::GetReplicationJobsResponse
|
147
|
+
|
148
|
+
GetReplicationRunsRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
|
149
|
+
GetReplicationRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
150
|
+
GetReplicationRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
151
|
+
GetReplicationRunsRequest.struct_class = Types::GetReplicationRunsRequest
|
152
|
+
|
153
|
+
GetReplicationRunsResponse.add_member(:replication_job, Shapes::ShapeRef.new(shape: ReplicationJob, location_name: "replicationJob"))
|
154
|
+
GetReplicationRunsResponse.add_member(:replication_run_list, Shapes::ShapeRef.new(shape: ReplicationRunList, location_name: "replicationRunList"))
|
155
|
+
GetReplicationRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
156
|
+
GetReplicationRunsResponse.struct_class = Types::GetReplicationRunsResponse
|
157
|
+
|
158
|
+
GetServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
159
|
+
GetServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
160
|
+
GetServersRequest.struct_class = Types::GetServersRequest
|
161
|
+
|
162
|
+
GetServersResponse.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedOn"))
|
163
|
+
GetServersResponse.add_member(:server_catalog_status, Shapes::ShapeRef.new(shape: ServerCatalogStatus, location_name: "serverCatalogStatus"))
|
164
|
+
GetServersResponse.add_member(:server_list, Shapes::ShapeRef.new(shape: ServerList, location_name: "serverList"))
|
165
|
+
GetServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
166
|
+
GetServersResponse.struct_class = Types::GetServersResponse
|
167
|
+
|
168
|
+
ImportServerCatalogRequest.struct_class = Types::ImportServerCatalogRequest
|
169
|
+
|
170
|
+
ImportServerCatalogResponse.struct_class = Types::ImportServerCatalogResponse
|
171
|
+
|
172
|
+
ReplicationJob.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
|
173
|
+
ReplicationJob.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "serverId"))
|
174
|
+
ReplicationJob.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, location_name: "serverType"))
|
175
|
+
ReplicationJob.add_member(:vm_server, Shapes::ShapeRef.new(shape: VmServer, location_name: "vmServer"))
|
176
|
+
ReplicationJob.add_member(:seed_replication_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "seedReplicationTime"))
|
177
|
+
ReplicationJob.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "frequency"))
|
178
|
+
ReplicationJob.add_member(:next_replication_run_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "nextReplicationRunStartTime"))
|
179
|
+
ReplicationJob.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
|
180
|
+
ReplicationJob.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
|
181
|
+
ReplicationJob.add_member(:latest_ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "latestAmiId"))
|
182
|
+
ReplicationJob.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationJobState, location_name: "state"))
|
183
|
+
ReplicationJob.add_member(:status_message, Shapes::ShapeRef.new(shape: ReplicationJobStatusMessage, location_name: "statusMessage"))
|
184
|
+
ReplicationJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
185
|
+
ReplicationJob.add_member(:replication_run_list, Shapes::ShapeRef.new(shape: ReplicationRunList, location_name: "replicationRunList"))
|
186
|
+
ReplicationJob.struct_class = Types::ReplicationJob
|
187
|
+
|
188
|
+
ReplicationJobList.member = Shapes::ShapeRef.new(shape: ReplicationJob, location_name: "item")
|
189
|
+
|
190
|
+
ReplicationRun.add_member(:replication_run_id, Shapes::ShapeRef.new(shape: ReplicationRunId, location_name: "replicationRunId"))
|
191
|
+
ReplicationRun.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationRunState, location_name: "state"))
|
192
|
+
ReplicationRun.add_member(:type, Shapes::ShapeRef.new(shape: ReplicationRunType, location_name: "type"))
|
193
|
+
ReplicationRun.add_member(:status_message, Shapes::ShapeRef.new(shape: ReplicationRunStatusMessage, location_name: "statusMessage"))
|
194
|
+
ReplicationRun.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
|
195
|
+
ReplicationRun.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduledStartTime"))
|
196
|
+
ReplicationRun.add_member(:completed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedTime"))
|
197
|
+
ReplicationRun.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
198
|
+
ReplicationRun.struct_class = Types::ReplicationRun
|
199
|
+
|
200
|
+
ReplicationRunList.member = Shapes::ShapeRef.new(shape: ReplicationRun, location_name: "item")
|
201
|
+
|
202
|
+
Server.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "serverId"))
|
203
|
+
Server.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, location_name: "serverType"))
|
204
|
+
Server.add_member(:vm_server, Shapes::ShapeRef.new(shape: VmServer, location_name: "vmServer"))
|
205
|
+
Server.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
|
206
|
+
Server.add_member(:replication_job_terminated, Shapes::ShapeRef.new(shape: ReplicationJobTerminated, location_name: "replicationJobTerminated"))
|
207
|
+
Server.struct_class = Types::Server
|
208
|
+
|
209
|
+
ServerList.member = Shapes::ShapeRef.new(shape: Server, location_name: "item")
|
210
|
+
|
211
|
+
StartOnDemandReplicationRunRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
|
212
|
+
StartOnDemandReplicationRunRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
213
|
+
StartOnDemandReplicationRunRequest.struct_class = Types::StartOnDemandReplicationRunRequest
|
214
|
+
|
215
|
+
StartOnDemandReplicationRunResponse.add_member(:replication_run_id, Shapes::ShapeRef.new(shape: ReplicationRunId, location_name: "replicationRunId"))
|
216
|
+
StartOnDemandReplicationRunResponse.struct_class = Types::StartOnDemandReplicationRunResponse
|
217
|
+
|
218
|
+
UpdateReplicationJobRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
|
219
|
+
UpdateReplicationJobRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "frequency"))
|
220
|
+
UpdateReplicationJobRequest.add_member(:next_replication_run_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "nextReplicationRunStartTime"))
|
221
|
+
UpdateReplicationJobRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
|
222
|
+
UpdateReplicationJobRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
|
223
|
+
UpdateReplicationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
224
|
+
UpdateReplicationJobRequest.struct_class = Types::UpdateReplicationJobRequest
|
225
|
+
|
226
|
+
UpdateReplicationJobResponse.struct_class = Types::UpdateReplicationJobResponse
|
227
|
+
|
228
|
+
VmServer.add_member(:vm_server_address, Shapes::ShapeRef.new(shape: VmServerAddress, location_name: "vmServerAddress"))
|
229
|
+
VmServer.add_member(:vm_name, Shapes::ShapeRef.new(shape: VmName, location_name: "vmName"))
|
230
|
+
VmServer.add_member(:vm_manager_name, Shapes::ShapeRef.new(shape: VmManagerName, location_name: "vmManagerName"))
|
231
|
+
VmServer.add_member(:vm_manager_type, Shapes::ShapeRef.new(shape: VmManagerType, location_name: "vmManagerType"))
|
232
|
+
VmServer.add_member(:vm_path, Shapes::ShapeRef.new(shape: VmPath, location_name: "vmPath"))
|
233
|
+
VmServer.struct_class = Types::VmServer
|
234
|
+
|
235
|
+
VmServerAddress.add_member(:vm_manager_id, Shapes::ShapeRef.new(shape: VmManagerId, location_name: "vmManagerId"))
|
236
|
+
VmServerAddress.add_member(:vm_id, Shapes::ShapeRef.new(shape: VmId, location_name: "vmId"))
|
237
|
+
VmServerAddress.struct_class = Types::VmServerAddress
|
238
|
+
|
413
239
|
|
240
|
+
# @api private
|
241
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
242
|
+
|
243
|
+
api.version = "2016-10-24"
|
244
|
+
|
245
|
+
api.metadata = {
|
246
|
+
"endpointPrefix" => "sms",
|
247
|
+
"jsonVersion" => "1.1",
|
248
|
+
"protocol" => "json",
|
249
|
+
"serviceFullName" => "AWS Server Migration Service",
|
250
|
+
"signatureVersion" => "v4",
|
251
|
+
"targetPrefix" => "AWSServerMigrationService_V2016_10_24",
|
252
|
+
}
|
253
|
+
|
254
|
+
api.add_operation(:create_replication_job, Seahorse::Model::Operation.new.tap do |o|
|
255
|
+
o.name = "CreateReplicationJob"
|
256
|
+
o.http_method = "POST"
|
257
|
+
o.http_request_uri = "/"
|
258
|
+
o.input = Shapes::ShapeRef.new(shape: CreateReplicationJobRequest)
|
259
|
+
o.output = Shapes::ShapeRef.new(shape: CreateReplicationJobResponse)
|
260
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
261
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
262
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
263
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
264
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerCannotBeReplicatedException)
|
265
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicationJobAlreadyExistsException)
|
266
|
+
o.errors << Shapes::ShapeRef.new(shape: NoConnectorsAvailableException)
|
267
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalError)
|
268
|
+
end)
|
269
|
+
|
270
|
+
api.add_operation(:delete_replication_job, Seahorse::Model::Operation.new.tap do |o|
|
271
|
+
o.name = "DeleteReplicationJob"
|
272
|
+
o.http_method = "POST"
|
273
|
+
o.http_request_uri = "/"
|
274
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteReplicationJobRequest)
|
275
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteReplicationJobResponse)
|
276
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
277
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
278
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
279
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
280
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicationJobNotFoundException)
|
281
|
+
end)
|
282
|
+
|
283
|
+
api.add_operation(:delete_server_catalog, Seahorse::Model::Operation.new.tap do |o|
|
284
|
+
o.name = "DeleteServerCatalog"
|
285
|
+
o.http_method = "POST"
|
286
|
+
o.http_request_uri = "/"
|
287
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteServerCatalogRequest)
|
288
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteServerCatalogResponse)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
291
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
292
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
293
|
+
end)
|
294
|
+
|
295
|
+
api.add_operation(:disassociate_connector, Seahorse::Model::Operation.new.tap do |o|
|
296
|
+
o.name = "DisassociateConnector"
|
297
|
+
o.http_method = "POST"
|
298
|
+
o.http_request_uri = "/"
|
299
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateConnectorRequest)
|
300
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateConnectorResponse)
|
301
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
302
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
303
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
304
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
305
|
+
end)
|
306
|
+
|
307
|
+
api.add_operation(:get_connectors, Seahorse::Model::Operation.new.tap do |o|
|
308
|
+
o.name = "GetConnectors"
|
309
|
+
o.http_method = "POST"
|
310
|
+
o.http_request_uri = "/"
|
311
|
+
o.input = Shapes::ShapeRef.new(shape: GetConnectorsRequest)
|
312
|
+
o.output = Shapes::ShapeRef.new(shape: GetConnectorsResponse)
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
314
|
+
o[:pager] = Aws::Pager.new(
|
315
|
+
limit_key: "max_results",
|
316
|
+
tokens: {
|
317
|
+
"next_token" => "next_token"
|
318
|
+
}
|
319
|
+
)
|
320
|
+
end)
|
321
|
+
|
322
|
+
api.add_operation(:get_replication_jobs, Seahorse::Model::Operation.new.tap do |o|
|
323
|
+
o.name = "GetReplicationJobs"
|
324
|
+
o.http_method = "POST"
|
325
|
+
o.http_request_uri = "/"
|
326
|
+
o.input = Shapes::ShapeRef.new(shape: GetReplicationJobsRequest)
|
327
|
+
o.output = Shapes::ShapeRef.new(shape: GetReplicationJobsResponse)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
329
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
330
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
331
|
+
o[:pager] = Aws::Pager.new(
|
332
|
+
limit_key: "max_results",
|
333
|
+
tokens: {
|
334
|
+
"next_token" => "next_token"
|
335
|
+
}
|
336
|
+
)
|
337
|
+
end)
|
338
|
+
|
339
|
+
api.add_operation(:get_replication_runs, Seahorse::Model::Operation.new.tap do |o|
|
340
|
+
o.name = "GetReplicationRuns"
|
341
|
+
o.http_method = "POST"
|
342
|
+
o.http_request_uri = "/"
|
343
|
+
o.input = Shapes::ShapeRef.new(shape: GetReplicationRunsRequest)
|
344
|
+
o.output = Shapes::ShapeRef.new(shape: GetReplicationRunsResponse)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
348
|
+
o[:pager] = Aws::Pager.new(
|
349
|
+
limit_key: "max_results",
|
350
|
+
tokens: {
|
351
|
+
"next_token" => "next_token"
|
352
|
+
}
|
353
|
+
)
|
354
|
+
end)
|
355
|
+
|
356
|
+
api.add_operation(:get_servers, Seahorse::Model::Operation.new.tap do |o|
|
357
|
+
o.name = "GetServers"
|
358
|
+
o.http_method = "POST"
|
359
|
+
o.http_request_uri = "/"
|
360
|
+
o.input = Shapes::ShapeRef.new(shape: GetServersRequest)
|
361
|
+
o.output = Shapes::ShapeRef.new(shape: GetServersResponse)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
363
|
+
o[:pager] = Aws::Pager.new(
|
364
|
+
limit_key: "max_results",
|
365
|
+
tokens: {
|
366
|
+
"next_token" => "next_token"
|
367
|
+
}
|
368
|
+
)
|
369
|
+
end)
|
370
|
+
|
371
|
+
api.add_operation(:import_server_catalog, Seahorse::Model::Operation.new.tap do |o|
|
372
|
+
o.name = "ImportServerCatalog"
|
373
|
+
o.http_method = "POST"
|
374
|
+
o.http_request_uri = "/"
|
375
|
+
o.input = Shapes::ShapeRef.new(shape: ImportServerCatalogRequest)
|
376
|
+
o.output = Shapes::ShapeRef.new(shape: ImportServerCatalogResponse)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: NoConnectorsAvailableException)
|
382
|
+
end)
|
383
|
+
|
384
|
+
api.add_operation(:start_on_demand_replication_run, Seahorse::Model::Operation.new.tap do |o|
|
385
|
+
o.name = "StartOnDemandReplicationRun"
|
386
|
+
o.http_method = "POST"
|
387
|
+
o.http_request_uri = "/"
|
388
|
+
o.input = Shapes::ShapeRef.new(shape: StartOnDemandReplicationRunRequest)
|
389
|
+
o.output = Shapes::ShapeRef.new(shape: StartOnDemandReplicationRunResponse)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicationRunLimitExceededException)
|
395
|
+
end)
|
396
|
+
|
397
|
+
api.add_operation(:update_replication_job, Seahorse::Model::Operation.new.tap do |o|
|
398
|
+
o.name = "UpdateReplicationJob"
|
399
|
+
o.http_method = "POST"
|
400
|
+
o.http_request_uri = "/"
|
401
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateReplicationJobRequest)
|
402
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateReplicationJobResponse)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerCannotBeReplicatedException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicationJobNotFoundException)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalError)
|
410
|
+
end)
|
414
411
|
end
|
412
|
+
|
415
413
|
end
|
416
414
|
end
|