Smaws_Client_Support.DescribeCasesReturns 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:
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.
SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CaseIdNotFound of Types.case_id_not_found
| `InternalServerError of Types.internal_server_error ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_cases_request ->
(Types.describe_cases_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CaseIdNotFound of Types.case_id_not_found
| `InternalServerError of Types.internal_server_error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_cases_request ->
(Types.describe_cases_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CaseIdNotFound of Types.case_id_not_found
| `InternalServerError of Types.internal_server_error ]
* Smaws_Lib.Response.metadata)
Stdlib.result