SupportClient

Amazon Web Services Support

The Amazon Web Services Support API Reference is intended for programmers who need detailed information about the Amazon Web Services Support operations and data types. You can use the API to manage your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return results in JSON format.

  • You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.

  • If you call the Amazon Web Services Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support. You can also use the Amazon Web Services Support API to access features for Trusted Advisor. You can return a list of checks and their descriptions, get check results, specify checks to refresh, and get the refresh status of checks.

You can manage your support cases with the following Amazon Web Services Support API operations:

  • The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations create Amazon Web Services Support cases, retrieve information about cases, and resolve cases.

  • The DescribeCommunications, AddCommunicationToCase, and AddAttachmentsToSet operations retrieve and add communications and attachments to Amazon Web Services Support cases.

  • The DescribeServices and DescribeSeverityLevels operations return Amazon Web Service names, service codes, service categories, and problem severity levels. You use these values when you call the CreateCase operation.

You can also use the Amazon Web Services Support API to call the Trusted Advisor operations. For more information, see Trusted Advisor in the Amazon Web Services Support User Guide.

For authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing Process.

For more information about this service and the endpoints to use, see About the Amazon Web Services Support API in the Amazon Web Services Support User Guide.

Properties

Link copied to clipboard
abstract override val config: SupportClient.Config

SupportClient's configuration

Functions

Link copied to clipboard

Adds one or more attachments to an attachment set.

Link copied to clipboard

Adds additional customer communication to an Amazon Web Services Support case. Use the caseId parameter to identify the case to which to add communication. You can list a set of email addresses to copy on the communication by using the ccEmailAddresses parameter. The communicationBody value contains the text of the communication.

Link copied to clipboard
abstract suspend fun createCase(input: CreateCaseRequest): CreateCaseResponse

Creates a case in the Amazon Web Services Support Center. This operation is similar to how you create a case in the Amazon Web Services Support Center Create Case page.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun describeCases(input: DescribeCasesRequest = DescribeCasesRequest { }): DescribeCasesResponse

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.

Link copied to clipboard

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

Link copied to clipboard

Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability. You can specify the language``categoryCode, issueType and serviceCode used to retrieve the CreateCaseOptions.

Link copied to clipboard
abstract suspend fun describeServices(input: DescribeServicesRequest = DescribeServicesRequest { }): DescribeServicesResponse

Returns the current list of Amazon Web Services services and a list of service categories for each service. You then use service names and categories in your CreateCase requests. Each Amazon Web Services service has its own set of categories.

Link copied to clipboard
abstract suspend fun describeSeverityLevels(input: DescribeSeverityLevelsRequest = DescribeSeverityLevelsRequest { }): DescribeSeverityLevelsResponse

Returns the list of severity levels that you can assign to a support case. The severity level for a case is also a field in the CaseDetails data type that you include for a CreateCase request.

Link copied to clipboard

Returns a list of supported languages for a specified categoryCode, issueType and serviceCode. The returned supported languages will include a ISO 639-1 code for the language, and the language display name.

Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard

Returns the results of the Trusted Advisor check that has the specified check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard

Returns information about all available Trusted Advisor checks, including the name, ID, category, description, and metadata. You must specify a language code.

Link copied to clipboard

Returns the results for the Trusted Advisor check summaries for the check IDs that you specified. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard

Refreshes the Trusted Advisor check that you specify using the check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard
abstract suspend fun resolveCase(input: ResolveCaseRequest = ResolveCaseRequest { }): ResolveCaseResponse

Resolves a support case. This operation takes a caseId and returns the initial and final state of the case.

Inherited functions

Link copied to clipboard

Adds one or more attachments to an attachment set.

Link copied to clipboard

Adds additional customer communication to an Amazon Web Services Support case. Use the caseId parameter to identify the case to which to add communication. You can list a set of email addresses to copy on the communication by using the ccEmailAddresses parameter. The communicationBody value contains the text of the communication.

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
inline suspend fun SupportClient.createCase(crossinline block: CreateCaseRequest.Builder.() -> Unit): CreateCaseResponse

Creates a case in the Amazon Web Services Support Center. This operation is similar to how you create a case in the Amazon Web Services Support Center Create Case page.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability. You can specify the language``categoryCode, issueType and serviceCode used to retrieve the CreateCaseOptions.

Link copied to clipboard

Returns the current list of Amazon Web Services services and a list of service categories for each service. You then use service names and categories in your CreateCase requests. Each Amazon Web Services service has its own set of categories.

Link copied to clipboard

Returns the list of severity levels that you can assign to a support case. The severity level for a case is also a field in the CaseDetails data type that you include for a CreateCase request.

Link copied to clipboard

Returns a list of supported languages for a specified categoryCode, issueType and serviceCode. The returned supported languages will include a ISO 639-1 code for the language, and the language display name.

Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard

Returns the results of the Trusted Advisor check that has the specified check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard

Returns information about all available Trusted Advisor checks, including the name, ID, category, description, and metadata. You must specify a language code.

Link copied to clipboard

Returns the results for the Trusted Advisor check summaries for the check IDs that you specified. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard

Refreshes the Trusted Advisor check that you specify using the check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

Link copied to clipboard
inline suspend fun SupportClient.resolveCase(crossinline block: ResolveCaseRequest.Builder.() -> Unit): ResolveCaseResponse

Resolves a support case. This operation takes a caseId and returns the initial and final state of the case.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.