/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Support { /** * 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:

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.

*/ class AWS_SUPPORT_API SupportClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { public: typedef Aws::Client::AWSJsonClient BASECLASS; static const char* SERVICE_NAME; static const char* ALLOCATION_TAG; typedef SupportClientConfiguration ClientConfigurationType; typedef SupportEndpointProvider EndpointProviderType; /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ SupportClient(const Aws::Support::SupportClientConfiguration& clientConfiguration = Aws::Support::SupportClientConfiguration(), std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG)); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ SupportClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::Support::SupportClientConfiguration& clientConfiguration = Aws::Support::SupportClientConfiguration()); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ SupportClient(const std::shared_ptr& credentialsProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::Support::SupportClientConfiguration& clientConfiguration = Aws::Support::SupportClientConfiguration()); /* Legacy constructors due deprecation */ /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ SupportClient(const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ SupportClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ SupportClient(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~SupportClient(); /** *

Adds one or more attachments to an attachment set.

An attachment set * is a temporary container for attachments that you add to a case or case * communication. The set is available for 1 hour after it's created. The * expiryTime returned in the response is when the set expires.

*
  • 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.

See Also:

AWS * API Reference

*/ virtual Model::AddAttachmentsToSetOutcome AddAttachmentsToSet(const Model::AddAttachmentsToSetRequest& request) const; /** * A Callable wrapper for AddAttachmentsToSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::AddAttachmentsToSetOutcomeCallable AddAttachmentsToSetCallable(const AddAttachmentsToSetRequestT& request) const { return SubmitCallable(&SupportClient::AddAttachmentsToSet, request); } /** * An Async wrapper for AddAttachmentsToSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void AddAttachmentsToSetAsync(const AddAttachmentsToSetRequestT& request, const AddAttachmentsToSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::AddAttachmentsToSet, request, handler, context); } /** *

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.

*
  • 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.

See Also:

AWS * API Reference

*/ virtual Model::AddCommunicationToCaseOutcome AddCommunicationToCase(const Model::AddCommunicationToCaseRequest& request) const; /** * A Callable wrapper for AddCommunicationToCase that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::AddCommunicationToCaseOutcomeCallable AddCommunicationToCaseCallable(const AddCommunicationToCaseRequestT& request) const { return SubmitCallable(&SupportClient::AddCommunicationToCase, request); } /** * An Async wrapper for AddCommunicationToCase that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void AddCommunicationToCaseAsync(const AddCommunicationToCaseRequestT& request, const AddCommunicationToCaseResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::AddCommunicationToCase, request, handler, context); } /** *

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.

The Amazon Web Services Support API doesn't support requesting * service limit increases. You can submit a service limit increase in the * following ways:

A successful CreateCase request * returns an Amazon Web Services Support case number. You can use the * DescribeCases operation and specify the case number to get existing * Amazon Web Services Support cases. After you create a case, use the * AddCommunicationToCase operation to add additional communication or * attachments to an existing case.

The caseId is separate from * the displayId that appears in the Amazon Web Services Support * Center. Use the DescribeCases operation to get the * displayId.

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

See Also:

AWS * API Reference

*/ virtual Model::CreateCaseOutcome CreateCase(const Model::CreateCaseRequest& request) const; /** * A Callable wrapper for CreateCase that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateCaseOutcomeCallable CreateCaseCallable(const CreateCaseRequestT& request) const { return SubmitCallable(&SupportClient::CreateCase, request); } /** * An Async wrapper for CreateCase that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateCaseAsync(const CreateCaseRequestT& request, const CreateCaseResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::CreateCase, request, handler, context); } /** *

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

See Also:

AWS * API Reference

*/ virtual Model::DescribeAttachmentOutcome DescribeAttachment(const Model::DescribeAttachmentRequest& request) const; /** * A Callable wrapper for DescribeAttachment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeAttachmentOutcomeCallable DescribeAttachmentCallable(const DescribeAttachmentRequestT& request) const { return SubmitCallable(&SupportClient::DescribeAttachment, request); } /** * An Async wrapper for DescribeAttachment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeAttachmentAsync(const DescribeAttachmentRequestT& request, const DescribeAttachmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeAttachment, request, handler, context); } /** *

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:

  • One or more CaseDetails * data types.

  • One or more nextToken values, which * specify where to paginate the returned records represented by the * CaseDetails objects.

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

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

See Also:

AWS * API Reference

*/ virtual Model::DescribeCasesOutcome DescribeCases(const Model::DescribeCasesRequest& request) const; /** * A Callable wrapper for DescribeCases that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeCasesOutcomeCallable DescribeCasesCallable(const DescribeCasesRequestT& request) const { return SubmitCallable(&SupportClient::DescribeCases, request); } /** * An Async wrapper for DescribeCases that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeCasesAsync(const DescribeCasesRequestT& request, const DescribeCasesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeCases, request, handler, context); } /** *

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.

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

You can use the maxResults and nextToken * parameters to control the pagination of the results. Set maxResults * to the number of cases that you want to display on each page, and use * nextToken to specify the resumption of pagination.

    *
  • 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.

See Also:

AWS * API Reference

*/ virtual Model::DescribeCommunicationsOutcome DescribeCommunications(const Model::DescribeCommunicationsRequest& request) const; /** * A Callable wrapper for DescribeCommunications that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeCommunicationsOutcomeCallable DescribeCommunicationsCallable(const DescribeCommunicationsRequestT& request) const { return SubmitCallable(&SupportClient::DescribeCommunications, request); } /** * An Async wrapper for DescribeCommunications that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeCommunicationsAsync(const DescribeCommunicationsRequestT& request, const DescribeCommunicationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeCommunications, request, handler, context); } /** *

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.

    *
  • 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.

See Also:

AWS * API Reference

*/ virtual Model::DescribeCreateCaseOptionsOutcome DescribeCreateCaseOptions(const Model::DescribeCreateCaseOptionsRequest& request) const; /** * A Callable wrapper for DescribeCreateCaseOptions that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeCreateCaseOptionsOutcomeCallable DescribeCreateCaseOptionsCallable(const DescribeCreateCaseOptionsRequestT& request) const { return SubmitCallable(&SupportClient::DescribeCreateCaseOptions, request); } /** * An Async wrapper for DescribeCreateCaseOptions that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeCreateCaseOptionsAsync(const DescribeCreateCaseOptionsRequestT& request, const DescribeCreateCaseOptionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeCreateCaseOptions, request, handler, context); } /** *

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.

The service codes and category codes correspond to the * values that appear in the Service and Category lists on the Amazon * Web Services Support Center Create Case * page. The values in those fields don't necessarily match the service codes and * categories returned by the DescribeServices operation. Always use * the service codes and categories that the DescribeServices * operation returns, so that you have the most recent set of service and category * codes.

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

See Also:

AWS * API Reference

*/ virtual Model::DescribeServicesOutcome DescribeServices(const Model::DescribeServicesRequest& request) const; /** * A Callable wrapper for DescribeServices that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeServicesOutcomeCallable DescribeServicesCallable(const DescribeServicesRequestT& request) const { return SubmitCallable(&SupportClient::DescribeServices, request); } /** * An Async wrapper for DescribeServices that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeServicesAsync(const DescribeServicesRequestT& request, const DescribeServicesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeServices, request, handler, context); } /** *

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.

  • *

    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.

See Also:

AWS * API Reference

*/ virtual Model::DescribeSeverityLevelsOutcome DescribeSeverityLevels(const Model::DescribeSeverityLevelsRequest& request) const; /** * A Callable wrapper for DescribeSeverityLevels that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeSeverityLevelsOutcomeCallable DescribeSeverityLevelsCallable(const DescribeSeverityLevelsRequestT& request) const { return SubmitCallable(&SupportClient::DescribeSeverityLevels, request); } /** * An Async wrapper for DescribeSeverityLevels that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeSeverityLevelsAsync(const DescribeSeverityLevelsRequestT& request, const DescribeSeverityLevelsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeSeverityLevels, request, handler, context); } /** *

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.

  • *

    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.

See Also:

AWS * API Reference

*/ virtual Model::DescribeSupportedLanguagesOutcome DescribeSupportedLanguages(const Model::DescribeSupportedLanguagesRequest& request) const; /** * A Callable wrapper for DescribeSupportedLanguages that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeSupportedLanguagesOutcomeCallable DescribeSupportedLanguagesCallable(const DescribeSupportedLanguagesRequestT& request) const { return SubmitCallable(&SupportClient::DescribeSupportedLanguages, request); } /** * An Async wrapper for DescribeSupportedLanguages that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeSupportedLanguagesAsync(const DescribeSupportedLanguagesRequestT& request, const DescribeSupportedLanguagesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeSupportedLanguages, request, handler, context); } /** *

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.

Some checks are refreshed * automatically, and you can't return their refresh statuses by using the * DescribeTrustedAdvisorCheckRefreshStatuses operation. If you call * this operation for these checks, you might see an * InvalidParameterValue error.

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

To call the Trusted Advisor operations * in the Amazon Web Services Support API, you must use the US East (N. Virginia) * endpoint. Currently, the US West (Oregon) and Europe (Ireland) endpoints don't * support the Trusted Advisor operations. For more information, see About * the Amazon Web Services Support API in the Amazon Web Services Support * User Guide.

See Also:

AWS * API Reference

*/ virtual Model::DescribeTrustedAdvisorCheckRefreshStatusesOutcome DescribeTrustedAdvisorCheckRefreshStatuses(const Model::DescribeTrustedAdvisorCheckRefreshStatusesRequest& request) const; /** * A Callable wrapper for DescribeTrustedAdvisorCheckRefreshStatuses that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeTrustedAdvisorCheckRefreshStatusesOutcomeCallable DescribeTrustedAdvisorCheckRefreshStatusesCallable(const DescribeTrustedAdvisorCheckRefreshStatusesRequestT& request) const { return SubmitCallable(&SupportClient::DescribeTrustedAdvisorCheckRefreshStatuses, request); } /** * An Async wrapper for DescribeTrustedAdvisorCheckRefreshStatuses that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeTrustedAdvisorCheckRefreshStatusesAsync(const DescribeTrustedAdvisorCheckRefreshStatusesRequestT& request, const DescribeTrustedAdvisorCheckRefreshStatusesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeTrustedAdvisorCheckRefreshStatuses, request, handler, context); } /** *

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.

The response contains a TrustedAdvisorCheckResult * object, which contains these three objects:

In addition, the * response contains these fields:

  • status - The alert * status of the check can be ok (green), warning * (yellow), error (red), or not_available.

  • *
  • timestamp - The time of the last refresh of the check.

  • *
  • checkId - The unique identifier for the check.

*
  • 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.

To call the Trusted Advisor operations * in the Amazon Web Services Support API, you must use the US East (N. Virginia) * endpoint. Currently, the US West (Oregon) and Europe (Ireland) endpoints don't * support the Trusted Advisor operations. For more information, see About * the Amazon Web Services Support API in the Amazon Web Services Support * User Guide.

See Also:

AWS * API Reference

*/ virtual Model::DescribeTrustedAdvisorCheckResultOutcome DescribeTrustedAdvisorCheckResult(const Model::DescribeTrustedAdvisorCheckResultRequest& request) const; /** * A Callable wrapper for DescribeTrustedAdvisorCheckResult that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeTrustedAdvisorCheckResultOutcomeCallable DescribeTrustedAdvisorCheckResultCallable(const DescribeTrustedAdvisorCheckResultRequestT& request) const { return SubmitCallable(&SupportClient::DescribeTrustedAdvisorCheckResult, request); } /** * An Async wrapper for DescribeTrustedAdvisorCheckResult that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeTrustedAdvisorCheckResultAsync(const DescribeTrustedAdvisorCheckResultRequestT& request, const DescribeTrustedAdvisorCheckResultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeTrustedAdvisorCheckResult, request, handler, context); } /** *

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.

The response contains an * array of TrustedAdvisorCheckSummary objects.

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

To call the Trusted Advisor operations * in the Amazon Web Services Support API, you must use the US East (N. Virginia) * endpoint. Currently, the US West (Oregon) and Europe (Ireland) endpoints don't * support the Trusted Advisor operations. For more information, see About * the Amazon Web Services Support API in the Amazon Web Services Support * User Guide.

See Also:

AWS * API Reference

*/ virtual Model::DescribeTrustedAdvisorCheckSummariesOutcome DescribeTrustedAdvisorCheckSummaries(const Model::DescribeTrustedAdvisorCheckSummariesRequest& request) const; /** * A Callable wrapper for DescribeTrustedAdvisorCheckSummaries that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeTrustedAdvisorCheckSummariesOutcomeCallable DescribeTrustedAdvisorCheckSummariesCallable(const DescribeTrustedAdvisorCheckSummariesRequestT& request) const { return SubmitCallable(&SupportClient::DescribeTrustedAdvisorCheckSummaries, request); } /** * An Async wrapper for DescribeTrustedAdvisorCheckSummaries that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeTrustedAdvisorCheckSummariesAsync(const DescribeTrustedAdvisorCheckSummariesRequestT& request, const DescribeTrustedAdvisorCheckSummariesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeTrustedAdvisorCheckSummaries, request, handler, context); } /** *

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

The response contains a TrustedAdvisorCheckDescription * object for each check. You must set the Amazon Web Services Region to * us-east-1.

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

  • The names and descriptions for Trusted Advisor * checks are subject to change. We recommend that you specify the check ID in your * code to uniquely identify a check.

To call the * Trusted Advisor operations in the Amazon Web Services Support API, you must use * the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe * (Ireland) endpoints don't support the Trusted Advisor operations. For more * information, see About * the Amazon Web Services Support API in the Amazon Web Services Support * User Guide.

See Also:

AWS * API Reference

*/ virtual Model::DescribeTrustedAdvisorChecksOutcome DescribeTrustedAdvisorChecks(const Model::DescribeTrustedAdvisorChecksRequest& request) const; /** * A Callable wrapper for DescribeTrustedAdvisorChecks that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeTrustedAdvisorChecksOutcomeCallable DescribeTrustedAdvisorChecksCallable(const DescribeTrustedAdvisorChecksRequestT& request) const { return SubmitCallable(&SupportClient::DescribeTrustedAdvisorChecks, request); } /** * An Async wrapper for DescribeTrustedAdvisorChecks that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeTrustedAdvisorChecksAsync(const DescribeTrustedAdvisorChecksRequestT& request, const DescribeTrustedAdvisorChecksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::DescribeTrustedAdvisorChecks, request, handler, context); } /** *

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

Some checks are refreshed automatically. If you call the * RefreshTrustedAdvisorCheck operation to refresh them, you might see * the InvalidParameterValue error.

The response contains a * TrustedAdvisorCheckRefreshStatus object.

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

To call the Trusted Advisor operations * in the Amazon Web Services Support API, you must use the US East (N. Virginia) * endpoint. Currently, the US West (Oregon) and Europe (Ireland) endpoints don't * support the Trusted Advisor operations. For more information, see About * the Amazon Web Services Support API in the Amazon Web Services Support * User Guide.

See Also:

AWS * API Reference

*/ virtual Model::RefreshTrustedAdvisorCheckOutcome RefreshTrustedAdvisorCheck(const Model::RefreshTrustedAdvisorCheckRequest& request) const; /** * A Callable wrapper for RefreshTrustedAdvisorCheck that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::RefreshTrustedAdvisorCheckOutcomeCallable RefreshTrustedAdvisorCheckCallable(const RefreshTrustedAdvisorCheckRequestT& request) const { return SubmitCallable(&SupportClient::RefreshTrustedAdvisorCheck, request); } /** * An Async wrapper for RefreshTrustedAdvisorCheck that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void RefreshTrustedAdvisorCheckAsync(const RefreshTrustedAdvisorCheckRequestT& request, const RefreshTrustedAdvisorCheckResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::RefreshTrustedAdvisorCheck, request, handler, context); } /** *

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

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

See Also:

AWS * API Reference

*/ virtual Model::ResolveCaseOutcome ResolveCase(const Model::ResolveCaseRequest& request) const; /** * A Callable wrapper for ResolveCase that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ResolveCaseOutcomeCallable ResolveCaseCallable(const ResolveCaseRequestT& request) const { return SubmitCallable(&SupportClient::ResolveCase, request); } /** * An Async wrapper for ResolveCase that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ResolveCaseAsync(const ResolveCaseRequestT& request, const ResolveCaseResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SupportClient::ResolveCase, request, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const SupportClientConfiguration& clientConfiguration); SupportClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace Support } // namespace Aws