aws-sdk-sms 1.0.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,598 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SMS
10
+ module Types
11
+
12
+ # Object representing a Connector
13
+ # @!attribute [rw] connector_id
14
+ # Unique Identifier for Connector
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] version
18
+ # Connector version string
19
+ # @return [String]
20
+ #
21
+ # @!attribute [rw] status
22
+ # Status of on-premise Connector
23
+ # @return [String]
24
+ #
25
+ # @!attribute [rw] capability_list
26
+ # List of Connector Capabilities
27
+ # @return [Array<String>]
28
+ #
29
+ # @!attribute [rw] vm_manager_name
30
+ # VM Manager Name
31
+ # @return [String]
32
+ #
33
+ # @!attribute [rw] vm_manager_type
34
+ # VM Management Product
35
+ # @return [String]
36
+ #
37
+ # @!attribute [rw] vm_manager_id
38
+ # Unique Identifier for VM Manager
39
+ # @return [String]
40
+ #
41
+ # @!attribute [rw] ip_address
42
+ # Internet Protocol (IP) Address
43
+ # @return [String]
44
+ #
45
+ # @!attribute [rw] mac_address
46
+ # Hardware (MAC) address
47
+ # @return [String]
48
+ #
49
+ # @!attribute [rw] associated_on
50
+ # Timestamp of an operation
51
+ # @return [Time]
52
+ class Connector < Struct.new(
53
+ :connector_id,
54
+ :version,
55
+ :status,
56
+ :capability_list,
57
+ :vm_manager_name,
58
+ :vm_manager_type,
59
+ :vm_manager_id,
60
+ :ip_address,
61
+ :mac_address,
62
+ :associated_on)
63
+ include Aws::Structure
64
+ end
65
+
66
+ # @note When making an API call, pass CreateReplicationJobRequest
67
+ # data as a hash:
68
+ #
69
+ # {
70
+ # server_id: "ServerId", # required
71
+ # seed_replication_time: Time.now, # required
72
+ # frequency: 1, # required
73
+ # license_type: "AWS", # accepts AWS, BYOL
74
+ # role_name: "RoleName",
75
+ # description: "Description",
76
+ # }
77
+ # @!attribute [rw] server_id
78
+ # Unique Identifier for a server
79
+ # @return [String]
80
+ #
81
+ # @!attribute [rw] seed_replication_time
82
+ # Timestamp of an operation
83
+ # @return [Time]
84
+ #
85
+ # @!attribute [rw] frequency
86
+ # Interval between Replication Runs. This value is specified in hours,
87
+ # and represents the time between consecutive Replication Runs.
88
+ # @return [Integer]
89
+ #
90
+ # @!attribute [rw] license_type
91
+ # The license type to be used for the Amazon Machine Image (AMI)
92
+ # created after a successful ReplicationRun.
93
+ # @return [String]
94
+ #
95
+ # @!attribute [rw] role_name
96
+ # Name of service role in customer's account to be used by SMS
97
+ # service.
98
+ # @return [String]
99
+ #
100
+ # @!attribute [rw] description
101
+ # The description for a Replication Job/Run.
102
+ # @return [String]
103
+ class CreateReplicationJobRequest < Struct.new(
104
+ :server_id,
105
+ :seed_replication_time,
106
+ :frequency,
107
+ :license_type,
108
+ :role_name,
109
+ :description)
110
+ include Aws::Structure
111
+ end
112
+
113
+ # @!attribute [rw] replication_job_id
114
+ # The unique identifier for a Replication Job.
115
+ # @return [String]
116
+ class CreateReplicationJobResponse < Struct.new(
117
+ :replication_job_id)
118
+ include Aws::Structure
119
+ end
120
+
121
+ # @note When making an API call, pass DeleteReplicationJobRequest
122
+ # data as a hash:
123
+ #
124
+ # {
125
+ # replication_job_id: "ReplicationJobId", # required
126
+ # }
127
+ # @!attribute [rw] replication_job_id
128
+ # The unique identifier for a Replication Job.
129
+ # @return [String]
130
+ class DeleteReplicationJobRequest < Struct.new(
131
+ :replication_job_id)
132
+ include Aws::Structure
133
+ end
134
+
135
+ class DeleteReplicationJobResponse < Aws::EmptyStructure; end
136
+
137
+ # @api private
138
+ class DeleteServerCatalogRequest < Aws::EmptyStructure; end
139
+
140
+ class DeleteServerCatalogResponse < Aws::EmptyStructure; end
141
+
142
+ # @note When making an API call, pass DisassociateConnectorRequest
143
+ # data as a hash:
144
+ #
145
+ # {
146
+ # connector_id: "ConnectorId", # required
147
+ # }
148
+ # @!attribute [rw] connector_id
149
+ # Unique Identifier for Connector
150
+ # @return [String]
151
+ class DisassociateConnectorRequest < Struct.new(
152
+ :connector_id)
153
+ include Aws::Structure
154
+ end
155
+
156
+ class DisassociateConnectorResponse < Aws::EmptyStructure; end
157
+
158
+ # @note When making an API call, pass GetConnectorsRequest
159
+ # data as a hash:
160
+ #
161
+ # {
162
+ # next_token: "NextToken",
163
+ # max_results: 1,
164
+ # }
165
+ # @!attribute [rw] next_token
166
+ # Pagination token to pass as input to API call
167
+ # @return [String]
168
+ #
169
+ # @!attribute [rw] max_results
170
+ # The maximum number of results to return in one API call. If left
171
+ # empty, this will default to 50.
172
+ # @return [Integer]
173
+ class GetConnectorsRequest < Struct.new(
174
+ :next_token,
175
+ :max_results)
176
+ include Aws::Structure
177
+ end
178
+
179
+ # @!attribute [rw] connector_list
180
+ # List of connectors
181
+ # @return [Array<Types::Connector>]
182
+ #
183
+ # @!attribute [rw] next_token
184
+ # Pagination token to pass as input to API call
185
+ # @return [String]
186
+ class GetConnectorsResponse < Struct.new(
187
+ :connector_list,
188
+ :next_token)
189
+ include Aws::Structure
190
+ end
191
+
192
+ # @note When making an API call, pass GetReplicationJobsRequest
193
+ # data as a hash:
194
+ #
195
+ # {
196
+ # replication_job_id: "ReplicationJobId",
197
+ # next_token: "NextToken",
198
+ # max_results: 1,
199
+ # }
200
+ # @!attribute [rw] replication_job_id
201
+ # The unique identifier for a Replication Job.
202
+ # @return [String]
203
+ #
204
+ # @!attribute [rw] next_token
205
+ # Pagination token to pass as input to API call
206
+ # @return [String]
207
+ #
208
+ # @!attribute [rw] max_results
209
+ # The maximum number of results to return in one API call. If left
210
+ # empty, this will default to 50.
211
+ # @return [Integer]
212
+ class GetReplicationJobsRequest < Struct.new(
213
+ :replication_job_id,
214
+ :next_token,
215
+ :max_results)
216
+ include Aws::Structure
217
+ end
218
+
219
+ # @!attribute [rw] replication_job_list
220
+ # List of Replication Jobs
221
+ # @return [Array<Types::ReplicationJob>]
222
+ #
223
+ # @!attribute [rw] next_token
224
+ # Pagination token to pass as input to API call
225
+ # @return [String]
226
+ class GetReplicationJobsResponse < Struct.new(
227
+ :replication_job_list,
228
+ :next_token)
229
+ include Aws::Structure
230
+ end
231
+
232
+ # @note When making an API call, pass GetReplicationRunsRequest
233
+ # data as a hash:
234
+ #
235
+ # {
236
+ # replication_job_id: "ReplicationJobId", # required
237
+ # next_token: "NextToken",
238
+ # max_results: 1,
239
+ # }
240
+ # @!attribute [rw] replication_job_id
241
+ # The unique identifier for a Replication Job.
242
+ # @return [String]
243
+ #
244
+ # @!attribute [rw] next_token
245
+ # Pagination token to pass as input to API call
246
+ # @return [String]
247
+ #
248
+ # @!attribute [rw] max_results
249
+ # The maximum number of results to return in one API call. If left
250
+ # empty, this will default to 50.
251
+ # @return [Integer]
252
+ class GetReplicationRunsRequest < Struct.new(
253
+ :replication_job_id,
254
+ :next_token,
255
+ :max_results)
256
+ include Aws::Structure
257
+ end
258
+
259
+ # @!attribute [rw] replication_job
260
+ # Object representing a Replication Job
261
+ # @return [Types::ReplicationJob]
262
+ #
263
+ # @!attribute [rw] replication_run_list
264
+ # List of Replication Runs
265
+ # @return [Array<Types::ReplicationRun>]
266
+ #
267
+ # @!attribute [rw] next_token
268
+ # Pagination token to pass as input to API call
269
+ # @return [String]
270
+ class GetReplicationRunsResponse < Struct.new(
271
+ :replication_job,
272
+ :replication_run_list,
273
+ :next_token)
274
+ include Aws::Structure
275
+ end
276
+
277
+ # @note When making an API call, pass GetServersRequest
278
+ # data as a hash:
279
+ #
280
+ # {
281
+ # next_token: "NextToken",
282
+ # max_results: 1,
283
+ # }
284
+ # @!attribute [rw] next_token
285
+ # Pagination token to pass as input to API call
286
+ # @return [String]
287
+ #
288
+ # @!attribute [rw] max_results
289
+ # The maximum number of results to return in one API call. If left
290
+ # empty, this will default to 50.
291
+ # @return [Integer]
292
+ class GetServersRequest < Struct.new(
293
+ :next_token,
294
+ :max_results)
295
+ include Aws::Structure
296
+ end
297
+
298
+ # @!attribute [rw] last_modified_on
299
+ # Timestamp of an operation
300
+ # @return [Time]
301
+ #
302
+ # @!attribute [rw] server_catalog_status
303
+ # Status of Server catalog
304
+ # @return [String]
305
+ #
306
+ # @!attribute [rw] server_list
307
+ # List of servers from catalog
308
+ # @return [Array<Types::Server>]
309
+ #
310
+ # @!attribute [rw] next_token
311
+ # Pagination token to pass as input to API call
312
+ # @return [String]
313
+ class GetServersResponse < Struct.new(
314
+ :last_modified_on,
315
+ :server_catalog_status,
316
+ :server_list,
317
+ :next_token)
318
+ include Aws::Structure
319
+ end
320
+
321
+ # @api private
322
+ class ImportServerCatalogRequest < Aws::EmptyStructure; end
323
+
324
+ class ImportServerCatalogResponse < Aws::EmptyStructure; end
325
+
326
+ # Object representing a Replication Job
327
+ # @!attribute [rw] replication_job_id
328
+ # The unique identifier for a Replication Job.
329
+ # @return [String]
330
+ #
331
+ # @!attribute [rw] server_id
332
+ # Unique Identifier for a server
333
+ # @return [String]
334
+ #
335
+ # @!attribute [rw] server_type
336
+ # Type of server.
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] vm_server
340
+ # Object representing a VM server
341
+ # @return [Types::VmServer]
342
+ #
343
+ # @!attribute [rw] seed_replication_time
344
+ # Timestamp of an operation
345
+ # @return [Time]
346
+ #
347
+ # @!attribute [rw] frequency
348
+ # Interval between Replication Runs. This value is specified in hours,
349
+ # and represents the time between consecutive Replication Runs.
350
+ # @return [Integer]
351
+ #
352
+ # @!attribute [rw] next_replication_run_start_time
353
+ # Timestamp of an operation
354
+ # @return [Time]
355
+ #
356
+ # @!attribute [rw] license_type
357
+ # The license type to be used for the Amazon Machine Image (AMI)
358
+ # created after a successful ReplicationRun.
359
+ # @return [String]
360
+ #
361
+ # @!attribute [rw] role_name
362
+ # Name of service role in customer's account to be used by SMS
363
+ # service.
364
+ # @return [String]
365
+ #
366
+ # @!attribute [rw] latest_ami_id
367
+ # The AMI id for the image resulting from a Replication Run.
368
+ # @return [String]
369
+ #
370
+ # @!attribute [rw] state
371
+ # Current state of Replication Job
372
+ # @return [String]
373
+ #
374
+ # @!attribute [rw] status_message
375
+ # String describing current status of Replication Job
376
+ # @return [String]
377
+ #
378
+ # @!attribute [rw] description
379
+ # The description for a Replication Job/Run.
380
+ # @return [String]
381
+ #
382
+ # @!attribute [rw] replication_run_list
383
+ # List of Replication Runs
384
+ # @return [Array<Types::ReplicationRun>]
385
+ class ReplicationJob < Struct.new(
386
+ :replication_job_id,
387
+ :server_id,
388
+ :server_type,
389
+ :vm_server,
390
+ :seed_replication_time,
391
+ :frequency,
392
+ :next_replication_run_start_time,
393
+ :license_type,
394
+ :role_name,
395
+ :latest_ami_id,
396
+ :state,
397
+ :status_message,
398
+ :description,
399
+ :replication_run_list)
400
+ include Aws::Structure
401
+ end
402
+
403
+ # Object representing a Replication Run
404
+ # @!attribute [rw] replication_run_id
405
+ # The unique identifier for a Replication Run.
406
+ # @return [String]
407
+ #
408
+ # @!attribute [rw] state
409
+ # Current state of Replication Run
410
+ # @return [String]
411
+ #
412
+ # @!attribute [rw] type
413
+ # Type of Replication Run
414
+ # @return [String]
415
+ #
416
+ # @!attribute [rw] status_message
417
+ # String describing current status of Replication Run
418
+ # @return [String]
419
+ #
420
+ # @!attribute [rw] ami_id
421
+ # The AMI id for the image resulting from a Replication Run.
422
+ # @return [String]
423
+ #
424
+ # @!attribute [rw] scheduled_start_time
425
+ # Timestamp of an operation
426
+ # @return [Time]
427
+ #
428
+ # @!attribute [rw] completed_time
429
+ # Timestamp of an operation
430
+ # @return [Time]
431
+ #
432
+ # @!attribute [rw] description
433
+ # The description for a Replication Job/Run.
434
+ # @return [String]
435
+ class ReplicationRun < Struct.new(
436
+ :replication_run_id,
437
+ :state,
438
+ :type,
439
+ :status_message,
440
+ :ami_id,
441
+ :scheduled_start_time,
442
+ :completed_time,
443
+ :description)
444
+ include Aws::Structure
445
+ end
446
+
447
+ # Object representing a server
448
+ # @!attribute [rw] server_id
449
+ # Unique Identifier for a server
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] server_type
453
+ # Type of server.
454
+ # @return [String]
455
+ #
456
+ # @!attribute [rw] vm_server
457
+ # Object representing a VM server
458
+ # @return [Types::VmServer]
459
+ #
460
+ # @!attribute [rw] replication_job_id
461
+ # The unique identifier for a Replication Job.
462
+ # @return [String]
463
+ #
464
+ # @!attribute [rw] replication_job_terminated
465
+ # An indicator of the Replication Job being deleted or failed.
466
+ # @return [Boolean]
467
+ class Server < Struct.new(
468
+ :server_id,
469
+ :server_type,
470
+ :vm_server,
471
+ :replication_job_id,
472
+ :replication_job_terminated)
473
+ include Aws::Structure
474
+ end
475
+
476
+ # @note When making an API call, pass StartOnDemandReplicationRunRequest
477
+ # data as a hash:
478
+ #
479
+ # {
480
+ # replication_job_id: "ReplicationJobId", # required
481
+ # description: "Description",
482
+ # }
483
+ # @!attribute [rw] replication_job_id
484
+ # The unique identifier for a Replication Job.
485
+ # @return [String]
486
+ #
487
+ # @!attribute [rw] description
488
+ # The description for a Replication Job/Run.
489
+ # @return [String]
490
+ class StartOnDemandReplicationRunRequest < Struct.new(
491
+ :replication_job_id,
492
+ :description)
493
+ include Aws::Structure
494
+ end
495
+
496
+ # @!attribute [rw] replication_run_id
497
+ # The unique identifier for a Replication Run.
498
+ # @return [String]
499
+ class StartOnDemandReplicationRunResponse < Struct.new(
500
+ :replication_run_id)
501
+ include Aws::Structure
502
+ end
503
+
504
+ # @note When making an API call, pass UpdateReplicationJobRequest
505
+ # data as a hash:
506
+ #
507
+ # {
508
+ # replication_job_id: "ReplicationJobId", # required
509
+ # frequency: 1,
510
+ # next_replication_run_start_time: Time.now,
511
+ # license_type: "AWS", # accepts AWS, BYOL
512
+ # role_name: "RoleName",
513
+ # description: "Description",
514
+ # }
515
+ # @!attribute [rw] replication_job_id
516
+ # The unique identifier for a Replication Job.
517
+ # @return [String]
518
+ #
519
+ # @!attribute [rw] frequency
520
+ # Interval between Replication Runs. This value is specified in hours,
521
+ # and represents the time between consecutive Replication Runs.
522
+ # @return [Integer]
523
+ #
524
+ # @!attribute [rw] next_replication_run_start_time
525
+ # Timestamp of an operation
526
+ # @return [Time]
527
+ #
528
+ # @!attribute [rw] license_type
529
+ # The license type to be used for the Amazon Machine Image (AMI)
530
+ # created after a successful ReplicationRun.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] role_name
534
+ # Name of service role in customer's account to be used by SMS
535
+ # service.
536
+ # @return [String]
537
+ #
538
+ # @!attribute [rw] description
539
+ # The description for a Replication Job/Run.
540
+ # @return [String]
541
+ class UpdateReplicationJobRequest < Struct.new(
542
+ :replication_job_id,
543
+ :frequency,
544
+ :next_replication_run_start_time,
545
+ :license_type,
546
+ :role_name,
547
+ :description)
548
+ include Aws::Structure
549
+ end
550
+
551
+ class UpdateReplicationJobResponse < Aws::EmptyStructure; end
552
+
553
+ # Object representing a VM server
554
+ # @!attribute [rw] vm_server_address
555
+ # Object representing a server's location
556
+ # @return [Types::VmServerAddress]
557
+ #
558
+ # @!attribute [rw] vm_name
559
+ # Name of Virtual Machine
560
+ # @return [String]
561
+ #
562
+ # @!attribute [rw] vm_manager_name
563
+ # VM Manager Name
564
+ # @return [String]
565
+ #
566
+ # @!attribute [rw] vm_manager_type
567
+ # VM Management Product
568
+ # @return [String]
569
+ #
570
+ # @!attribute [rw] vm_path
571
+ # Path to VM
572
+ # @return [String]
573
+ class VmServer < Struct.new(
574
+ :vm_server_address,
575
+ :vm_name,
576
+ :vm_manager_name,
577
+ :vm_manager_type,
578
+ :vm_path)
579
+ include Aws::Structure
580
+ end
581
+
582
+ # Object representing a server's location
583
+ # @!attribute [rw] vm_manager_id
584
+ # Unique Identifier for VM Manager
585
+ # @return [String]
586
+ #
587
+ # @!attribute [rw] vm_id
588
+ # Unique Identifier for a VM
589
+ # @return [String]
590
+ class VmServerAddress < Struct.new(
591
+ :vm_manager_id,
592
+ :vm_id)
593
+ include Aws::Structure
594
+ end
595
+
596
+ end
597
+ end
598
+ end