aws.support.describe_cases
Example SQL Queries
SELECT * FROMaws.support.describe_cases;Description
Returns a list of cases that you specify by passing one or more case IDs. You can use the afterTime and beforeTime parameters to filter the cases by date. You can set values for the includeResolvedCases and includeCommunications parameters to specify how much information to return.
The response returns the following in JSON format:
One or more CaseDetails data types.
One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request might return an error.
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
If you call the Amazon Web Services Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.
Table Definition
| Column Name | Column Data Type |
|---|---|
| after_time Input Column The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation. | VARCHAR |
| before_time Input Column The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation. | VARCHAR |
| case_id_list Input Column A list of ID numbers of the support cases you want returned. The maximum number of cases is 100. | VARCHAR[] |
Show child fields
| |
| display_id Input Column The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string. | VARCHAR |
| include_communications Input Column Specifies whether to include communications in the DescribeCases response. By default, communications are included. | BOOLEAN |
| include_resolved_cases Input Column Specifies whether to include resolved support cases in the DescribeCases response. By default, resolved cases aren't included. | BOOLEAN |
| language Input Column The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the language parameter if you want support in that language. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| case_id The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 | VARCHAR |
| category_code The category of problem for the support case. | VARCHAR |
| cc_email_addresses The email addresses that receive copies of communication about the case. | VARCHAR[] |
Show child fields
| |
| recent_communications The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications. Also includes a nextToken that you can use to retrieve earlier communications. | STRUCT( |
Show child fields
| |
| service_code The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices. | VARCHAR |
| severity_code The code for the severity level returned by the call to DescribeSeverityLevels. | VARCHAR |
| status The status of the case. Valid values:
| VARCHAR |
| subject The subject line for the case in the Amazon Web Services Support Center. | VARCHAR |
| submitted_by The email address of the account that submitted the case. | VARCHAR |
| time_created The time that the case was created in the Amazon Web Services Support Center. | VARCHAR |