@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonPrometheusAsync extends AbstractAmazonPrometheus implements AmazonPrometheusAsync
AmazonPrometheusAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
createWorkspace, deleteWorkspace, describeWorkspace, getCachedResponseMetadata, listTagsForResource, listWorkspaces, shutdown, tagResource, untagResource, updateWorkspaceAlias
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWorkspace, deleteWorkspace, describeWorkspace, getCachedResponseMetadata, listTagsForResource, listWorkspaces, shutdown, tagResource, untagResource, updateWorkspaceAlias
public Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest request)
AmazonPrometheusAsync
Creates a new AMP workspace.
createWorkspaceAsync
in interface AmazonPrometheusAsync
request
- Represents the input of a CreateWorkspace operation.public Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest request, AsyncHandler<CreateWorkspaceRequest,CreateWorkspaceResult> asyncHandler)
AmazonPrometheusAsync
Creates a new AMP workspace.
createWorkspaceAsync
in interface AmazonPrometheusAsync
request
- 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<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest request)
AmazonPrometheusAsync
Deletes an AMP workspace.
deleteWorkspaceAsync
in interface AmazonPrometheusAsync
request
- Represents the input of a DeleteWorkspace operation.public Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest request, AsyncHandler<DeleteWorkspaceRequest,DeleteWorkspaceResult> asyncHandler)
AmazonPrometheusAsync
Deletes an AMP workspace.
deleteWorkspaceAsync
in interface AmazonPrometheusAsync
request
- 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<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest request)
AmazonPrometheusAsync
Describes an existing AMP workspace.
describeWorkspaceAsync
in interface AmazonPrometheusAsync
request
- Represents the input of a DescribeWorkspace operation.public Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest request, AsyncHandler<DescribeWorkspaceRequest,DescribeWorkspaceResult> asyncHandler)
AmazonPrometheusAsync
Describes an existing AMP workspace.
describeWorkspaceAsync
in interface AmazonPrometheusAsync
request
- 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonPrometheusAsync
Lists the tags you have assigned to the resource.
listTagsForResourceAsync
in interface AmazonPrometheusAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonPrometheusAsync
Lists the tags you have assigned to the resource.
listTagsForResourceAsync
in interface AmazonPrometheusAsync
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<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest request)
AmazonPrometheusAsync
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesAsync
in interface AmazonPrometheusAsync
request
- Represents the input of a ListWorkspaces operation.public Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest request, AsyncHandler<ListWorkspacesRequest,ListWorkspacesResult> asyncHandler)
AmazonPrometheusAsync
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesAsync
in interface AmazonPrometheusAsync
request
- 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonPrometheusAsync
Creates tags for the specified resource.
tagResourceAsync
in interface AmazonPrometheusAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonPrometheusAsync
Creates tags for the specified resource.
tagResourceAsync
in interface AmazonPrometheusAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonPrometheusAsync
Deletes tags from the specified resource.
untagResourceAsync
in interface AmazonPrometheusAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonPrometheusAsync
Deletes tags from the specified resource.
untagResourceAsync
in interface AmazonPrometheusAsync
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<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest request)
AmazonPrometheusAsync
Updates an AMP workspace alias.
updateWorkspaceAliasAsync
in interface AmazonPrometheusAsync
request
- Represents the input of an UpdateWorkspaceAlias operation.public Future<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest request, AsyncHandler<UpdateWorkspaceAliasRequest,UpdateWorkspaceAliasResult> asyncHandler)
AmazonPrometheusAsync
Updates an AMP workspace alias.
updateWorkspaceAliasAsync
in interface AmazonPrometheusAsync
request
- 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.