// Returns the attachment that has the specified ID. Attachments can include
// screenshots, error logs, or other files that describe your issue. Attachment IDs
// are generated by the case management system when you add an attachment to a case
// or case communication. Attachment IDs are returned in the AttachmentDetails
// objects that are returned by the DescribeCommunications operation.
//
//     * You
// must have a Business or Enterprise support plan to use the AWS Support API.
//
//
// * If you call the AWS Support API from an account that does not have a Business
// or Enterprise support plan, the SubscriptionRequiredException error message
// appears. For information about changing your support plan, see AWS Support
// (http://aws.amazon.com/premiumsupport/).
Returns the attachment that has the specified ID. Attachments can include
screenshots, error logs, or other files that describe your issue. Attachment IDs
are generated by the case management system when you add an attachment to a case
or case communication. Attachment IDs are returned in the AttachmentDetails
objects that are returned by the DescribeCommunications operation.

You
must have a Business or Enterprise support plan to use the AWS Support API.

If you call the AWS Support API from an account that does not have a Business
or Enterprise support plan, the SubscriptionRequiredException error message
appears. For information about changing your support plan, see AWS Support
.
// Returns the attachment that has the specified ID . Attachments can include // screenshots error logs or other files that describe your issue . Attachment IDs // are generated by the case management system when you add an attachment to a case // or case communication . Attachment IDs are returned in the AttachmentDetails // objects that are returned by the DescribeCommunications operation . // // * You // must have a Business or Enterprise support plan to use the AWS Support API . // // // * If you call the AWS Support API from an account that does not have a Business // or Enterprise support plan the SubscriptionRequiredException error message // appears . For information about changing your support plan see AWS Support // ( http : // aws . amazon . com / premiumsupport / ) .
func (c *Client) DescribeAttachment(ctx context.Context, params *DescribeAttachmentInput, optFns ...func(*Options)) (*DescribeAttachmentOutput, error) {
	if params == nil {
		params = &DescribeAttachmentInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeAttachment", params, optFns, addOperationDescribeAttachmentMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeAttachmentOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeAttachment ( ctx context . Context , params * DescribeAttachmentInput , optFns ... func ( * Options ) ) ( * DescribeAttachmentOutput , error ) { if params == nil { params = & DescribeAttachmentInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeAttachmentMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeAttachmentOutput ) out . ResultMetadata = metadata return out , nil }
Returns the attachment that has the specified ID.
Returns the attachment that has the specified ID .