CmdID

CmdID / aws / aws support

aws support add-attachments-to-set

Adds one or more attachments to an attachment set. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To add an attachment to a set

The following add-attachments-to-set example adds an image to a set that you can then specify for a support case in your AWS account. The data value is the base64-encoded contents of the image.

aws support add-attachments-to-set --attachment-set-id "as-2f5a6faa2a4a1e600-mu-nk5xQlBr70-G1cUos5LZkd38KOAHZa9BMDVzNEXAMPLE" --attachments fileName=troubleshoot-screenshot.png,data=iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==Identify
--attachment-set-idThe ID of the attachment set.
--attachmentsOne or more attachments to add to the set.
Its output
{
    "attachmentSetId": "as-2f5a6faa2a4a1e600-mu-nk5xQlBr70-G1cUos5LZkd38KOAHZa9BMDVzNEXAMPLE",
    "expiryTime": "2020-05-14T17:04:40.790+0000"
}

For more information, see Case management in the AWS Support User Guide.

Options

3 in the AWS CLI reference
--attachment-set-idThe ID of the attachment set.
--attachmentsOne or more attachments to add to the set.
--dry-runSpecifies whether to validate the request without actually adding the attachments.