aws-sdk-mgn 1.6.0 → 1.7.0

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.
@@ -41,6 +41,7 @@ module Aws::Mgn
41
41
  DeleteReplicationConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'DeleteReplicationConfigurationTemplateResponse')
42
42
  DeleteSourceServerRequest = Shapes::StructureShape.new(name: 'DeleteSourceServerRequest')
43
43
  DeleteSourceServerResponse = Shapes::StructureShape.new(name: 'DeleteSourceServerResponse')
44
+ DeleteVcenterClientRequest = Shapes::StructureShape.new(name: 'DeleteVcenterClientRequest')
44
45
  DescribeJobLogItemsRequest = Shapes::StructureShape.new(name: 'DescribeJobLogItemsRequest')
45
46
  DescribeJobLogItemsResponse = Shapes::StructureShape.new(name: 'DescribeJobLogItemsResponse')
46
47
  DescribeJobsRequest = Shapes::StructureShape.new(name: 'DescribeJobsRequest')
@@ -53,6 +54,8 @@ module Aws::Mgn
53
54
  DescribeSourceServersRequestFilters = Shapes::StructureShape.new(name: 'DescribeSourceServersRequestFilters')
54
55
  DescribeSourceServersRequestFiltersIDs = Shapes::ListShape.new(name: 'DescribeSourceServersRequestFiltersIDs')
55
56
  DescribeSourceServersResponse = Shapes::StructureShape.new(name: 'DescribeSourceServersResponse')
57
+ DescribeVcenterClientsRequest = Shapes::StructureShape.new(name: 'DescribeVcenterClientsRequest')
58
+ DescribeVcenterClientsResponse = Shapes::StructureShape.new(name: 'DescribeVcenterClientsResponse')
56
59
  DisconnectFromServiceRequest = Shapes::StructureShape.new(name: 'DisconnectFromServiceRequest')
57
60
  Disk = Shapes::StructureShape.new(name: 'Disk')
58
61
  Disks = Shapes::ListShape.new(name: 'Disks')
@@ -94,6 +97,7 @@ module Aws::Mgn
94
97
  LifeCycleLastTestInitiated = Shapes::StructureShape.new(name: 'LifeCycleLastTestInitiated')
95
98
  LifeCycleLastTestReverted = Shapes::StructureShape.new(name: 'LifeCycleLastTestReverted')
96
99
  LifeCycleState = Shapes::StringShape.new(name: 'LifeCycleState')
100
+ LifeCycleStates = Shapes::ListShape.new(name: 'LifeCycleStates')
97
101
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
98
102
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
99
103
  MarkAsArchivedRequest = Shapes::StructureShape.new(name: 'MarkAsArchivedRequest')
@@ -116,9 +120,12 @@ module Aws::Mgn
116
120
  ReplicationConfigurationTemplateIDs = Shapes::ListShape.new(name: 'ReplicationConfigurationTemplateIDs')
117
121
  ReplicationConfigurationTemplates = Shapes::ListShape.new(name: 'ReplicationConfigurationTemplates')
118
122
  ReplicationServersSecurityGroupsIDs = Shapes::ListShape.new(name: 'ReplicationServersSecurityGroupsIDs')
123
+ ReplicationType = Shapes::StringShape.new(name: 'ReplicationType')
124
+ ReplicationTypes = Shapes::ListShape.new(name: 'ReplicationTypes')
119
125
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
120
126
  RetryDataReplicationRequest = Shapes::StructureShape.new(name: 'RetryDataReplicationRequest')
121
127
  SecurityGroupID = Shapes::StringShape.new(name: 'SecurityGroupID')
128
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
122
129
  SmallBoundedString = Shapes::StringShape.new(name: 'SmallBoundedString')
123
130
  SourceProperties = Shapes::StructureShape.new(name: 'SourceProperties')
124
131
  SourceServer = Shapes::StructureShape.new(name: 'SourceServer')
@@ -127,6 +134,7 @@ module Aws::Mgn
127
134
  StartCutoverRequest = Shapes::StructureShape.new(name: 'StartCutoverRequest')
128
135
  StartCutoverRequestSourceServerIDs = Shapes::ListShape.new(name: 'StartCutoverRequestSourceServerIDs')
129
136
  StartCutoverResponse = Shapes::StructureShape.new(name: 'StartCutoverResponse')
137
+ StartReplicationRequest = Shapes::StructureShape.new(name: 'StartReplicationRequest')
130
138
  StartTestRequest = Shapes::StructureShape.new(name: 'StartTestRequest')
131
139
  StartTestRequestSourceServerIDs = Shapes::ListShape.new(name: 'StartTestRequestSourceServerIDs')
132
140
  StartTestResponse = Shapes::StructureShape.new(name: 'StartTestResponse')
@@ -147,10 +155,14 @@ module Aws::Mgn
147
155
  UpdateLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationRequest')
148
156
  UpdateReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationRequest')
149
157
  UpdateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationTemplateRequest')
158
+ UpdateSourceServerReplicationTypeRequest = Shapes::StructureShape.new(name: 'UpdateSourceServerReplicationTypeRequest')
150
159
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
151
160
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
152
161
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
153
162
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
163
+ VcenterClient = Shapes::StructureShape.new(name: 'VcenterClient')
164
+ VcenterClientID = Shapes::StringShape.new(name: 'VcenterClientID')
165
+ VcenterClientList = Shapes::ListShape.new(name: 'VcenterClientList')
154
166
 
155
167
  AccessDeniedException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
156
168
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
@@ -199,6 +211,7 @@ module Aws::Mgn
199
211
  DataReplicationInfo.add_member(:data_replication_state, Shapes::ShapeRef.new(shape: DataReplicationState, location_name: "dataReplicationState"))
200
212
  DataReplicationInfo.add_member(:eta_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "etaDateTime"))
201
213
  DataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lagDuration"))
214
+ DataReplicationInfo.add_member(:last_snapshot_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lastSnapshotDateTime"))
202
215
  DataReplicationInfo.add_member(:replicated_disks, Shapes::ShapeRef.new(shape: DataReplicationInfoReplicatedDisks, location_name: "replicatedDisks"))
203
216
  DataReplicationInfo.struct_class = Types::DataReplicationInfo
204
217
 
@@ -237,6 +250,9 @@ module Aws::Mgn
237
250
 
238
251
  DeleteSourceServerResponse.struct_class = Types::DeleteSourceServerResponse
239
252
 
253
+ DeleteVcenterClientRequest.add_member(:vcenter_client_id, Shapes::ShapeRef.new(shape: VcenterClientID, required: true, location_name: "vcenterClientID"))
254
+ DeleteVcenterClientRequest.struct_class = Types::DeleteVcenterClientRequest
255
+
240
256
  DescribeJobLogItemsRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobID, required: true, location_name: "jobID"))
241
257
  DescribeJobLogItemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "maxResults"))
242
258
  DescribeJobLogItemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -277,6 +293,8 @@ module Aws::Mgn
277
293
  DescribeSourceServersRequest.struct_class = Types::DescribeSourceServersRequest
278
294
 
279
295
  DescribeSourceServersRequestFilters.add_member(:is_archived, Shapes::ShapeRef.new(shape: Boolean, location_name: "isArchived"))
296
+ DescribeSourceServersRequestFilters.add_member(:life_cycle_states, Shapes::ShapeRef.new(shape: LifeCycleStates, location_name: "lifeCycleStates"))
297
+ DescribeSourceServersRequestFilters.add_member(:replication_types, Shapes::ShapeRef.new(shape: ReplicationTypes, location_name: "replicationTypes"))
280
298
  DescribeSourceServersRequestFilters.add_member(:source_server_i_ds, Shapes::ShapeRef.new(shape: DescribeSourceServersRequestFiltersIDs, location_name: "sourceServerIDs"))
281
299
  DescribeSourceServersRequestFilters.struct_class = Types::DescribeSourceServersRequestFilters
282
300
 
@@ -286,6 +304,14 @@ module Aws::Mgn
286
304
  DescribeSourceServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
287
305
  DescribeSourceServersResponse.struct_class = Types::DescribeSourceServersResponse
288
306
 
307
+ DescribeVcenterClientsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location: "querystring", location_name: "maxResults"))
308
+ DescribeVcenterClientsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
309
+ DescribeVcenterClientsRequest.struct_class = Types::DescribeVcenterClientsRequest
310
+
311
+ DescribeVcenterClientsResponse.add_member(:items, Shapes::ShapeRef.new(shape: VcenterClientList, location_name: "items"))
312
+ DescribeVcenterClientsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
313
+ DescribeVcenterClientsResponse.struct_class = Types::DescribeVcenterClientsResponse
314
+
289
315
  DisconnectFromServiceRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
290
316
  DisconnectFromServiceRequest.struct_class = Types::DisconnectFromServiceRequest
291
317
 
@@ -309,6 +335,7 @@ module Aws::Mgn
309
335
  IdentificationHints.add_member(:aws_instance_id, Shapes::ShapeRef.new(shape: EC2InstanceID, location_name: "awsInstanceID"))
310
336
  IdentificationHints.add_member(:fqdn, Shapes::ShapeRef.new(shape: BoundedString, location_name: "fqdn"))
311
337
  IdentificationHints.add_member(:hostname, Shapes::ShapeRef.new(shape: BoundedString, location_name: "hostname"))
338
+ IdentificationHints.add_member(:vm_path, Shapes::ShapeRef.new(shape: BoundedString, location_name: "vmPath"))
312
339
  IdentificationHints.add_member(:vm_ware_uuid, Shapes::ShapeRef.new(shape: BoundedString, location_name: "vmWareUuid"))
313
340
  IdentificationHints.struct_class = Types::IdentificationHints
314
341
 
@@ -403,6 +430,8 @@ module Aws::Mgn
403
430
  LifeCycleLastTestReverted.add_member(:api_call_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "apiCallDateTime"))
404
431
  LifeCycleLastTestReverted.struct_class = Types::LifeCycleLastTestReverted
405
432
 
433
+ LifeCycleStates.member = Shapes::ShapeRef.new(shape: LifeCycleState)
434
+
406
435
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
407
436
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
408
437
 
@@ -476,6 +505,8 @@ module Aws::Mgn
476
505
 
477
506
  ReplicationServersSecurityGroupsIDs.member = Shapes::ShapeRef.new(shape: SecurityGroupID)
478
507
 
508
+ ReplicationTypes.member = Shapes::ShapeRef.new(shape: ReplicationType)
509
+
479
510
  ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
480
511
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
481
512
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceId"))
@@ -485,6 +516,14 @@ module Aws::Mgn
485
516
  RetryDataReplicationRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
486
517
  RetryDataReplicationRequest.struct_class = Types::RetryDataReplicationRequest
487
518
 
519
+ ServiceQuotaExceededException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
520
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
521
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "quotaCode"))
522
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceId"))
523
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
524
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "serviceCode"))
525
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
526
+
488
527
  SourceProperties.add_member(:cpus, Shapes::ShapeRef.new(shape: Cpus, location_name: "cpus"))
489
528
  SourceProperties.add_member(:disks, Shapes::ShapeRef.new(shape: Disks, location_name: "disks"))
490
529
  SourceProperties.add_member(:identification_hints, Shapes::ShapeRef.new(shape: IdentificationHints, location_name: "identificationHints"))
@@ -500,9 +539,11 @@ module Aws::Mgn
500
539
  SourceServer.add_member(:is_archived, Shapes::ShapeRef.new(shape: Boolean, location_name: "isArchived"))
501
540
  SourceServer.add_member(:launched_instance, Shapes::ShapeRef.new(shape: LaunchedInstance, location_name: "launchedInstance"))
502
541
  SourceServer.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "lifeCycle"))
542
+ SourceServer.add_member(:replication_type, Shapes::ShapeRef.new(shape: ReplicationType, location_name: "replicationType"))
503
543
  SourceServer.add_member(:source_properties, Shapes::ShapeRef.new(shape: SourceProperties, location_name: "sourceProperties"))
504
544
  SourceServer.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, location_name: "sourceServerID"))
505
545
  SourceServer.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
546
+ SourceServer.add_member(:vcenter_client_id, Shapes::ShapeRef.new(shape: VcenterClientID, location_name: "vcenterClientID"))
506
547
  SourceServer.struct_class = Types::SourceServer
507
548
 
508
549
  SourceServersList.member = Shapes::ShapeRef.new(shape: SourceServer)
@@ -516,6 +557,9 @@ module Aws::Mgn
516
557
  StartCutoverResponse.add_member(:job, Shapes::ShapeRef.new(shape: Job, location_name: "job"))
517
558
  StartCutoverResponse.struct_class = Types::StartCutoverResponse
518
559
 
560
+ StartReplicationRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
561
+ StartReplicationRequest.struct_class = Types::StartReplicationRequest
562
+
519
563
  StartTestRequest.add_member(:source_server_i_ds, Shapes::ShapeRef.new(shape: StartTestRequestSourceServerIDs, required: true, location_name: "sourceServerIDs"))
520
564
  StartTestRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
521
565
  StartTestRequest.struct_class = Types::StartTestRequest
@@ -599,6 +643,10 @@ module Aws::Mgn
599
643
  UpdateReplicationConfigurationTemplateRequest.add_member(:use_dedicated_replication_server, Shapes::ShapeRef.new(shape: Boolean, location_name: "useDedicatedReplicationServer"))
600
644
  UpdateReplicationConfigurationTemplateRequest.struct_class = Types::UpdateReplicationConfigurationTemplateRequest
601
645
 
646
+ UpdateSourceServerReplicationTypeRequest.add_member(:replication_type, Shapes::ShapeRef.new(shape: ReplicationType, required: true, location_name: "replicationType"))
647
+ UpdateSourceServerReplicationTypeRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
648
+ UpdateSourceServerReplicationTypeRequest.struct_class = Types::UpdateSourceServerReplicationTypeRequest
649
+
602
650
  ValidationException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
603
651
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
604
652
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
@@ -611,6 +659,18 @@ module Aws::Mgn
611
659
 
612
660
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
613
661
 
662
+ VcenterClient.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
663
+ VcenterClient.add_member(:datacenter_name, Shapes::ShapeRef.new(shape: BoundedString, location_name: "datacenterName"))
664
+ VcenterClient.add_member(:hostname, Shapes::ShapeRef.new(shape: BoundedString, location_name: "hostname"))
665
+ VcenterClient.add_member(:last_seen_datetime, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lastSeenDatetime"))
666
+ VcenterClient.add_member(:source_server_tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "sourceServerTags"))
667
+ VcenterClient.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
668
+ VcenterClient.add_member(:vcenter_client_id, Shapes::ShapeRef.new(shape: VcenterClientID, location_name: "vcenterClientID"))
669
+ VcenterClient.add_member(:vcenter_uuid, Shapes::ShapeRef.new(shape: BoundedString, location_name: "vcenterUUID"))
670
+ VcenterClient.struct_class = Types::VcenterClient
671
+
672
+ VcenterClientList.member = Shapes::ShapeRef.new(shape: VcenterClient)
673
+
614
674
 
615
675
  # @api private
616
676
  API = Seahorse::Model::Api.new.tap do |api|
@@ -686,6 +746,17 @@ module Aws::Mgn
686
746
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
687
747
  end)
688
748
 
749
+ api.add_operation(:delete_vcenter_client, Seahorse::Model::Operation.new.tap do |o|
750
+ o.name = "DeleteVcenterClient"
751
+ o.http_method = "POST"
752
+ o.http_request_uri = "/DeleteVcenterClient"
753
+ o.input = Shapes::ShapeRef.new(shape: DeleteVcenterClientRequest)
754
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
755
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
756
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
757
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
758
+ end)
759
+
689
760
  api.add_operation(:describe_job_log_items, Seahorse::Model::Operation.new.tap do |o|
690
761
  o.name = "DescribeJobLogItems"
691
762
  o.http_method = "POST"
@@ -751,6 +822,23 @@ module Aws::Mgn
751
822
  )
752
823
  end)
753
824
 
825
+ api.add_operation(:describe_vcenter_clients, Seahorse::Model::Operation.new.tap do |o|
826
+ o.name = "DescribeVcenterClients"
827
+ o.http_method = "GET"
828
+ o.http_request_uri = "/DescribeVcenterClients"
829
+ o.input = Shapes::ShapeRef.new(shape: DescribeVcenterClientsRequest)
830
+ o.output = Shapes::ShapeRef.new(shape: DescribeVcenterClientsResponse)
831
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
833
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
834
+ o[:pager] = Aws::Pager.new(
835
+ limit_key: "max_results",
836
+ tokens: {
837
+ "next_token" => "next_token"
838
+ }
839
+ )
840
+ end)
841
+
754
842
  api.add_operation(:disconnect_from_service, Seahorse::Model::Operation.new.tap do |o|
755
843
  o.name = "DisconnectFromService"
756
844
  o.http_method = "POST"
@@ -850,6 +938,19 @@ module Aws::Mgn
850
938
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
851
939
  end)
852
940
 
941
+ api.add_operation(:start_replication, Seahorse::Model::Operation.new.tap do |o|
942
+ o.name = "StartReplication"
943
+ o.http_method = "POST"
944
+ o.http_request_uri = "/StartReplication"
945
+ o.input = Shapes::ShapeRef.new(shape: StartReplicationRequest)
946
+ o.output = Shapes::ShapeRef.new(shape: SourceServer)
947
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
949
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
951
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
952
+ end)
953
+
853
954
  api.add_operation(:start_test, Seahorse::Model::Operation.new.tap do |o|
854
955
  o.name = "StartTest"
855
956
  o.http_method = "POST"
@@ -934,6 +1035,18 @@ module Aws::Mgn
934
1035
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
935
1036
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
936
1037
  end)
1038
+
1039
+ api.add_operation(:update_source_server_replication_type, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "UpdateSourceServerReplicationType"
1041
+ o.http_method = "POST"
1042
+ o.http_request_uri = "/UpdateSourceServerReplicationType"
1043
+ o.input = Shapes::ShapeRef.new(shape: UpdateSourceServerReplicationTypeRequest)
1044
+ o.output = Shapes::ShapeRef.new(shape: SourceServer)
1045
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1049
+ end)
937
1050
  end
938
1051
 
939
1052
  end
@@ -31,6 +31,7 @@ module Aws::Mgn
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
33
  # * {ResourceNotFoundException}
34
+ # * {ServiceQuotaExceededException}
34
35
  # * {ThrottlingException}
35
36
  # * {UninitializedAccountException}
36
37
  # * {ValidationException}
@@ -141,6 +142,46 @@ module Aws::Mgn
141
142
  end
142
143
  end
143
144
 
145
+ class ServiceQuotaExceededException < ServiceError
146
+
147
+ # @param [Seahorse::Client::RequestContext] context
148
+ # @param [String] message
149
+ # @param [Aws::Mgn::Types::ServiceQuotaExceededException] data
150
+ def initialize(context, message, data = Aws::EmptyStructure.new)
151
+ super(context, message, data)
152
+ end
153
+
154
+ # @return [String]
155
+ def code
156
+ @code || @data[:code]
157
+ end
158
+
159
+ # @return [String]
160
+ def message
161
+ @message || @data[:message]
162
+ end
163
+
164
+ # @return [String]
165
+ def quota_code
166
+ @data[:quota_code]
167
+ end
168
+
169
+ # @return [String]
170
+ def resource_id
171
+ @data[:resource_id]
172
+ end
173
+
174
+ # @return [String]
175
+ def resource_type
176
+ @data[:resource_type]
177
+ end
178
+
179
+ # @return [String]
180
+ def service_code
181
+ @data[:service_code]
182
+ end
183
+ end
184
+
144
185
  class ThrottlingException < ServiceError
145
186
 
146
187
  # @param [Seahorse::Client::RequestContext] context
@@ -272,6 +272,10 @@ module Aws::Mgn
272
272
  # Request to query data replication lag durating.
273
273
  # @return [String]
274
274
  #
275
+ # @!attribute [rw] last_snapshot_date_time
276
+ # Request to query data replication last snapshot time.
277
+ # @return [String]
278
+ #
275
279
  # @!attribute [rw] replicated_disks
276
280
  # Request to query disks replicated.
277
281
  # @return [Array<Types::DataReplicationInfoReplicatedDisk>]
@@ -284,6 +288,7 @@ module Aws::Mgn
284
288
  :data_replication_state,
285
289
  :eta_date_time,
286
290
  :lag_duration,
291
+ :last_snapshot_date_time,
287
292
  :replicated_disks)
288
293
  SENSITIVE = []
289
294
  include Aws::Structure
@@ -436,6 +441,25 @@ module Aws::Mgn
436
441
  #
437
442
  class DeleteSourceServerResponse < Aws::EmptyStructure; end
438
443
 
444
+ # @note When making an API call, you may pass DeleteVcenterClientRequest
445
+ # data as a hash:
446
+ #
447
+ # {
448
+ # vcenter_client_id: "VcenterClientID", # required
449
+ # }
450
+ #
451
+ # @!attribute [rw] vcenter_client_id
452
+ # ID of resource to be deleted.
453
+ # @return [String]
454
+ #
455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteVcenterClientRequest AWS API Documentation
456
+ #
457
+ class DeleteVcenterClientRequest < Struct.new(
458
+ :vcenter_client_id)
459
+ SENSITIVE = []
460
+ include Aws::Structure
461
+ end
462
+
439
463
  # @note When making an API call, you may pass DescribeJobLogItemsRequest
440
464
  # data as a hash:
441
465
  #
@@ -627,6 +651,8 @@ module Aws::Mgn
627
651
  # {
628
652
  # filters: { # required
629
653
  # is_archived: false,
654
+ # life_cycle_states: ["STOPPED"], # accepts STOPPED, NOT_READY, READY_FOR_TEST, TESTING, READY_FOR_CUTOVER, CUTTING_OVER, CUTOVER, DISCONNECTED, DISCOVERED
655
+ # replication_types: ["AGENT_BASED"], # accepts AGENT_BASED, SNAPSHOT_SHIPPING
630
656
  # source_server_i_ds: ["SourceServerID"],
631
657
  # },
632
658
  # max_results: 1,
@@ -662,6 +688,8 @@ module Aws::Mgn
662
688
  #
663
689
  # {
664
690
  # is_archived: false,
691
+ # life_cycle_states: ["STOPPED"], # accepts STOPPED, NOT_READY, READY_FOR_TEST, TESTING, READY_FOR_CUTOVER, CUTTING_OVER, CUTOVER, DISCONNECTED, DISCOVERED
692
+ # replication_types: ["AGENT_BASED"], # accepts AGENT_BASED, SNAPSHOT_SHIPPING
665
693
  # source_server_i_ds: ["SourceServerID"],
666
694
  # }
667
695
  #
@@ -669,6 +697,14 @@ module Aws::Mgn
669
697
  # Request to filter Source Servers list by archived.
670
698
  # @return [Boolean]
671
699
  #
700
+ # @!attribute [rw] life_cycle_states
701
+ # Request to filter Source Servers list by life cycle states.
702
+ # @return [Array<String>]
703
+ #
704
+ # @!attribute [rw] replication_types
705
+ # Request to filter Source Servers list by replication type.
706
+ # @return [Array<String>]
707
+ #
672
708
  # @!attribute [rw] source_server_i_ds
673
709
  # Request to filter Source Servers list by Source Server ID.
674
710
  # @return [Array<String>]
@@ -677,6 +713,8 @@ module Aws::Mgn
677
713
  #
678
714
  class DescribeSourceServersRequestFilters < Struct.new(
679
715
  :is_archived,
716
+ :life_cycle_states,
717
+ :replication_types,
680
718
  :source_server_i_ds)
681
719
  SENSITIVE = []
682
720
  include Aws::Structure
@@ -699,6 +737,48 @@ module Aws::Mgn
699
737
  include Aws::Structure
700
738
  end
701
739
 
740
+ # @note When making an API call, you may pass DescribeVcenterClientsRequest
741
+ # data as a hash:
742
+ #
743
+ # {
744
+ # max_results: 1,
745
+ # next_token: "PaginationToken",
746
+ # }
747
+ #
748
+ # @!attribute [rw] max_results
749
+ # Maximum results to be returned in DescribeVcenterClients.
750
+ # @return [Integer]
751
+ #
752
+ # @!attribute [rw] next_token
753
+ # Next pagination token to be provided for DescribeVcenterClients.
754
+ # @return [String]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeVcenterClientsRequest AWS API Documentation
757
+ #
758
+ class DescribeVcenterClientsRequest < Struct.new(
759
+ :max_results,
760
+ :next_token)
761
+ SENSITIVE = []
762
+ include Aws::Structure
763
+ end
764
+
765
+ # @!attribute [rw] items
766
+ # List of items returned by DescribeVcenterClients.
767
+ # @return [Array<Types::VcenterClient>]
768
+ #
769
+ # @!attribute [rw] next_token
770
+ # Next pagination token returned from DescribeVcenterClients.
771
+ # @return [String]
772
+ #
773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeVcenterClientsResponse AWS API Documentation
774
+ #
775
+ class DescribeVcenterClientsResponse < Struct.new(
776
+ :items,
777
+ :next_token)
778
+ SENSITIVE = []
779
+ include Aws::Structure
780
+ end
781
+
702
782
  # @note When making an API call, you may pass DisconnectFromServiceRequest
703
783
  # data as a hash:
704
784
  #
@@ -808,6 +888,10 @@ module Aws::Mgn
808
888
  # Hostname identification hint.
809
889
  # @return [String]
810
890
  #
891
+ # @!attribute [rw] vm_path
892
+ # vCenter VM path identification hint.
893
+ # @return [String]
894
+ #
811
895
  # @!attribute [rw] vm_ware_uuid
812
896
  # vmWare UUID identification hint.
813
897
  # @return [String]
@@ -818,6 +902,7 @@ module Aws::Mgn
818
902
  :aws_instance_id,
819
903
  :fqdn,
820
904
  :hostname,
905
+ :vm_path,
821
906
  :vm_ware_uuid)
822
907
  SENSITIVE = []
823
908
  include Aws::Structure
@@ -1598,6 +1683,44 @@ module Aws::Mgn
1598
1683
  include Aws::Structure
1599
1684
  end
1600
1685
 
1686
+ # The request could not be completed because its exceeded the service
1687
+ # quota.
1688
+ #
1689
+ # @!attribute [rw] code
1690
+ # @return [String]
1691
+ #
1692
+ # @!attribute [rw] message
1693
+ # @return [String]
1694
+ #
1695
+ # @!attribute [rw] quota_code
1696
+ # Exceeded the service quota code.
1697
+ # @return [String]
1698
+ #
1699
+ # @!attribute [rw] resource_id
1700
+ # Exceeded the service quota resource Id.
1701
+ # @return [String]
1702
+ #
1703
+ # @!attribute [rw] resource_type
1704
+ # Exceeded the service quota resource type.
1705
+ # @return [String]
1706
+ #
1707
+ # @!attribute [rw] service_code
1708
+ # Exceeded the service quota service code.
1709
+ # @return [String]
1710
+ #
1711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ServiceQuotaExceededException AWS API Documentation
1712
+ #
1713
+ class ServiceQuotaExceededException < Struct.new(
1714
+ :code,
1715
+ :message,
1716
+ :quota_code,
1717
+ :resource_id,
1718
+ :resource_type,
1719
+ :service_code)
1720
+ SENSITIVE = []
1721
+ include Aws::Structure
1722
+ end
1723
+
1601
1724
  # Source server properties.
1602
1725
  #
1603
1726
  # @!attribute [rw] cpus
@@ -1667,6 +1790,10 @@ module Aws::Mgn
1667
1790
  # Source server lifecycle state.
1668
1791
  # @return [Types::LifeCycle]
1669
1792
  #
1793
+ # @!attribute [rw] replication_type
1794
+ # Source server replication type.
1795
+ # @return [String]
1796
+ #
1670
1797
  # @!attribute [rw] source_properties
1671
1798
  # Source server properties.
1672
1799
  # @return [Types::SourceProperties]
@@ -1679,6 +1806,10 @@ module Aws::Mgn
1679
1806
  # Source server Tags.
1680
1807
  # @return [Hash<String,String>]
1681
1808
  #
1809
+ # @!attribute [rw] vcenter_client_id
1810
+ # Source server vCenter client id.
1811
+ # @return [String]
1812
+ #
1682
1813
  # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/SourceServer AWS API Documentation
1683
1814
  #
1684
1815
  class SourceServer < Struct.new(
@@ -1687,9 +1818,11 @@ module Aws::Mgn
1687
1818
  :is_archived,
1688
1819
  :launched_instance,
1689
1820
  :life_cycle,
1821
+ :replication_type,
1690
1822
  :source_properties,
1691
1823
  :source_server_id,
1692
- :tags)
1824
+ :tags,
1825
+ :vcenter_client_id)
1693
1826
  SENSITIVE = [:tags]
1694
1827
  include Aws::Structure
1695
1828
  end
@@ -1733,6 +1866,25 @@ module Aws::Mgn
1733
1866
  include Aws::Structure
1734
1867
  end
1735
1868
 
1869
+ # @note When making an API call, you may pass StartReplicationRequest
1870
+ # data as a hash:
1871
+ #
1872
+ # {
1873
+ # source_server_id: "SourceServerID", # required
1874
+ # }
1875
+ #
1876
+ # @!attribute [rw] source_server_id
1877
+ # ID of source server on which to start replication.
1878
+ # @return [String]
1879
+ #
1880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplicationRequest AWS API Documentation
1881
+ #
1882
+ class StartReplicationRequest < Struct.new(
1883
+ :source_server_id)
1884
+ SENSITIVE = []
1885
+ include Aws::Structure
1886
+ end
1887
+
1736
1888
  # @note When making an API call, you may pass StartTestRequest
1737
1889
  # data as a hash:
1738
1890
  #
@@ -2190,6 +2342,31 @@ module Aws::Mgn
2190
2342
  include Aws::Structure
2191
2343
  end
2192
2344
 
2345
+ # @note When making an API call, you may pass UpdateSourceServerReplicationTypeRequest
2346
+ # data as a hash:
2347
+ #
2348
+ # {
2349
+ # replication_type: "AGENT_BASED", # required, accepts AGENT_BASED, SNAPSHOT_SHIPPING
2350
+ # source_server_id: "SourceServerID", # required
2351
+ # }
2352
+ #
2353
+ # @!attribute [rw] replication_type
2354
+ # Replication type to which to update source server.
2355
+ # @return [String]
2356
+ #
2357
+ # @!attribute [rw] source_server_id
2358
+ # ID of source server on which to update replication type.
2359
+ # @return [String]
2360
+ #
2361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationTypeRequest AWS API Documentation
2362
+ #
2363
+ class UpdateSourceServerReplicationTypeRequest < Struct.new(
2364
+ :replication_type,
2365
+ :source_server_id)
2366
+ SENSITIVE = []
2367
+ include Aws::Structure
2368
+ end
2369
+
2193
2370
  # Validate exception.
2194
2371
  #
2195
2372
  # @!attribute [rw] code
@@ -2236,5 +2413,54 @@ module Aws::Mgn
2236
2413
  include Aws::Structure
2237
2414
  end
2238
2415
 
2416
+ # vCenter client.
2417
+ #
2418
+ # @!attribute [rw] arn
2419
+ # Arn of vCenter client.
2420
+ # @return [String]
2421
+ #
2422
+ # @!attribute [rw] datacenter_name
2423
+ # Datacenter name of vCenter client.
2424
+ # @return [String]
2425
+ #
2426
+ # @!attribute [rw] hostname
2427
+ # Hostname of vCenter client .
2428
+ # @return [String]
2429
+ #
2430
+ # @!attribute [rw] last_seen_datetime
2431
+ # Last seen time of vCenter client.
2432
+ # @return [String]
2433
+ #
2434
+ # @!attribute [rw] source_server_tags
2435
+ # Tags for Source Server of vCenter client.
2436
+ # @return [Hash<String,String>]
2437
+ #
2438
+ # @!attribute [rw] tags
2439
+ # Tags for vCenter client.
2440
+ # @return [Hash<String,String>]
2441
+ #
2442
+ # @!attribute [rw] vcenter_client_id
2443
+ # ID of vCenter client.
2444
+ # @return [String]
2445
+ #
2446
+ # @!attribute [rw] vcenter_uuid
2447
+ # Vcenter UUID of vCenter client.
2448
+ # @return [String]
2449
+ #
2450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/VcenterClient AWS API Documentation
2451
+ #
2452
+ class VcenterClient < Struct.new(
2453
+ :arn,
2454
+ :datacenter_name,
2455
+ :hostname,
2456
+ :last_seen_datetime,
2457
+ :source_server_tags,
2458
+ :tags,
2459
+ :vcenter_client_id,
2460
+ :vcenter_uuid)
2461
+ SENSITIVE = [:source_server_tags, :tags]
2462
+ include Aws::Structure
2463
+ end
2464
+
2239
2465
  end
2240
2466
  end
data/lib/aws-sdk-mgn.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mgn/customizations'
48
48
  # @!group service
49
49
  module Aws::Mgn
50
50
 
51
- GEM_VERSION = '1.6.0'
51
+ GEM_VERSION = '1.7.0'
52
52
 
53
53
  end