@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, listWorkspaces, shutdown, updateWorkspaceAlias
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWorkspace, deleteWorkspace, describeWorkspace, getCachedResponseMetadata, listWorkspaces, shutdown, 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<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<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.