aws-sdk-mgn 1.16.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mgn/client.rb +424 -10
- data/lib/aws-sdk-mgn/client_api.rb +294 -0
- data/lib/aws-sdk-mgn/endpoint_provider.rb +38 -95
- data/lib/aws-sdk-mgn/endpoints.rb +84 -0
- data/lib/aws-sdk-mgn/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-mgn/types.rb +688 -796
- data/lib/aws-sdk-mgn.rb +1 -1
- metadata +2 -2
@@ -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"
|
@@ -9,103 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::Mgn
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
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"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mgn.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJk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