Interface SupportAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
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 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
SubscriptionRequiredExceptionerror 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 Services 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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionaddAttachmentsToSet(Consumer<AddAttachmentsToSetRequest.Builder> addAttachmentsToSetRequest) Adds one or more attachments to an attachment set.addAttachmentsToSet(AddAttachmentsToSetRequest addAttachmentsToSetRequest) Adds one or more attachments to an attachment set.addCommunicationToCase(Consumer<AddCommunicationToCaseRequest.Builder> addCommunicationToCaseRequest) Adds additional customer communication to a Amazon Web Services Support case.addCommunicationToCase(AddCommunicationToCaseRequest addCommunicationToCaseRequest) Adds additional customer communication to a Amazon Web Services Support case.static SupportAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aSupportAsyncClient.completeAttachmentUpload(Consumer<CompleteAttachmentUploadRequest.Builder> completeAttachmentUploadRequest) Completes an attachment upload that was started with GetAttachmentUploadLinks.completeAttachmentUpload(CompleteAttachmentUploadRequest completeAttachmentUploadRequest) Completes an attachment upload that was started with GetAttachmentUploadLinks.static SupportAsyncClientcreate()Create aSupportAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateCaseResponse> createCase(Consumer<CreateCaseRequest.Builder> createCaseRequest) Creates a case in the Amazon Web Services Support Center.default CompletableFuture<CreateCaseResponse> createCase(CreateCaseRequest createCaseRequest) Creates a case in the Amazon Web Services Support Center.describeAttachment(Consumer<DescribeAttachmentRequest.Builder> describeAttachmentRequest) Returns the attachment that has the specified ID.describeAttachment(DescribeAttachmentRequest describeAttachmentRequest) Returns the attachment that has the specified ID.describeAttachmentUploadStatus(Consumer<DescribeAttachmentUploadStatusRequest.Builder> describeAttachmentUploadStatusRequest) Returns the current status, file name, and progress of a multipart attachment upload that was started with GetAttachmentUploadLinks.describeAttachmentUploadStatus(DescribeAttachmentUploadStatusRequest describeAttachmentUploadStatusRequest) Returns the current status, file name, and progress of a multipart attachment upload that was started with GetAttachmentUploadLinks.default CompletableFuture<DescribeCasesResponse> describeCases(Consumer<DescribeCasesRequest.Builder> describeCasesRequest) Returns a list of cases that you specify by passing one or more case IDs.default CompletableFuture<DescribeCasesResponse> describeCases(DescribeCasesRequest describeCasesRequest) Returns a list of cases that you specify by passing one or more case IDs.default DescribeCasesPublisherdescribeCasesPaginator(Consumer<DescribeCasesRequest.Builder> describeCasesRequest) This is a variant ofdescribeCases(software.amazon.awssdk.services.support.model.DescribeCasesRequest)operation.default DescribeCasesPublisherdescribeCasesPaginator(DescribeCasesRequest describeCasesRequest) This is a variant ofdescribeCases(software.amazon.awssdk.services.support.model.DescribeCasesRequest)operation.describeCommunications(Consumer<DescribeCommunicationsRequest.Builder> describeCommunicationsRequest) Returns communications and attachments for one or more support cases.describeCommunications(DescribeCommunicationsRequest describeCommunicationsRequest) Returns communications and attachments for one or more support cases.default DescribeCommunicationsPublisherdescribeCommunicationsPaginator(Consumer<DescribeCommunicationsRequest.Builder> describeCommunicationsRequest) This is a variant ofdescribeCommunications(software.amazon.awssdk.services.support.model.DescribeCommunicationsRequest)operation.default DescribeCommunicationsPublisherdescribeCommunicationsPaginator(DescribeCommunicationsRequest describeCommunicationsRequest) This is a variant ofdescribeCommunications(software.amazon.awssdk.services.support.model.DescribeCommunicationsRequest)operation.describeCreateCaseOptions(Consumer<DescribeCreateCaseOptionsRequest.Builder> describeCreateCaseOptionsRequest) Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability.describeCreateCaseOptions(DescribeCreateCaseOptionsRequest describeCreateCaseOptionsRequest) Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability.describeServices(Consumer<DescribeServicesRequest.Builder> describeServicesRequest) Returns the current list of Amazon Web Services services and a list of service categories for each service.describeServices(DescribeServicesRequest describeServicesRequest) Returns the current list of Amazon Web Services services and a list of service categories for each service.describeSeverityLevels(Consumer<DescribeSeverityLevelsRequest.Builder> describeSeverityLevelsRequest) Returns the list of severity levels that you can assign to a support case.describeSeverityLevels(DescribeSeverityLevelsRequest describeSeverityLevelsRequest) Returns the list of severity levels that you can assign to a support case.describeSupportedLanguages(Consumer<DescribeSupportedLanguagesRequest.Builder> describeSupportedLanguagesRequest) Returns a list of supported languages for a specifiedcategoryCode,issueTypeandserviceCode.describeSupportedLanguages(DescribeSupportedLanguagesRequest describeSupportedLanguagesRequest) Returns a list of supported languages for a specifiedcategoryCode,issueTypeandserviceCode.describeTrustedAdvisorCheckRefreshStatuses(Consumer<DescribeTrustedAdvisorCheckRefreshStatusesRequest.Builder> describeTrustedAdvisorCheckRefreshStatusesRequest) Returns the refresh status of the Trusted Advisor checks that have the specified check IDs.describeTrustedAdvisorCheckRefreshStatuses(DescribeTrustedAdvisorCheckRefreshStatusesRequest describeTrustedAdvisorCheckRefreshStatusesRequest) Returns the refresh status of the Trusted Advisor checks that have the specified check IDs.describeTrustedAdvisorCheckResult(Consumer<DescribeTrustedAdvisorCheckResultRequest.Builder> describeTrustedAdvisorCheckResultRequest) Returns the results of the Trusted Advisor check that has the specified check ID.describeTrustedAdvisorCheckResult(DescribeTrustedAdvisorCheckResultRequest describeTrustedAdvisorCheckResultRequest) Returns the results of the Trusted Advisor check that has the specified check ID.describeTrustedAdvisorChecks(Consumer<DescribeTrustedAdvisorChecksRequest.Builder> describeTrustedAdvisorChecksRequest) Returns information about all available Trusted Advisor checks, including the name, ID, category, description, and metadata.describeTrustedAdvisorChecks(DescribeTrustedAdvisorChecksRequest describeTrustedAdvisorChecksRequest) Returns information about all available Trusted Advisor checks, including the name, ID, category, description, and metadata.describeTrustedAdvisorCheckSummaries(Consumer<DescribeTrustedAdvisorCheckSummariesRequest.Builder> describeTrustedAdvisorCheckSummariesRequest) Returns the results for the Trusted Advisor check summaries for the check IDs that you specified.describeTrustedAdvisorCheckSummaries(DescribeTrustedAdvisorCheckSummariesRequest describeTrustedAdvisorCheckSummariesRequest) Returns the results for the Trusted Advisor check summaries for the check IDs that you specified.getAttachmentDownloadLink(Consumer<GetAttachmentDownloadLinkRequest.Builder> getAttachmentDownloadLinkRequest) Returns a presigned download URL for an attachment that is associated with a case communication.getAttachmentDownloadLink(GetAttachmentDownloadLinkRequest getAttachmentDownloadLinkRequest) Returns a presigned download URL for an attachment that is associated with a case communication.getAttachmentUploadLinks(Consumer<GetAttachmentUploadLinksRequest.Builder> getAttachmentUploadLinksRequest) Returns one or more presigned upload URLs for uploading a large file attachment to a support case by using a multipart upload workflow.getAttachmentUploadLinks(GetAttachmentUploadLinksRequest getAttachmentUploadLinksRequest) Returns one or more presigned upload URLs for uploading a large file attachment to a support case by using a multipart upload workflow.refreshTrustedAdvisorCheck(Consumer<RefreshTrustedAdvisorCheckRequest.Builder> refreshTrustedAdvisorCheckRequest) Refreshes the Trusted Advisor check that you specify using the check ID.refreshTrustedAdvisorCheck(RefreshTrustedAdvisorCheckRequest refreshTrustedAdvisorCheckRequest) Refreshes the Trusted Advisor check that you specify using the check ID.default CompletableFuture<ResolveCaseResponse> resolveCase(Consumer<ResolveCaseRequest.Builder> resolveCaseRequest) Resolves a support case.default CompletableFuture<ResolveCaseResponse> resolveCase(ResolveCaseRequest resolveCaseRequest) Resolves a support case.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
addAttachmentsToSet
default CompletableFuture<AddAttachmentsToSetResponse> addAttachmentsToSet(AddAttachmentsToSetRequest addAttachmentsToSetRequest) 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
expiryTimereturned in the response is when the set expires.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
addAttachmentsToSetRequest-- Returns:
- A Java Future containing the result of the AddAttachmentsToSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
- AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
- AttachmentSetSizeLimitExceededException A limit for the size of an attachment set has been exceeded. The limits are three attachments and 5 MB per attachment.
- AttachmentLimitExceededException The limit for the number of attachment sets created in a short period of time has been exceeded.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
addAttachmentsToSet
default CompletableFuture<AddAttachmentsToSetResponse> addAttachmentsToSet(Consumer<AddAttachmentsToSetRequest.Builder> addAttachmentsToSetRequest) 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
expiryTimereturned in the response is when the set expires.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
AddAttachmentsToSetRequest.Builderavoiding the need to create one manually viaAddAttachmentsToSetRequest.builder()- Parameters:
addAttachmentsToSetRequest- AConsumerthat will call methods onAddAttachmentsToSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AddAttachmentsToSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
- AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
- AttachmentSetSizeLimitExceededException A limit for the size of an attachment set has been exceeded. The limits are three attachments and 5 MB per attachment.
- AttachmentLimitExceededException The limit for the number of attachment sets created in a short period of time has been exceeded.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
addCommunicationToCase
default CompletableFuture<AddCommunicationToCaseResponse> addCommunicationToCase(AddCommunicationToCaseRequest addCommunicationToCaseRequest) Adds additional customer communication to a Amazon Web Services Support case. Use the
caseIdparameter to identify the case to which to add communication. To list a set of email addresses to copy on the communication, use theccEmailAddressesparameter. ThecommunicationBodyvalue contains the text of the communication.To attach files larger than 5 MB to the communication, use the
uploadIdsparameter.Amazon Web Services Support automatically redacts sensitive information from support cases to protect your data. The following information is replaced with
[REDACTED_BY_Amazon Web Services]and is not stored:-
Amazon Web Services secret keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Private keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Credit card numbers - The number is redacted, but the last 4 digits remain. Example:
[REDACTED_BY_Amazon Web Services]-7016
This sensitive information is never required by Amazon Web Services Support.
-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
addCommunicationToCaseRequest-- Returns:
- A Java Future containing the result of the AddCommunicationToCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
- AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
addCommunicationToCase
default CompletableFuture<AddCommunicationToCaseResponse> addCommunicationToCase(Consumer<AddCommunicationToCaseRequest.Builder> addCommunicationToCaseRequest) Adds additional customer communication to a Amazon Web Services Support case. Use the
caseIdparameter to identify the case to which to add communication. To list a set of email addresses to copy on the communication, use theccEmailAddressesparameter. ThecommunicationBodyvalue contains the text of the communication.To attach files larger than 5 MB to the communication, use the
uploadIdsparameter.Amazon Web Services Support automatically redacts sensitive information from support cases to protect your data. The following information is replaced with
[REDACTED_BY_Amazon Web Services]and is not stored:-
Amazon Web Services secret keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Private keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Credit card numbers - The number is redacted, but the last 4 digits remain. Example:
[REDACTED_BY_Amazon Web Services]-7016
This sensitive information is never required by Amazon Web Services Support.
-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
AddCommunicationToCaseRequest.Builderavoiding the need to create one manually viaAddCommunicationToCaseRequest.builder()- Parameters:
addCommunicationToCaseRequest- AConsumerthat will call methods onAddCommunicationToCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AddCommunicationToCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
- AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
completeAttachmentUpload
default CompletableFuture<CompleteAttachmentUploadResponse> completeAttachmentUpload(CompleteAttachmentUploadRequest completeAttachmentUploadRequest) Completes an attachment upload that was started with GetAttachmentUploadLinks. After you upload a part of the file to its presigned Amazon S3 URL, call
CompleteAttachmentUploadwith thepartIndexandeTagof that part. You can include one part per call, or multiple parts in a single call. AfterCompleteAttachmentUploadhas been called for every part of the file, the service processes the upload asynchronously. Theattachment-readystatus might not be reflected immediately. Use DescribeAttachmentUploadStatus to poll for theuploadStatusto becomeattachment-readybefore passing theuploadIdto CreateCase or AddCommunicationToCase.- Parameters:
completeAttachmentUploadRequest-- Returns:
- A Java Future containing the result of the CompleteAttachmentUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - UploadIdNotFoundException The specified
uploadIdcouldn't be located. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
completeAttachmentUpload
default CompletableFuture<CompleteAttachmentUploadResponse> completeAttachmentUpload(Consumer<CompleteAttachmentUploadRequest.Builder> completeAttachmentUploadRequest) Completes an attachment upload that was started with GetAttachmentUploadLinks. After you upload a part of the file to its presigned Amazon S3 URL, call
CompleteAttachmentUploadwith thepartIndexandeTagof that part. You can include one part per call, or multiple parts in a single call. AfterCompleteAttachmentUploadhas been called for every part of the file, the service processes the upload asynchronously. Theattachment-readystatus might not be reflected immediately. Use DescribeAttachmentUploadStatus to poll for theuploadStatusto becomeattachment-readybefore passing theuploadIdto CreateCase or AddCommunicationToCase.
This is a convenience which creates an instance of the
CompleteAttachmentUploadRequest.Builderavoiding the need to create one manually viaCompleteAttachmentUploadRequest.builder()- Parameters:
completeAttachmentUploadRequest- AConsumerthat will call methods onCompleteAttachmentUploadRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CompleteAttachmentUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - UploadIdNotFoundException The specified
uploadIdcouldn't be located. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCase
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:
-
Submit a request from the Amazon Web Services Support Center Create Case page.
-
Use the Service Quotas RequestServiceQuotaIncrease operation.
Amazon Web Services Support automatically redacts sensitive information from support cases to protect your data. The following information is replaced with
[REDACTED_BY_Amazon Web Services]and is not stored:-
Amazon Web Services secret keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Private keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Credit card numbers - The number is redacted, but the last 4 digits remain. Example:
[REDACTED_BY_Amazon Web Services]-7016
This sensitive information is never required by Amazon Web Services Support.
A successful
CreateCaserequest returns a 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
caseIdis separate from thedisplayIdthat appears in the Amazon Web Services Support Center. Use the DescribeCases operation to get thedisplayId.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
createCaseRequest-- Returns:
- A Java Future containing the result of the CreateCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseCreationLimitExceededException The case creation limit for the account has been exceeded.
- AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
- AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createCase
default CompletableFuture<CreateCaseResponse> createCase(Consumer<CreateCaseRequest.Builder> createCaseRequest) 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:
-
Submit a request from the Amazon Web Services Support Center Create Case page.
-
Use the Service Quotas RequestServiceQuotaIncrease operation.
Amazon Web Services Support automatically redacts sensitive information from support cases to protect your data. The following information is replaced with
[REDACTED_BY_Amazon Web Services]and is not stored:-
Amazon Web Services secret keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Private keys - The complete key is replaced. Example:
[REDACTED_BY_Amazon Web Services] -
Credit card numbers - The number is redacted, but the last 4 digits remain. Example:
[REDACTED_BY_Amazon Web Services]-7016
This sensitive information is never required by Amazon Web Services Support.
A successful
CreateCaserequest returns a 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
caseIdis separate from thedisplayIdthat appears in the Amazon Web Services Support Center. Use the DescribeCases operation to get thedisplayId.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
CreateCaseRequest.Builderavoiding the need to create one manually viaCreateCaseRequest.builder()- Parameters:
createCaseRequest- AConsumerthat will call methods onCreateCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseCreationLimitExceededException The case creation limit for the account has been exceeded.
- AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
- AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeAttachment
default CompletableFuture<DescribeAttachmentResponse> describeAttachment(DescribeAttachmentRequest describeAttachmentRequest) 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 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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
DescribeAttachmentcan't return attachments larger than 5 MB. If the specifiedattachmentIdrefers to an attachment larger than 5 MB, the request fails withInvalidParameterValueException.To download an attachment of any size, including attachments larger than 5 MB, use GetAttachmentDownloadLink.
GetAttachmentDownloadLinkreturns an Amazon S3 presigned URL that you can use to download the attachment directly.- Parameters:
describeAttachmentRequest-- Returns:
- A Java Future containing the result of the DescribeAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DescribeAttachmentLimitExceededException The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.
- AttachmentIdNotFoundException An attachment with the specified ID could not be found.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeAttachment
default CompletableFuture<DescribeAttachmentResponse> describeAttachment(Consumer<DescribeAttachmentRequest.Builder> describeAttachmentRequest) 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 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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
DescribeAttachmentcan't return attachments larger than 5 MB. If the specifiedattachmentIdrefers to an attachment larger than 5 MB, the request fails withInvalidParameterValueException.To download an attachment of any size, including attachments larger than 5 MB, use GetAttachmentDownloadLink.
GetAttachmentDownloadLinkreturns an Amazon S3 presigned URL that you can use to download the attachment directly.
This is a convenience which creates an instance of the
DescribeAttachmentRequest.Builderavoiding the need to create one manually viaDescribeAttachmentRequest.builder()- Parameters:
describeAttachmentRequest- AConsumerthat will call methods onDescribeAttachmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DescribeAttachmentLimitExceededException The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.
- AttachmentIdNotFoundException An attachment with the specified ID could not be found.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeAttachmentUploadStatus
default CompletableFuture<DescribeAttachmentUploadStatusResponse> describeAttachmentUploadStatus(DescribeAttachmentUploadStatusRequest describeAttachmentUploadStatusRequest) Returns the current status, file name, and progress of a multipart attachment upload that was started with GetAttachmentUploadLinks. Use this operation to track where an upload is in the workflow. While parts are still being uploaded and reported through CompleteAttachmentUpload, the
uploadStatusisattachment-not-readyanduploadProgressreports the total number of parts and how many have been completed so far. After every part has been reported and the service finishes processing the upload asynchronously, theuploadStatusbecomesattachment-readyand theuploadIdcan be attached to a case through CreateCase or AddCommunicationToCase.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
describeAttachmentUploadStatusRequest-- Returns:
- A Java Future containing the result of the DescribeAttachmentUploadStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - UploadIdNotFoundException The specified
uploadIdcouldn't be located. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeAttachmentUploadStatus
default CompletableFuture<DescribeAttachmentUploadStatusResponse> describeAttachmentUploadStatus(Consumer<DescribeAttachmentUploadStatusRequest.Builder> describeAttachmentUploadStatusRequest) Returns the current status, file name, and progress of a multipart attachment upload that was started with GetAttachmentUploadLinks. Use this operation to track where an upload is in the workflow. While parts are still being uploaded and reported through CompleteAttachmentUpload, the
uploadStatusisattachment-not-readyanduploadProgressreports the total number of parts and how many have been completed so far. After every part has been reported and the service finishes processing the upload asynchronously, theuploadStatusbecomesattachment-readyand theuploadIdcan be attached to a case through CreateCase or AddCommunicationToCase.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
DescribeAttachmentUploadStatusRequest.Builderavoiding the need to create one manually viaDescribeAttachmentUploadStatusRequest.builder()- Parameters:
describeAttachmentUploadStatusRequest- AConsumerthat will call methods onDescribeAttachmentUploadStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAttachmentUploadStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - UploadIdNotFoundException The specified
uploadIdcouldn't be located. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeCases
default CompletableFuture<DescribeCasesResponse> describeCases(DescribeCasesRequest describeCasesRequest) Returns a list of cases that you specify by passing one or more case IDs. You can use the
afterTimeandbeforeTimeparameters to filter the cases by date. You can set values for theincludeResolvedCasesandincludeCommunicationsparameters to specify how much information to return.The response returns the following in JSON format:
-
One or more CaseDetails data types.
-
One or more
nextTokenvalues, which specify where to paginate the returned records represented by theCaseDetailsobjects.
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
SubscriptionRequiredExceptionerror 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
attachmentsfield and download each attachment with GetAttachmentDownloadLink, which supports attachments of any size. TheattachmentSetfield and DescribeAttachment return only attachments that are 5 MB or smaller.- Parameters:
describeCasesRequest-- Returns:
- A Java Future containing the result of the DescribeCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeCases
default CompletableFuture<DescribeCasesResponse> describeCases(Consumer<DescribeCasesRequest.Builder> describeCasesRequest) Returns a list of cases that you specify by passing one or more case IDs. You can use the
afterTimeandbeforeTimeparameters to filter the cases by date. You can set values for theincludeResolvedCasesandincludeCommunicationsparameters to specify how much information to return.The response returns the following in JSON format:
-
One or more CaseDetails data types.
-
One or more
nextTokenvalues, which specify where to paginate the returned records represented by theCaseDetailsobjects.
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
SubscriptionRequiredExceptionerror 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
attachmentsfield and download each attachment with GetAttachmentDownloadLink, which supports attachments of any size. TheattachmentSetfield and DescribeAttachment return only attachments that are 5 MB or smaller.
This is a convenience which creates an instance of the
DescribeCasesRequest.Builderavoiding the need to create one manually viaDescribeCasesRequest.builder()- Parameters:
describeCasesRequest- AConsumerthat will call methods onDescribeCasesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeCasesPaginator
This is a variant of
describeCases(software.amazon.awssdk.services.support.model.DescribeCasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.support.paginators.DescribeCasesPublisher publisher = client.describeCasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.support.paginators.DescribeCasesPublisher publisher = client.describeCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.support.model.DescribeCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.support.model.DescribeCasesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCases(software.amazon.awssdk.services.support.model.DescribeCasesRequest)operation.- Parameters:
describeCasesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCasesPaginator
default DescribeCasesPublisher describeCasesPaginator(Consumer<DescribeCasesRequest.Builder> describeCasesRequest) This is a variant of
describeCases(software.amazon.awssdk.services.support.model.DescribeCasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.support.paginators.DescribeCasesPublisher publisher = client.describeCasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.support.paginators.DescribeCasesPublisher publisher = client.describeCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.support.model.DescribeCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.support.model.DescribeCasesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCases(software.amazon.awssdk.services.support.model.DescribeCasesRequest)operation.
This is a convenience which creates an instance of the
DescribeCasesRequest.Builderavoiding the need to create one manually viaDescribeCasesRequest.builder()- Parameters:
describeCasesRequest- AConsumerthat will call methods onDescribeCasesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCommunications
default CompletableFuture<DescribeCommunicationsResponse> describeCommunications(DescribeCommunicationsRequest describeCommunicationsRequest) Returns communications and attachments for one or more support cases. Use the
afterTimeandbeforeTimeparameters to filter by date. You can use thecaseIdparameter to restrict the results to a specific case.Case data is available for 24 months after creation. If a case was created more than 24 months ago, a request for data might cause an error.
You can use the
maxResultsandnextTokenparameters to control the pagination of the results. SetmaxResultsto the number of cases that you want to display on each page, and usenextTokento specify the resumption of pagination.-
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
SubscriptionRequiredExceptionerror 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
attachmentsfield and download each attachment with GetAttachmentDownloadLink, which supports attachments of any size. TheattachmentSetfield and DescribeAttachment return only attachments that are 5 MB or smaller.- Parameters:
describeCommunicationsRequest-- Returns:
- A Java Future containing the result of the DescribeCommunications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeCommunications
default CompletableFuture<DescribeCommunicationsResponse> describeCommunications(Consumer<DescribeCommunicationsRequest.Builder> describeCommunicationsRequest) Returns communications and attachments for one or more support cases. Use the
afterTimeandbeforeTimeparameters to filter by date. You can use thecaseIdparameter to restrict the results to a specific case.Case data is available for 24 months after creation. If a case was created more than 24 months ago, a request for data might cause an error.
You can use the
maxResultsandnextTokenparameters to control the pagination of the results. SetmaxResultsto the number of cases that you want to display on each page, and usenextTokento specify the resumption of pagination.-
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
SubscriptionRequiredExceptionerror 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
attachmentsfield and download each attachment with GetAttachmentDownloadLink, which supports attachments of any size. TheattachmentSetfield and DescribeAttachment return only attachments that are 5 MB or smaller.
This is a convenience which creates an instance of the
DescribeCommunicationsRequest.Builderavoiding the need to create one manually viaDescribeCommunicationsRequest.builder()- Parameters:
describeCommunicationsRequest- AConsumerthat will call methods onDescribeCommunicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCommunications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeCommunicationsPaginator
default DescribeCommunicationsPublisher describeCommunicationsPaginator(DescribeCommunicationsRequest describeCommunicationsRequest) This is a variant of
describeCommunications(software.amazon.awssdk.services.support.model.DescribeCommunicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.support.paginators.DescribeCommunicationsPublisher publisher = client.describeCommunicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.support.paginators.DescribeCommunicationsPublisher publisher = client.describeCommunicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.support.model.DescribeCommunicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.support.model.DescribeCommunicationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCommunications(software.amazon.awssdk.services.support.model.DescribeCommunicationsRequest)operation.- Parameters:
describeCommunicationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCommunicationsPaginator
default DescribeCommunicationsPublisher describeCommunicationsPaginator(Consumer<DescribeCommunicationsRequest.Builder> describeCommunicationsRequest) This is a variant of
describeCommunications(software.amazon.awssdk.services.support.model.DescribeCommunicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.support.paginators.DescribeCommunicationsPublisher publisher = client.describeCommunicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.support.paginators.DescribeCommunicationsPublisher publisher = client.describeCommunicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.support.model.DescribeCommunicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.support.model.DescribeCommunicationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCommunications(software.amazon.awssdk.services.support.model.DescribeCommunicationsRequest)operation.
This is a convenience which creates an instance of the
DescribeCommunicationsRequest.Builderavoiding the need to create one manually viaDescribeCommunicationsRequest.builder()- Parameters:
describeCommunicationsRequest- AConsumerthat will call methods onDescribeCommunicationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCreateCaseOptions
default CompletableFuture<DescribeCreateCaseOptionsResponse> describeCreateCaseOptions(DescribeCreateCaseOptionsRequest describeCreateCaseOptionsRequest) Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability. You can specify the
languagecategoryCode,issueTypeandserviceCodeused to retrieve the CreateCaseOptions.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
describeCreateCaseOptionsRequest-- Returns:
- A Java Future containing the result of the DescribeCreateCaseOptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeCreateCaseOptions
default CompletableFuture<DescribeCreateCaseOptionsResponse> describeCreateCaseOptions(Consumer<DescribeCreateCaseOptionsRequest.Builder> describeCreateCaseOptionsRequest) Returns a list of CreateCaseOption types along with the corresponding supported hours and language availability. You can specify the
languagecategoryCode,issueTypeandserviceCodeused to retrieve the CreateCaseOptions.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
DescribeCreateCaseOptionsRequest.Builderavoiding the need to create one manually viaDescribeCreateCaseOptionsRequest.builder()- Parameters:
describeCreateCaseOptionsRequest- AConsumerthat will call methods onDescribeCreateCaseOptionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCreateCaseOptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeServices
default CompletableFuture<DescribeServicesResponse> describeServices(DescribeServicesRequest describeServicesRequest) 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
DescribeServicesoperation. Always use the service codes and categories that theDescribeServicesoperation returns, so that you have the most recent set of service and category codes.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
describeServicesRequest-- Returns:
- A Java Future containing the result of the DescribeServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeServices
default CompletableFuture<DescribeServicesResponse> describeServices(Consumer<DescribeServicesRequest.Builder> describeServicesRequest) 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
DescribeServicesoperation. Always use the service codes and categories that theDescribeServicesoperation returns, so that you have the most recent set of service and category codes.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
DescribeServicesRequest.Builderavoiding the need to create one manually viaDescribeServicesRequest.builder()- Parameters:
describeServicesRequest- AConsumerthat will call methods onDescribeServicesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeSeverityLevels
default CompletableFuture<DescribeSeverityLevelsResponse> describeSeverityLevels(DescribeSeverityLevelsRequest describeSeverityLevelsRequest) 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 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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
describeSeverityLevelsRequest-- Returns:
- A Java Future containing the result of the DescribeSeverityLevels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeSeverityLevels
default CompletableFuture<DescribeSeverityLevelsResponse> describeSeverityLevels(Consumer<DescribeSeverityLevelsRequest.Builder> describeSeverityLevelsRequest) 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 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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
DescribeSeverityLevelsRequest.Builderavoiding the need to create one manually viaDescribeSeverityLevelsRequest.builder()- Parameters:
describeSeverityLevelsRequest- AConsumerthat will call methods onDescribeSeverityLevelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSeverityLevels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeSupportedLanguages
default CompletableFuture<DescribeSupportedLanguagesResponse> describeSupportedLanguages(DescribeSupportedLanguagesRequest describeSupportedLanguagesRequest) Returns a list of supported languages for a specified
categoryCode,issueTypeandserviceCode. The returned supported languages will include a ISO 639-1 code for thelanguage, and the language display name.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
describeSupportedLanguagesRequest-- Returns:
- A Java Future containing the result of the DescribeSupportedLanguages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeSupportedLanguages
default CompletableFuture<DescribeSupportedLanguagesResponse> describeSupportedLanguages(Consumer<DescribeSupportedLanguagesRequest.Builder> describeSupportedLanguagesRequest) Returns a list of supported languages for a specified
categoryCode,issueTypeandserviceCode. The returned supported languages will include a ISO 639-1 code for thelanguage, and the language display name.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
DescribeSupportedLanguagesRequest.Builderavoiding the need to create one manually viaDescribeSupportedLanguagesRequest.builder()- Parameters:
describeSupportedLanguagesRequest- AConsumerthat will call methods onDescribeSupportedLanguagesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSupportedLanguages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorCheckRefreshStatuses
default CompletableFuture<DescribeTrustedAdvisorCheckRefreshStatusesResponse> describeTrustedAdvisorCheckRefreshStatuses(DescribeTrustedAdvisorCheckRefreshStatusesRequest describeTrustedAdvisorCheckRefreshStatusesRequest) 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
DescribeTrustedAdvisorCheckRefreshStatusesoperation. If you call this operation for these checks, you might see anInvalidParameterValueerror.-
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
SubscriptionRequiredExceptionerror 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.
- Parameters:
describeTrustedAdvisorCheckRefreshStatusesRequest-- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorCheckRefreshStatuses operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorCheckRefreshStatuses
default CompletableFuture<DescribeTrustedAdvisorCheckRefreshStatusesResponse> describeTrustedAdvisorCheckRefreshStatuses(Consumer<DescribeTrustedAdvisorCheckRefreshStatusesRequest.Builder> describeTrustedAdvisorCheckRefreshStatusesRequest) 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
DescribeTrustedAdvisorCheckRefreshStatusesoperation. If you call this operation for these checks, you might see anInvalidParameterValueerror.-
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
SubscriptionRequiredExceptionerror 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.
This is a convenience which creates an instance of the
DescribeTrustedAdvisorCheckRefreshStatusesRequest.Builderavoiding the need to create one manually viaDescribeTrustedAdvisorCheckRefreshStatusesRequest.builder()- Parameters:
describeTrustedAdvisorCheckRefreshStatusesRequest- AConsumerthat will call methods onDescribeTrustedAdvisorCheckRefreshStatusesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorCheckRefreshStatuses operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorCheckResult
default CompletableFuture<DescribeTrustedAdvisorCheckResultResponse> describeTrustedAdvisorCheckResult(DescribeTrustedAdvisorCheckResultRequest describeTrustedAdvisorCheckResultRequest) 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), ornot_available. -
timestamp - The time of the last refresh of the check.
-
checkId - The unique identifier for the check.
-
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
SubscriptionRequiredExceptionerror 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.
- Parameters:
describeTrustedAdvisorCheckResultRequest-- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorCheckResult operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorCheckResult
default CompletableFuture<DescribeTrustedAdvisorCheckResultResponse> describeTrustedAdvisorCheckResult(Consumer<DescribeTrustedAdvisorCheckResultRequest.Builder> describeTrustedAdvisorCheckResultRequest) 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), ornot_available. -
timestamp - The time of the last refresh of the check.
-
checkId - The unique identifier for the check.
-
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
SubscriptionRequiredExceptionerror 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.
This is a convenience which creates an instance of the
DescribeTrustedAdvisorCheckResultRequest.Builderavoiding the need to create one manually viaDescribeTrustedAdvisorCheckResultRequest.builder()- Parameters:
describeTrustedAdvisorCheckResultRequest- AConsumerthat will call methods onDescribeTrustedAdvisorCheckResultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorCheckResult operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorCheckSummaries
default CompletableFuture<DescribeTrustedAdvisorCheckSummariesResponse> describeTrustedAdvisorCheckSummaries(DescribeTrustedAdvisorCheckSummariesRequest describeTrustedAdvisorCheckSummariesRequest) 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 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
SubscriptionRequiredExceptionerror 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.
Understanding the Trusted Advisor Resources processed value
The Resources processed value,
resourcesProcessed, usually shows both flagged resources (those with warnings or errors) and resources in good standing (ok status resources). However, some checks report flagged resources only. To understand what a specific check reports, review the detailed check information in the Trusted Advisor check reference. If you see a Green criterion listed in the Alert criteria, then the check reports all resources. If there's no Green criterion listed in the Alert criteria, then the check reports only flagged resources. For example, the Amazon EC2 Reserved Instance optimization check (cX3c2R1chu) doesn't list a Green criterion in the Alert criteria. So, this check only reports flagged resources.- Parameters:
describeTrustedAdvisorCheckSummariesRequest-- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorCheckSummaries operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorCheckSummaries
default CompletableFuture<DescribeTrustedAdvisorCheckSummariesResponse> describeTrustedAdvisorCheckSummaries(Consumer<DescribeTrustedAdvisorCheckSummariesRequest.Builder> describeTrustedAdvisorCheckSummariesRequest) 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 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
SubscriptionRequiredExceptionerror 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.
Understanding the Trusted Advisor Resources processed value
The Resources processed value,
resourcesProcessed, usually shows both flagged resources (those with warnings or errors) and resources in good standing (ok status resources). However, some checks report flagged resources only. To understand what a specific check reports, review the detailed check information in the Trusted Advisor check reference. If you see a Green criterion listed in the Alert criteria, then the check reports all resources. If there's no Green criterion listed in the Alert criteria, then the check reports only flagged resources. For example, the Amazon EC2 Reserved Instance optimization check (cX3c2R1chu) doesn't list a Green criterion in the Alert criteria. So, this check only reports flagged resources.
This is a convenience which creates an instance of the
DescribeTrustedAdvisorCheckSummariesRequest.Builderavoiding the need to create one manually viaDescribeTrustedAdvisorCheckSummariesRequest.builder()- Parameters:
describeTrustedAdvisorCheckSummariesRequest- AConsumerthat will call methods onDescribeTrustedAdvisorCheckSummariesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorCheckSummaries operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorChecks
default CompletableFuture<DescribeTrustedAdvisorChecksResponse> describeTrustedAdvisorChecks(DescribeTrustedAdvisorChecksRequest describeTrustedAdvisorChecksRequest) 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 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 call the Amazon Web Services Support API from an account that doesn't have a Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
SubscriptionRequiredExceptionerror 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.
- Parameters:
describeTrustedAdvisorChecksRequest-- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorChecks operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeTrustedAdvisorChecks
default CompletableFuture<DescribeTrustedAdvisorChecksResponse> describeTrustedAdvisorChecks(Consumer<DescribeTrustedAdvisorChecksRequest.Builder> describeTrustedAdvisorChecksRequest) 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 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 call the Amazon Web Services Support API from an account that doesn't have a Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
SubscriptionRequiredExceptionerror 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.
This is a convenience which creates an instance of the
DescribeTrustedAdvisorChecksRequest.Builderavoiding the need to create one manually viaDescribeTrustedAdvisorChecksRequest.builder()- Parameters:
describeTrustedAdvisorChecksRequest- AConsumerthat will call methods onDescribeTrustedAdvisorChecksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTrustedAdvisorChecks operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- ThrottlingException You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getAttachmentDownloadLink
default CompletableFuture<GetAttachmentDownloadLinkResponse> getAttachmentDownloadLink(GetAttachmentDownloadLinkRequest getAttachmentDownloadLinkRequest) Returns a presigned download URL for an attachment that is associated with a case communication. The download link works for an attachment of any size, including attachments added through
AddAttachmentsToSetand attachments uploaded through GetAttachmentUploadLinks. The download URL is time-limited and expires at the date and time indicated in thedownloadUrlresponse field. Download the attachment from the URL before it expires.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
getAttachmentDownloadLinkRequest-- Returns:
- A Java Future containing the result of the GetAttachmentDownloadLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AttachmentIdNotFoundException An attachment with the specified ID could not be found.
- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getAttachmentDownloadLink
default CompletableFuture<GetAttachmentDownloadLinkResponse> getAttachmentDownloadLink(Consumer<GetAttachmentDownloadLinkRequest.Builder> getAttachmentDownloadLinkRequest) Returns a presigned download URL for an attachment that is associated with a case communication. The download link works for an attachment of any size, including attachments added through
AddAttachmentsToSetand attachments uploaded through GetAttachmentUploadLinks. The download URL is time-limited and expires at the date and time indicated in thedownloadUrlresponse field. Download the attachment from the URL before it expires.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
GetAttachmentDownloadLinkRequest.Builderavoiding the need to create one manually viaGetAttachmentDownloadLinkRequest.builder()- Parameters:
getAttachmentDownloadLinkRequest- AConsumerthat will call methods onGetAttachmentDownloadLinkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAttachmentDownloadLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AttachmentIdNotFoundException An attachment with the specified ID could not be found.
- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getAttachmentUploadLinks
default CompletableFuture<GetAttachmentUploadLinksResponse> getAttachmentUploadLinks(GetAttachmentUploadLinksRequest getAttachmentUploadLinksRequest) Returns one or more presigned upload URLs for uploading a large file attachment to a support case by using a multipart upload workflow. The maximum file size that you can upload with this workflow is 150 MB, and parts can be up to 100 MB each. Initiate a new upload by providing
fileNameandfileSizeBytes; the response returns a uniqueuploadId, the part size, the total number of parts, and a list of presigned upload URLs for the requested range of parts. A maximum of 10 upload URLs are returned per call. To retrieve more upload URLs for an upload that's already in progress, callGetAttachmentUploadLinksagain with the existinguploadIdand a newuploadRange.Upload each part to its presigned URL by using HTTP
PUTand capture the ETag from the response. After you upload all parts, call CompleteAttachmentUpload with theuploadIdand the list of part indexes and ETags to finalize the upload. You can then attach the upload to a case by passing theuploadIdin theuploadIdsparameter of CreateCase or AddCommunicationToCase. To monitor progress before completion, call DescribeAttachmentUploadStatus.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
getAttachmentUploadLinksRequest-- Returns:
- A Java Future containing the result of the GetAttachmentUploadLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - UploadIdNotFoundException The specified
uploadIdcouldn't be located. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getAttachmentUploadLinks
default CompletableFuture<GetAttachmentUploadLinksResponse> getAttachmentUploadLinks(Consumer<GetAttachmentUploadLinksRequest.Builder> getAttachmentUploadLinksRequest) Returns one or more presigned upload URLs for uploading a large file attachment to a support case by using a multipart upload workflow. The maximum file size that you can upload with this workflow is 150 MB, and parts can be up to 100 MB each. Initiate a new upload by providing
fileNameandfileSizeBytes; the response returns a uniqueuploadId, the part size, the total number of parts, and a list of presigned upload URLs for the requested range of parts. A maximum of 10 upload URLs are returned per call. To retrieve more upload URLs for an upload that's already in progress, callGetAttachmentUploadLinksagain with the existinguploadIdand a newuploadRange.Upload each part to its presigned URL by using HTTP
PUTand capture the ETag from the response. After you upload all parts, call CompleteAttachmentUpload with theuploadIdand the list of part indexes and ETags to finalize the upload. You can then attach the upload to a case by passing theuploadIdin theuploadIdsparameter of CreateCase or AddCommunicationToCase. To monitor progress before completion, call DescribeAttachmentUploadStatus.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
GetAttachmentUploadLinksRequest.Builderavoiding the need to create one manually viaGetAttachmentUploadLinksRequest.builder()- Parameters:
getAttachmentUploadLinksRequest- AConsumerthat will call methods onGetAttachmentUploadLinksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAttachmentUploadLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - UploadIdNotFoundException The specified
uploadIdcouldn't be located. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
refreshTrustedAdvisorCheck
default CompletableFuture<RefreshTrustedAdvisorCheckResponse> refreshTrustedAdvisorCheck(RefreshTrustedAdvisorCheckRequest refreshTrustedAdvisorCheckRequest) 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
RefreshTrustedAdvisorCheckoperation to refresh them, you might see theInvalidParameterValueerror.The response contains a TrustedAdvisorCheckRefreshStatus object.
-
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
SubscriptionRequiredExceptionerror 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.
- Parameters:
refreshTrustedAdvisorCheckRequest-- Returns:
- A Java Future containing the result of the RefreshTrustedAdvisorCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
refreshTrustedAdvisorCheck
default CompletableFuture<RefreshTrustedAdvisorCheckResponse> refreshTrustedAdvisorCheck(Consumer<RefreshTrustedAdvisorCheckRequest.Builder> refreshTrustedAdvisorCheckRequest) 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
RefreshTrustedAdvisorCheckoperation to refresh them, you might see theInvalidParameterValueerror.The response contains a TrustedAdvisorCheckRefreshStatus object.
-
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
SubscriptionRequiredExceptionerror 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.
This is a convenience which creates an instance of the
RefreshTrustedAdvisorCheckRequest.Builderavoiding the need to create one manually viaRefreshTrustedAdvisorCheckRequest.builder()- Parameters:
refreshTrustedAdvisorCheckRequest- AConsumerthat will call methods onRefreshTrustedAdvisorCheckRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RefreshTrustedAdvisorCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
resolveCase
Resolves a support case. This operation takes a
caseIdand returns the initial and final state of the case.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
- Parameters:
resolveCaseRequest-- Returns:
- A Java Future containing the result of the ResolveCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
resolveCase
default CompletableFuture<ResolveCaseResponse> resolveCase(Consumer<ResolveCaseRequest.Builder> resolveCaseRequest) Resolves a support case. This operation takes a
caseIdand returns the initial and final state of the case.-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
This is a convenience which creates an instance of the
ResolveCaseRequest.Builderavoiding the need to create one manually viaResolveCaseRequest.builder()- Parameters:
resolveCaseRequest- AConsumerthat will call methods onResolveCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResolveCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException An internal server error occurred.
- CaseIdNotFoundException The requested
caseIdcouldn't be located. - DryRunOperationException The request was valid, but the operation wasn't performed because
dryRunwas set totrue. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupportException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aSupportAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSupportAsyncClient.
-