Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

ListTemplateActions

class mgn.Paginator.ListTemplateActions
paginator = client.get_paginator('list_template_actions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from mgn.Client.list_template_actions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filters={
        'actionIDs': [
            'string',
        ]
    },
    launchConfigurationTemplateID='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • filters (dict) --

    Filters to apply when listing template post migration custom actions.

    • actionIDs (list) --

      Action IDs to filter template post migration custom actions by.

      • (string) --
  • launchConfigurationTemplateID (string) --

    [REQUIRED]

    Launch configuration template ID.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'items': [
        {
            'actionID': 'string',
            'actionName': 'string',
            'active': True|False,
            'documentIdentifier': 'string',
            'documentVersion': 'string',
            'mustSucceedForCutover': True|False,
            'operatingSystem': 'string',
            'order': 123,
            'parameters': {
                'string': [
                    {
                        'parameterName': 'string',
                        'parameterType': 'STRING'
                    },
                ]
            },
            'timeoutSeconds': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      List of template post migration custom actions.

      • (dict) --

        • actionID (string) --

          Template post migration custom action ID.

        • actionName (string) --

          Template post migration custom action name.

        • active (boolean) --

          Template post migration custom action active status.

        • documentIdentifier (string) --

          Template post migration custom action document identifier.

        • documentVersion (string) --

          Template post migration custom action document version.

        • mustSucceedForCutover (boolean) --

          Template post migration custom action must succeed for cutover.

        • operatingSystem (string) --

          Operating system eligible for this template post migration custom action.

        • order (integer) --

          Template post migration custom action order.

        • parameters (dict) --

          Template post migration custom action parameters.

          • (string) --

            • (list) --

              • (dict) --

                AWS Systems Manager Parameter Store parameter.

                • parameterName (string) --

                  AWS Systems Manager Parameter Store parameter name.

                • parameterType (string) --

                  AWS Systems Manager Parameter Store parameter type.

        • timeoutSeconds (integer) --

          Template post migration custom action timeout in seconds.

    • NextToken (string) --

      A token to resume pagination.