@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
createAlertManagerDefinition, createLoggingConfiguration, createRuleGroupsNamespace, createScraper, createWorkspace, deleteAlertManagerDefinition, deleteLoggingConfiguration, deleteRuleGroupsNamespace, deleteScraper, deleteWorkspace, describeAlertManagerDefinition, describeLoggingConfiguration, describeRuleGroupsNamespace, describeScraper, describeWorkspace, getCachedResponseMetadata, getDefaultScraperConfiguration, listRuleGroupsNamespaces, listScrapers, listTagsForResource, listWorkspaces, putAlertManagerDefinition, putRuleGroupsNamespace, shutdown, tagResource, untagResource, updateLoggingConfiguration, updateWorkspaceAlias, waiters
Future<CreateAlertManagerDefinitionResult> createAlertManagerDefinitionAsync(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest)
Create an alert manager definition.
createAlertManagerDefinitionRequest
- Represents the input of a CreateAlertManagerDefinition operation.Future<CreateAlertManagerDefinitionResult> createAlertManagerDefinitionAsync(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest, AsyncHandler<CreateAlertManagerDefinitionRequest,CreateAlertManagerDefinitionResult> asyncHandler)
Create an alert manager definition.
createAlertManagerDefinitionRequest
- 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.Future<CreateLoggingConfigurationResult> createLoggingConfigurationAsync(CreateLoggingConfigurationRequest createLoggingConfigurationRequest)
Create logging configuration.
createLoggingConfigurationRequest
- Represents the input of a CreateLoggingConfiguration operation.Future<CreateLoggingConfigurationResult> createLoggingConfigurationAsync(CreateLoggingConfigurationRequest createLoggingConfigurationRequest, AsyncHandler<CreateLoggingConfigurationRequest,CreateLoggingConfigurationResult> asyncHandler)
Create logging configuration.
createLoggingConfigurationRequest
- Represents the input of a CreateLoggingConfiguration 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<CreateRuleGroupsNamespaceResult> createRuleGroupsNamespaceAsync(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest)
Create a rule group namespace.
createRuleGroupsNamespaceRequest
- Represents the input of a CreateRuleGroupsNamespace operation.Future<CreateRuleGroupsNamespaceResult> createRuleGroupsNamespaceAsync(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest, AsyncHandler<CreateRuleGroupsNamespaceRequest,CreateRuleGroupsNamespaceResult> asyncHandler)
Create a rule group namespace.
createRuleGroupsNamespaceRequest
- 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.Future<CreateScraperResult> createScraperAsync(CreateScraperRequest createScraperRequest)
Create a scraper.
createScraperRequest
- Represents the input of a CreateScraper operation.Future<CreateScraperResult> createScraperAsync(CreateScraperRequest createScraperRequest, AsyncHandler<CreateScraperRequest,CreateScraperResult> asyncHandler)
Create a scraper.
createScraperRequest
- Represents the input of a CreateScraper 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<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<DeleteAlertManagerDefinitionResult> deleteAlertManagerDefinitionAsync(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest)
Deletes an alert manager definition.
deleteAlertManagerDefinitionRequest
- Represents the input of a DeleteAlertManagerDefinition operation.Future<DeleteAlertManagerDefinitionResult> deleteAlertManagerDefinitionAsync(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest, AsyncHandler<DeleteAlertManagerDefinitionRequest,DeleteAlertManagerDefinitionResult> asyncHandler)
Deletes an alert manager definition.
deleteAlertManagerDefinitionRequest
- 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.Future<DeleteLoggingConfigurationResult> deleteLoggingConfigurationAsync(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest)
Delete logging configuration.
deleteLoggingConfigurationRequest
- Represents the input of a DeleteLoggingConfiguration operation.Future<DeleteLoggingConfigurationResult> deleteLoggingConfigurationAsync(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest, AsyncHandler<DeleteLoggingConfigurationRequest,DeleteLoggingConfigurationResult> asyncHandler)
Delete logging configuration.
deleteLoggingConfigurationRequest
- Represents the input of a DeleteLoggingConfiguration 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<DeleteRuleGroupsNamespaceResult> deleteRuleGroupsNamespaceAsync(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest)
Delete a rule groups namespace.
deleteRuleGroupsNamespaceRequest
- Represents the input of a DeleteRuleGroupsNamespace operation.Future<DeleteRuleGroupsNamespaceResult> deleteRuleGroupsNamespaceAsync(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest, AsyncHandler<DeleteRuleGroupsNamespaceRequest,DeleteRuleGroupsNamespaceResult> asyncHandler)
Delete a rule groups namespace.
deleteRuleGroupsNamespaceRequest
- 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.Future<DeleteScraperResult> deleteScraperAsync(DeleteScraperRequest deleteScraperRequest)
Deletes a scraper.
deleteScraperRequest
- Represents the input of a DeleteScraper operation.Future<DeleteScraperResult> deleteScraperAsync(DeleteScraperRequest deleteScraperRequest, AsyncHandler<DeleteScraperRequest,DeleteScraperResult> asyncHandler)
Deletes a scraper.
deleteScraperRequest
- Represents the input of a DeleteScraper 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<DescribeAlertManagerDefinitionResult> describeAlertManagerDefinitionAsync(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest)
Describes an alert manager definition.
describeAlertManagerDefinitionRequest
- Represents the input of a DescribeAlertManagerDefinition operation.Future<DescribeAlertManagerDefinitionResult> describeAlertManagerDefinitionAsync(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest, AsyncHandler<DescribeAlertManagerDefinitionRequest,DescribeAlertManagerDefinitionResult> asyncHandler)
Describes an alert manager definition.
describeAlertManagerDefinitionRequest
- 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.Future<DescribeLoggingConfigurationResult> describeLoggingConfigurationAsync(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest)
Describes logging configuration.
describeLoggingConfigurationRequest
- Represents the input of a DescribeLoggingConfiguration operation.Future<DescribeLoggingConfigurationResult> describeLoggingConfigurationAsync(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest, AsyncHandler<DescribeLoggingConfigurationRequest,DescribeLoggingConfigurationResult> asyncHandler)
Describes logging configuration.
describeLoggingConfigurationRequest
- Represents the input of a DescribeLoggingConfiguration 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<DescribeRuleGroupsNamespaceResult> describeRuleGroupsNamespaceAsync(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest)
Describe a rule groups namespace.
describeRuleGroupsNamespaceRequest
- Represents the input of a DescribeRuleGroupsNamespace operation.Future<DescribeRuleGroupsNamespaceResult> describeRuleGroupsNamespaceAsync(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest, AsyncHandler<DescribeRuleGroupsNamespaceRequest,DescribeRuleGroupsNamespaceResult> asyncHandler)
Describe a rule groups namespace.
describeRuleGroupsNamespaceRequest
- 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.Future<DescribeScraperResult> describeScraperAsync(DescribeScraperRequest describeScraperRequest)
Describe an existing scraper.
describeScraperRequest
- Represents the input of a DescribeScraper operation.Future<DescribeScraperResult> describeScraperAsync(DescribeScraperRequest describeScraperRequest, AsyncHandler<DescribeScraperRequest,DescribeScraperResult> asyncHandler)
Describe an existing scraper.
describeScraperRequest
- Represents the input of a DescribeScraper 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<GetDefaultScraperConfigurationResult> getDefaultScraperConfigurationAsync(GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest)
Gets a default configuration.
getDefaultScraperConfigurationRequest
- Represents the input of a GetDefaultScraperConfiguration operation.Future<GetDefaultScraperConfigurationResult> getDefaultScraperConfigurationAsync(GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest, AsyncHandler<GetDefaultScraperConfigurationRequest,GetDefaultScraperConfigurationResult> asyncHandler)
Gets a default configuration.
getDefaultScraperConfigurationRequest
- Represents the input of a GetDefaultScraperConfiguration 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<ListRuleGroupsNamespacesResult> listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest)
Lists rule groups namespaces.
listRuleGroupsNamespacesRequest
- Represents the input of a ListRuleGroupsNamespaces operation.Future<ListRuleGroupsNamespacesResult> listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest, AsyncHandler<ListRuleGroupsNamespacesRequest,ListRuleGroupsNamespacesResult> asyncHandler)
Lists rule groups namespaces.
listRuleGroupsNamespacesRequest
- 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.Future<ListScrapersResult> listScrapersAsync(ListScrapersRequest listScrapersRequest)
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
listScrapersRequest
- Represents the input of a ListScrapers operation.Future<ListScrapersResult> listScrapersAsync(ListScrapersRequest listScrapersRequest, AsyncHandler<ListScrapersRequest,ListScrapersResult> asyncHandler)
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
listScrapersRequest
- Represents the input of a ListScrapers 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags you have assigned to the resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags you have assigned to the resource.
listTagsForResourceRequest
- 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<PutAlertManagerDefinitionResult> putAlertManagerDefinitionAsync(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest)
Update an alert manager definition.
putAlertManagerDefinitionRequest
- Represents the input of a PutAlertManagerDefinition operation.Future<PutAlertManagerDefinitionResult> putAlertManagerDefinitionAsync(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest, AsyncHandler<PutAlertManagerDefinitionRequest,PutAlertManagerDefinitionResult> asyncHandler)
Update an alert manager definition.
putAlertManagerDefinitionRequest
- 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.Future<PutRuleGroupsNamespaceResult> putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest)
Update a rule groups namespace.
putRuleGroupsNamespaceRequest
- Represents the input of a PutRuleGroupsNamespace operation.Future<PutRuleGroupsNamespaceResult> putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest, AsyncHandler<PutRuleGroupsNamespaceRequest,PutRuleGroupsNamespaceResult> asyncHandler)
Update a rule groups namespace.
putRuleGroupsNamespaceRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Creates tags for the specified resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Creates tags for the specified resource.
tagResourceRequest
- 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Deletes tags from the specified resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Deletes tags from the specified resource.
untagResourceRequest
- 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<UpdateLoggingConfigurationResult> updateLoggingConfigurationAsync(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest)
Update logging configuration.
updateLoggingConfigurationRequest
- Represents the input of an UpdateLoggingConfiguration operation.Future<UpdateLoggingConfigurationResult> updateLoggingConfigurationAsync(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest, AsyncHandler<UpdateLoggingConfigurationRequest,UpdateLoggingConfigurationResult> asyncHandler)
Update logging configuration.
updateLoggingConfigurationRequest
- Represents the input of an UpdateLoggingConfiguration 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.