@Override
    public ListTemplatesResult listTemplates(ListTemplatesRequest request) {
        request = beforeClientExecution(request);
        return executeListTemplates(request);
    }
<p>
List the templates available in Migration Hub Orchestrator to create a migration workflow.
</p>

@param listTemplatesRequest
@return Result of the ListTemplates operation returned by the service.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws InternalServerException
        An internal error has occurred.
@sample AWSMigrationHubOrchestrator.ListTemplates
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/ListTemplates"
     target="_top">AWS API Documentation</a>
aws-java-sdk-migrationhuborchestrator/src/main/java/com/amazonaws/services/migrationhuborchestrator/AWSMigrationHubOrchestratorClient.java