@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSArtifactAsyncClient extends AWSArtifactClient implements AWSArtifactAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
This reference provides descriptions of the low-level AWS Artifact Service API.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, getAccountSettings, getCachedResponseMetadata, getReport, getReportMetadata, getTermForReport, listReports, putAccountSettings
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccountSettings, getCachedResponseMetadata, getReport, getReportMetadata, getTermForReport, listReports, putAccountSettings
public static AWSArtifactAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request)
AWSArtifactAsync
Get the account settings for Artifact.
getAccountSettingsAsync
in interface AWSArtifactAsync
public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest,GetAccountSettingsResult> asyncHandler)
AWSArtifactAsync
Get the account settings for Artifact.
getAccountSettingsAsync
in interface AWSArtifactAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetReportResult> getReportAsync(GetReportRequest request)
AWSArtifactAsync
Get the content for a single report.
getReportAsync
in interface AWSArtifactAsync
public Future<GetReportResult> getReportAsync(GetReportRequest request, AsyncHandler<GetReportRequest,GetReportResult> asyncHandler)
AWSArtifactAsync
Get the content for a single report.
getReportAsync
in interface AWSArtifactAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetReportMetadataResult> getReportMetadataAsync(GetReportMetadataRequest request)
AWSArtifactAsync
Get the metadata for a single report.
getReportMetadataAsync
in interface AWSArtifactAsync
public Future<GetReportMetadataResult> getReportMetadataAsync(GetReportMetadataRequest request, AsyncHandler<GetReportMetadataRequest,GetReportMetadataResult> asyncHandler)
AWSArtifactAsync
Get the metadata for a single report.
getReportMetadataAsync
in interface AWSArtifactAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTermForReportResult> getTermForReportAsync(GetTermForReportRequest request)
AWSArtifactAsync
Get the Term content associated with a single report.
getTermForReportAsync
in interface AWSArtifactAsync
public Future<GetTermForReportResult> getTermForReportAsync(GetTermForReportRequest request, AsyncHandler<GetTermForReportRequest,GetTermForReportResult> asyncHandler)
AWSArtifactAsync
Get the Term content associated with a single report.
getTermForReportAsync
in interface AWSArtifactAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListReportsResult> listReportsAsync(ListReportsRequest request)
AWSArtifactAsync
List available reports.
listReportsAsync
in interface AWSArtifactAsync
public Future<ListReportsResult> listReportsAsync(ListReportsRequest request, AsyncHandler<ListReportsRequest,ListReportsResult> asyncHandler)
AWSArtifactAsync
List available reports.
listReportsAsync
in interface AWSArtifactAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutAccountSettingsResult> putAccountSettingsAsync(PutAccountSettingsRequest request)
AWSArtifactAsync
Put the account settings for Artifact.
putAccountSettingsAsync
in interface AWSArtifactAsync
public Future<PutAccountSettingsResult> putAccountSettingsAsync(PutAccountSettingsRequest request, AsyncHandler<PutAccountSettingsRequest,PutAccountSettingsResult> asyncHandler)
AWSArtifactAsync
Put the account settings for Artifact.
putAccountSettingsAsync
in interface AWSArtifactAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSArtifact
shutdown
in class AWSArtifactClient