aws-sdk-sms 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,416 @@
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
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AmiId = Shapes::StringShape.new(name: 'AmiId')
16
+ Connector = Shapes::StructureShape.new(name: 'Connector')
17
+ ConnectorCapability = Shapes::StringShape.new(name: 'ConnectorCapability')
18
+ ConnectorCapabilityList = Shapes::ListShape.new(name: 'ConnectorCapabilityList')
19
+ ConnectorId = Shapes::StringShape.new(name: 'ConnectorId')
20
+ ConnectorList = Shapes::ListShape.new(name: 'ConnectorList')
21
+ ConnectorStatus = Shapes::StringShape.new(name: 'ConnectorStatus')
22
+ ConnectorVersion = Shapes::StringShape.new(name: 'ConnectorVersion')
23
+ CreateReplicationJobRequest = Shapes::StructureShape.new(name: 'CreateReplicationJobRequest')
24
+ CreateReplicationJobResponse = Shapes::StructureShape.new(name: 'CreateReplicationJobResponse')
25
+ DeleteReplicationJobRequest = Shapes::StructureShape.new(name: 'DeleteReplicationJobRequest')
26
+ DeleteReplicationJobResponse = Shapes::StructureShape.new(name: 'DeleteReplicationJobResponse')
27
+ DeleteServerCatalogRequest = Shapes::StructureShape.new(name: 'DeleteServerCatalogRequest')
28
+ DeleteServerCatalogResponse = Shapes::StructureShape.new(name: 'DeleteServerCatalogResponse')
29
+ Description = Shapes::StringShape.new(name: 'Description')
30
+ DisassociateConnectorRequest = Shapes::StructureShape.new(name: 'DisassociateConnectorRequest')
31
+ DisassociateConnectorResponse = Shapes::StructureShape.new(name: 'DisassociateConnectorResponse')
32
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
33
+ Frequency = Shapes::IntegerShape.new(name: 'Frequency')
34
+ GetConnectorsRequest = Shapes::StructureShape.new(name: 'GetConnectorsRequest')
35
+ GetConnectorsResponse = Shapes::StructureShape.new(name: 'GetConnectorsResponse')
36
+ GetReplicationJobsRequest = Shapes::StructureShape.new(name: 'GetReplicationJobsRequest')
37
+ GetReplicationJobsResponse = Shapes::StructureShape.new(name: 'GetReplicationJobsResponse')
38
+ GetReplicationRunsRequest = Shapes::StructureShape.new(name: 'GetReplicationRunsRequest')
39
+ GetReplicationRunsResponse = Shapes::StructureShape.new(name: 'GetReplicationRunsResponse')
40
+ GetServersRequest = Shapes::StructureShape.new(name: 'GetServersRequest')
41
+ GetServersResponse = Shapes::StructureShape.new(name: 'GetServersResponse')
42
+ ImportServerCatalogRequest = Shapes::StructureShape.new(name: 'ImportServerCatalogRequest')
43
+ ImportServerCatalogResponse = Shapes::StructureShape.new(name: 'ImportServerCatalogResponse')
44
+ InternalError = Shapes::StructureShape.new(name: 'InternalError')
45
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
46
+ IpAddress = Shapes::StringShape.new(name: 'IpAddress')
47
+ LicenseType = Shapes::StringShape.new(name: 'LicenseType')
48
+ MacAddress = Shapes::StringShape.new(name: 'MacAddress')
49
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
50
+ MissingRequiredParameterException = Shapes::StructureShape.new(name: 'MissingRequiredParameterException')
51
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
52
+ NoConnectorsAvailableException = Shapes::StructureShape.new(name: 'NoConnectorsAvailableException')
53
+ OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
54
+ ReplicationJob = Shapes::StructureShape.new(name: 'ReplicationJob')
55
+ ReplicationJobAlreadyExistsException = Shapes::StructureShape.new(name: 'ReplicationJobAlreadyExistsException')
56
+ ReplicationJobId = Shapes::StringShape.new(name: 'ReplicationJobId')
57
+ ReplicationJobList = Shapes::ListShape.new(name: 'ReplicationJobList')
58
+ ReplicationJobNotFoundException = Shapes::StructureShape.new(name: 'ReplicationJobNotFoundException')
59
+ ReplicationJobState = Shapes::StringShape.new(name: 'ReplicationJobState')
60
+ ReplicationJobStatusMessage = Shapes::StringShape.new(name: 'ReplicationJobStatusMessage')
61
+ ReplicationJobTerminated = Shapes::BooleanShape.new(name: 'ReplicationJobTerminated')
62
+ ReplicationRun = Shapes::StructureShape.new(name: 'ReplicationRun')
63
+ ReplicationRunId = Shapes::StringShape.new(name: 'ReplicationRunId')
64
+ ReplicationRunLimitExceededException = Shapes::StructureShape.new(name: 'ReplicationRunLimitExceededException')
65
+ ReplicationRunList = Shapes::ListShape.new(name: 'ReplicationRunList')
66
+ ReplicationRunState = Shapes::StringShape.new(name: 'ReplicationRunState')
67
+ ReplicationRunStatusMessage = Shapes::StringShape.new(name: 'ReplicationRunStatusMessage')
68
+ ReplicationRunType = Shapes::StringShape.new(name: 'ReplicationRunType')
69
+ RoleName = Shapes::StringShape.new(name: 'RoleName')
70
+ Server = Shapes::StructureShape.new(name: 'Server')
71
+ ServerCannotBeReplicatedException = Shapes::StructureShape.new(name: 'ServerCannotBeReplicatedException')
72
+ ServerCatalogStatus = Shapes::StringShape.new(name: 'ServerCatalogStatus')
73
+ ServerId = Shapes::StringShape.new(name: 'ServerId')
74
+ ServerList = Shapes::ListShape.new(name: 'ServerList')
75
+ ServerType = Shapes::StringShape.new(name: 'ServerType')
76
+ StartOnDemandReplicationRunRequest = Shapes::StructureShape.new(name: 'StartOnDemandReplicationRunRequest')
77
+ StartOnDemandReplicationRunResponse = Shapes::StructureShape.new(name: 'StartOnDemandReplicationRunResponse')
78
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
79
+ UnauthorizedOperationException = Shapes::StructureShape.new(name: 'UnauthorizedOperationException')
80
+ UpdateReplicationJobRequest = Shapes::StructureShape.new(name: 'UpdateReplicationJobRequest')
81
+ UpdateReplicationJobResponse = Shapes::StructureShape.new(name: 'UpdateReplicationJobResponse')
82
+ VmId = Shapes::StringShape.new(name: 'VmId')
83
+ VmManagerId = Shapes::StringShape.new(name: 'VmManagerId')
84
+ VmManagerName = Shapes::StringShape.new(name: 'VmManagerName')
85
+ VmManagerType = Shapes::StringShape.new(name: 'VmManagerType')
86
+ VmName = Shapes::StringShape.new(name: 'VmName')
87
+ VmPath = Shapes::StringShape.new(name: 'VmPath')
88
+ VmServer = Shapes::StructureShape.new(name: 'VmServer')
89
+ VmServerAddress = Shapes::StructureShape.new(name: 'VmServerAddress')
90
+
91
+ Connector.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, location_name: "connectorId"))
92
+ Connector.add_member(:version, Shapes::ShapeRef.new(shape: ConnectorVersion, location_name: "version"))
93
+ Connector.add_member(:status, Shapes::ShapeRef.new(shape: ConnectorStatus, location_name: "status"))
94
+ Connector.add_member(:capability_list, Shapes::ShapeRef.new(shape: ConnectorCapabilityList, location_name: "capabilityList"))
95
+ Connector.add_member(:vm_manager_name, Shapes::ShapeRef.new(shape: VmManagerName, location_name: "vmManagerName"))
96
+ Connector.add_member(:vm_manager_type, Shapes::ShapeRef.new(shape: VmManagerType, location_name: "vmManagerType"))
97
+ Connector.add_member(:vm_manager_id, Shapes::ShapeRef.new(shape: VmManagerId, location_name: "vmManagerId"))
98
+ Connector.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "ipAddress"))
99
+ Connector.add_member(:mac_address, Shapes::ShapeRef.new(shape: MacAddress, location_name: "macAddress"))
100
+ Connector.add_member(:associated_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associatedOn"))
101
+ Connector.struct_class = Types::Connector
102
+
103
+ ConnectorCapabilityList.member = Shapes::ShapeRef.new(shape: ConnectorCapability, location_name: "item")
104
+
105
+ ConnectorList.member = Shapes::ShapeRef.new(shape: Connector, location_name: "item")
106
+
107
+ CreateReplicationJobRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "serverId"))
108
+ CreateReplicationJobRequest.add_member(:seed_replication_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "seedReplicationTime"))
109
+ CreateReplicationJobRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, required: true, location_name: "frequency"))
110
+ CreateReplicationJobRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
111
+ CreateReplicationJobRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
112
+ CreateReplicationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
113
+ CreateReplicationJobRequest.struct_class = Types::CreateReplicationJobRequest
114
+
115
+ CreateReplicationJobResponse.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
116
+ CreateReplicationJobResponse.struct_class = Types::CreateReplicationJobResponse
117
+
118
+ DeleteReplicationJobRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
119
+ DeleteReplicationJobRequest.struct_class = Types::DeleteReplicationJobRequest
120
+
121
+ DeleteReplicationJobResponse.struct_class = Types::DeleteReplicationJobResponse
122
+
123
+ DeleteServerCatalogRequest.struct_class = Types::DeleteServerCatalogRequest
124
+
125
+ DeleteServerCatalogResponse.struct_class = Types::DeleteServerCatalogResponse
126
+
127
+ DisassociateConnectorRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "connectorId"))
128
+ DisassociateConnectorRequest.struct_class = Types::DisassociateConnectorRequest
129
+
130
+ DisassociateConnectorResponse.struct_class = Types::DisassociateConnectorResponse
131
+
132
+ GetConnectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
133
+ GetConnectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
134
+ GetConnectorsRequest.struct_class = Types::GetConnectorsRequest
135
+
136
+ GetConnectorsResponse.add_member(:connector_list, Shapes::ShapeRef.new(shape: ConnectorList, location_name: "connectorList"))
137
+ GetConnectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
138
+ GetConnectorsResponse.struct_class = Types::GetConnectorsResponse
139
+
140
+ GetReplicationJobsRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
141
+ GetReplicationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
142
+ GetReplicationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
143
+ GetReplicationJobsRequest.struct_class = Types::GetReplicationJobsRequest
144
+
145
+ GetReplicationJobsResponse.add_member(:replication_job_list, Shapes::ShapeRef.new(shape: ReplicationJobList, location_name: "replicationJobList"))
146
+ GetReplicationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
147
+ GetReplicationJobsResponse.struct_class = Types::GetReplicationJobsResponse
148
+
149
+ GetReplicationRunsRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
150
+ GetReplicationRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
151
+ GetReplicationRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
152
+ GetReplicationRunsRequest.struct_class = Types::GetReplicationRunsRequest
153
+
154
+ GetReplicationRunsResponse.add_member(:replication_job, Shapes::ShapeRef.new(shape: ReplicationJob, location_name: "replicationJob"))
155
+ GetReplicationRunsResponse.add_member(:replication_run_list, Shapes::ShapeRef.new(shape: ReplicationRunList, location_name: "replicationRunList"))
156
+ GetReplicationRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
157
+ GetReplicationRunsResponse.struct_class = Types::GetReplicationRunsResponse
158
+
159
+ GetServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
160
+ GetServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
161
+ GetServersRequest.struct_class = Types::GetServersRequest
162
+
163
+ GetServersResponse.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedOn"))
164
+ GetServersResponse.add_member(:server_catalog_status, Shapes::ShapeRef.new(shape: ServerCatalogStatus, location_name: "serverCatalogStatus"))
165
+ GetServersResponse.add_member(:server_list, Shapes::ShapeRef.new(shape: ServerList, location_name: "serverList"))
166
+ GetServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
167
+ GetServersResponse.struct_class = Types::GetServersResponse
168
+
169
+ ImportServerCatalogRequest.struct_class = Types::ImportServerCatalogRequest
170
+
171
+ ImportServerCatalogResponse.struct_class = Types::ImportServerCatalogResponse
172
+
173
+ ReplicationJob.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
174
+ ReplicationJob.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "serverId"))
175
+ ReplicationJob.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, location_name: "serverType"))
176
+ ReplicationJob.add_member(:vm_server, Shapes::ShapeRef.new(shape: VmServer, location_name: "vmServer"))
177
+ ReplicationJob.add_member(:seed_replication_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "seedReplicationTime"))
178
+ ReplicationJob.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "frequency"))
179
+ ReplicationJob.add_member(:next_replication_run_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "nextReplicationRunStartTime"))
180
+ ReplicationJob.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
181
+ ReplicationJob.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
182
+ ReplicationJob.add_member(:latest_ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "latestAmiId"))
183
+ ReplicationJob.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationJobState, location_name: "state"))
184
+ ReplicationJob.add_member(:status_message, Shapes::ShapeRef.new(shape: ReplicationJobStatusMessage, location_name: "statusMessage"))
185
+ ReplicationJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
186
+ ReplicationJob.add_member(:replication_run_list, Shapes::ShapeRef.new(shape: ReplicationRunList, location_name: "replicationRunList"))
187
+ ReplicationJob.struct_class = Types::ReplicationJob
188
+
189
+ ReplicationJobList.member = Shapes::ShapeRef.new(shape: ReplicationJob, location_name: "item")
190
+
191
+ ReplicationRun.add_member(:replication_run_id, Shapes::ShapeRef.new(shape: ReplicationRunId, location_name: "replicationRunId"))
192
+ ReplicationRun.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationRunState, location_name: "state"))
193
+ ReplicationRun.add_member(:type, Shapes::ShapeRef.new(shape: ReplicationRunType, location_name: "type"))
194
+ ReplicationRun.add_member(:status_message, Shapes::ShapeRef.new(shape: ReplicationRunStatusMessage, location_name: "statusMessage"))
195
+ ReplicationRun.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
196
+ ReplicationRun.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduledStartTime"))
197
+ ReplicationRun.add_member(:completed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedTime"))
198
+ ReplicationRun.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
199
+ ReplicationRun.struct_class = Types::ReplicationRun
200
+
201
+ ReplicationRunList.member = Shapes::ShapeRef.new(shape: ReplicationRun, location_name: "item")
202
+
203
+ Server.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "serverId"))
204
+ Server.add_member(:server_type, Shapes::ShapeRef.new(shape: ServerType, location_name: "serverType"))
205
+ Server.add_member(:vm_server, Shapes::ShapeRef.new(shape: VmServer, location_name: "vmServer"))
206
+ Server.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, location_name: "replicationJobId"))
207
+ Server.add_member(:replication_job_terminated, Shapes::ShapeRef.new(shape: ReplicationJobTerminated, location_name: "replicationJobTerminated"))
208
+ Server.struct_class = Types::Server
209
+
210
+ ServerList.member = Shapes::ShapeRef.new(shape: Server, location_name: "item")
211
+
212
+ StartOnDemandReplicationRunRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
213
+ StartOnDemandReplicationRunRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
214
+ StartOnDemandReplicationRunRequest.struct_class = Types::StartOnDemandReplicationRunRequest
215
+
216
+ StartOnDemandReplicationRunResponse.add_member(:replication_run_id, Shapes::ShapeRef.new(shape: ReplicationRunId, location_name: "replicationRunId"))
217
+ StartOnDemandReplicationRunResponse.struct_class = Types::StartOnDemandReplicationRunResponse
218
+
219
+ UpdateReplicationJobRequest.add_member(:replication_job_id, Shapes::ShapeRef.new(shape: ReplicationJobId, required: true, location_name: "replicationJobId"))
220
+ UpdateReplicationJobRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "frequency"))
221
+ UpdateReplicationJobRequest.add_member(:next_replication_run_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "nextReplicationRunStartTime"))
222
+ UpdateReplicationJobRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
223
+ UpdateReplicationJobRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: RoleName, location_name: "roleName"))
224
+ UpdateReplicationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
225
+ UpdateReplicationJobRequest.struct_class = Types::UpdateReplicationJobRequest
226
+
227
+ UpdateReplicationJobResponse.struct_class = Types::UpdateReplicationJobResponse
228
+
229
+ VmServer.add_member(:vm_server_address, Shapes::ShapeRef.new(shape: VmServerAddress, location_name: "vmServerAddress"))
230
+ VmServer.add_member(:vm_name, Shapes::ShapeRef.new(shape: VmName, location_name: "vmName"))
231
+ VmServer.add_member(:vm_manager_name, Shapes::ShapeRef.new(shape: VmManagerName, location_name: "vmManagerName"))
232
+ VmServer.add_member(:vm_manager_type, Shapes::ShapeRef.new(shape: VmManagerType, location_name: "vmManagerType"))
233
+ VmServer.add_member(:vm_path, Shapes::ShapeRef.new(shape: VmPath, location_name: "vmPath"))
234
+ VmServer.struct_class = Types::VmServer
235
+
236
+ VmServerAddress.add_member(:vm_manager_id, Shapes::ShapeRef.new(shape: VmManagerId, location_name: "vmManagerId"))
237
+ VmServerAddress.add_member(:vm_id, Shapes::ShapeRef.new(shape: VmId, location_name: "vmId"))
238
+ VmServerAddress.struct_class = Types::VmServerAddress
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
413
+
414
+ end
415
+ end
416
+ end
@@ -0,0 +1,7 @@
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
+
@@ -0,0 +1,23 @@
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 Errors
11
+
12
+ extend Aws::Errors::DynamicErrors
13
+
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
+ end
23
+ end
@@ -0,0 +1,25 @@
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
+ class Resource
11
+
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
22
+
23
+ end
24
+ end
25
+ end