aws-sdk-sms 1.0.0.rc1 → 1.0.0.rc2

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.
@@ -1,23 +1,14 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
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
- module SMS
10
- module Errors
8
+ module Aws::SMS
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
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
- module SMS
10
- class Resource
8
+ module Aws::SMS
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,598 +1,690 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
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
- module SMS
10
- module Types
8
+ module Aws::SMS
9
+ module Types
11
10
 
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
11
+ # Object representing a Connector
12
+ #
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
+ #
53
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Connector AWS API Documentation
54
+ #
55
+ class Connector < Struct.new(
56
+ :connector_id,
57
+ :version,
58
+ :status,
59
+ :capability_list,
60
+ :vm_manager_name,
61
+ :vm_manager_type,
62
+ :vm_manager_id,
63
+ :ip_address,
64
+ :mac_address,
65
+ :associated_on)
66
+ include Aws::Structure
67
+ end
112
68
 
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
69
+ # @note When making an API call, you may pass CreateReplicationJobRequest
70
+ # data as a hash:
71
+ #
72
+ # {
73
+ # server_id: "ServerId", # required
74
+ # seed_replication_time: Time.now, # required
75
+ # frequency: 1, # required
76
+ # license_type: "AWS", # accepts AWS, BYOL
77
+ # role_name: "RoleName",
78
+ # description: "Description",
79
+ # }
80
+ #
81
+ # @!attribute [rw] server_id
82
+ # Unique Identifier for a server
83
+ # @return [String]
84
+ #
85
+ # @!attribute [rw] seed_replication_time
86
+ # Timestamp of an operation
87
+ # @return [Time]
88
+ #
89
+ # @!attribute [rw] frequency
90
+ # Interval between Replication Runs. This value is specified in hours,
91
+ # and represents the time between consecutive Replication Runs.
92
+ # @return [Integer]
93
+ #
94
+ # @!attribute [rw] license_type
95
+ # The license type to be used for the Amazon Machine Image (AMI)
96
+ # created after a successful ReplicationRun.
97
+ # @return [String]
98
+ #
99
+ # @!attribute [rw] role_name
100
+ # Name of service role in customer's account to be used by SMS
101
+ # service.
102
+ # @return [String]
103
+ #
104
+ # @!attribute [rw] description
105
+ # The description for a Replication Job/Run.
106
+ # @return [String]
107
+ #
108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobRequest AWS API Documentation
109
+ #
110
+ class CreateReplicationJobRequest < Struct.new(
111
+ :server_id,
112
+ :seed_replication_time,
113
+ :frequency,
114
+ :license_type,
115
+ :role_name,
116
+ :description)
117
+ include Aws::Structure
118
+ end
120
119
 
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
120
+ # @!attribute [rw] replication_job_id
121
+ # The unique identifier for a Replication Job.
122
+ # @return [String]
123
+ #
124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobResponse AWS API Documentation
125
+ #
126
+ class CreateReplicationJobResponse < Struct.new(
127
+ :replication_job_id)
128
+ include Aws::Structure
129
+ end
134
130
 
135
- class DeleteReplicationJobResponse < Aws::EmptyStructure; end
131
+ # @note When making an API call, you may pass DeleteReplicationJobRequest
132
+ # data as a hash:
133
+ #
134
+ # {
135
+ # replication_job_id: "ReplicationJobId", # required
136
+ # }
137
+ #
138
+ # @!attribute [rw] replication_job_id
139
+ # The unique identifier for a Replication Job.
140
+ # @return [String]
141
+ #
142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobRequest AWS API Documentation
143
+ #
144
+ class DeleteReplicationJobRequest < Struct.new(
145
+ :replication_job_id)
146
+ include Aws::Structure
147
+ end
136
148
 
137
- # @api private
138
- class DeleteServerCatalogRequest < Aws::EmptyStructure; end
149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobResponse AWS API Documentation
150
+ #
151
+ class DeleteReplicationJobResponse < Aws::EmptyStructure; end
139
152
 
140
- class DeleteServerCatalogResponse < Aws::EmptyStructure; end
153
+ # @api private
154
+ #
155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalogRequest AWS API Documentation
156
+ #
157
+ class DeleteServerCatalogRequest < Aws::EmptyStructure; end
141
158
 
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
159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalogResponse AWS API Documentation
160
+ #
161
+ class DeleteServerCatalogResponse < Aws::EmptyStructure; end
155
162
 
156
- class DisassociateConnectorResponse < Aws::EmptyStructure; end
163
+ # @note When making an API call, you may pass DisassociateConnectorRequest
164
+ # data as a hash:
165
+ #
166
+ # {
167
+ # connector_id: "ConnectorId", # required
168
+ # }
169
+ #
170
+ # @!attribute [rw] connector_id
171
+ # Unique Identifier for Connector
172
+ # @return [String]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnectorRequest AWS API Documentation
175
+ #
176
+ class DisassociateConnectorRequest < Struct.new(
177
+ :connector_id)
178
+ include Aws::Structure
179
+ end
157
180
 
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
181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnectorResponse AWS API Documentation
182
+ #
183
+ class DisassociateConnectorResponse < Aws::EmptyStructure; end
178
184
 
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
185
+ # @note When making an API call, you may pass GetConnectorsRequest
186
+ # data as a hash:
187
+ #
188
+ # {
189
+ # next_token: "NextToken",
190
+ # max_results: 1,
191
+ # }
192
+ #
193
+ # @!attribute [rw] next_token
194
+ # Pagination token to pass as input to API call
195
+ # @return [String]
196
+ #
197
+ # @!attribute [rw] max_results
198
+ # The maximum number of results to return in one API call. If left
199
+ # empty, this will default to 50.
200
+ # @return [Integer]
201
+ #
202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectorsRequest AWS API Documentation
203
+ #
204
+ class GetConnectorsRequest < Struct.new(
205
+ :next_token,
206
+ :max_results)
207
+ include Aws::Structure
208
+ end
191
209
 
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
210
+ # @!attribute [rw] connector_list
211
+ # List of connectors
212
+ # @return [Array<Types::Connector>]
213
+ #
214
+ # @!attribute [rw] next_token
215
+ # Pagination token to pass as input to API call
216
+ # @return [String]
217
+ #
218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectorsResponse AWS API Documentation
219
+ #
220
+ class GetConnectorsResponse < Struct.new(
221
+ :connector_list,
222
+ :next_token)
223
+ include Aws::Structure
224
+ end
218
225
 
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
226
+ # @note When making an API call, you may pass GetReplicationJobsRequest
227
+ # data as a hash:
228
+ #
229
+ # {
230
+ # replication_job_id: "ReplicationJobId",
231
+ # next_token: "NextToken",
232
+ # max_results: 1,
233
+ # }
234
+ #
235
+ # @!attribute [rw] replication_job_id
236
+ # The unique identifier for a Replication Job.
237
+ # @return [String]
238
+ #
239
+ # @!attribute [rw] next_token
240
+ # Pagination token to pass as input to API call
241
+ # @return [String]
242
+ #
243
+ # @!attribute [rw] max_results
244
+ # The maximum number of results to return in one API call. If left
245
+ # empty, this will default to 50.
246
+ # @return [Integer]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobsRequest AWS API Documentation
249
+ #
250
+ class GetReplicationJobsRequest < Struct.new(
251
+ :replication_job_id,
252
+ :next_token,
253
+ :max_results)
254
+ include Aws::Structure
255
+ end
231
256
 
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
257
+ # @!attribute [rw] replication_job_list
258
+ # List of Replication Jobs
259
+ # @return [Array<Types::ReplicationJob>]
260
+ #
261
+ # @!attribute [rw] next_token
262
+ # Pagination token to pass as input to API call
263
+ # @return [String]
264
+ #
265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobsResponse AWS API Documentation
266
+ #
267
+ class GetReplicationJobsResponse < Struct.new(
268
+ :replication_job_list,
269
+ :next_token)
270
+ include Aws::Structure
271
+ end
258
272
 
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
273
+ # @note When making an API call, you may pass GetReplicationRunsRequest
274
+ # data as a hash:
275
+ #
276
+ # {
277
+ # replication_job_id: "ReplicationJobId", # required
278
+ # next_token: "NextToken",
279
+ # max_results: 1,
280
+ # }
281
+ #
282
+ # @!attribute [rw] replication_job_id
283
+ # The unique identifier for a Replication Job.
284
+ # @return [String]
285
+ #
286
+ # @!attribute [rw] next_token
287
+ # Pagination token to pass as input to API call
288
+ # @return [String]
289
+ #
290
+ # @!attribute [rw] max_results
291
+ # The maximum number of results to return in one API call. If left
292
+ # empty, this will default to 50.
293
+ # @return [Integer]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRunsRequest AWS API Documentation
296
+ #
297
+ class GetReplicationRunsRequest < Struct.new(
298
+ :replication_job_id,
299
+ :next_token,
300
+ :max_results)
301
+ include Aws::Structure
302
+ end
276
303
 
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
304
+ # @!attribute [rw] replication_job
305
+ # Object representing a Replication Job
306
+ # @return [Types::ReplicationJob]
307
+ #
308
+ # @!attribute [rw] replication_run_list
309
+ # List of Replication Runs
310
+ # @return [Array<Types::ReplicationRun>]
311
+ #
312
+ # @!attribute [rw] next_token
313
+ # Pagination token to pass as input to API call
314
+ # @return [String]
315
+ #
316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRunsResponse AWS API Documentation
317
+ #
318
+ class GetReplicationRunsResponse < Struct.new(
319
+ :replication_job,
320
+ :replication_run_list,
321
+ :next_token)
322
+ include Aws::Structure
323
+ end
297
324
 
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
325
+ # @note When making an API call, you may pass GetServersRequest
326
+ # data as a hash:
327
+ #
328
+ # {
329
+ # next_token: "NextToken",
330
+ # max_results: 1,
331
+ # }
332
+ #
333
+ # @!attribute [rw] next_token
334
+ # Pagination token to pass as input to API call
335
+ # @return [String]
336
+ #
337
+ # @!attribute [rw] max_results
338
+ # The maximum number of results to return in one API call. If left
339
+ # empty, this will default to 50.
340
+ # @return [Integer]
341
+ #
342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersRequest AWS API Documentation
343
+ #
344
+ class GetServersRequest < Struct.new(
345
+ :next_token,
346
+ :max_results)
347
+ include Aws::Structure
348
+ end
320
349
 
321
- # @api private
322
- class ImportServerCatalogRequest < Aws::EmptyStructure; end
350
+ # @!attribute [rw] last_modified_on
351
+ # Timestamp of an operation
352
+ # @return [Time]
353
+ #
354
+ # @!attribute [rw] server_catalog_status
355
+ # Status of Server catalog
356
+ # @return [String]
357
+ #
358
+ # @!attribute [rw] server_list
359
+ # List of servers from catalog
360
+ # @return [Array<Types::Server>]
361
+ #
362
+ # @!attribute [rw] next_token
363
+ # Pagination token to pass as input to API call
364
+ # @return [String]
365
+ #
366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersResponse AWS API Documentation
367
+ #
368
+ class GetServersResponse < Struct.new(
369
+ :last_modified_on,
370
+ :server_catalog_status,
371
+ :server_list,
372
+ :next_token)
373
+ include Aws::Structure
374
+ end
323
375
 
324
- class ImportServerCatalogResponse < Aws::EmptyStructure; end
376
+ # @api private
377
+ #
378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalogRequest AWS API Documentation
379
+ #
380
+ class ImportServerCatalogRequest < Aws::EmptyStructure; end
325
381
 
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
382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalogResponse AWS API Documentation
383
+ #
384
+ class ImportServerCatalogResponse < Aws::EmptyStructure; end
402
385
 
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
386
+ # Object representing a Replication Job
387
+ #
388
+ # @!attribute [rw] replication_job_id
389
+ # The unique identifier for a Replication Job.
390
+ # @return [String]
391
+ #
392
+ # @!attribute [rw] server_id
393
+ # Unique Identifier for a server
394
+ # @return [String]
395
+ #
396
+ # @!attribute [rw] server_type
397
+ # Type of server.
398
+ # @return [String]
399
+ #
400
+ # @!attribute [rw] vm_server
401
+ # Object representing a VM server
402
+ # @return [Types::VmServer]
403
+ #
404
+ # @!attribute [rw] seed_replication_time
405
+ # Timestamp of an operation
406
+ # @return [Time]
407
+ #
408
+ # @!attribute [rw] frequency
409
+ # Interval between Replication Runs. This value is specified in hours,
410
+ # and represents the time between consecutive Replication Runs.
411
+ # @return [Integer]
412
+ #
413
+ # @!attribute [rw] next_replication_run_start_time
414
+ # Timestamp of an operation
415
+ # @return [Time]
416
+ #
417
+ # @!attribute [rw] license_type
418
+ # The license type to be used for the Amazon Machine Image (AMI)
419
+ # created after a successful ReplicationRun.
420
+ # @return [String]
421
+ #
422
+ # @!attribute [rw] role_name
423
+ # Name of service role in customer's account to be used by SMS
424
+ # service.
425
+ # @return [String]
426
+ #
427
+ # @!attribute [rw] latest_ami_id
428
+ # The AMI id for the image resulting from a Replication Run.
429
+ # @return [String]
430
+ #
431
+ # @!attribute [rw] state
432
+ # Current state of Replication Job
433
+ # @return [String]
434
+ #
435
+ # @!attribute [rw] status_message
436
+ # String describing current status of Replication Job
437
+ # @return [String]
438
+ #
439
+ # @!attribute [rw] description
440
+ # The description for a Replication Job/Run.
441
+ # @return [String]
442
+ #
443
+ # @!attribute [rw] replication_run_list
444
+ # List of Replication Runs
445
+ # @return [Array<Types::ReplicationRun>]
446
+ #
447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationJob AWS API Documentation
448
+ #
449
+ class ReplicationJob < Struct.new(
450
+ :replication_job_id,
451
+ :server_id,
452
+ :server_type,
453
+ :vm_server,
454
+ :seed_replication_time,
455
+ :frequency,
456
+ :next_replication_run_start_time,
457
+ :license_type,
458
+ :role_name,
459
+ :latest_ami_id,
460
+ :state,
461
+ :status_message,
462
+ :description,
463
+ :replication_run_list)
464
+ include Aws::Structure
465
+ end
446
466
 
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
467
+ # Object representing a Replication Run
468
+ #
469
+ # @!attribute [rw] replication_run_id
470
+ # The unique identifier for a Replication Run.
471
+ # @return [String]
472
+ #
473
+ # @!attribute [rw] state
474
+ # Current state of Replication Run
475
+ # @return [String]
476
+ #
477
+ # @!attribute [rw] type
478
+ # Type of Replication Run
479
+ # @return [String]
480
+ #
481
+ # @!attribute [rw] status_message
482
+ # String describing current status of Replication Run
483
+ # @return [String]
484
+ #
485
+ # @!attribute [rw] ami_id
486
+ # The AMI id for the image resulting from a Replication Run.
487
+ # @return [String]
488
+ #
489
+ # @!attribute [rw] scheduled_start_time
490
+ # Timestamp of an operation
491
+ # @return [Time]
492
+ #
493
+ # @!attribute [rw] completed_time
494
+ # Timestamp of an operation
495
+ # @return [Time]
496
+ #
497
+ # @!attribute [rw] description
498
+ # The description for a Replication Job/Run.
499
+ # @return [String]
500
+ #
501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRun AWS API Documentation
502
+ #
503
+ class ReplicationRun < Struct.new(
504
+ :replication_run_id,
505
+ :state,
506
+ :type,
507
+ :status_message,
508
+ :ami_id,
509
+ :scheduled_start_time,
510
+ :completed_time,
511
+ :description)
512
+ include Aws::Structure
513
+ end
475
514
 
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
515
+ # Object representing a server
516
+ #
517
+ # @!attribute [rw] server_id
518
+ # Unique Identifier for a server
519
+ # @return [String]
520
+ #
521
+ # @!attribute [rw] server_type
522
+ # Type of server.
523
+ # @return [String]
524
+ #
525
+ # @!attribute [rw] vm_server
526
+ # Object representing a VM server
527
+ # @return [Types::VmServer]
528
+ #
529
+ # @!attribute [rw] replication_job_id
530
+ # The unique identifier for a Replication Job.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] replication_job_terminated
534
+ # An indicator of the Replication Job being deleted or failed.
535
+ # @return [Boolean]
536
+ #
537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Server AWS API Documentation
538
+ #
539
+ class Server < Struct.new(
540
+ :server_id,
541
+ :server_type,
542
+ :vm_server,
543
+ :replication_job_id,
544
+ :replication_job_terminated)
545
+ include Aws::Structure
546
+ end
495
547
 
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
548
+ # @note When making an API call, you may pass StartOnDemandReplicationRunRequest
549
+ # data as a hash:
550
+ #
551
+ # {
552
+ # replication_job_id: "ReplicationJobId", # required
553
+ # description: "Description",
554
+ # }
555
+ #
556
+ # @!attribute [rw] replication_job_id
557
+ # The unique identifier for a Replication Job.
558
+ # @return [String]
559
+ #
560
+ # @!attribute [rw] description
561
+ # The description for a Replication Job/Run.
562
+ # @return [String]
563
+ #
564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunRequest AWS API Documentation
565
+ #
566
+ class StartOnDemandReplicationRunRequest < Struct.new(
567
+ :replication_job_id,
568
+ :description)
569
+ include Aws::Structure
570
+ end
503
571
 
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
572
+ # @!attribute [rw] replication_run_id
573
+ # The unique identifier for a Replication Run.
574
+ # @return [String]
575
+ #
576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunResponse AWS API Documentation
577
+ #
578
+ class StartOnDemandReplicationRunResponse < Struct.new(
579
+ :replication_run_id)
580
+ include Aws::Structure
581
+ end
550
582
 
551
- class UpdateReplicationJobResponse < Aws::EmptyStructure; end
583
+ # @note When making an API call, you may pass UpdateReplicationJobRequest
584
+ # data as a hash:
585
+ #
586
+ # {
587
+ # replication_job_id: "ReplicationJobId", # required
588
+ # frequency: 1,
589
+ # next_replication_run_start_time: Time.now,
590
+ # license_type: "AWS", # accepts AWS, BYOL
591
+ # role_name: "RoleName",
592
+ # description: "Description",
593
+ # }
594
+ #
595
+ # @!attribute [rw] replication_job_id
596
+ # The unique identifier for a Replication Job.
597
+ # @return [String]
598
+ #
599
+ # @!attribute [rw] frequency
600
+ # Interval between Replication Runs. This value is specified in hours,
601
+ # and represents the time between consecutive Replication Runs.
602
+ # @return [Integer]
603
+ #
604
+ # @!attribute [rw] next_replication_run_start_time
605
+ # Timestamp of an operation
606
+ # @return [Time]
607
+ #
608
+ # @!attribute [rw] license_type
609
+ # The license type to be used for the Amazon Machine Image (AMI)
610
+ # created after a successful ReplicationRun.
611
+ # @return [String]
612
+ #
613
+ # @!attribute [rw] role_name
614
+ # Name of service role in customer's account to be used by SMS
615
+ # service.
616
+ # @return [String]
617
+ #
618
+ # @!attribute [rw] description
619
+ # The description for a Replication Job/Run.
620
+ # @return [String]
621
+ #
622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobRequest AWS API Documentation
623
+ #
624
+ class UpdateReplicationJobRequest < Struct.new(
625
+ :replication_job_id,
626
+ :frequency,
627
+ :next_replication_run_start_time,
628
+ :license_type,
629
+ :role_name,
630
+ :description)
631
+ include Aws::Structure
632
+ end
552
633
 
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
634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobResponse AWS API Documentation
635
+ #
636
+ class UpdateReplicationJobResponse < Aws::EmptyStructure; end
581
637
 
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
638
+ # Object representing a VM server
639
+ #
640
+ # @!attribute [rw] vm_server_address
641
+ # Object representing a server's location
642
+ # @return [Types::VmServerAddress]
643
+ #
644
+ # @!attribute [rw] vm_name
645
+ # Name of Virtual Machine
646
+ # @return [String]
647
+ #
648
+ # @!attribute [rw] vm_manager_name
649
+ # VM Manager Name
650
+ # @return [String]
651
+ #
652
+ # @!attribute [rw] vm_manager_type
653
+ # VM Management Product
654
+ # @return [String]
655
+ #
656
+ # @!attribute [rw] vm_path
657
+ # Path to VM
658
+ # @return [String]
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/VmServer AWS API Documentation
661
+ #
662
+ class VmServer < Struct.new(
663
+ :vm_server_address,
664
+ :vm_name,
665
+ :vm_manager_name,
666
+ :vm_manager_type,
667
+ :vm_path)
668
+ include Aws::Structure
669
+ end
595
670
 
671
+ # Object representing a server's location
672
+ #
673
+ # @!attribute [rw] vm_manager_id
674
+ # Unique Identifier for VM Manager
675
+ # @return [String]
676
+ #
677
+ # @!attribute [rw] vm_id
678
+ # Unique Identifier for a VM
679
+ # @return [String]
680
+ #
681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/VmServerAddress AWS API Documentation
682
+ #
683
+ class VmServerAddress < Struct.new(
684
+ :vm_manager_id,
685
+ :vm_id)
686
+ include Aws::Structure
596
687
  end
688
+
597
689
  end
598
690
  end