@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonPrometheusAsyncClient extends AmazonPrometheusClient implements AmazonPrometheusAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Amazon Managed Service for Prometheus
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createAlertManagerDefinition, createRuleGroupsNamespace, createWorkspace, deleteAlertManagerDefinition, deleteRuleGroupsNamespace, deleteWorkspace, describeAlertManagerDefinition, describeRuleGroupsNamespace, describeWorkspace, getCachedResponseMetadata, listRuleGroupsNamespaces, listTagsForResource, listWorkspaces, putAlertManagerDefinition, putRuleGroupsNamespace, tagResource, untagResource, updateWorkspaceAlias, waitersaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAlertManagerDefinition, createRuleGroupsNamespace, createWorkspace, deleteAlertManagerDefinition, deleteRuleGroupsNamespace, deleteWorkspace, describeAlertManagerDefinition, describeRuleGroupsNamespace, describeWorkspace, getCachedResponseMetadata, listRuleGroupsNamespaces, listTagsForResource, listWorkspaces, putAlertManagerDefinition, putRuleGroupsNamespace, tagResource, untagResource, updateWorkspaceAlias, waiterspublic static AmazonPrometheusAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAlertManagerDefinitionResult> createAlertManagerDefinitionAsync(CreateAlertManagerDefinitionRequest request)
AmazonPrometheusAsyncCreate an alert manager definition.
createAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateAlertManagerDefinition operation.public Future<CreateAlertManagerDefinitionResult> createAlertManagerDefinitionAsync(CreateAlertManagerDefinitionRequest request, AsyncHandler<CreateAlertManagerDefinitionRequest,CreateAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsyncCreate an alert manager definition.
createAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateAlertManagerDefinition operation.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<CreateRuleGroupsNamespaceResult> createRuleGroupsNamespaceAsync(CreateRuleGroupsNamespaceRequest request)
AmazonPrometheusAsyncCreate a rule group namespace.
createRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateRuleGroupsNamespace operation.public Future<CreateRuleGroupsNamespaceResult> createRuleGroupsNamespaceAsync(CreateRuleGroupsNamespaceRequest request, AsyncHandler<CreateRuleGroupsNamespaceRequest,CreateRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsyncCreate a rule group namespace.
createRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateRuleGroupsNamespace operation.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<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest request)
AmazonPrometheusAsyncCreates a new AMP workspace.
createWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateWorkspace operation.public Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest request, AsyncHandler<CreateWorkspaceRequest,CreateWorkspaceResult> asyncHandler)
AmazonPrometheusAsyncCreates a new AMP workspace.
createWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateWorkspace operation.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<DeleteAlertManagerDefinitionResult> deleteAlertManagerDefinitionAsync(DeleteAlertManagerDefinitionRequest request)
AmazonPrometheusAsyncDeletes an alert manager definition.
deleteAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteAlertManagerDefinition operation.public Future<DeleteAlertManagerDefinitionResult> deleteAlertManagerDefinitionAsync(DeleteAlertManagerDefinitionRequest request, AsyncHandler<DeleteAlertManagerDefinitionRequest,DeleteAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsyncDeletes an alert manager definition.
deleteAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteAlertManagerDefinition operation.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<DeleteRuleGroupsNamespaceResult> deleteRuleGroupsNamespaceAsync(DeleteRuleGroupsNamespaceRequest request)
AmazonPrometheusAsyncDelete a rule groups namespace.
deleteRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteRuleGroupsNamespace operation.public Future<DeleteRuleGroupsNamespaceResult> deleteRuleGroupsNamespaceAsync(DeleteRuleGroupsNamespaceRequest request, AsyncHandler<DeleteRuleGroupsNamespaceRequest,DeleteRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsyncDelete a rule groups namespace.
deleteRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteRuleGroupsNamespace operation.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<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest request)
AmazonPrometheusAsyncDeletes an AMP workspace.
deleteWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteWorkspace operation.public Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest request, AsyncHandler<DeleteWorkspaceRequest,DeleteWorkspaceResult> asyncHandler)
AmazonPrometheusAsyncDeletes an AMP workspace.
deleteWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteWorkspace operation.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<DescribeAlertManagerDefinitionResult> describeAlertManagerDefinitionAsync(DescribeAlertManagerDefinitionRequest request)
AmazonPrometheusAsyncDescribes an alert manager definition.
describeAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeAlertManagerDefinition operation.public Future<DescribeAlertManagerDefinitionResult> describeAlertManagerDefinitionAsync(DescribeAlertManagerDefinitionRequest request, AsyncHandler<DescribeAlertManagerDefinitionRequest,DescribeAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsyncDescribes an alert manager definition.
describeAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeAlertManagerDefinition operation.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<DescribeRuleGroupsNamespaceResult> describeRuleGroupsNamespaceAsync(DescribeRuleGroupsNamespaceRequest request)
AmazonPrometheusAsyncDescribe a rule groups namespace.
describeRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeRuleGroupsNamespace operation.public Future<DescribeRuleGroupsNamespaceResult> describeRuleGroupsNamespaceAsync(DescribeRuleGroupsNamespaceRequest request, AsyncHandler<DescribeRuleGroupsNamespaceRequest,DescribeRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsyncDescribe a rule groups namespace.
describeRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeRuleGroupsNamespace operation.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<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest request)
AmazonPrometheusAsyncDescribes an existing AMP workspace.
describeWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeWorkspace operation.public Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest request, AsyncHandler<DescribeWorkspaceRequest,DescribeWorkspaceResult> asyncHandler)
AmazonPrometheusAsyncDescribes an existing AMP workspace.
describeWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeWorkspace operation.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<ListRuleGroupsNamespacesResult> listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest request)
AmazonPrometheusAsyncLists rule groups namespaces.
listRuleGroupsNamespacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListRuleGroupsNamespaces operation.public Future<ListRuleGroupsNamespacesResult> listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest request, AsyncHandler<ListRuleGroupsNamespacesRequest,ListRuleGroupsNamespacesResult> asyncHandler)
AmazonPrometheusAsyncLists rule groups namespaces.
listRuleGroupsNamespacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListRuleGroupsNamespaces operation.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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonPrometheusAsyncLists the tags you have assigned to the resource.
listTagsForResourceAsync in interface AmazonPrometheusAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonPrometheusAsyncLists the tags you have assigned to the resource.
listTagsForResourceAsync in interface AmazonPrometheusAsyncasyncHandler - 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<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest request)
AmazonPrometheusAsyncLists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListWorkspaces operation.public Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest request, AsyncHandler<ListWorkspacesRequest,ListWorkspacesResult> asyncHandler)
AmazonPrometheusAsyncLists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListWorkspaces operation.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<PutAlertManagerDefinitionResult> putAlertManagerDefinitionAsync(PutAlertManagerDefinitionRequest request)
AmazonPrometheusAsyncUpdate an alert manager definition.
putAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutAlertManagerDefinition operation.public Future<PutAlertManagerDefinitionResult> putAlertManagerDefinitionAsync(PutAlertManagerDefinitionRequest request, AsyncHandler<PutAlertManagerDefinitionRequest,PutAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsyncUpdate an alert manager definition.
putAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutAlertManagerDefinition operation.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<PutRuleGroupsNamespaceResult> putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest request)
AmazonPrometheusAsyncUpdate a rule groups namespace.
putRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutRuleGroupsNamespace operation.public Future<PutRuleGroupsNamespaceResult> putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest request, AsyncHandler<PutRuleGroupsNamespaceRequest,PutRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsyncUpdate a rule groups namespace.
putRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutRuleGroupsNamespace operation.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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonPrometheusAsyncCreates tags for the specified resource.
tagResourceAsync in interface AmazonPrometheusAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonPrometheusAsyncCreates tags for the specified resource.
tagResourceAsync in interface AmazonPrometheusAsyncasyncHandler - 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonPrometheusAsyncDeletes tags from the specified resource.
untagResourceAsync in interface AmazonPrometheusAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonPrometheusAsyncDeletes tags from the specified resource.
untagResourceAsync in interface AmazonPrometheusAsyncasyncHandler - 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<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest request)
AmazonPrometheusAsyncUpdates an AMP workspace alias.
updateWorkspaceAliasAsync in interface AmazonPrometheusAsyncrequest - Represents the input of an UpdateWorkspaceAlias operation.public Future<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest request, AsyncHandler<UpdateWorkspaceAliasRequest,UpdateWorkspaceAliasResult> asyncHandler)
AmazonPrometheusAsyncUpdates an AMP workspace alias.
updateWorkspaceAliasAsync in interface AmazonPrometheusAsyncrequest - Represents the input of an UpdateWorkspaceAlias operation.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 AmazonPrometheusshutdown in class AmazonPrometheusClient