Class: Aws::MigrationHubStrategyRecommendations::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::MigrationHubStrategyRecommendations::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb
Overview
An API client for MigrationHubStrategyRecommendations. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::MigrationHubStrategyRecommendations::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#get_application_component_details(params = {}) ⇒ Types::GetApplicationComponentDetailsResponse
Retrieves details about an application component.
-
#get_application_component_strategies(params = {}) ⇒ Types::GetApplicationComponentStrategiesResponse
Retrieves a list of all the recommended strategies and tools for an application component running on a server.
-
#get_assessment(params = {}) ⇒ Types::GetAssessmentResponse
Retrieves the status of an on-going assessment.
-
#get_import_file_task(params = {}) ⇒ Types::GetImportFileTaskResponse
Retrieves the details about a specific import task.
-
#get_latest_assessment_id(params = {}) ⇒ Types::GetLatestAssessmentIdResponse
Retrieve the latest ID of a specific assessment task.
-
#get_portfolio_preferences(params = {}) ⇒ Types::GetPortfolioPreferencesResponse
Retrieves your migration and modernization preferences.
-
#get_portfolio_summary(params = {}) ⇒ Types::GetPortfolioSummaryResponse
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
-
#get_recommendation_report_details(params = {}) ⇒ Types::GetRecommendationReportDetailsResponse
Retrieves detailed information about the specified recommendation report.
-
#get_server_details(params = {}) ⇒ Types::GetServerDetailsResponse
Retrieves detailed information about a specified server.
-
#get_server_strategies(params = {}) ⇒ Types::GetServerStrategiesResponse
Retrieves recommended strategies and tools for the specified server.
-
#list_analyzable_servers(params = {}) ⇒ Types::ListAnalyzableServersResponse
Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
-
#list_application_components(params = {}) ⇒ Types::ListApplicationComponentsResponse
Retrieves a list of all the application components (processes).
-
#list_collectors(params = {}) ⇒ Types::ListCollectorsResponse
Retrieves a list of all the installed collectors.
-
#list_import_file_task(params = {}) ⇒ Types::ListImportFileTaskResponse
Retrieves a list of all the imports performed.
-
#list_servers(params = {}) ⇒ Types::ListServersResponse
Returns a list of all the servers.
-
#put_portfolio_preferences(params = {}) ⇒ Struct
Saves the specified migration and modernization preferences.
-
#start_assessment(params = {}) ⇒ Types::StartAssessmentResponse
Starts the assessment of an on-premises environment.
-
#start_import_file_task(params = {}) ⇒ Types::StartImportFileTaskResponse
Starts a file import.
-
#start_recommendation_report_generation(params = {}) ⇒ Types::StartRecommendationReportGenerationResponse
Starts generating a recommendation report.
-
#stop_assessment(params = {}) ⇒ Struct
Stops the assessment of an on-premises environment.
-
#update_application_component_config(params = {}) ⇒ Struct
Updates the configuration of an application component.
-
#update_server_config(params = {}) ⇒ Struct
Updates the configuration of the specified server.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
440 441 442 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 440 def initialize(*args) super end |
Instance Method Details
#get_application_component_details(params = {}) ⇒ Types::GetApplicationComponentDetailsResponse
Retrieves details about an application component.
524 525 526 527 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 524 def get_application_component_details(params = {}, = {}) req = build_request(:get_application_component_details, params) req.send_request() end |
#get_application_component_strategies(params = {}) ⇒ Types::GetApplicationComponentStrategiesResponse
Retrieves a list of all the recommended strategies and tools for an application component running on a server.
561 562 563 564 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 561 def get_application_component_strategies(params = {}, = {}) req = build_request(:get_application_component_strategies, params) req.send_request() end |
#get_assessment(params = {}) ⇒ Types::GetAssessmentResponse
Retrieves the status of an on-going assessment.
604 605 606 607 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 604 def get_assessment(params = {}, = {}) req = build_request(:get_assessment, params) req.send_request() end |
#get_import_file_task(params = {}) ⇒ Types::GetImportFileTaskResponse
Retrieves the details about a specific import task.
653 654 655 656 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 653 def get_import_file_task(params = {}, = {}) req = build_request(:get_import_file_task, params) req.send_request() end |
#get_latest_assessment_id(params = {}) ⇒ Types::GetLatestAssessmentIdResponse
Retrieve the latest ID of a specific assessment task.
672 673 674 675 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 672 def get_latest_assessment_id(params = {}, = {}) req = build_request(:get_latest_assessment_id, params) req.send_request() end |
#get_portfolio_preferences(params = {}) ⇒ Types::GetPortfolioPreferencesResponse
Retrieves your migration and modernization preferences.
711 712 713 714 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 711 def get_portfolio_preferences(params = {}, = {}) req = build_request(:get_portfolio_preferences, params) req.send_request() end |
#get_portfolio_summary(params = {}) ⇒ Types::GetPortfolioSummaryResponse
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
756 757 758 759 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 756 def get_portfolio_summary(params = {}, = {}) req = build_request(:get_portfolio_summary, params) req.send_request() end |
#get_recommendation_report_details(params = {}) ⇒ Types::GetRecommendationReportDetailsResponse
Retrieves detailed information about the specified recommendation report.
794 795 796 797 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 794 def get_recommendation_report_details(params = {}, = {}) req = build_request(:get_recommendation_report_details, params) req.send_request() end |
#get_server_details(params = {}) ⇒ Types::GetServerDetailsResponse
Retrieves detailed information about a specified server.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
873 874 875 876 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 873 def get_server_details(params = {}, = {}) req = build_request(:get_server_details, params) req.send_request() end |
#get_server_strategies(params = {}) ⇒ Types::GetServerStrategiesResponse
Retrieves recommended strategies and tools for the specified server.
909 910 911 912 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 909 def get_server_strategies(params = {}, = {}) req = build_request(:get_server_strategies, params) req.send_request() end |
#list_analyzable_servers(params = {}) ⇒ Types::ListAnalyzableServersResponse
Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
960 961 962 963 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 960 def list_analyzable_servers(params = {}, = {}) req = build_request(:list_analyzable_servers, params) req.send_request() end |
#list_application_components(params = {}) ⇒ Types::ListApplicationComponentsResponse
Retrieves a list of all the application components (processes).
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1072 1073 1074 1075 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1072 def list_application_components(params = {}, = {}) req = build_request(:list_application_components, params) req.send_request() end |
#list_collectors(params = {}) ⇒ Types::ListCollectorsResponse
Retrieves a list of all the installed collectors.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1134 1135 1136 1137 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1134 def list_collectors(params = {}, = {}) req = build_request(:list_collectors, params) req.send_request() end |
#list_import_file_task(params = {}) ⇒ Types::ListImportFileTaskResponse
Retrieves a list of all the imports performed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1185 1186 1187 1188 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1185 def list_import_file_task(params = {}, = {}) req = build_request(:list_import_file_task, params) req.send_request() end |
#list_servers(params = {}) ⇒ Types::ListServersResponse
Returns a list of all the servers.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1282 1283 1284 1285 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1282 def list_servers(params = {}, = {}) req = build_request(:list_servers, params) req.send_request() end |
#put_portfolio_preferences(params = {}) ⇒ Struct
Saves the specified migration and modernization preferences.
1348 1349 1350 1351 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1348 def put_portfolio_preferences(params = {}, = {}) req = build_request(:put_portfolio_preferences, params) req.send_request() end |
#start_assessment(params = {}) ⇒ Types::StartAssessmentResponse
Starts the assessment of an on-premises environment.
1396 1397 1398 1399 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1396 def start_assessment(params = {}, = {}) req = build_request(:start_assessment, params) req.send_request() end |
#start_import_file_task(params = {}) ⇒ Types::StartImportFileTaskResponse
Starts a file import.
1455 1456 1457 1458 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1455 def start_import_file_task(params = {}, = {}) req = build_request(:start_import_file_task, params) req.send_request() end |
#start_recommendation_report_generation(params = {}) ⇒ Types::StartRecommendationReportGenerationResponse
Starts generating a recommendation report.
1493 1494 1495 1496 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1493 def start_recommendation_report_generation(params = {}, = {}) req = build_request(:start_recommendation_report_generation, params) req.send_request() end |
#stop_assessment(params = {}) ⇒ Struct
Stops the assessment of an on-premises environment.
1515 1516 1517 1518 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1515 def stop_assessment(params = {}, = {}) req = build_request(:stop_assessment, params) req.send_request() end |
#update_application_component_config(params = {}) ⇒ Struct
Updates the configuration of an application component.
1580 1581 1582 1583 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1580 def update_application_component_config(params = {}, = {}) req = build_request(:update_application_component_config, params) req.send_request() end |
#update_server_config(params = {}) ⇒ Struct
Updates the configuration of the specified server.
1612 1613 1614 1615 |
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb', line 1612 def update_server_config(params = {}, = {}) req = build_request(:update_server_config, params) req.send_request() end |