Interface ArtifactAsyncClient
- 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.
This reference provides descriptions of the low-level AWS Artifact Service API.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aArtifactAsyncClient.static ArtifactAsyncClientcreate()Create aArtifactAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createComplianceInquiry(Consumer<CreateComplianceInquiryRequest.Builder> createComplianceInquiryRequest) Create a new compliance inquiry.createComplianceInquiry(CreateComplianceInquiryRequest createComplianceInquiryRequest) Create a new compliance inquiry.exportComplianceInquiry(Consumer<ExportComplianceInquiryRequest.Builder> exportComplianceInquiryRequest) Export a compliance inquiry report.exportComplianceInquiry(ExportComplianceInquiryRequest exportComplianceInquiryRequest) Export a compliance inquiry report.getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) Get the account settings for Artifact.getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) Get the account settings for Artifact.getComplianceInquiryMetadata(Consumer<GetComplianceInquiryMetadataRequest.Builder> getComplianceInquiryMetadataRequest) Get the metadata for a single compliance inquiry.getComplianceInquiryMetadata(GetComplianceInquiryMetadataRequest getComplianceInquiryMetadataRequest) Get the metadata for a single compliance inquiry.default CompletableFuture<GetReportResponse> getReport(Consumer<GetReportRequest.Builder> getReportRequest) Get the content for a single report.default CompletableFuture<GetReportResponse> getReport(GetReportRequest getReportRequest) Get the content for a single report.getReportMetadata(Consumer<GetReportMetadataRequest.Builder> getReportMetadataRequest) Get the metadata for a single report.getReportMetadata(GetReportMetadataRequest getReportMetadataRequest) Get the metadata for a single report.getTermForReport(Consumer<GetTermForReportRequest.Builder> getTermForReportRequest) Get the Term content associated with a single report.getTermForReport(GetTermForReportRequest getTermForReportRequest) Get the Term content associated with a single report.listComplianceInquiries(Consumer<ListComplianceInquiriesRequest.Builder> listComplianceInquiriesRequest) List available compliance inquiries.listComplianceInquiries(ListComplianceInquiriesRequest listComplianceInquiriesRequest) List available compliance inquiries.default ListComplianceInquiriesPublisherlistComplianceInquiriesPaginator(Consumer<ListComplianceInquiriesRequest.Builder> listComplianceInquiriesRequest) This is a variant oflistComplianceInquiries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesRequest)operation.default ListComplianceInquiriesPublisherlistComplianceInquiriesPaginator(ListComplianceInquiriesRequest listComplianceInquiriesRequest) This is a variant oflistComplianceInquiries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesRequest)operation.listComplianceInquiryQueries(Consumer<ListComplianceInquiryQueriesRequest.Builder> listComplianceInquiryQueriesRequest) List queries within a compliance inquiry.listComplianceInquiryQueries(ListComplianceInquiryQueriesRequest listComplianceInquiryQueriesRequest) List queries within a compliance inquiry.listComplianceInquiryQueriesPaginator(Consumer<ListComplianceInquiryQueriesRequest.Builder> listComplianceInquiryQueriesRequest) This is a variant oflistComplianceInquiryQueries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesRequest)operation.listComplianceInquiryQueriesPaginator(ListComplianceInquiryQueriesRequest listComplianceInquiryQueriesRequest) This is a variant oflistComplianceInquiryQueries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesRequest)operation.listCustomerAgreements(Consumer<ListCustomerAgreementsRequest.Builder> listCustomerAgreementsRequest) List active customer-agreements applicable to calling identity.listCustomerAgreements(ListCustomerAgreementsRequest listCustomerAgreementsRequest) List active customer-agreements applicable to calling identity.default ListCustomerAgreementsPublisherlistCustomerAgreementsPaginator(Consumer<ListCustomerAgreementsRequest.Builder> listCustomerAgreementsRequest) This is a variant oflistCustomerAgreements(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsRequest)operation.default ListCustomerAgreementsPublisherlistCustomerAgreementsPaginator(ListCustomerAgreementsRequest listCustomerAgreementsRequest) This is a variant oflistCustomerAgreements(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsRequest)operation.default CompletableFuture<ListReportsResponse> listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) List available reports.default CompletableFuture<ListReportsResponse> listReports(ListReportsRequest listReportsRequest) List available reports.default ListReportsPublisherlistReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.artifact.model.ListReportsRequest)operation.default ListReportsPublisherlistReportsPaginator(ListReportsRequest listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.artifact.model.ListReportsRequest)operation.listReportVersions(Consumer<ListReportVersionsRequest.Builder> listReportVersionsRequest) List available report versions for a given report.listReportVersions(ListReportVersionsRequest listReportVersionsRequest) List available report versions for a given report.default ListReportVersionsPublisherlistReportVersionsPaginator(Consumer<ListReportVersionsRequest.Builder> listReportVersionsRequest) This is a variant oflistReportVersions(software.amazon.awssdk.services.artifact.model.ListReportVersionsRequest)operation.default ListReportVersionsPublisherlistReportVersionsPaginator(ListReportVersionsRequest listReportVersionsRequest) This is a variant oflistReportVersions(software.amazon.awssdk.services.artifact.model.ListReportVersionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List tags for a resource.putAccountSettings(Consumer<PutAccountSettingsRequest.Builder> putAccountSettingsRequest) Put the account settings for Artifact.putAccountSettings(PutAccountSettingsRequest putAccountSettingsRequest) Put the account settings for Artifact.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Add tags to a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove tags from a resource.Methods 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
-
createComplianceInquiry
default CompletableFuture<CreateComplianceInquiryResponse> createComplianceInquiry(CreateComplianceInquiryRequest createComplianceInquiryRequest) Create a new compliance inquiry.
- Parameters:
createComplianceInquiryRequest-- Returns:
- A Java Future containing the result of the CreateComplianceInquiry 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.- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComplianceInquiry
default CompletableFuture<CreateComplianceInquiryResponse> createComplianceInquiry(Consumer<CreateComplianceInquiryRequest.Builder> createComplianceInquiryRequest) Create a new compliance inquiry.
This is a convenience which creates an instance of the
CreateComplianceInquiryRequest.Builderavoiding the need to create one manually viaCreateComplianceInquiryRequest.builder()- Parameters:
createComplianceInquiryRequest- AConsumerthat will call methods onCreateComplianceInquiryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateComplianceInquiry 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.- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportComplianceInquiry
default CompletableFuture<ExportComplianceInquiryResponse> exportComplianceInquiry(ExportComplianceInquiryRequest exportComplianceInquiryRequest) Export a compliance inquiry report.
- Parameters:
exportComplianceInquiryRequest-- Returns:
- A Java Future containing the result of the ExportComplianceInquiry 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportComplianceInquiry
default CompletableFuture<ExportComplianceInquiryResponse> exportComplianceInquiry(Consumer<ExportComplianceInquiryRequest.Builder> exportComplianceInquiryRequest) Export a compliance inquiry report.
This is a convenience which creates an instance of the
ExportComplianceInquiryRequest.Builderavoiding the need to create one manually viaExportComplianceInquiryRequest.builder()- Parameters:
exportComplianceInquiryRequest- AConsumerthat will call methods onExportComplianceInquiryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportComplianceInquiry 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountSettings
default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) Get the account settings for Artifact.
- Parameters:
getAccountSettingsRequest-- Returns:
- A Java Future containing the result of the GetAccountSettings 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountSettings
default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) Get the account settings for Artifact.
This is a convenience which creates an instance of the
GetAccountSettingsRequest.Builderavoiding the need to create one manually viaGetAccountSettingsRequest.builder()- Parameters:
getAccountSettingsRequest- AConsumerthat will call methods onGetAccountSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountSettings 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComplianceInquiryMetadata
default CompletableFuture<GetComplianceInquiryMetadataResponse> getComplianceInquiryMetadata(GetComplianceInquiryMetadataRequest getComplianceInquiryMetadataRequest) Get the metadata for a single compliance inquiry.
- Parameters:
getComplianceInquiryMetadataRequest-- Returns:
- A Java Future containing the result of the GetComplianceInquiryMetadata 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComplianceInquiryMetadata
default CompletableFuture<GetComplianceInquiryMetadataResponse> getComplianceInquiryMetadata(Consumer<GetComplianceInquiryMetadataRequest.Builder> getComplianceInquiryMetadataRequest) Get the metadata for a single compliance inquiry.
This is a convenience which creates an instance of the
GetComplianceInquiryMetadataRequest.Builderavoiding the need to create one manually viaGetComplianceInquiryMetadataRequest.builder()- Parameters:
getComplianceInquiryMetadataRequest- AConsumerthat will call methods onGetComplianceInquiryMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetComplianceInquiryMetadata 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReport
Get the content for a single report.
- Parameters:
getReportRequest-- Returns:
- A Java Future containing the result of the GetReport 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReport
default CompletableFuture<GetReportResponse> getReport(Consumer<GetReportRequest.Builder> getReportRequest) Get the content for a single report.
This is a convenience which creates an instance of the
GetReportRequest.Builderavoiding the need to create one manually viaGetReportRequest.builder()- Parameters:
getReportRequest- AConsumerthat will call methods onGetReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetReport 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReportMetadata
default CompletableFuture<GetReportMetadataResponse> getReportMetadata(GetReportMetadataRequest getReportMetadataRequest) Get the metadata for a single report.
- Parameters:
getReportMetadataRequest-- Returns:
- A Java Future containing the result of the GetReportMetadata 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReportMetadata
default CompletableFuture<GetReportMetadataResponse> getReportMetadata(Consumer<GetReportMetadataRequest.Builder> getReportMetadataRequest) Get the metadata for a single report.
This is a convenience which creates an instance of the
GetReportMetadataRequest.Builderavoiding the need to create one manually viaGetReportMetadataRequest.builder()- Parameters:
getReportMetadataRequest- AConsumerthat will call methods onGetReportMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetReportMetadata 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTermForReport
default CompletableFuture<GetTermForReportResponse> getTermForReport(GetTermForReportRequest getTermForReportRequest) Get the Term content associated with a single report.
- Parameters:
getTermForReportRequest-- Returns:
- A Java Future containing the result of the GetTermForReport 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTermForReport
default CompletableFuture<GetTermForReportResponse> getTermForReport(Consumer<GetTermForReportRequest.Builder> getTermForReportRequest) Get the Term content associated with a single report.
This is a convenience which creates an instance of the
GetTermForReportRequest.Builderavoiding the need to create one manually viaGetTermForReportRequest.builder()- Parameters:
getTermForReportRequest- AConsumerthat will call methods onGetTermForReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTermForReport 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiries
default CompletableFuture<ListComplianceInquiriesResponse> listComplianceInquiries(ListComplianceInquiriesRequest listComplianceInquiriesRequest) List available compliance inquiries.
- Parameters:
listComplianceInquiriesRequest-- Returns:
- A Java Future containing the result of the ListComplianceInquiries 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiries
default CompletableFuture<ListComplianceInquiriesResponse> listComplianceInquiries(Consumer<ListComplianceInquiriesRequest.Builder> listComplianceInquiriesRequest) List available compliance inquiries.
This is a convenience which creates an instance of the
ListComplianceInquiriesRequest.Builderavoiding the need to create one manually viaListComplianceInquiriesRequest.builder()- Parameters:
listComplianceInquiriesRequest- AConsumerthat will call methods onListComplianceInquiriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComplianceInquiries 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiriesPaginator
default ListComplianceInquiriesPublisher listComplianceInquiriesPaginator(ListComplianceInquiriesRequest listComplianceInquiriesRequest) This is a variant of
listComplianceInquiries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesRequest)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.artifact.paginators.ListComplianceInquiriesPublisher publisher = client.listComplianceInquiriesPaginator(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.artifact.paginators.ListComplianceInquiriesPublisher publisher = client.listComplianceInquiriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesResponse 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
listComplianceInquiries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesRequest)operation.- Parameters:
listComplianceInquiriesRequest-- 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiriesPaginator
default ListComplianceInquiriesPublisher listComplianceInquiriesPaginator(Consumer<ListComplianceInquiriesRequest.Builder> listComplianceInquiriesRequest) This is a variant of
listComplianceInquiries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesRequest)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.artifact.paginators.ListComplianceInquiriesPublisher publisher = client.listComplianceInquiriesPaginator(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.artifact.paginators.ListComplianceInquiriesPublisher publisher = client.listComplianceInquiriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesResponse 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
listComplianceInquiries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiriesRequest)operation.
This is a convenience which creates an instance of the
ListComplianceInquiriesRequest.Builderavoiding the need to create one manually viaListComplianceInquiriesRequest.builder()- Parameters:
listComplianceInquiriesRequest- AConsumerthat will call methods onListComplianceInquiriesRequest.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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiryQueries
default CompletableFuture<ListComplianceInquiryQueriesResponse> listComplianceInquiryQueries(ListComplianceInquiryQueriesRequest listComplianceInquiryQueriesRequest) List queries within a compliance inquiry.
- Parameters:
listComplianceInquiryQueriesRequest-- Returns:
- A Java Future containing the result of the ListComplianceInquiryQueries 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiryQueries
default CompletableFuture<ListComplianceInquiryQueriesResponse> listComplianceInquiryQueries(Consumer<ListComplianceInquiryQueriesRequest.Builder> listComplianceInquiryQueriesRequest) List queries within a compliance inquiry.
This is a convenience which creates an instance of the
ListComplianceInquiryQueriesRequest.Builderavoiding the need to create one manually viaListComplianceInquiryQueriesRequest.builder()- Parameters:
listComplianceInquiryQueriesRequest- AConsumerthat will call methods onListComplianceInquiryQueriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComplianceInquiryQueries 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiryQueriesPaginator
default ListComplianceInquiryQueriesPublisher listComplianceInquiryQueriesPaginator(ListComplianceInquiryQueriesRequest listComplianceInquiryQueriesRequest) This is a variant of
listComplianceInquiryQueries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesRequest)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.artifact.paginators.ListComplianceInquiryQueriesPublisher publisher = client.listComplianceInquiryQueriesPaginator(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.artifact.paginators.ListComplianceInquiryQueriesPublisher publisher = client.listComplianceInquiryQueriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesResponse 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
listComplianceInquiryQueries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesRequest)operation.- Parameters:
listComplianceInquiryQueriesRequest-- 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComplianceInquiryQueriesPaginator
default ListComplianceInquiryQueriesPublisher listComplianceInquiryQueriesPaginator(Consumer<ListComplianceInquiryQueriesRequest.Builder> listComplianceInquiryQueriesRequest) This is a variant of
listComplianceInquiryQueries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesRequest)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.artifact.paginators.ListComplianceInquiryQueriesPublisher publisher = client.listComplianceInquiryQueriesPaginator(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.artifact.paginators.ListComplianceInquiryQueriesPublisher publisher = client.listComplianceInquiryQueriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesResponse 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
listComplianceInquiryQueries(software.amazon.awssdk.services.artifact.model.ListComplianceInquiryQueriesRequest)operation.
This is a convenience which creates an instance of the
ListComplianceInquiryQueriesRequest.Builderavoiding the need to create one manually viaListComplianceInquiryQueriesRequest.builder()- Parameters:
listComplianceInquiryQueriesRequest- AConsumerthat will call methods onListComplianceInquiryQueriesRequest.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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomerAgreements
default CompletableFuture<ListCustomerAgreementsResponse> listCustomerAgreements(ListCustomerAgreementsRequest listCustomerAgreementsRequest) List active customer-agreements applicable to calling identity.
- Parameters:
listCustomerAgreementsRequest-- Returns:
- A Java Future containing the result of the ListCustomerAgreements 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.- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomerAgreements
default CompletableFuture<ListCustomerAgreementsResponse> listCustomerAgreements(Consumer<ListCustomerAgreementsRequest.Builder> listCustomerAgreementsRequest) List active customer-agreements applicable to calling identity.
This is a convenience which creates an instance of the
ListCustomerAgreementsRequest.Builderavoiding the need to create one manually viaListCustomerAgreementsRequest.builder()- Parameters:
listCustomerAgreementsRequest- AConsumerthat will call methods onListCustomerAgreementsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCustomerAgreements 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.- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomerAgreementsPaginator
default ListCustomerAgreementsPublisher listCustomerAgreementsPaginator(ListCustomerAgreementsRequest listCustomerAgreementsRequest) This is a variant of
listCustomerAgreements(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsRequest)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.artifact.paginators.ListCustomerAgreementsPublisher publisher = client.listCustomerAgreementsPaginator(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.artifact.paginators.ListCustomerAgreementsPublisher publisher = client.listCustomerAgreementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsResponse 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
listCustomerAgreements(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsRequest)operation.- Parameters:
listCustomerAgreementsRequest-- 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.- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomerAgreementsPaginator
default ListCustomerAgreementsPublisher listCustomerAgreementsPaginator(Consumer<ListCustomerAgreementsRequest.Builder> listCustomerAgreementsRequest) This is a variant of
listCustomerAgreements(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsRequest)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.artifact.paginators.ListCustomerAgreementsPublisher publisher = client.listCustomerAgreementsPaginator(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.artifact.paginators.ListCustomerAgreementsPublisher publisher = client.listCustomerAgreementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsResponse 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
listCustomerAgreements(software.amazon.awssdk.services.artifact.model.ListCustomerAgreementsRequest)operation.
This is a convenience which creates an instance of the
ListCustomerAgreementsRequest.Builderavoiding the need to create one manually viaListCustomerAgreementsRequest.builder()- Parameters:
listCustomerAgreementsRequest- AConsumerthat will call methods onListCustomerAgreementsRequest.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.- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportVersions
default CompletableFuture<ListReportVersionsResponse> listReportVersions(ListReportVersionsRequest listReportVersionsRequest) List available report versions for a given report.
- Parameters:
listReportVersionsRequest-- Returns:
- A Java Future containing the result of the ListReportVersions 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportVersions
default CompletableFuture<ListReportVersionsResponse> listReportVersions(Consumer<ListReportVersionsRequest.Builder> listReportVersionsRequest) List available report versions for a given report.
This is a convenience which creates an instance of the
ListReportVersionsRequest.Builderavoiding the need to create one manually viaListReportVersionsRequest.builder()- Parameters:
listReportVersionsRequest- AConsumerthat will call methods onListReportVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReportVersions 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportVersionsPaginator
default ListReportVersionsPublisher listReportVersionsPaginator(ListReportVersionsRequest listReportVersionsRequest) This is a variant of
listReportVersions(software.amazon.awssdk.services.artifact.model.ListReportVersionsRequest)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.artifact.paginators.ListReportVersionsPublisher publisher = client.listReportVersionsPaginator(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.artifact.paginators.ListReportVersionsPublisher publisher = client.listReportVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListReportVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListReportVersionsResponse 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
listReportVersions(software.amazon.awssdk.services.artifact.model.ListReportVersionsRequest)operation.- Parameters:
listReportVersionsRequest-- 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportVersionsPaginator
default ListReportVersionsPublisher listReportVersionsPaginator(Consumer<ListReportVersionsRequest.Builder> listReportVersionsRequest) This is a variant of
listReportVersions(software.amazon.awssdk.services.artifact.model.ListReportVersionsRequest)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.artifact.paginators.ListReportVersionsPublisher publisher = client.listReportVersionsPaginator(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.artifact.paginators.ListReportVersionsPublisher publisher = client.listReportVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListReportVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListReportVersionsResponse 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
listReportVersions(software.amazon.awssdk.services.artifact.model.ListReportVersionsRequest)operation.
This is a convenience which creates an instance of the
ListReportVersionsRequest.Builderavoiding the need to create one manually viaListReportVersionsRequest.builder()- Parameters:
listReportVersionsRequest- AConsumerthat will call methods onListReportVersionsRequest.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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReports
List available reports.
- Parameters:
listReportsRequest-- Returns:
- A Java Future containing the result of the ListReports 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReports
default CompletableFuture<ListReportsResponse> listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) List available reports.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReports 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportsPaginator
This is a variant of
listReports(software.amazon.awssdk.services.artifact.model.ListReportsRequest)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.artifact.paginators.ListReportsPublisher publisher = client.listReportsPaginator(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.artifact.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListReportsResponse 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
listReports(software.amazon.awssdk.services.artifact.model.ListReportsRequest)operation.- Parameters:
listReportsRequest-- 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportsPaginator
default ListReportsPublisher listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) This is a variant of
listReports(software.amazon.awssdk.services.artifact.model.ListReportsRequest)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.artifact.paginators.ListReportsPublisher publisher = client.listReportsPaginator(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.artifact.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.artifact.model.ListReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.artifact.model.ListReportsResponse 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
listReports(software.amazon.awssdk.services.artifact.model.ListReportsRequest)operation.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAccountSettings
default CompletableFuture<PutAccountSettingsResponse> putAccountSettings(PutAccountSettingsRequest putAccountSettingsRequest) Put the account settings for Artifact.
- Parameters:
putAccountSettingsRequest-- Returns:
- A Java Future containing the result of the PutAccountSettings 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAccountSettings
default CompletableFuture<PutAccountSettingsResponse> putAccountSettings(Consumer<PutAccountSettingsRequest.Builder> putAccountSettingsRequest) Put the account settings for Artifact.
This is a convenience which creates an instance of the
PutAccountSettingsRequest.Builderavoiding the need to create one manually viaPutAccountSettingsRequest.builder()- Parameters:
putAccountSettingsRequest- AConsumerthat will call methods onPutAccountSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutAccountSettings 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- ConflictException Request to create/modify content would result in a conflict.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Add tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource 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.- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException User does not have sufficient access to perform this action.
- InternalServerException An unknown server exception has occurred.
- ValidationException Request fails to satisfy the constraints specified by an AWS service.
- 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.
- ArtifactException 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 aArtifactAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aArtifactAsyncClient.
-