CmdID / aws / aws support
aws support describe-communications
Returns communications and attachments for one or more support cases. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To describe the latest communication for a case
The following describe-communications example returns the latest communication for the specified support case in your AWS account.
aws support describe-communications --case-id "case-12345678910-2013-c4c1d2bf33c5cf47" --after-time "2020-03-23T21:31:47.774Z" --max-items 1Identify--case-idThe support case ID requested or returned in the call.--after-timeThe start date for a filtered date search on support case communications.Its output
{
"communications": [
{
"body": "I want to learn more about an AWS service.",
"attachmentSet": [],
"caseId": "case-12345678910-2013-c4c1d2bf33c5cf47",
"timeCreated": "2020-05-12T23:12:35.000Z",
"submittedBy": "Amazon Web Services"
}
],
"NextToken": "eyJuZXh0VG9rZW4iOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQEXAMPLE=="
}For more information, see Case management in the AWS Support User Guide.
Options
--after-timeThe start date for a filtered date search on support case communications.--before-timeThe end date for a filtered date search on support case communications.--case-idThe support case ID requested or returned in the call.--dry-runSpecifies whether to validate the request without actually returning communications.--max-resultsThe maximum number of results to return before paginating.--next-tokenA resumption point for pagination.