aws-sdk-mgn 1.17.0 → 1.18.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.
@@ -15,6 +15,9 @@ module Aws::Mgn
15
15
 
16
16
  ARN = Shapes::StringShape.new(name: 'ARN')
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AccountID = Shapes::StringShape.new(name: 'AccountID')
19
+ ActionCategory = Shapes::StringShape.new(name: 'ActionCategory')
20
+ ActionDescription = Shapes::StringShape.new(name: 'ActionDescription')
18
21
  ActionID = Shapes::StringShape.new(name: 'ActionID')
19
22
  ActionIDs = Shapes::ListShape.new(name: 'ActionIDs')
20
23
  ActionName = Shapes::StringShape.new(name: 'ActionName')
@@ -42,6 +45,7 @@ module Aws::Mgn
42
45
  ChangeServerLifeCycleStateRequest = Shapes::StructureShape.new(name: 'ChangeServerLifeCycleStateRequest')
43
46
  ChangeServerLifeCycleStateSourceServerLifecycle = Shapes::StructureShape.new(name: 'ChangeServerLifeCycleStateSourceServerLifecycle')
44
47
  ChangeServerLifeCycleStateSourceServerLifecycleState = Shapes::StringShape.new(name: 'ChangeServerLifeCycleStateSourceServerLifecycleState')
48
+ ClientIdempotencyToken = Shapes::StringShape.new(name: 'ClientIdempotencyToken')
45
49
  CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
46
50
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
47
51
  ConflictExceptionErrors = Shapes::ListShape.new(name: 'ConflictExceptionErrors')
@@ -104,18 +108,41 @@ module Aws::Mgn
104
108
  EC2InstanceType = Shapes::StringShape.new(name: 'EC2InstanceType')
105
109
  EC2LaunchConfigurationTemplateID = Shapes::StringShape.new(name: 'EC2LaunchConfigurationTemplateID')
106
110
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
111
+ ExportErrorData = Shapes::StructureShape.new(name: 'ExportErrorData')
112
+ ExportErrors = Shapes::ListShape.new(name: 'ExportErrors')
113
+ ExportID = Shapes::StringShape.new(name: 'ExportID')
114
+ ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
115
+ ExportTask = Shapes::StructureShape.new(name: 'ExportTask')
116
+ ExportTaskError = Shapes::StructureShape.new(name: 'ExportTaskError')
117
+ ExportTaskSummary = Shapes::StructureShape.new(name: 'ExportTaskSummary')
118
+ ExportsList = Shapes::ListShape.new(name: 'ExportsList')
107
119
  FinalizeCutoverRequest = Shapes::StructureShape.new(name: 'FinalizeCutoverRequest')
108
120
  FirstBoot = Shapes::StringShape.new(name: 'FirstBoot')
121
+ Float = Shapes::FloatShape.new(name: 'Float')
109
122
  GetLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'GetLaunchConfigurationRequest')
110
123
  GetReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'GetReplicationConfigurationRequest')
111
124
  IPsList = Shapes::ListShape.new(name: 'IPsList')
112
125
  ISO8601DatetimeString = Shapes::StringShape.new(name: 'ISO8601DatetimeString')
113
126
  ISO8601DurationString = Shapes::StringShape.new(name: 'ISO8601DurationString')
114
127
  IdentificationHints = Shapes::StructureShape.new(name: 'IdentificationHints')
128
+ ImportErrorData = Shapes::StructureShape.new(name: 'ImportErrorData')
129
+ ImportErrorType = Shapes::StringShape.new(name: 'ImportErrorType')
130
+ ImportErrors = Shapes::ListShape.new(name: 'ImportErrors')
131
+ ImportID = Shapes::StringShape.new(name: 'ImportID')
132
+ ImportIDsFilter = Shapes::ListShape.new(name: 'ImportIDsFilter')
133
+ ImportList = Shapes::ListShape.new(name: 'ImportList')
134
+ ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
135
+ ImportTask = Shapes::StructureShape.new(name: 'ImportTask')
136
+ ImportTaskError = Shapes::StructureShape.new(name: 'ImportTaskError')
137
+ ImportTaskSummary = Shapes::StructureShape.new(name: 'ImportTaskSummary')
138
+ ImportTaskSummaryApplications = Shapes::StructureShape.new(name: 'ImportTaskSummaryApplications')
139
+ ImportTaskSummaryServers = Shapes::StructureShape.new(name: 'ImportTaskSummaryServers')
140
+ ImportTaskSummaryWaves = Shapes::StructureShape.new(name: 'ImportTaskSummaryWaves')
115
141
  InitializeServiceRequest = Shapes::StructureShape.new(name: 'InitializeServiceRequest')
116
142
  InitializeServiceResponse = Shapes::StructureShape.new(name: 'InitializeServiceResponse')
117
143
  InitiatedBy = Shapes::StringShape.new(name: 'InitiatedBy')
118
144
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
145
+ JmesPathString = Shapes::StringShape.new(name: 'JmesPathString')
119
146
  Job = Shapes::StructureShape.new(name: 'Job')
120
147
  JobID = Shapes::StringShape.new(name: 'JobID')
121
148
  JobLog = Shapes::StructureShape.new(name: 'JobLog')
@@ -151,6 +178,17 @@ module Aws::Mgn
151
178
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
152
179
  ListApplicationsRequestFilters = Shapes::StructureShape.new(name: 'ListApplicationsRequestFilters')
153
180
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
181
+ ListExportErrorsRequest = Shapes::StructureShape.new(name: 'ListExportErrorsRequest')
182
+ ListExportErrorsResponse = Shapes::StructureShape.new(name: 'ListExportErrorsResponse')
183
+ ListExportsRequest = Shapes::StructureShape.new(name: 'ListExportsRequest')
184
+ ListExportsRequestFilters = Shapes::StructureShape.new(name: 'ListExportsRequestFilters')
185
+ ListExportsRequestFiltersExportIDs = Shapes::ListShape.new(name: 'ListExportsRequestFiltersExportIDs')
186
+ ListExportsResponse = Shapes::StructureShape.new(name: 'ListExportsResponse')
187
+ ListImportErrorsRequest = Shapes::StructureShape.new(name: 'ListImportErrorsRequest')
188
+ ListImportErrorsResponse = Shapes::StructureShape.new(name: 'ListImportErrorsResponse')
189
+ ListImportsRequest = Shapes::StructureShape.new(name: 'ListImportsRequest')
190
+ ListImportsRequestFilters = Shapes::StructureShape.new(name: 'ListImportsRequestFilters')
191
+ ListImportsResponse = Shapes::StructureShape.new(name: 'ListImportsResponse')
154
192
  ListSourceServerActionsRequest = Shapes::StructureShape.new(name: 'ListSourceServerActionsRequest')
155
193
  ListSourceServerActionsResponse = Shapes::StructureShape.new(name: 'ListSourceServerActionsResponse')
156
194
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -198,6 +236,9 @@ module Aws::Mgn
198
236
  ReplicationTypes = Shapes::ListShape.new(name: 'ReplicationTypes')
199
237
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
200
238
  RetryDataReplicationRequest = Shapes::StructureShape.new(name: 'RetryDataReplicationRequest')
239
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
240
+ S3BucketSource = Shapes::StructureShape.new(name: 'S3BucketSource')
241
+ S3Key = Shapes::StringShape.new(name: 'S3Key')
201
242
  S3LogBucketName = Shapes::StringShape.new(name: 'S3LogBucketName')
202
243
  SecurityGroupID = Shapes::StringShape.new(name: 'SecurityGroupID')
203
244
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -210,11 +251,13 @@ module Aws::Mgn
210
251
  SourceServerID = Shapes::StringShape.new(name: 'SourceServerID')
211
252
  SourceServersList = Shapes::ListShape.new(name: 'SourceServersList')
212
253
  SsmDocument = Shapes::StructureShape.new(name: 'SsmDocument')
254
+ SsmDocumentExternalParameters = Shapes::MapShape.new(name: 'SsmDocumentExternalParameters')
213
255
  SsmDocumentName = Shapes::StringShape.new(name: 'SsmDocumentName')
214
256
  SsmDocumentParameterName = Shapes::StringShape.new(name: 'SsmDocumentParameterName')
215
257
  SsmDocumentParameters = Shapes::MapShape.new(name: 'SsmDocumentParameters')
216
258
  SsmDocumentType = Shapes::StringShape.new(name: 'SsmDocumentType')
217
259
  SsmDocuments = Shapes::ListShape.new(name: 'SsmDocuments')
260
+ SsmExternalParameter = Shapes::UnionShape.new(name: 'SsmExternalParameter')
218
261
  SsmParameterStoreParameter = Shapes::StructureShape.new(name: 'SsmParameterStoreParameter')
219
262
  SsmParameterStoreParameterName = Shapes::StringShape.new(name: 'SsmParameterStoreParameterName')
220
263
  SsmParameterStoreParameterType = Shapes::StringShape.new(name: 'SsmParameterStoreParameterType')
@@ -222,6 +265,10 @@ module Aws::Mgn
222
265
  StartCutoverRequest = Shapes::StructureShape.new(name: 'StartCutoverRequest')
223
266
  StartCutoverRequestSourceServerIDs = Shapes::ListShape.new(name: 'StartCutoverRequestSourceServerIDs')
224
267
  StartCutoverResponse = Shapes::StructureShape.new(name: 'StartCutoverResponse')
268
+ StartExportRequest = Shapes::StructureShape.new(name: 'StartExportRequest')
269
+ StartExportResponse = Shapes::StructureShape.new(name: 'StartExportResponse')
270
+ StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
271
+ StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
225
272
  StartReplicationRequest = Shapes::StructureShape.new(name: 'StartReplicationRequest')
226
273
  StartTestRequest = Shapes::StructureShape.new(name: 'StartTestRequest')
227
274
  StartTestRequestSourceServerIDs = Shapes::ListShape.new(name: 'StartTestRequestSourceServerIDs')
@@ -549,6 +596,33 @@ module Aws::Mgn
549
596
  ErrorDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
550
597
  ErrorDetails.struct_class = Types::ErrorDetails
551
598
 
599
+ ExportErrorData.add_member(:raw_error, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "rawError"))
600
+ ExportErrorData.struct_class = Types::ExportErrorData
601
+
602
+ ExportErrors.member = Shapes::ShapeRef.new(shape: ExportTaskError)
603
+
604
+ ExportTask.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "creationDateTime"))
605
+ ExportTask.add_member(:end_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "endDateTime"))
606
+ ExportTask.add_member(:export_id, Shapes::ShapeRef.new(shape: ExportID, location_name: "exportID"))
607
+ ExportTask.add_member(:progress_percentage, Shapes::ShapeRef.new(shape: Float, location_name: "progressPercentage"))
608
+ ExportTask.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "s3Bucket"))
609
+ ExportTask.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountID, location_name: "s3BucketOwner"))
610
+ ExportTask.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "s3Key"))
611
+ ExportTask.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "status"))
612
+ ExportTask.add_member(:summary, Shapes::ShapeRef.new(shape: ExportTaskSummary, location_name: "summary"))
613
+ ExportTask.struct_class = Types::ExportTask
614
+
615
+ ExportTaskError.add_member(:error_data, Shapes::ShapeRef.new(shape: ExportErrorData, location_name: "errorData"))
616
+ ExportTaskError.add_member(:error_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "errorDateTime"))
617
+ ExportTaskError.struct_class = Types::ExportTaskError
618
+
619
+ ExportTaskSummary.add_member(:applications_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "applicationsCount"))
620
+ ExportTaskSummary.add_member(:servers_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "serversCount"))
621
+ ExportTaskSummary.add_member(:waves_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "wavesCount"))
622
+ ExportTaskSummary.struct_class = Types::ExportTaskSummary
623
+
624
+ ExportsList.member = Shapes::ShapeRef.new(shape: ExportTask)
625
+
552
626
  FinalizeCutoverRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
553
627
  FinalizeCutoverRequest.struct_class = Types::FinalizeCutoverRequest
554
628
 
@@ -567,6 +641,51 @@ module Aws::Mgn
567
641
  IdentificationHints.add_member(:vm_ware_uuid, Shapes::ShapeRef.new(shape: BoundedString, location_name: "vmWareUuid"))
568
642
  IdentificationHints.struct_class = Types::IdentificationHints
569
643
 
644
+ ImportErrorData.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationID, location_name: "applicationID"))
645
+ ImportErrorData.add_member(:ec2_launch_template_id, Shapes::ShapeRef.new(shape: BoundedString, location_name: "ec2LaunchTemplateID"))
646
+ ImportErrorData.add_member(:raw_error, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "rawError"))
647
+ ImportErrorData.add_member(:row_number, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "rowNumber"))
648
+ ImportErrorData.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, location_name: "sourceServerID"))
649
+ ImportErrorData.add_member(:wave_id, Shapes::ShapeRef.new(shape: WaveID, location_name: "waveID"))
650
+ ImportErrorData.struct_class = Types::ImportErrorData
651
+
652
+ ImportErrors.member = Shapes::ShapeRef.new(shape: ImportTaskError)
653
+
654
+ ImportIDsFilter.member = Shapes::ShapeRef.new(shape: ImportID)
655
+
656
+ ImportList.member = Shapes::ShapeRef.new(shape: ImportTask)
657
+
658
+ ImportTask.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "creationDateTime"))
659
+ ImportTask.add_member(:end_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "endDateTime"))
660
+ ImportTask.add_member(:import_id, Shapes::ShapeRef.new(shape: ImportID, location_name: "importID"))
661
+ ImportTask.add_member(:progress_percentage, Shapes::ShapeRef.new(shape: Float, location_name: "progressPercentage"))
662
+ ImportTask.add_member(:s3_bucket_source, Shapes::ShapeRef.new(shape: S3BucketSource, location_name: "s3BucketSource"))
663
+ ImportTask.add_member(:status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "status"))
664
+ ImportTask.add_member(:summary, Shapes::ShapeRef.new(shape: ImportTaskSummary, location_name: "summary"))
665
+ ImportTask.struct_class = Types::ImportTask
666
+
667
+ ImportTaskError.add_member(:error_data, Shapes::ShapeRef.new(shape: ImportErrorData, location_name: "errorData"))
668
+ ImportTaskError.add_member(:error_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "errorDateTime"))
669
+ ImportTaskError.add_member(:error_type, Shapes::ShapeRef.new(shape: ImportErrorType, location_name: "errorType"))
670
+ ImportTaskError.struct_class = Types::ImportTaskError
671
+
672
+ ImportTaskSummary.add_member(:applications, Shapes::ShapeRef.new(shape: ImportTaskSummaryApplications, location_name: "applications"))
673
+ ImportTaskSummary.add_member(:servers, Shapes::ShapeRef.new(shape: ImportTaskSummaryServers, location_name: "servers"))
674
+ ImportTaskSummary.add_member(:waves, Shapes::ShapeRef.new(shape: ImportTaskSummaryWaves, location_name: "waves"))
675
+ ImportTaskSummary.struct_class = Types::ImportTaskSummary
676
+
677
+ ImportTaskSummaryApplications.add_member(:created_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "createdCount"))
678
+ ImportTaskSummaryApplications.add_member(:modified_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "modifiedCount"))
679
+ ImportTaskSummaryApplications.struct_class = Types::ImportTaskSummaryApplications
680
+
681
+ ImportTaskSummaryServers.add_member(:created_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "createdCount"))
682
+ ImportTaskSummaryServers.add_member(:modified_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "modifiedCount"))
683
+ ImportTaskSummaryServers.struct_class = Types::ImportTaskSummaryServers
684
+
685
+ ImportTaskSummaryWaves.add_member(:created_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "createdCount"))
686
+ ImportTaskSummaryWaves.add_member(:modified_count, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "modifiedCount"))
687
+ ImportTaskSummaryWaves.struct_class = Types::ImportTaskSummaryWaves
688
+
570
689
  InitializeServiceRequest.struct_class = Types::InitializeServiceRequest
571
690
 
572
691
  InitializeServiceResponse.struct_class = Types::InitializeServiceResponse
@@ -713,6 +832,50 @@ module Aws::Mgn
713
832
  ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
714
833
  ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
715
834
 
835
+ ListExportErrorsRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: ExportID, required: true, location_name: "exportID"))
836
+ ListExportErrorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
837
+ ListExportErrorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
838
+ ListExportErrorsRequest.struct_class = Types::ListExportErrorsRequest
839
+
840
+ ListExportErrorsResponse.add_member(:items, Shapes::ShapeRef.new(shape: ExportErrors, location_name: "items"))
841
+ ListExportErrorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
842
+ ListExportErrorsResponse.struct_class = Types::ListExportErrorsResponse
843
+
844
+ ListExportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListExportsRequestFilters, location_name: "filters"))
845
+ ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
846
+ ListExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
847
+ ListExportsRequest.struct_class = Types::ListExportsRequest
848
+
849
+ ListExportsRequestFilters.add_member(:export_i_ds, Shapes::ShapeRef.new(shape: ListExportsRequestFiltersExportIDs, location_name: "exportIDs"))
850
+ ListExportsRequestFilters.struct_class = Types::ListExportsRequestFilters
851
+
852
+ ListExportsRequestFiltersExportIDs.member = Shapes::ShapeRef.new(shape: ExportID)
853
+
854
+ ListExportsResponse.add_member(:items, Shapes::ShapeRef.new(shape: ExportsList, location_name: "items"))
855
+ ListExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
856
+ ListExportsResponse.struct_class = Types::ListExportsResponse
857
+
858
+ ListImportErrorsRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: ImportID, required: true, location_name: "importID"))
859
+ ListImportErrorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
860
+ ListImportErrorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
861
+ ListImportErrorsRequest.struct_class = Types::ListImportErrorsRequest
862
+
863
+ ListImportErrorsResponse.add_member(:items, Shapes::ShapeRef.new(shape: ImportErrors, location_name: "items"))
864
+ ListImportErrorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
865
+ ListImportErrorsResponse.struct_class = Types::ListImportErrorsResponse
866
+
867
+ ListImportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListImportsRequestFilters, location_name: "filters"))
868
+ ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
869
+ ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
870
+ ListImportsRequest.struct_class = Types::ListImportsRequest
871
+
872
+ ListImportsRequestFilters.add_member(:import_i_ds, Shapes::ShapeRef.new(shape: ImportIDsFilter, location_name: "importIDs"))
873
+ ListImportsRequestFilters.struct_class = Types::ListImportsRequestFilters
874
+
875
+ ListImportsResponse.add_member(:items, Shapes::ShapeRef.new(shape: ImportList, location_name: "items"))
876
+ ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
877
+ ListImportsResponse.struct_class = Types::ListImportsResponse
878
+
716
879
  ListSourceServerActionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SourceServerActionsRequestFilters, location_name: "filters"))
717
880
  ListSourceServerActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
718
881
  ListSourceServerActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -789,8 +952,11 @@ module Aws::Mgn
789
952
  PutSourceServerActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionID, required: true, location_name: "actionID"))
790
953
  PutSourceServerActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "actionName"))
791
954
  PutSourceServerActionRequest.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "active"))
955
+ PutSourceServerActionRequest.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, location_name: "category"))
956
+ PutSourceServerActionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ActionDescription, location_name: "description"))
792
957
  PutSourceServerActionRequest.add_member(:document_identifier, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "documentIdentifier"))
793
958
  PutSourceServerActionRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "documentVersion"))
959
+ PutSourceServerActionRequest.add_member(:external_parameters, Shapes::ShapeRef.new(shape: SsmDocumentExternalParameters, location_name: "externalParameters"))
794
960
  PutSourceServerActionRequest.add_member(:must_succeed_for_cutover, Shapes::ShapeRef.new(shape: Boolean, location_name: "mustSucceedForCutover"))
795
961
  PutSourceServerActionRequest.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, required: true, location_name: "order"))
796
962
  PutSourceServerActionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmDocumentParameters, location_name: "parameters"))
@@ -801,8 +967,11 @@ module Aws::Mgn
801
967
  PutTemplateActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionID, required: true, location_name: "actionID"))
802
968
  PutTemplateActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "actionName"))
803
969
  PutTemplateActionRequest.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "active"))
970
+ PutTemplateActionRequest.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, location_name: "category"))
971
+ PutTemplateActionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ActionDescription, location_name: "description"))
804
972
  PutTemplateActionRequest.add_member(:document_identifier, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "documentIdentifier"))
805
973
  PutTemplateActionRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "documentVersion"))
974
+ PutTemplateActionRequest.add_member(:external_parameters, Shapes::ShapeRef.new(shape: SsmDocumentExternalParameters, location_name: "externalParameters"))
806
975
  PutTemplateActionRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
807
976
  PutTemplateActionRequest.add_member(:must_succeed_for_cutover, Shapes::ShapeRef.new(shape: Boolean, location_name: "mustSucceedForCutover"))
808
977
  PutTemplateActionRequest.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystemString, location_name: "operatingSystem"))
@@ -883,6 +1052,11 @@ module Aws::Mgn
883
1052
  RetryDataReplicationRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
884
1053
  RetryDataReplicationRequest.struct_class = Types::RetryDataReplicationRequest
885
1054
 
1055
+ S3BucketSource.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "s3Bucket"))
1056
+ S3BucketSource.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountID, location_name: "s3BucketOwner"))
1057
+ S3BucketSource.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, required: true, location_name: "s3Key"))
1058
+ S3BucketSource.struct_class = Types::S3BucketSource
1059
+
886
1060
  ServiceQuotaExceededException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
887
1061
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
888
1062
  ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "quotaCode"))
@@ -905,6 +1079,7 @@ module Aws::Mgn
905
1079
  SourceServer.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationID, location_name: "applicationID"))
906
1080
  SourceServer.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
907
1081
  SourceServer.add_member(:data_replication_info, Shapes::ShapeRef.new(shape: DataReplicationInfo, location_name: "dataReplicationInfo"))
1082
+ SourceServer.add_member(:fqdn_for_action_framework, Shapes::ShapeRef.new(shape: BoundedString, location_name: "fqdnForActionFramework"))
908
1083
  SourceServer.add_member(:is_archived, Shapes::ShapeRef.new(shape: Boolean, location_name: "isArchived"))
909
1084
  SourceServer.add_member(:launched_instance, Shapes::ShapeRef.new(shape: LaunchedInstance, location_name: "launchedInstance"))
910
1085
  SourceServer.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "lifeCycle"))
@@ -912,14 +1087,18 @@ module Aws::Mgn
912
1087
  SourceServer.add_member(:source_properties, Shapes::ShapeRef.new(shape: SourceProperties, location_name: "sourceProperties"))
913
1088
  SourceServer.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, location_name: "sourceServerID"))
914
1089
  SourceServer.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
1090
+ SourceServer.add_member(:user_provided_id, Shapes::ShapeRef.new(shape: BoundedString, location_name: "userProvidedID"))
915
1091
  SourceServer.add_member(:vcenter_client_id, Shapes::ShapeRef.new(shape: VcenterClientID, location_name: "vcenterClientID"))
916
1092
  SourceServer.struct_class = Types::SourceServer
917
1093
 
918
1094
  SourceServerActionDocument.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionID, location_name: "actionID"))
919
1095
  SourceServerActionDocument.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, location_name: "actionName"))
920
1096
  SourceServerActionDocument.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "active"))
1097
+ SourceServerActionDocument.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, location_name: "category"))
1098
+ SourceServerActionDocument.add_member(:description, Shapes::ShapeRef.new(shape: ActionDescription, location_name: "description"))
921
1099
  SourceServerActionDocument.add_member(:document_identifier, Shapes::ShapeRef.new(shape: BoundedString, location_name: "documentIdentifier"))
922
1100
  SourceServerActionDocument.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "documentVersion"))
1101
+ SourceServerActionDocument.add_member(:external_parameters, Shapes::ShapeRef.new(shape: SsmDocumentExternalParameters, location_name: "externalParameters"))
923
1102
  SourceServerActionDocument.add_member(:must_succeed_for_cutover, Shapes::ShapeRef.new(shape: Boolean, location_name: "mustSucceedForCutover"))
924
1103
  SourceServerActionDocument.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location_name: "order"))
925
1104
  SourceServerActionDocument.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmDocumentParameters, location_name: "parameters"))
@@ -934,17 +1113,27 @@ module Aws::Mgn
934
1113
  SourceServersList.member = Shapes::ShapeRef.new(shape: SourceServer)
935
1114
 
936
1115
  SsmDocument.add_member(:action_name, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "actionName"))
1116
+ SsmDocument.add_member(:external_parameters, Shapes::ShapeRef.new(shape: SsmDocumentExternalParameters, location_name: "externalParameters"))
937
1117
  SsmDocument.add_member(:must_succeed_for_cutover, Shapes::ShapeRef.new(shape: Boolean, location_name: "mustSucceedForCutover"))
938
1118
  SsmDocument.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmDocumentParameters, location_name: "parameters"))
939
1119
  SsmDocument.add_member(:ssm_document_name, Shapes::ShapeRef.new(shape: SsmDocumentName, required: true, location_name: "ssmDocumentName"))
940
1120
  SsmDocument.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: StrictlyPositiveInteger, location_name: "timeoutSeconds"))
941
1121
  SsmDocument.struct_class = Types::SsmDocument
942
1122
 
1123
+ SsmDocumentExternalParameters.key = Shapes::ShapeRef.new(shape: SsmDocumentParameterName)
1124
+ SsmDocumentExternalParameters.value = Shapes::ShapeRef.new(shape: SsmExternalParameter)
1125
+
943
1126
  SsmDocumentParameters.key = Shapes::ShapeRef.new(shape: SsmDocumentParameterName)
944
1127
  SsmDocumentParameters.value = Shapes::ShapeRef.new(shape: SsmParameterStoreParameters)
945
1128
 
946
1129
  SsmDocuments.member = Shapes::ShapeRef.new(shape: SsmDocument)
947
1130
 
1131
+ SsmExternalParameter.add_member(:dynamic_path, Shapes::ShapeRef.new(shape: JmesPathString, location_name: "dynamicPath"))
1132
+ SsmExternalParameter.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1133
+ SsmExternalParameter.add_member_subclass(:dynamic_path, Types::SsmExternalParameter::DynamicPath)
1134
+ SsmExternalParameter.add_member_subclass(:unknown, Types::SsmExternalParameter::Unknown)
1135
+ SsmExternalParameter.struct_class = Types::SsmExternalParameter
1136
+
948
1137
  SsmParameterStoreParameter.add_member(:parameter_name, Shapes::ShapeRef.new(shape: SsmParameterStoreParameterName, required: true, location_name: "parameterName"))
949
1138
  SsmParameterStoreParameter.add_member(:parameter_type, Shapes::ShapeRef.new(shape: SsmParameterStoreParameterType, required: true, location_name: "parameterType"))
950
1139
  SsmParameterStoreParameter.struct_class = Types::SsmParameterStoreParameter
@@ -960,6 +1149,21 @@ module Aws::Mgn
960
1149
  StartCutoverResponse.add_member(:job, Shapes::ShapeRef.new(shape: Job, location_name: "job"))
961
1150
  StartCutoverResponse.struct_class = Types::StartCutoverResponse
962
1151
 
1152
+ StartExportRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "s3Bucket"))
1153
+ StartExportRequest.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountID, location_name: "s3BucketOwner"))
1154
+ StartExportRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, required: true, location_name: "s3Key"))
1155
+ StartExportRequest.struct_class = Types::StartExportRequest
1156
+
1157
+ StartExportResponse.add_member(:export_task, Shapes::ShapeRef.new(shape: ExportTask, location_name: "exportTask"))
1158
+ StartExportResponse.struct_class = Types::StartExportResponse
1159
+
1160
+ StartImportRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientIdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1161
+ StartImportRequest.add_member(:s3_bucket_source, Shapes::ShapeRef.new(shape: S3BucketSource, required: true, location_name: "s3BucketSource"))
1162
+ StartImportRequest.struct_class = Types::StartImportRequest
1163
+
1164
+ StartImportResponse.add_member(:import_task, Shapes::ShapeRef.new(shape: ImportTask, location_name: "importTask"))
1165
+ StartImportResponse.struct_class = Types::StartImportResponse
1166
+
963
1167
  StartReplicationRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
964
1168
  StartReplicationRequest.struct_class = Types::StartReplicationRequest
965
1169
 
@@ -984,8 +1188,11 @@ module Aws::Mgn
984
1188
  TemplateActionDocument.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionID, location_name: "actionID"))
985
1189
  TemplateActionDocument.add_member(:action_name, Shapes::ShapeRef.new(shape: BoundedString, location_name: "actionName"))
986
1190
  TemplateActionDocument.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "active"))
1191
+ TemplateActionDocument.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, location_name: "category"))
1192
+ TemplateActionDocument.add_member(:description, Shapes::ShapeRef.new(shape: ActionDescription, location_name: "description"))
987
1193
  TemplateActionDocument.add_member(:document_identifier, Shapes::ShapeRef.new(shape: BoundedString, location_name: "documentIdentifier"))
988
1194
  TemplateActionDocument.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "documentVersion"))
1195
+ TemplateActionDocument.add_member(:external_parameters, Shapes::ShapeRef.new(shape: SsmDocumentExternalParameters, location_name: "externalParameters"))
989
1196
  TemplateActionDocument.add_member(:must_succeed_for_cutover, Shapes::ShapeRef.new(shape: Boolean, location_name: "mustSucceedForCutover"))
990
1197
  TemplateActionDocument.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystemString, location_name: "operatingSystem"))
991
1198
  TemplateActionDocument.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location_name: "order"))
@@ -1538,6 +1745,69 @@ module Aws::Mgn
1538
1745
  )
1539
1746
  end)
1540
1747
 
1748
+ api.add_operation(:list_export_errors, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "ListExportErrors"
1750
+ o.http_method = "POST"
1751
+ o.http_request_uri = "/ListExportErrors"
1752
+ o.input = Shapes::ShapeRef.new(shape: ListExportErrorsRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: ListExportErrorsResponse)
1754
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1756
+ o[:pager] = Aws::Pager.new(
1757
+ limit_key: "max_results",
1758
+ tokens: {
1759
+ "next_token" => "next_token"
1760
+ }
1761
+ )
1762
+ end)
1763
+
1764
+ api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
1765
+ o.name = "ListExports"
1766
+ o.http_method = "POST"
1767
+ o.http_request_uri = "/ListExports"
1768
+ o.input = Shapes::ShapeRef.new(shape: ListExportsRequest)
1769
+ o.output = Shapes::ShapeRef.new(shape: ListExportsResponse)
1770
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1771
+ o[:pager] = Aws::Pager.new(
1772
+ limit_key: "max_results",
1773
+ tokens: {
1774
+ "next_token" => "next_token"
1775
+ }
1776
+ )
1777
+ end)
1778
+
1779
+ api.add_operation(:list_import_errors, Seahorse::Model::Operation.new.tap do |o|
1780
+ o.name = "ListImportErrors"
1781
+ o.http_method = "POST"
1782
+ o.http_request_uri = "/ListImportErrors"
1783
+ o.input = Shapes::ShapeRef.new(shape: ListImportErrorsRequest)
1784
+ o.output = Shapes::ShapeRef.new(shape: ListImportErrorsResponse)
1785
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1786
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1787
+ o[:pager] = Aws::Pager.new(
1788
+ limit_key: "max_results",
1789
+ tokens: {
1790
+ "next_token" => "next_token"
1791
+ }
1792
+ )
1793
+ end)
1794
+
1795
+ api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
1796
+ o.name = "ListImports"
1797
+ o.http_method = "POST"
1798
+ o.http_request_uri = "/ListImports"
1799
+ o.input = Shapes::ShapeRef.new(shape: ListImportsRequest)
1800
+ o.output = Shapes::ShapeRef.new(shape: ListImportsResponse)
1801
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1802
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1803
+ o[:pager] = Aws::Pager.new(
1804
+ limit_key: "max_results",
1805
+ tokens: {
1806
+ "next_token" => "next_token"
1807
+ }
1808
+ )
1809
+ end)
1810
+
1541
1811
  api.add_operation(:list_source_server_actions, Seahorse::Model::Operation.new.tap do |o|
1542
1812
  o.name = "ListSourceServerActions"
1543
1813
  o.http_method = "POST"
@@ -1677,6 +1947,30 @@ module Aws::Mgn
1677
1947
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1678
1948
  end)
1679
1949
 
1950
+ api.add_operation(:start_export, Seahorse::Model::Operation.new.tap do |o|
1951
+ o.name = "StartExport"
1952
+ o.http_method = "POST"
1953
+ o.http_request_uri = "/StartExport"
1954
+ o.input = Shapes::ShapeRef.new(shape: StartExportRequest)
1955
+ o.output = Shapes::ShapeRef.new(shape: StartExportResponse)
1956
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1957
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1958
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1959
+ end)
1960
+
1961
+ api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
1962
+ o.name = "StartImport"
1963
+ o.http_method = "POST"
1964
+ o.http_request_uri = "/StartImport"
1965
+ o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
1966
+ o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
1967
+ o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
1968
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1970
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1971
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1972
+ end)
1973
+
1680
1974
  api.add_operation(:start_replication, Seahorse::Model::Operation.new.tap do |o|
1681
1975
  o.name = "StartReplication"
1682
1976
  o.http_method = "POST"
@@ -14,36 +14,39 @@ module Aws::Mgn
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://mgn-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://mgn-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://mgn.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://mgn-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://mgn-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://mgn.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://mgn.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://mgn.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -431,6 +431,62 @@ module Aws::Mgn
431
431
  end
432
432
  end
433
433
 
434
+ class ListExportErrors
435
+ def self.build(context)
436
+ unless context.config.regional_endpoint
437
+ endpoint = context.config.endpoint.to_s
438
+ end
439
+ Aws::Mgn::EndpointParameters.new(
440
+ region: context.config.region,
441
+ use_dual_stack: context.config.use_dualstack_endpoint,
442
+ use_fips: context.config.use_fips_endpoint,
443
+ endpoint: endpoint,
444
+ )
445
+ end
446
+ end
447
+
448
+ class ListExports
449
+ def self.build(context)
450
+ unless context.config.regional_endpoint
451
+ endpoint = context.config.endpoint.to_s
452
+ end
453
+ Aws::Mgn::EndpointParameters.new(
454
+ region: context.config.region,
455
+ use_dual_stack: context.config.use_dualstack_endpoint,
456
+ use_fips: context.config.use_fips_endpoint,
457
+ endpoint: endpoint,
458
+ )
459
+ end
460
+ end
461
+
462
+ class ListImportErrors
463
+ def self.build(context)
464
+ unless context.config.regional_endpoint
465
+ endpoint = context.config.endpoint.to_s
466
+ end
467
+ Aws::Mgn::EndpointParameters.new(
468
+ region: context.config.region,
469
+ use_dual_stack: context.config.use_dualstack_endpoint,
470
+ use_fips: context.config.use_fips_endpoint,
471
+ endpoint: endpoint,
472
+ )
473
+ end
474
+ end
475
+
476
+ class ListImports
477
+ def self.build(context)
478
+ unless context.config.regional_endpoint
479
+ endpoint = context.config.endpoint.to_s
480
+ end
481
+ Aws::Mgn::EndpointParameters.new(
482
+ region: context.config.region,
483
+ use_dual_stack: context.config.use_dualstack_endpoint,
484
+ use_fips: context.config.use_fips_endpoint,
485
+ endpoint: endpoint,
486
+ )
487
+ end
488
+ end
489
+
434
490
  class ListSourceServerActions
435
491
  def self.build(context)
436
492
  unless context.config.regional_endpoint
@@ -585,6 +641,34 @@ module Aws::Mgn
585
641
  end
586
642
  end
587
643
 
644
+ class StartExport
645
+ def self.build(context)
646
+ unless context.config.regional_endpoint
647
+ endpoint = context.config.endpoint.to_s
648
+ end
649
+ Aws::Mgn::EndpointParameters.new(
650
+ region: context.config.region,
651
+ use_dual_stack: context.config.use_dualstack_endpoint,
652
+ use_fips: context.config.use_fips_endpoint,
653
+ endpoint: endpoint,
654
+ )
655
+ end
656
+ end
657
+
658
+ class StartImport
659
+ def self.build(context)
660
+ unless context.config.regional_endpoint
661
+ endpoint = context.config.endpoint.to_s
662
+ end
663
+ Aws::Mgn::EndpointParameters.new(
664
+ region: context.config.region,
665
+ use_dual_stack: context.config.use_dualstack_endpoint,
666
+ use_fips: context.config.use_fips_endpoint,
667
+ endpoint: endpoint,
668
+ )
669
+ end
670
+ end
671
+
588
672
  class StartReplication
589
673
  def self.build(context)
590
674
  unless context.config.regional_endpoint