ResilienceHubV2 / Paginator / ListServiceFunctions

ListServiceFunctions

class ResilienceHubV2.Paginator.ListServiceFunctions
paginator = client.get_paginator('list_service_functions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from ResilienceHubV2.Client.list_service_functions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    serviceArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • serviceArn (string) –

    [REQUIRED]

    ARN identifier.

  • 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

{
    'serviceFunctions': [
        {
            'serviceArn': 'string',
            'serviceFunctionId': 'string',
            'name': 'string',
            'description': 'string',
            'criticality': 'PRIMARY'|'SUPPLEMENTAL',
            'resourceCount': 123,
            'source': 'AI_GENERATED'|'USER',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • serviceFunctions (list) –

      The list of service functions.

      • (dict) –

        Represents a logical component of a service.

        • serviceArn (string) –

          ARN identifier.

        • serviceFunctionId (string) –

          The unique identifier of the service function.

        • name (string) –

          Entity label (not part of ARN — spaces allowed).

        • description (string) –

          Resource description.

        • criticality (string) –

          The criticality level of the service function.

        • resourceCount (integer) –

          The number of resources associated with the service function.

        • source (string) –

          The source of the service function.

        • createdAt (datetime) –

          The timestamp when the service function was created.

        • updatedAt (datetime) –

          The timestamp when the service function was last updated.

    • NextToken (string) –

      A token to resume pagination.