aws-sdk-migrationhubstrategyrecommendations 1.4.0 → 1.6.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb +122 -21
- data/lib/aws-sdk-migrationhubstrategyrecommendations/client_api.rb +130 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoints.rb +309 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/errors.rb +16 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/plugins/endpoints.rb +110 -0
- data/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb +330 -342
- data/lib/aws-sdk-migrationhubstrategyrecommendations.rb +5 -1
- metadata +8 -4
@@ -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"
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MigrationHubStrategyRecommendations
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
56
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
57
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
|
+
if self[:use_dual_stack].nil?
|
59
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
60
|
+
end
|
61
|
+
self[:use_fips] = options[:use_fips]
|
62
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
63
|
+
if self[:use_fips].nil?
|
64
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
65
|
+
end
|
66
|
+
self[:endpoint] = options[:endpoint]
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MigrationHubStrategyRecommendations
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parameters)
|
27
|
+
end
|
28
|
+
|
29
|
+
# @api private
|
30
|
+
RULES = <<-JSON
|
31
|
+
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
+
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
+
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
|
35
|
+
aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
|
36
|
+
ZWZhd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