aws-sdk-migrationhubstrategyrecommendations 1.5.0 → 1.7.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-migrationhubstrategyrecommendations/client.rb +103 -19
- data/lib/aws-sdk-migrationhubstrategyrecommendations/client_api.rb +130 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoint_provider.rb +35 -97
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoints.rb +14 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/errors.rb +16 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb +330 -342
- data/lib/aws-sdk-migrationhubstrategyrecommendations.rb +1 -1
- metadata +2 -2
@@ -17,20 +17,29 @@ module Aws::MigrationHubStrategyRecommendations
|
|
17
17
|
AntipatternReportStatus = Shapes::StringShape.new(name: 'AntipatternReportStatus')
|
18
18
|
AntipatternSeveritySummary = Shapes::StructureShape.new(name: 'AntipatternSeveritySummary')
|
19
19
|
AppType = Shapes::StringShape.new(name: 'AppType')
|
20
|
+
AppUnitError = Shapes::StructureShape.new(name: 'AppUnitError')
|
21
|
+
AppUnitErrorCategory = Shapes::StringShape.new(name: 'AppUnitErrorCategory')
|
20
22
|
ApplicationComponentCriteria = Shapes::StringShape.new(name: 'ApplicationComponentCriteria')
|
21
23
|
ApplicationComponentDetail = Shapes::StructureShape.new(name: 'ApplicationComponentDetail')
|
22
24
|
ApplicationComponentDetails = Shapes::ListShape.new(name: 'ApplicationComponentDetails')
|
23
25
|
ApplicationComponentId = Shapes::StringShape.new(name: 'ApplicationComponentId')
|
26
|
+
ApplicationComponentStatusSummary = Shapes::StructureShape.new(name: 'ApplicationComponentStatusSummary')
|
24
27
|
ApplicationComponentStrategies = Shapes::ListShape.new(name: 'ApplicationComponentStrategies')
|
25
28
|
ApplicationComponentStrategy = Shapes::StructureShape.new(name: 'ApplicationComponentStrategy')
|
26
29
|
ApplicationComponentSummary = Shapes::StructureShape.new(name: 'ApplicationComponentSummary')
|
30
|
+
ApplicationMode = Shapes::StringShape.new(name: 'ApplicationMode')
|
27
31
|
ApplicationPreferences = Shapes::StructureShape.new(name: 'ApplicationPreferences')
|
28
32
|
AssessmentStatus = Shapes::StringShape.new(name: 'AssessmentStatus')
|
33
|
+
AssessmentStatusMessage = Shapes::StringShape.new(name: 'AssessmentStatusMessage')
|
29
34
|
AssessmentSummary = Shapes::StructureShape.new(name: 'AssessmentSummary')
|
35
|
+
AssessmentTarget = Shapes::StructureShape.new(name: 'AssessmentTarget')
|
36
|
+
AssessmentTargetValues = Shapes::ListShape.new(name: 'AssessmentTargetValues')
|
37
|
+
AssessmentTargets = Shapes::ListShape.new(name: 'AssessmentTargets')
|
30
38
|
AssociatedApplication = Shapes::StructureShape.new(name: 'AssociatedApplication')
|
31
39
|
AssociatedApplications = Shapes::ListShape.new(name: 'AssociatedApplications')
|
32
40
|
AssociatedServerIDs = Shapes::ListShape.new(name: 'AssociatedServerIDs')
|
33
41
|
AsyncTaskId = Shapes::StringShape.new(name: 'AsyncTaskId')
|
42
|
+
AuthType = Shapes::StringShape.new(name: 'AuthType')
|
34
43
|
AwsManagedResources = Shapes::StructureShape.new(name: 'AwsManagedResources')
|
35
44
|
AwsManagedTargetDestination = Shapes::StringShape.new(name: 'AwsManagedTargetDestination')
|
36
45
|
AwsManagedTargetDestinations = Shapes::ListShape.new(name: 'AwsManagedTargetDestinations')
|
@@ -40,6 +49,8 @@ module Aws::MigrationHubStrategyRecommendations
|
|
40
49
|
Collector = Shapes::StructureShape.new(name: 'Collector')
|
41
50
|
CollectorHealth = Shapes::StringShape.new(name: 'CollectorHealth')
|
42
51
|
Collectors = Shapes::ListShape.new(name: 'Collectors')
|
52
|
+
Condition = Shapes::StringShape.new(name: 'Condition')
|
53
|
+
ConfigurationSummary = Shapes::StructureShape.new(name: 'ConfigurationSummary')
|
43
54
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
44
55
|
DataCollectionDetails = Shapes::StructureShape.new(name: 'DataCollectionDetails')
|
45
56
|
DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
|
@@ -47,6 +58,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
47
58
|
DatabaseManagementPreference = Shapes::StringShape.new(name: 'DatabaseManagementPreference')
|
48
59
|
DatabaseMigrationPreference = Shapes::UnionShape.new(name: 'DatabaseMigrationPreference')
|
49
60
|
DatabasePreferences = Shapes::StructureShape.new(name: 'DatabasePreferences')
|
61
|
+
DependencyException = Shapes::StructureShape.new(name: 'DependencyException')
|
50
62
|
GetApplicationComponentDetailsRequest = Shapes::StructureShape.new(name: 'GetApplicationComponentDetailsRequest')
|
51
63
|
GetApplicationComponentDetailsResponse = Shapes::StructureShape.new(name: 'GetApplicationComponentDetailsResponse')
|
52
64
|
GetApplicationComponentStrategiesRequest = Shapes::StructureShape.new(name: 'GetApplicationComponentStrategiesRequest')
|
@@ -55,6 +67,8 @@ module Aws::MigrationHubStrategyRecommendations
|
|
55
67
|
GetAssessmentResponse = Shapes::StructureShape.new(name: 'GetAssessmentResponse')
|
56
68
|
GetImportFileTaskRequest = Shapes::StructureShape.new(name: 'GetImportFileTaskRequest')
|
57
69
|
GetImportFileTaskResponse = Shapes::StructureShape.new(name: 'GetImportFileTaskResponse')
|
70
|
+
GetLatestAssessmentIdRequest = Shapes::StructureShape.new(name: 'GetLatestAssessmentIdRequest')
|
71
|
+
GetLatestAssessmentIdResponse = Shapes::StructureShape.new(name: 'GetLatestAssessmentIdResponse')
|
58
72
|
GetPortfolioPreferencesRequest = Shapes::StructureShape.new(name: 'GetPortfolioPreferencesRequest')
|
59
73
|
GetPortfolioPreferencesResponse = Shapes::StructureShape.new(name: 'GetPortfolioPreferencesResponse')
|
60
74
|
GetPortfolioSummaryRequest = Shapes::StructureShape.new(name: 'GetPortfolioSummaryRequest')
|
@@ -75,6 +89,8 @@ module Aws::MigrationHubStrategyRecommendations
|
|
75
89
|
HomogeneousTargetDatabaseEngine = Shapes::StringShape.new(name: 'HomogeneousTargetDatabaseEngine')
|
76
90
|
HomogeneousTargetDatabaseEngines = Shapes::ListShape.new(name: 'HomogeneousTargetDatabaseEngines')
|
77
91
|
IPAddress = Shapes::StringShape.new(name: 'IPAddress')
|
92
|
+
IPAddressBasedRemoteInfo = Shapes::StructureShape.new(name: 'IPAddressBasedRemoteInfo')
|
93
|
+
IPAddressBasedRemoteInfoList = Shapes::ListShape.new(name: 'IPAddressBasedRemoteInfoList')
|
78
94
|
ImportFileTaskInformation = Shapes::StructureShape.new(name: 'ImportFileTaskInformation')
|
79
95
|
ImportFileTaskStatus = Shapes::StringShape.new(name: 'ImportFileTaskStatus')
|
80
96
|
InclusionStatus = Shapes::StringShape.new(name: 'InclusionStatus')
|
@@ -82,6 +98,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
82
98
|
InterfaceName = Shapes::StringShape.new(name: 'InterfaceName')
|
83
99
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
84
100
|
ListAntipatternSeveritySummary = Shapes::ListShape.new(name: 'ListAntipatternSeveritySummary')
|
101
|
+
ListApplicationComponentStatusSummary = Shapes::ListShape.new(name: 'ListApplicationComponentStatusSummary')
|
85
102
|
ListApplicationComponentSummary = Shapes::ListShape.new(name: 'ListApplicationComponentSummary')
|
86
103
|
ListApplicationComponentsRequest = Shapes::StructureShape.new(name: 'ListApplicationComponentsRequest')
|
87
104
|
ListApplicationComponentsRequestFilterValueString = Shapes::StringShape.new(name: 'ListApplicationComponentsRequestFilterValueString')
|
@@ -91,6 +108,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
91
108
|
ListImportFileTaskInformation = Shapes::ListShape.new(name: 'ListImportFileTaskInformation')
|
92
109
|
ListImportFileTaskRequest = Shapes::StructureShape.new(name: 'ListImportFileTaskRequest')
|
93
110
|
ListImportFileTaskResponse = Shapes::StructureShape.new(name: 'ListImportFileTaskResponse')
|
111
|
+
ListServerStatusSummary = Shapes::ListShape.new(name: 'ListServerStatusSummary')
|
94
112
|
ListServerSummary = Shapes::ListShape.new(name: 'ListServerSummary')
|
95
113
|
ListServersRequest = Shapes::StructureShape.new(name: 'ListServersRequest')
|
96
114
|
ListServersResponse = Shapes::StructureShape.new(name: 'ListServersResponse')
|
@@ -111,7 +129,11 @@ module Aws::MigrationHubStrategyRecommendations
|
|
111
129
|
OSType = Shapes::StringShape.new(name: 'OSType')
|
112
130
|
OSVersion = Shapes::StringShape.new(name: 'OSVersion')
|
113
131
|
OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
|
132
|
+
PipelineInfo = Shapes::StructureShape.new(name: 'PipelineInfo')
|
133
|
+
PipelineInfoList = Shapes::ListShape.new(name: 'PipelineInfoList')
|
134
|
+
PipelineType = Shapes::StringShape.new(name: 'PipelineType')
|
114
135
|
PrioritizeBusinessGoals = Shapes::StructureShape.new(name: 'PrioritizeBusinessGoals')
|
136
|
+
ProjectName = Shapes::StringShape.new(name: 'ProjectName')
|
115
137
|
PutPortfolioPreferencesRequest = Shapes::StructureShape.new(name: 'PutPortfolioPreferencesRequest')
|
116
138
|
PutPortfolioPreferencesResponse = Shapes::StructureShape.new(name: 'PutPortfolioPreferencesResponse')
|
117
139
|
RecommendationReportDetails = Shapes::StructureShape.new(name: 'RecommendationReportDetails')
|
@@ -120,11 +142,13 @@ module Aws::MigrationHubStrategyRecommendations
|
|
120
142
|
RecommendationReportTimeStamp = Shapes::TimestampShape.new(name: 'RecommendationReportTimeStamp')
|
121
143
|
RecommendationSet = Shapes::StructureShape.new(name: 'RecommendationSet')
|
122
144
|
RecommendationTaskId = Shapes::StringShape.new(name: 'RecommendationTaskId')
|
145
|
+
RemoteSourceCodeAnalysisServerInfo = Shapes::StructureShape.new(name: 'RemoteSourceCodeAnalysisServerInfo')
|
123
146
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
124
147
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
125
148
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
126
149
|
ResourceSubType = Shapes::StringShape.new(name: 'ResourceSubType')
|
127
150
|
RunTimeAssessmentStatus = Shapes::StringShape.new(name: 'RunTimeAssessmentStatus')
|
151
|
+
RuntimeAnalysisStatus = Shapes::StringShape.new(name: 'RuntimeAnalysisStatus')
|
128
152
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
129
153
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
130
154
|
S3Keys = Shapes::ListShape.new(name: 'S3Keys')
|
@@ -136,8 +160,11 @@ module Aws::MigrationHubStrategyRecommendations
|
|
136
160
|
ServerCriteria = Shapes::StringShape.new(name: 'ServerCriteria')
|
137
161
|
ServerDetail = Shapes::StructureShape.new(name: 'ServerDetail')
|
138
162
|
ServerDetails = Shapes::ListShape.new(name: 'ServerDetails')
|
163
|
+
ServerError = Shapes::StructureShape.new(name: 'ServerError')
|
164
|
+
ServerErrorCategory = Shapes::StringShape.new(name: 'ServerErrorCategory')
|
139
165
|
ServerId = Shapes::StringShape.new(name: 'ServerId')
|
140
166
|
ServerOsType = Shapes::StringShape.new(name: 'ServerOsType')
|
167
|
+
ServerStatusSummary = Shapes::StructureShape.new(name: 'ServerStatusSummary')
|
141
168
|
ServerStrategies = Shapes::ListShape.new(name: 'ServerStrategies')
|
142
169
|
ServerStrategy = Shapes::StructureShape.new(name: 'ServerStrategy')
|
143
170
|
ServerSummary = Shapes::StructureShape.new(name: 'ServerSummary')
|
@@ -184,7 +211,12 @@ module Aws::MigrationHubStrategyRecommendations
|
|
184
211
|
UpdateServerConfigRequest = Shapes::StructureShape.new(name: 'UpdateServerConfigRequest')
|
185
212
|
UpdateServerConfigResponse = Shapes::StructureShape.new(name: 'UpdateServerConfigResponse')
|
186
213
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
214
|
+
VcenterBasedRemoteInfo = Shapes::StructureShape.new(name: 'VcenterBasedRemoteInfo')
|
215
|
+
VcenterBasedRemoteInfoList = Shapes::ListShape.new(name: 'VcenterBasedRemoteInfoList')
|
187
216
|
VersionControl = Shapes::StringShape.new(name: 'VersionControl')
|
217
|
+
VersionControlInfo = Shapes::StructureShape.new(name: 'VersionControlInfo')
|
218
|
+
VersionControlInfoList = Shapes::ListShape.new(name: 'VersionControlInfoList')
|
219
|
+
VersionControlType = Shapes::StringShape.new(name: 'VersionControlType')
|
188
220
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
189
221
|
importS3Bucket = Shapes::StringShape.new(name: 'importS3Bucket')
|
190
222
|
importS3Key = Shapes::StringShape.new(name: 'importS3Key')
|
@@ -196,11 +228,15 @@ module Aws::MigrationHubStrategyRecommendations
|
|
196
228
|
AntipatternSeveritySummary.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "severity"))
|
197
229
|
AntipatternSeveritySummary.struct_class = Types::AntipatternSeveritySummary
|
198
230
|
|
231
|
+
AppUnitError.add_member(:app_unit_error_category, Shapes::ShapeRef.new(shape: AppUnitErrorCategory, location_name: "appUnitErrorCategory"))
|
232
|
+
AppUnitError.struct_class = Types::AppUnitError
|
233
|
+
|
199
234
|
ApplicationComponentDetail.add_member(:analysis_status, Shapes::ShapeRef.new(shape: SrcCodeOrDbAnalysisStatus, location_name: "analysisStatus"))
|
200
235
|
ApplicationComponentDetail.add_member(:antipattern_report_s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "antipatternReportS3Object"))
|
201
236
|
ApplicationComponentDetail.add_member(:antipattern_report_status, Shapes::ShapeRef.new(shape: AntipatternReportStatus, location_name: "antipatternReportStatus"))
|
202
237
|
ApplicationComponentDetail.add_member(:antipattern_report_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "antipatternReportStatusMessage"))
|
203
238
|
ApplicationComponentDetail.add_member(:app_type, Shapes::ShapeRef.new(shape: AppType, location_name: "appType"))
|
239
|
+
ApplicationComponentDetail.add_member(:app_unit_error, Shapes::ShapeRef.new(shape: AppUnitError, location_name: "appUnitError"))
|
204
240
|
ApplicationComponentDetail.add_member(:associated_server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "associatedServerId"))
|
205
241
|
ApplicationComponentDetail.add_member(:database_config_detail, Shapes::ShapeRef.new(shape: DatabaseConfigDetail, location_name: "databaseConfigDetail"))
|
206
242
|
ApplicationComponentDetail.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "id"))
|
@@ -213,12 +249,18 @@ module Aws::MigrationHubStrategyRecommendations
|
|
213
249
|
ApplicationComponentDetail.add_member(:os_version, Shapes::ShapeRef.new(shape: String, location_name: "osVersion"))
|
214
250
|
ApplicationComponentDetail.add_member(:recommendation_set, Shapes::ShapeRef.new(shape: RecommendationSet, location_name: "recommendationSet"))
|
215
251
|
ApplicationComponentDetail.add_member(:resource_sub_type, Shapes::ShapeRef.new(shape: ResourceSubType, location_name: "resourceSubType"))
|
252
|
+
ApplicationComponentDetail.add_member(:runtime_status, Shapes::ShapeRef.new(shape: RuntimeAnalysisStatus, location_name: "runtimeStatus"))
|
253
|
+
ApplicationComponentDetail.add_member(:runtime_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "runtimeStatusMessage"))
|
216
254
|
ApplicationComponentDetail.add_member(:source_code_repositories, Shapes::ShapeRef.new(shape: SourceCodeRepositories, location_name: "sourceCodeRepositories"))
|
217
255
|
ApplicationComponentDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage"))
|
218
256
|
ApplicationComponentDetail.struct_class = Types::ApplicationComponentDetail
|
219
257
|
|
220
258
|
ApplicationComponentDetails.member = Shapes::ShapeRef.new(shape: ApplicationComponentDetail)
|
221
259
|
|
260
|
+
ApplicationComponentStatusSummary.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "count"))
|
261
|
+
ApplicationComponentStatusSummary.add_member(:src_code_or_db_analysis_status, Shapes::ShapeRef.new(shape: SrcCodeOrDbAnalysisStatus, location_name: "srcCodeOrDbAnalysisStatus"))
|
262
|
+
ApplicationComponentStatusSummary.struct_class = Types::ApplicationComponentStatusSummary
|
263
|
+
|
222
264
|
ApplicationComponentStrategies.member = Shapes::ShapeRef.new(shape: ApplicationComponentStrategy)
|
223
265
|
|
224
266
|
ApplicationComponentStrategy.add_member(:is_preferred, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPreferred"))
|
@@ -238,12 +280,23 @@ module Aws::MigrationHubStrategyRecommendations
|
|
238
280
|
AssessmentSummary.add_member(:antipattern_report_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "antipatternReportStatusMessage"))
|
239
281
|
AssessmentSummary.add_member(:last_analyzed_timestamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "lastAnalyzedTimestamp"))
|
240
282
|
AssessmentSummary.add_member(:list_antipattern_severity_summary, Shapes::ShapeRef.new(shape: ListAntipatternSeveritySummary, location_name: "listAntipatternSeveritySummary"))
|
283
|
+
AssessmentSummary.add_member(:list_application_component_status_summary, Shapes::ShapeRef.new(shape: ListApplicationComponentStatusSummary, location_name: "listApplicationComponentStatusSummary"))
|
241
284
|
AssessmentSummary.add_member(:list_application_component_strategy_summary, Shapes::ShapeRef.new(shape: ListStrategySummary, location_name: "listApplicationComponentStrategySummary"))
|
242
285
|
AssessmentSummary.add_member(:list_application_component_summary, Shapes::ShapeRef.new(shape: ListApplicationComponentSummary, location_name: "listApplicationComponentSummary"))
|
286
|
+
AssessmentSummary.add_member(:list_server_status_summary, Shapes::ShapeRef.new(shape: ListServerStatusSummary, location_name: "listServerStatusSummary"))
|
243
287
|
AssessmentSummary.add_member(:list_server_strategy_summary, Shapes::ShapeRef.new(shape: ListStrategySummary, location_name: "listServerStrategySummary"))
|
244
288
|
AssessmentSummary.add_member(:list_server_summary, Shapes::ShapeRef.new(shape: ListServerSummary, location_name: "listServerSummary"))
|
245
289
|
AssessmentSummary.struct_class = Types::AssessmentSummary
|
246
290
|
|
291
|
+
AssessmentTarget.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, required: true, location_name: "condition"))
|
292
|
+
AssessmentTarget.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
293
|
+
AssessmentTarget.add_member(:values, Shapes::ShapeRef.new(shape: AssessmentTargetValues, required: true, location_name: "values"))
|
294
|
+
AssessmentTarget.struct_class = Types::AssessmentTarget
|
295
|
+
|
296
|
+
AssessmentTargetValues.member = Shapes::ShapeRef.new(shape: String)
|
297
|
+
|
298
|
+
AssessmentTargets.member = Shapes::ShapeRef.new(shape: AssessmentTarget)
|
299
|
+
|
247
300
|
AssociatedApplication.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
248
301
|
AssociatedApplication.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
249
302
|
AssociatedApplication.struct_class = Types::AssociatedApplication
|
@@ -266,6 +319,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
266
319
|
Collector.add_member(:collector_health, Shapes::ShapeRef.new(shape: CollectorHealth, location_name: "collectorHealth"))
|
267
320
|
Collector.add_member(:collector_id, Shapes::ShapeRef.new(shape: String, location_name: "collectorId"))
|
268
321
|
Collector.add_member(:collector_version, Shapes::ShapeRef.new(shape: String, location_name: "collectorVersion"))
|
322
|
+
Collector.add_member(:configuration_summary, Shapes::ShapeRef.new(shape: ConfigurationSummary, location_name: "configurationSummary"))
|
269
323
|
Collector.add_member(:host_name, Shapes::ShapeRef.new(shape: String, location_name: "hostName"))
|
270
324
|
Collector.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "ipAddress"))
|
271
325
|
Collector.add_member(:last_activity_time_stamp, Shapes::ShapeRef.new(shape: String, location_name: "lastActivityTimeStamp"))
|
@@ -274,6 +328,13 @@ module Aws::MigrationHubStrategyRecommendations
|
|
274
328
|
|
275
329
|
Collectors.member = Shapes::ShapeRef.new(shape: Collector)
|
276
330
|
|
331
|
+
ConfigurationSummary.add_member(:ip_address_based_remote_info_list, Shapes::ShapeRef.new(shape: IPAddressBasedRemoteInfoList, location_name: "ipAddressBasedRemoteInfoList"))
|
332
|
+
ConfigurationSummary.add_member(:pipeline_info_list, Shapes::ShapeRef.new(shape: PipelineInfoList, location_name: "pipelineInfoList"))
|
333
|
+
ConfigurationSummary.add_member(:remote_source_code_analysis_server_info, Shapes::ShapeRef.new(shape: RemoteSourceCodeAnalysisServerInfo, location_name: "remoteSourceCodeAnalysisServerInfo"))
|
334
|
+
ConfigurationSummary.add_member(:vcenter_based_remote_info_list, Shapes::ShapeRef.new(shape: VcenterBasedRemoteInfoList, location_name: "vcenterBasedRemoteInfoList"))
|
335
|
+
ConfigurationSummary.add_member(:version_control_info_list, Shapes::ShapeRef.new(shape: VersionControlInfoList, location_name: "versionControlInfoList"))
|
336
|
+
ConfigurationSummary.struct_class = Types::ConfigurationSummary
|
337
|
+
|
277
338
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
278
339
|
ConflictException.struct_class = Types::ConflictException
|
279
340
|
|
@@ -283,6 +344,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
283
344
|
DataCollectionDetails.add_member(:servers, Shapes::ShapeRef.new(shape: Integer, location_name: "servers"))
|
284
345
|
DataCollectionDetails.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
|
285
346
|
DataCollectionDetails.add_member(:status, Shapes::ShapeRef.new(shape: AssessmentStatus, location_name: "status"))
|
347
|
+
DataCollectionDetails.add_member(:status_message, Shapes::ShapeRef.new(shape: AssessmentStatusMessage, location_name: "statusMessage"))
|
286
348
|
DataCollectionDetails.add_member(:success, Shapes::ShapeRef.new(shape: Integer, location_name: "success"))
|
287
349
|
DataCollectionDetails.struct_class = Types::DataCollectionDetails
|
288
350
|
|
@@ -303,6 +365,9 @@ module Aws::MigrationHubStrategyRecommendations
|
|
303
365
|
DatabasePreferences.add_member(:database_migration_preference, Shapes::ShapeRef.new(shape: DatabaseMigrationPreference, location_name: "databaseMigrationPreference"))
|
304
366
|
DatabasePreferences.struct_class = Types::DatabasePreferences
|
305
367
|
|
368
|
+
DependencyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
369
|
+
DependencyException.struct_class = Types::DependencyException
|
370
|
+
|
306
371
|
GetApplicationComponentDetailsRequest.add_member(:application_component_id, Shapes::ShapeRef.new(shape: ApplicationComponentId, required: true, location: "uri", location_name: "applicationComponentId"))
|
307
372
|
GetApplicationComponentDetailsRequest.struct_class = Types::GetApplicationComponentDetailsRequest
|
308
373
|
|
@@ -321,6 +386,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
321
386
|
GetAssessmentRequest.add_member(:id, Shapes::ShapeRef.new(shape: AsyncTaskId, required: true, location: "uri", location_name: "id"))
|
322
387
|
GetAssessmentRequest.struct_class = Types::GetAssessmentRequest
|
323
388
|
|
389
|
+
GetAssessmentResponse.add_member(:assessment_targets, Shapes::ShapeRef.new(shape: AssessmentTargets, location_name: "assessmentTargets"))
|
324
390
|
GetAssessmentResponse.add_member(:data_collection_details, Shapes::ShapeRef.new(shape: DataCollectionDetails, location_name: "dataCollectionDetails"))
|
325
391
|
GetAssessmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: AsyncTaskId, location_name: "id"))
|
326
392
|
GetAssessmentResponse.struct_class = Types::GetAssessmentResponse
|
@@ -341,8 +407,14 @@ module Aws::MigrationHubStrategyRecommendations
|
|
341
407
|
GetImportFileTaskResponse.add_member(:status_report_s3_key, Shapes::ShapeRef.new(shape: importS3Key, location_name: "statusReportS3Key"))
|
342
408
|
GetImportFileTaskResponse.struct_class = Types::GetImportFileTaskResponse
|
343
409
|
|
410
|
+
GetLatestAssessmentIdRequest.struct_class = Types::GetLatestAssessmentIdRequest
|
411
|
+
|
412
|
+
GetLatestAssessmentIdResponse.add_member(:id, Shapes::ShapeRef.new(shape: AsyncTaskId, location_name: "id"))
|
413
|
+
GetLatestAssessmentIdResponse.struct_class = Types::GetLatestAssessmentIdResponse
|
414
|
+
|
344
415
|
GetPortfolioPreferencesRequest.struct_class = Types::GetPortfolioPreferencesRequest
|
345
416
|
|
417
|
+
GetPortfolioPreferencesResponse.add_member(:application_mode, Shapes::ShapeRef.new(shape: ApplicationMode, location_name: "applicationMode"))
|
346
418
|
GetPortfolioPreferencesResponse.add_member(:application_preferences, Shapes::ShapeRef.new(shape: ApplicationPreferences, location_name: "applicationPreferences"))
|
347
419
|
GetPortfolioPreferencesResponse.add_member(:database_preferences, Shapes::ShapeRef.new(shape: DatabasePreferences, location_name: "databasePreferences"))
|
348
420
|
GetPortfolioPreferencesResponse.add_member(:prioritize_business_goals, Shapes::ShapeRef.new(shape: PrioritizeBusinessGoals, location_name: "prioritizeBusinessGoals"))
|
@@ -392,6 +464,13 @@ module Aws::MigrationHubStrategyRecommendations
|
|
392
464
|
|
393
465
|
HomogeneousTargetDatabaseEngines.member = Shapes::ShapeRef.new(shape: HomogeneousTargetDatabaseEngine)
|
394
466
|
|
467
|
+
IPAddressBasedRemoteInfo.add_member(:auth_type, Shapes::ShapeRef.new(shape: AuthType, location_name: "authType"))
|
468
|
+
IPAddressBasedRemoteInfo.add_member(:ip_address_configuration_time_stamp, Shapes::ShapeRef.new(shape: String, location_name: "ipAddressConfigurationTimeStamp"))
|
469
|
+
IPAddressBasedRemoteInfo.add_member(:os_type, Shapes::ShapeRef.new(shape: OSType, location_name: "osType"))
|
470
|
+
IPAddressBasedRemoteInfo.struct_class = Types::IPAddressBasedRemoteInfo
|
471
|
+
|
472
|
+
IPAddressBasedRemoteInfoList.member = Shapes::ShapeRef.new(shape: IPAddressBasedRemoteInfo)
|
473
|
+
|
395
474
|
ImportFileTaskInformation.add_member(:completion_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "completionTime"))
|
396
475
|
ImportFileTaskInformation.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
397
476
|
ImportFileTaskInformation.add_member(:import_name, Shapes::ShapeRef.new(shape: String, location_name: "importName"))
|
@@ -410,6 +489,8 @@ module Aws::MigrationHubStrategyRecommendations
|
|
410
489
|
|
411
490
|
ListAntipatternSeveritySummary.member = Shapes::ShapeRef.new(shape: AntipatternSeveritySummary)
|
412
491
|
|
492
|
+
ListApplicationComponentStatusSummary.member = Shapes::ShapeRef.new(shape: ApplicationComponentStatusSummary)
|
493
|
+
|
413
494
|
ListApplicationComponentSummary.member = Shapes::ShapeRef.new(shape: ApplicationComponentSummary)
|
414
495
|
|
415
496
|
ListApplicationComponentsRequest.add_member(:application_component_criteria, Shapes::ShapeRef.new(shape: ApplicationComponentCriteria, location_name: "applicationComponentCriteria"))
|
@@ -442,6 +523,8 @@ module Aws::MigrationHubStrategyRecommendations
|
|
442
523
|
ListImportFileTaskResponse.add_member(:task_infos, Shapes::ShapeRef.new(shape: ListImportFileTaskInformation, location_name: "taskInfos"))
|
443
524
|
ListImportFileTaskResponse.struct_class = Types::ListImportFileTaskResponse
|
444
525
|
|
526
|
+
ListServerStatusSummary.member = Shapes::ShapeRef.new(shape: ServerStatusSummary)
|
527
|
+
|
445
528
|
ListServerSummary.member = Shapes::ShapeRef.new(shape: ServerSummary)
|
446
529
|
|
447
530
|
ListServersRequest.add_member(:filter_value, Shapes::ShapeRef.new(shape: String, location_name: "filterValue"))
|
@@ -488,9 +571,16 @@ module Aws::MigrationHubStrategyRecommendations
|
|
488
571
|
OSInfo.add_member(:version, Shapes::ShapeRef.new(shape: OSVersion, location_name: "version"))
|
489
572
|
OSInfo.struct_class = Types::OSInfo
|
490
573
|
|
574
|
+
PipelineInfo.add_member(:pipeline_configuration_time_stamp, Shapes::ShapeRef.new(shape: String, location_name: "pipelineConfigurationTimeStamp"))
|
575
|
+
PipelineInfo.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
|
576
|
+
PipelineInfo.struct_class = Types::PipelineInfo
|
577
|
+
|
578
|
+
PipelineInfoList.member = Shapes::ShapeRef.new(shape: PipelineInfo)
|
579
|
+
|
491
580
|
PrioritizeBusinessGoals.add_member(:business_goals, Shapes::ShapeRef.new(shape: BusinessGoals, location_name: "businessGoals"))
|
492
581
|
PrioritizeBusinessGoals.struct_class = Types::PrioritizeBusinessGoals
|
493
582
|
|
583
|
+
PutPortfolioPreferencesRequest.add_member(:application_mode, Shapes::ShapeRef.new(shape: ApplicationMode, location_name: "applicationMode"))
|
494
584
|
PutPortfolioPreferencesRequest.add_member(:application_preferences, Shapes::ShapeRef.new(shape: ApplicationPreferences, location_name: "applicationPreferences"))
|
495
585
|
PutPortfolioPreferencesRequest.add_member(:database_preferences, Shapes::ShapeRef.new(shape: DatabasePreferences, location_name: "databasePreferences"))
|
496
586
|
PutPortfolioPreferencesRequest.add_member(:prioritize_business_goals, Shapes::ShapeRef.new(shape: PrioritizeBusinessGoals, location_name: "prioritizeBusinessGoals"))
|
@@ -511,6 +601,9 @@ module Aws::MigrationHubStrategyRecommendations
|
|
511
601
|
RecommendationSet.add_member(:transformation_tool, Shapes::ShapeRef.new(shape: TransformationTool, location_name: "transformationTool"))
|
512
602
|
RecommendationSet.struct_class = Types::RecommendationSet
|
513
603
|
|
604
|
+
RemoteSourceCodeAnalysisServerInfo.add_member(:remote_source_code_analysis_server_configuration_timestamp, Shapes::ShapeRef.new(shape: String, location_name: "remoteSourceCodeAnalysisServerConfigurationTimestamp"))
|
605
|
+
RemoteSourceCodeAnalysisServerInfo.struct_class = Types::RemoteSourceCodeAnalysisServerInfo
|
606
|
+
|
514
607
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
515
608
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
516
609
|
|
@@ -535,6 +628,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
535
628
|
ServerDetail.add_member(:list_antipattern_severity_summary, Shapes::ShapeRef.new(shape: ListAntipatternSeveritySummary, location_name: "listAntipatternSeveritySummary"))
|
536
629
|
ServerDetail.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
537
630
|
ServerDetail.add_member(:recommendation_set, Shapes::ShapeRef.new(shape: RecommendationSet, location_name: "recommendationSet"))
|
631
|
+
ServerDetail.add_member(:server_error, Shapes::ShapeRef.new(shape: ServerError, location_name: "serverError"))
|
538
632
|
ServerDetail.add_member(:server_type, Shapes::ShapeRef.new(shape: String, location_name: "serverType"))
|
539
633
|
ServerDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage"))
|
540
634
|
ServerDetail.add_member(:system_info, Shapes::ShapeRef.new(shape: SystemInfo, location_name: "systemInfo"))
|
@@ -542,6 +636,13 @@ module Aws::MigrationHubStrategyRecommendations
|
|
542
636
|
|
543
637
|
ServerDetails.member = Shapes::ShapeRef.new(shape: ServerDetail)
|
544
638
|
|
639
|
+
ServerError.add_member(:server_error_category, Shapes::ShapeRef.new(shape: ServerErrorCategory, location_name: "serverErrorCategory"))
|
640
|
+
ServerError.struct_class = Types::ServerError
|
641
|
+
|
642
|
+
ServerStatusSummary.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "count"))
|
643
|
+
ServerStatusSummary.add_member(:run_time_assessment_status, Shapes::ShapeRef.new(shape: RunTimeAssessmentStatus, location_name: "runTimeAssessmentStatus"))
|
644
|
+
ServerStatusSummary.struct_class = Types::ServerStatusSummary
|
645
|
+
|
545
646
|
ServerStrategies.member = Shapes::ShapeRef.new(shape: ServerStrategy)
|
546
647
|
|
547
648
|
ServerStrategy.add_member(:is_preferred, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPreferred"))
|
@@ -561,6 +662,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
561
662
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
562
663
|
|
563
664
|
SourceCode.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
665
|
+
SourceCode.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, location_name: "projectName"))
|
564
666
|
SourceCode.add_member(:source_version, Shapes::ShapeRef.new(shape: SourceVersion, location_name: "sourceVersion"))
|
565
667
|
SourceCode.add_member(:version_control, Shapes::ShapeRef.new(shape: VersionControl, location_name: "versionControl"))
|
566
668
|
SourceCode.struct_class = Types::SourceCode
|
@@ -570,10 +672,12 @@ module Aws::MigrationHubStrategyRecommendations
|
|
570
672
|
SourceCodeRepositories.member = Shapes::ShapeRef.new(shape: SourceCodeRepository)
|
571
673
|
|
572
674
|
SourceCodeRepository.add_member(:branch, Shapes::ShapeRef.new(shape: String, location_name: "branch"))
|
675
|
+
SourceCodeRepository.add_member(:project_name, Shapes::ShapeRef.new(shape: String, location_name: "projectName"))
|
573
676
|
SourceCodeRepository.add_member(:repository, Shapes::ShapeRef.new(shape: String, location_name: "repository"))
|
574
677
|
SourceCodeRepository.add_member(:version_control_type, Shapes::ShapeRef.new(shape: String, location_name: "versionControlType"))
|
575
678
|
SourceCodeRepository.struct_class = Types::SourceCodeRepository
|
576
679
|
|
680
|
+
StartAssessmentRequest.add_member(:assessment_targets, Shapes::ShapeRef.new(shape: AssessmentTargets, location_name: "assessmentTargets"))
|
577
681
|
StartAssessmentRequest.add_member(:s3bucket_for_analysis_data, Shapes::ShapeRef.new(shape: StartAssessmentRequestS3bucketForAnalysisDataString, location_name: "s3bucketForAnalysisData"))
|
578
682
|
StartAssessmentRequest.add_member(:s3bucket_for_report_data, Shapes::ShapeRef.new(shape: StartAssessmentRequestS3bucketForReportDataString, location_name: "s3bucketForReportData"))
|
579
683
|
StartAssessmentRequest.struct_class = Types::StartAssessmentRequest
|
@@ -630,7 +734,9 @@ module Aws::MigrationHubStrategyRecommendations
|
|
630
734
|
TransformationTool.add_member(:tranformation_tool_installation_link, Shapes::ShapeRef.new(shape: TranformationToolInstallationLink, location_name: "tranformationToolInstallationLink"))
|
631
735
|
TransformationTool.struct_class = Types::TransformationTool
|
632
736
|
|
737
|
+
UpdateApplicationComponentConfigRequest.add_member(:app_type, Shapes::ShapeRef.new(shape: AppType, location_name: "appType"))
|
633
738
|
UpdateApplicationComponentConfigRequest.add_member(:application_component_id, Shapes::ShapeRef.new(shape: ApplicationComponentId, required: true, location_name: "applicationComponentId"))
|
739
|
+
UpdateApplicationComponentConfigRequest.add_member(:configure_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "configureOnly"))
|
634
740
|
UpdateApplicationComponentConfigRequest.add_member(:inclusion_status, Shapes::ShapeRef.new(shape: InclusionStatus, location_name: "inclusionStatus"))
|
635
741
|
UpdateApplicationComponentConfigRequest.add_member(:secrets_manager_key, Shapes::ShapeRef.new(shape: SecretsManagerKey, location_name: "secretsManagerKey"))
|
636
742
|
UpdateApplicationComponentConfigRequest.add_member(:source_code_list, Shapes::ShapeRef.new(shape: SourceCodeList, location_name: "sourceCodeList"))
|
@@ -648,6 +754,18 @@ module Aws::MigrationHubStrategyRecommendations
|
|
648
754
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
649
755
|
ValidationException.struct_class = Types::ValidationException
|
650
756
|
|
757
|
+
VcenterBasedRemoteInfo.add_member(:os_type, Shapes::ShapeRef.new(shape: OSType, location_name: "osType"))
|
758
|
+
VcenterBasedRemoteInfo.add_member(:vcenter_configuration_time_stamp, Shapes::ShapeRef.new(shape: String, location_name: "vcenterConfigurationTimeStamp"))
|
759
|
+
VcenterBasedRemoteInfo.struct_class = Types::VcenterBasedRemoteInfo
|
760
|
+
|
761
|
+
VcenterBasedRemoteInfoList.member = Shapes::ShapeRef.new(shape: VcenterBasedRemoteInfo)
|
762
|
+
|
763
|
+
VersionControlInfo.add_member(:version_control_configuration_time_stamp, Shapes::ShapeRef.new(shape: String, location_name: "versionControlConfigurationTimeStamp"))
|
764
|
+
VersionControlInfo.add_member(:version_control_type, Shapes::ShapeRef.new(shape: VersionControlType, location_name: "versionControlType"))
|
765
|
+
VersionControlInfo.struct_class = Types::VersionControlInfo
|
766
|
+
|
767
|
+
VersionControlInfoList.member = Shapes::ShapeRef.new(shape: VersionControlInfo)
|
768
|
+
|
651
769
|
|
652
770
|
# @api private
|
653
771
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -713,6 +831,18 @@ module Aws::MigrationHubStrategyRecommendations
|
|
713
831
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
714
832
|
end)
|
715
833
|
|
834
|
+
api.add_operation(:get_latest_assessment_id, Seahorse::Model::Operation.new.tap do |o|
|
835
|
+
o.name = "GetLatestAssessmentId"
|
836
|
+
o.http_method = "GET"
|
837
|
+
o.http_request_uri = "/get-latest-assessment-id"
|
838
|
+
o.input = Shapes::ShapeRef.new(shape: GetLatestAssessmentIdRequest)
|
839
|
+
o.output = Shapes::ShapeRef.new(shape: GetLatestAssessmentIdResponse)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
844
|
+
end)
|
845
|
+
|
716
846
|
api.add_operation(:get_portfolio_preferences, Seahorse::Model::Operation.new.tap do |o|
|
717
847
|
o.name = "GetPortfolioPreferences"
|
718
848
|
o.http_method = "GET"
|
@@ -50,6 +50,9 @@ module Aws::MigrationHubStrategyRecommendations
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,105 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::MigrationHubStrategyRecommendations
|
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(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://migrationhub-strategy-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
|
33
|
+
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://migrationhub-strategy-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
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://migrationhub-strategy.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGh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V19XSwi
|
99
|
-
dHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBv
|
100
|
-
aW50Ijp7InVybCI6Imh0dHBzOi8vbWlncmF0aW9uaHViLXN0cmF0ZWd5LntS
|
101
|
-
ZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIs
|
102
|
-
InByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2lu
|
103
|
-
dCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMg
|
104
|
-
ZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBE
|
105
|
-
dWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10s
|
106
|
-
ImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbWlncmF0aW9uaHViLXN0cmF0
|
107
|
-
ZWd5LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInBy
|
108
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
109
|
-
XX1dfQ==
|
110
|
-
|
111
|
-
JSON
|
112
50
|
end
|
113
51
|
end
|
@@ -67,6 +67,20 @@ module Aws::MigrationHubStrategyRecommendations
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
class GetLatestAssessmentId
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
70
84
|
class GetPortfolioPreferences
|
71
85
|
def self.build(context)
|
72
86
|
unless context.config.regional_endpoint
|
@@ -29,6 +29,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
|
+
# * {DependencyException}
|
32
33
|
# * {InternalServerException}
|
33
34
|
# * {ResourceNotFoundException}
|
34
35
|
# * {ServiceLinkedRoleLockClientException}
|
@@ -72,6 +73,21 @@ module Aws::MigrationHubStrategyRecommendations
|
|
72
73
|
end
|
73
74
|
end
|
74
75
|
|
76
|
+
class DependencyException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::MigrationHubStrategyRecommendations::Types::DependencyException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
75
91
|
class InternalServerException < ServiceError
|
76
92
|
|
77
93
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -64,6 +64,8 @@ module Aws::MigrationHubStrategyRecommendations
|
|
64
64
|
Aws::MigrationHubStrategyRecommendations::Endpoints::GetAssessment.build(context)
|
65
65
|
when :get_import_file_task
|
66
66
|
Aws::MigrationHubStrategyRecommendations::Endpoints::GetImportFileTask.build(context)
|
67
|
+
when :get_latest_assessment_id
|
68
|
+
Aws::MigrationHubStrategyRecommendations::Endpoints::GetLatestAssessmentId.build(context)
|
67
69
|
when :get_portfolio_preferences
|
68
70
|
Aws::MigrationHubStrategyRecommendations::Endpoints::GetPortfolioPreferences.build(context)
|
69
71
|
when :get_portfolio_summary
|