AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns 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:

Case data is available for 24 months after creation. If a case was created more than 24 months ago, a request might return an error.

  • You must have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support API. If you're in an Amazon Web Services Region that doesn't offer one of these Amazon Web Services Support plans, or if you haven't transitioned to one of these plans, you can use the Amazon Web Services Support API with a Business, Enterprise On-Ramp, or Enterprise Support plan.

  • If you call the Amazon Web Services Support API from an account that doesn't have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.

Each Communication returned by this operation includes attachment information in two fields:

  • attachmentSet: returns only attachments that are 5 MB or smaller. Attachments larger than 5 MB are not included in this field.

  • attachments: returns all attachments regardless of size.

Amazon Web Services recommends that you use the attachments field and download each attachment with GetAttachmentDownloadLink, which supports attachments of any size. The attachmentSet field and DescribeAttachment return only attachments that are 5 MB or smaller.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeCasesAsync.

Namespace: Amazon.AWSSupport
Assembly: AWSSDK.AWSSupport.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeCasesResponse DescribeCases(
         DescribeCasesRequest request
)

Parameters

request
Type: Amazon.AWSSupport.Model.DescribeCasesRequest

Container for the necessary parameters to execute the DescribeCases service method.

Return Value


The response from the DescribeCases service method, as returned by AWSSupport.

Exceptions

ExceptionCondition
CaseIdNotFoundException The requested caseId couldn't be located.
DryRunOperationException The request was valid, but the operation wasn't performed because dryRun was set to true.
InternalServerErrorException An internal server error occurred.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also