CloudWatchEvidently / Paginator / ListFeatures

ListFeatures#

class CloudWatchEvidently.Paginator.ListFeatures#
paginator = client.get_paginator('list_features')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from CloudWatchEvidently.Client.list_features().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name or ARN of the project to return the feature list from.

  • 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

{
    'features': [
        {
            'arn': 'string',
            'createdTime': datetime(2015, 1, 1),
            'defaultVariation': 'string',
            'evaluationRules': [
                {
                    'name': 'string',
                    'type': 'string'
                },
            ],
            'evaluationStrategy': 'ALL_RULES'|'DEFAULT_VARIATION',
            'lastUpdatedTime': datetime(2015, 1, 1),
            'name': 'string',
            'project': 'string',
            'status': 'AVAILABLE'|'UPDATING',
            'tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • features (list) –

      An array of structures that contain the configuration details of the features in the specified project.

      • (dict) –

        This structure contains information about one Evidently feature in your account.

        • arn (string) –

          The ARN of the feature.

        • createdTime (datetime) –

          The date and time that the feature is created.

        • defaultVariation (string) –

          The name of the variation that is used as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.

        • evaluationRules (list) –

          An array of structures that define

          • (dict) –

            A structure that contains the information about an evaluation rule for this feature, if it is used in a launch or experiment.

            • name (string) –

              The name of the experiment or launch.

            • type (string) –

              This value is aws.evidently.splits if this is an evaluation rule for a launch, and it is aws.evidently.onlineab if this is an evaluation rule for an experiment.

        • evaluationStrategy (string) –

          If this value is ALL_RULES, the traffic allocation specified by any ongoing launches or experiments is being used. If this is DEFAULT_VARIATION, the default variation is being served to all users.

        • lastUpdatedTime (datetime) –

          The date and time that the feature was most recently updated.

        • name (string) –

          The name of the feature.

        • project (string) –

          The name or ARN of the project that contains the feature.

        • status (string) –

          The current state of the feature.

        • tags (dict) –

          The list of tag keys and values associated with this feature.

          • (string) –

            • (string) –

    • NextToken (string) –

      A token to resume pagination.