HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/python3/dist-packages/awscli/examples/dynamodb/list-contributor-insights.rst
**Example 1: To view a list of Contributor Insights summaries**

The following ``list-contributor-insights`` example displays a list of Contributor Insights summaries. ::

    aws dynamodb list-contributor-insights

Output::

    {
        "ContributorInsightsSummaries": [
            {
                "TableName": "MusicCollection",
                "IndexName": "AlbumTitle-index",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "ProductCatalog",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "Forum",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "Reply",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "Thread",
                "ContributorInsightsStatus": "ENABLED"
            }
        ]
    }

For more information, see `Analyzing Data Access Using CloudWatch Contributor Insights for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/contributorinsights.html>`__ in the *Amazon DynamoDB Developer Guide*.

**Example 2: To limit the number of items returned**

The following example limits the number of items returned to 4. The response includes a ``NextToken`` value with which to retrieve the next page of results. ::

    aws dynamodb list-contributor-insights \
        --max-results 4

Output::

    {
        "ContributorInsightsSummaries": [
            {
                "TableName": "MusicCollection",
                "IndexName": "AlbumTitle-index",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "ProductCatalog",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "Forum",
                "ContributorInsightsStatus": "ENABLED"
            }
        ],
        "NextToken": "abCDeFGhiJKlmnOPqrSTuvwxYZ1aBCdEFghijK7LM51nOpqRSTuv3WxY3ZabC5dEFGhI2Jk3LmnoPQ6RST9"
    }

For more information, see `Analyzing Data Access Using CloudWatch Contributor Insights for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/contributorinsights.html>`__ in the *Amazon DynamoDB Developer Guide*.

**Example 3: To retrieve the next page of results**

The following command uses the ``NextToken`` value from a previous call to the ``list-contributor-insights`` command to retrieve another page of results. Since the response in this case does not include a ``NextToken`` value, we know that we have reached the end of the results. ::

    aws dynamodb list-contributor-insights \
        --max-results 4 \
        --next-token abCDeFGhiJKlmnOPqrSTuvwxYZ1aBCdEFghijK7LM51nOpqRSTuv3WxY3ZabC5dEFGhI2Jk3LmnoPQ6RST9

Output::

    {
        "ContributorInsightsSummaries": [
            {
                "TableName": "Reply",
                "ContributorInsightsStatus": "ENABLED"
            },
            {
                "TableName": "Thread",
                "ContributorInsightsStatus": "ENABLED"
            }
        ]
    }

For more information, see `Analyzing Data Access Using CloudWatch Contributor Insights for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/contributorinsights.html>`__ in the *Amazon DynamoDB Developer Guide*.