Smaws_Client_Support.DescribeCommunicationsReturns communications and attachments for one or more support cases. Use the afterTime and beforeTime parameters to filter by date. You can use the caseId parameter to restrict the results to a specific case.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
You can use the maxResults and nextToken parameters to control the pagination of the results. Set maxResults to the number of cases that you want to display on each page, and use nextToken to specify the resumption of pagination.
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_communications_request ->
(Types.describe_communications_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_communications_request ->
(Types.describe_communications_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