ListContributorInsights
Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.
Request Syntax
{
"MaxResults": number
,
"NextToken": "string
",
"TableName": "string
"
}
Request Parameters
The request accepts the following data in JSON format.
Note
In the following list, the required parameters are described first.
- MaxResults
-
Maximum number of results to return per page.
Type: Integer
Valid Range: Maximum value of 100.
Required: No
- NextToken
-
A token to for the desired page, if there is one.
Type: String
Required: No
- TableName
-
The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
Response Syntax
{
"ContributorInsightsSummaries": [
{
"ContributorInsightsStatus": "string",
"IndexName": "string",
"TableName": "string"
}
],
"NextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ContributorInsightsSummaries
-
A list of ContributorInsightsSummary.
Type: Array of ContributorInsightsSummary objects
- NextToken
-
A token to go to the next page if there is one.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServerError
-
An error occurred on the server side.
HTTP Status Code: 500
- ResourceNotFoundException
-
The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be
ACTIVE
.HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: