CloudWatchEvidently / Client / list_features

list_features#

CloudWatchEvidently.Client.list_features(**kwargs)#

Returns configuration details about all the features in the specified project.

See also: AWS API Documentation

Request Syntax

response = client.list_features(
    maxResults=123,
    nextToken='string',
    project='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to include in the response.

  • nextToken (string) – The token to use when requesting the next set of results. You received this token from a previous ListFeatures operation.

  • project (string) –

    [REQUIRED]

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

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) –

      The token to use in a subsequent ListFeatures operation to return the next set of results.

Exceptions