@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMigrationHubStrategyRecommendationsClient extends AmazonWebServiceClient implements AWSMigrationHubStrategyRecommendations
This API reference provides descriptions, syntax, and other details about each of the actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSMigrationHubStrategyRecommendationsClientBuilder |
builder() |
GetApplicationComponentDetailsResult |
getApplicationComponentDetails(GetApplicationComponentDetailsRequest request)
Retrieves details about an application component.
|
GetApplicationComponentStrategiesResult |
getApplicationComponentStrategies(GetApplicationComponentStrategiesRequest request)
Retrieves a list of all the recommended strategies and tools for an application component running on a server.
|
GetAssessmentResult |
getAssessment(GetAssessmentRequest request)
Retrieves the status of an on-going assessment.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetImportFileTaskResult |
getImportFileTask(GetImportFileTaskRequest request)
Retrieves the details about a specific import task.
|
GetLatestAssessmentIdResult |
getLatestAssessmentId(GetLatestAssessmentIdRequest request)
Retrieve the latest ID of a specific assessment task.
|
GetPortfolioPreferencesResult |
getPortfolioPreferences(GetPortfolioPreferencesRequest request)
Retrieves your migration and modernization preferences.
|
GetPortfolioSummaryResult |
getPortfolioSummary(GetPortfolioSummaryRequest request)
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
|
GetRecommendationReportDetailsResult |
getRecommendationReportDetails(GetRecommendationReportDetailsRequest request)
Retrieves detailed information about the specified recommendation report.
|
GetServerDetailsResult |
getServerDetails(GetServerDetailsRequest request)
Retrieves detailed information about a specified server.
|
GetServerStrategiesResult |
getServerStrategies(GetServerStrategiesRequest request)
Retrieves recommended strategies and tools for the specified server.
|
ListAnalyzableServersResult |
listAnalyzableServers(ListAnalyzableServersRequest request)
Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
|
ListApplicationComponentsResult |
listApplicationComponents(ListApplicationComponentsRequest request)
Retrieves a list of all the application components (processes).
|
ListCollectorsResult |
listCollectors(ListCollectorsRequest request)
Retrieves a list of all the installed collectors.
|
ListImportFileTaskResult |
listImportFileTask(ListImportFileTaskRequest request)
Retrieves a list of all the imports performed.
|
ListServersResult |
listServers(ListServersRequest request)
Returns a list of all the servers.
|
PutPortfolioPreferencesResult |
putPortfolioPreferences(PutPortfolioPreferencesRequest request)
Saves the specified migration and modernization preferences.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartAssessmentResult |
startAssessment(StartAssessmentRequest request)
Starts the assessment of an on-premises environment.
|
StartImportFileTaskResult |
startImportFileTask(StartImportFileTaskRequest request)
Starts a file import.
|
StartRecommendationReportGenerationResult |
startRecommendationReportGeneration(StartRecommendationReportGenerationRequest request)
Starts generating a recommendation report.
|
StopAssessmentResult |
stopAssessment(StopAssessmentRequest request)
Stops the assessment of an on-premises environment.
|
UpdateApplicationComponentConfigResult |
updateApplicationComponentConfig(UpdateApplicationComponentConfigRequest request)
Updates the configuration of an application component.
|
UpdateServerConfigResult |
updateServerConfig(UpdateServerConfigRequest request)
Updates the configuration of the specified server.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSMigrationHubStrategyRecommendationsClientBuilder builder()
public GetApplicationComponentDetailsResult getApplicationComponentDetails(GetApplicationComponentDetailsRequest request)
Retrieves details about an application component.
getApplicationComponentDetails
in interface AWSMigrationHubStrategyRecommendations
getApplicationComponentDetailsRequest
- ResourceNotFoundException
- The specified ID in the request is not found.ThrottlingException
- The request was denied due to request throttling.InternalServerException
- The server experienced an internal error. Try again.public GetApplicationComponentStrategiesResult getApplicationComponentStrategies(GetApplicationComponentStrategiesRequest request)
Retrieves a list of all the recommended strategies and tools for an application component running on a server.
getApplicationComponentStrategies
in interface AWSMigrationHubStrategyRecommendations
getApplicationComponentStrategiesRequest
- ResourceNotFoundException
- The specified ID in the request is not found.ThrottlingException
- The request was denied due to request throttling.InternalServerException
- The server experienced an internal error. Try again.public GetAssessmentResult getAssessment(GetAssessmentRequest request)
Retrieves the status of an on-going assessment.
getAssessment
in interface AWSMigrationHubStrategyRecommendations
getAssessmentRequest
- ResourceNotFoundException
- The specified ID in the request is not found.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.InternalServerException
- The server experienced an internal error. Try again.public GetImportFileTaskResult getImportFileTask(GetImportFileTaskRequest request)
Retrieves the details about a specific import task.
getImportFileTask
in interface AWSMigrationHubStrategyRecommendations
getImportFileTaskRequest
- ResourceNotFoundException
- The specified ID in the request is not found.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public GetLatestAssessmentIdResult getLatestAssessmentId(GetLatestAssessmentIdRequest request)
Retrieve the latest ID of a specific assessment task.
getLatestAssessmentId
in interface AWSMigrationHubStrategyRecommendations
getLatestAssessmentIdRequest
- DependencyException
- Dependency encountered an error.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public GetPortfolioPreferencesResult getPortfolioPreferences(GetPortfolioPreferencesRequest request)
Retrieves your migration and modernization preferences.
getPortfolioPreferences
in interface AWSMigrationHubStrategyRecommendations
getPortfolioPreferencesRequest
- ResourceNotFoundException
- The specified ID in the request is not found.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.InternalServerException
- The server experienced an internal error. Try again.public GetPortfolioSummaryResult getPortfolioSummary(GetPortfolioSummaryRequest request)
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
getPortfolioSummary
in interface AWSMigrationHubStrategyRecommendations
getPortfolioSummaryRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.InternalServerException
- The server experienced an internal error. Try again.public GetRecommendationReportDetailsResult getRecommendationReportDetails(GetRecommendationReportDetailsRequest request)
Retrieves detailed information about the specified recommendation report.
getRecommendationReportDetails
in interface AWSMigrationHubStrategyRecommendations
getRecommendationReportDetailsRequest
- ResourceNotFoundException
- The specified ID in the request is not found.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public GetServerDetailsResult getServerDetails(GetServerDetailsRequest request)
Retrieves detailed information about a specified server.
getServerDetails
in interface AWSMigrationHubStrategyRecommendations
getServerDetailsRequest
- ResourceNotFoundException
- The specified ID in the request is not found.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public GetServerStrategiesResult getServerStrategies(GetServerStrategiesRequest request)
Retrieves recommended strategies and tools for the specified server.
getServerStrategies
in interface AWSMigrationHubStrategyRecommendations
getServerStrategiesRequest
- ResourceNotFoundException
- The specified ID in the request is not found.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public ListAnalyzableServersResult listAnalyzableServers(ListAnalyzableServersRequest request)
Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
listAnalyzableServers
in interface AWSMigrationHubStrategyRecommendations
listAnalyzableServersRequest
- Represents input for ListAnalyzableServers operation.AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public ListApplicationComponentsResult listApplicationComponents(ListApplicationComponentsRequest request)
Retrieves a list of all the application components (processes).
listApplicationComponents
in interface AWSMigrationHubStrategyRecommendations
listApplicationComponentsRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ServiceLinkedRoleLockClientException
- Exception to indicate that the service-linked role (SLR) is locked.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public ListCollectorsResult listCollectors(ListCollectorsRequest request)
Retrieves a list of all the installed collectors.
listCollectors
in interface AWSMigrationHubStrategyRecommendations
listCollectorsRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public ListImportFileTaskResult listImportFileTask(ListImportFileTaskRequest request)
Retrieves a list of all the imports performed.
listImportFileTask
in interface AWSMigrationHubStrategyRecommendations
listImportFileTaskRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public ListServersResult listServers(ListServersRequest request)
Returns a list of all the servers.
listServers
in interface AWSMigrationHubStrategyRecommendations
listServersRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public PutPortfolioPreferencesResult putPortfolioPreferences(PutPortfolioPreferencesRequest request)
Saves the specified migration and modernization preferences.
putPortfolioPreferences
in interface AWSMigrationHubStrategyRecommendations
putPortfolioPreferencesRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.ConflictException
- Exception to indicate that there is an ongoing task when a new task is created. Return when once the
existing tasks are complete.InternalServerException
- The server experienced an internal error. Try again.public StartAssessmentResult startAssessment(StartAssessmentRequest request)
Starts the assessment of an on-premises environment.
startAssessment
in interface AWSMigrationHubStrategyRecommendations
startAssessmentRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ServiceQuotaExceededException
- The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this
account.InternalServerException
- The server experienced an internal error. Try again.public StartImportFileTaskResult startImportFileTask(StartImportFileTaskRequest request)
Starts a file import.
startImportFileTask
in interface AWSMigrationHubStrategyRecommendations
startImportFileTaskRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ServiceQuotaExceededException
- The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this
account.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public StartRecommendationReportGenerationResult startRecommendationReportGeneration(StartRecommendationReportGenerationRequest request)
Starts generating a recommendation report.
startRecommendationReportGeneration
in interface AWSMigrationHubStrategyRecommendations
startRecommendationReportGenerationRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.ConflictException
- Exception to indicate that there is an ongoing task when a new task is created. Return when once the
existing tasks are complete.InternalServerException
- The server experienced an internal error. Try again.public StopAssessmentResult stopAssessment(StopAssessmentRequest request)
Stops the assessment of an on-premises environment.
stopAssessment
in interface AWSMigrationHubStrategyRecommendations
stopAssessmentRequest
- AccessDeniedException
- The user does not have permission to perform the action. Check the AWS Identity and Access Management
(IAM) policy associated with this user.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public UpdateApplicationComponentConfigResult updateApplicationComponentConfig(UpdateApplicationComponentConfigRequest request)
Updates the configuration of an application component.
updateApplicationComponentConfig
in interface AWSMigrationHubStrategyRecommendations
updateApplicationComponentConfigRequest
- ResourceNotFoundException
- The specified ID in the request is not found.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public UpdateServerConfigResult updateServerConfig(UpdateServerConfigRequest request)
Updates the configuration of the specified server.
updateServerConfig
in interface AWSMigrationHubStrategyRecommendations
updateServerConfigRequest
- ResourceNotFoundException
- The specified ID in the request is not found.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The request body isn't valid.InternalServerException
- The server experienced an internal error. Try again.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSMigrationHubStrategyRecommendations
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSMigrationHubStrategyRecommendations
shutdown
in class AmazonWebServiceClient