MigrationHubOrchestrator / Client / list_templates

list_templates#

MigrationHubOrchestrator.Client.list_templates(**kwargs)#

List the templates available in Migration Hub Orchestrator to create a migration workflow.

See also: AWS API Documentation

Request Syntax

response = client.list_templates(
    maxResults=123,
    nextToken='string',
    name='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results that can be returned.

  • nextToken (string) – The pagination token.

  • name (string) – The name of the template.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'templateSummary': [
        {
            'id': 'string',
            'name': 'string',
            'arn': 'string',
            'description': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      The pagination token.

    • templateSummary (list) –

      The summary of the template.

      • (dict) –

        The summary of the template.

        • id (string) –

          The ID of the template.

        • name (string) –

          The name of the template.

        • arn (string) –

          The Amazon Resource Name (ARN) of the template.

        • description (string) –

          The description of the template.

Exceptions

  • MigrationHubOrchestrator.Client.exceptions.ThrottlingException

  • MigrationHubOrchestrator.Client.exceptions.AccessDeniedException

  • MigrationHubOrchestrator.Client.exceptions.InternalServerException