@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonPrometheusAsync extends AmazonPrometheus
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonPrometheusAsync
instead.
Amazon Managed Service for Prometheus
ENDPOINT_PREFIX
createWorkspace, deleteWorkspace, describeWorkspace, getCachedResponseMetadata, listWorkspaces, shutdown, updateWorkspaceAlias
Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest createWorkspaceRequest)
Creates a new AMP workspace.
createWorkspaceRequest
- Represents the input of a CreateWorkspace operation.Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest createWorkspaceRequest, AsyncHandler<CreateWorkspaceRequest,CreateWorkspaceResult> asyncHandler)
Creates a new AMP workspace.
createWorkspaceRequest
- 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.Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an AMP workspace.
deleteWorkspaceRequest
- Represents the input of a DeleteWorkspace operation.Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest deleteWorkspaceRequest, AsyncHandler<DeleteWorkspaceRequest,DeleteWorkspaceResult> asyncHandler)
Deletes an AMP workspace.
deleteWorkspaceRequest
- 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.Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest)
Describes an existing AMP workspace.
describeWorkspaceRequest
- Represents the input of a DescribeWorkspace operation.Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest, AsyncHandler<DescribeWorkspaceRequest,DescribeWorkspaceResult> asyncHandler)
Describes an existing AMP workspace.
describeWorkspaceRequest
- 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.Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesRequest
- Represents the input of a ListWorkspaces operation.Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest, AsyncHandler<ListWorkspacesRequest,ListWorkspacesResult> asyncHandler)
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesRequest
- 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.Future<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest)
Updates an AMP workspace alias.
updateWorkspaceAliasRequest
- Represents the input of an UpdateWorkspaceAlias operation.Future<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest, AsyncHandler<UpdateWorkspaceAliasRequest,UpdateWorkspaceAliasResult> asyncHandler)
Updates an AMP workspace alias.
updateWorkspaceAliasRequest
- 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.