ListScheduledReports
Returns a list of scheduled reports in your account.
Request Syntax
{
"maxResults": number,
"nextToken": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- maxResults
-
The maximum number of results to return in a single call. Valid range is 1 to 100. The default value is 50.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- nextToken
-
The token for the next page of results. Use the value returned in the previous response.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 8192.
Pattern:
[\S\s]*Required: No
Response Syntax
{
"nextToken": "string",
"scheduledReports": [
{
"arn": "string",
"dashboardArn": "string",
"healthStatus": {
"lastRefreshedAt": number,
"statusCode": "string",
"statusReasons": [ "string" ]
},
"name": "string",
"scheduleExpression": "string",
"scheduleExpressionTimeZone": "string",
"state": "string",
"widgetIds": [ "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.
- nextToken
-
The token to use to retrieve the next page of results. Not returned if there are no more results to retrieve.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 8192.
Pattern:
[\S\s]* - scheduledReports
-
An array of scheduled report summaries, containing basic information about each scheduled report.
Type: Array of ScheduledReportSummary objects
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
HTTP Status Code: 400
- InternalServerException
-
An internal error occurred while processing the request. Retry your request. If the problem persists, contact AWS Support.
HTTP Status Code: 500
- ThrottlingException
-
The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
HTTP Status Code: 400
- ValidationException
-
The input parameters do not satisfy the requirements. Check the error message for specific validation details.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: