/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.prometheus; import javax.annotation.Generated; import com.amazonaws.services.prometheus.model.*; /** * Interface for accessing Amazon Prometheus Service asynchronously. Each asynchronous method will return a Java Future * object representing the asynchronous operation; overloads which accept an {@code 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 * {@link com.amazonaws.services.prometheus.AbstractAmazonPrometheusAsync} instead. *
**
* Amazon Managed Service for Prometheus *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonPrometheusAsync extends AmazonPrometheus { /** ** Create an alert manager definition. *
* * @param createAlertManagerDefinitionRequest * Represents the input of a CreateAlertManagerDefinition operation. * @return A Java Future containing the result of the CreateAlertManagerDefinition operation returned by the * service. * @sample AmazonPrometheusAsync.CreateAlertManagerDefinition * @see AWS API Documentation */ java.util.concurrent.Future* Create an alert manager definition. *
* * @param createAlertManagerDefinitionRequest * Represents the input of a CreateAlertManagerDefinition operation. * @param 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. * @return A Java Future containing the result of the CreateAlertManagerDefinition operation returned by the * service. * @sample AmazonPrometheusAsyncHandler.CreateAlertManagerDefinition * @see AWS API Documentation */ java.util.concurrent.Future* Create logging configuration. *
* * @param createLoggingConfigurationRequest * Represents the input of a CreateLoggingConfiguration operation. * @return A Java Future containing the result of the CreateLoggingConfiguration operation returned by the service. * @sample AmazonPrometheusAsync.CreateLoggingConfiguration * @see AWS * API Documentation */ java.util.concurrent.Future* Create logging configuration. *
* * @param createLoggingConfigurationRequest * Represents the input of a CreateLoggingConfiguration operation. * @param 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. * @return A Java Future containing the result of the CreateLoggingConfiguration operation returned by the service. * @sample AmazonPrometheusAsyncHandler.CreateLoggingConfiguration * @see AWS * API Documentation */ java.util.concurrent.Future* Create a rule group namespace. *
* * @param createRuleGroupsNamespaceRequest * Represents the input of a CreateRuleGroupsNamespace operation. * @return A Java Future containing the result of the CreateRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsync.CreateRuleGroupsNamespace * @see AWS * API Documentation */ java.util.concurrent.Future* Create a rule group namespace. *
* * @param createRuleGroupsNamespaceRequest * Represents the input of a CreateRuleGroupsNamespace operation. * @param 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. * @return A Java Future containing the result of the CreateRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.CreateRuleGroupsNamespace * @see AWS * API Documentation */ java.util.concurrent.Future* Creates a new AMP workspace. *
* * @param createWorkspaceRequest * Represents the input of a CreateWorkspace operation. * @return A Java Future containing the result of the CreateWorkspace operation returned by the service. * @sample AmazonPrometheusAsync.CreateWorkspace * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a new AMP workspace. *
* * @param createWorkspaceRequest * Represents the input of a CreateWorkspace operation. * @param 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. * @return A Java Future containing the result of the CreateWorkspace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.CreateWorkspace * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes an alert manager definition. *
* * @param deleteAlertManagerDefinitionRequest * Represents the input of a DeleteAlertManagerDefinition operation. * @return A Java Future containing the result of the DeleteAlertManagerDefinition operation returned by the * service. * @sample AmazonPrometheusAsync.DeleteAlertManagerDefinition * @see AWS API Documentation */ java.util.concurrent.Future* Deletes an alert manager definition. *
* * @param deleteAlertManagerDefinitionRequest * Represents the input of a DeleteAlertManagerDefinition operation. * @param 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. * @return A Java Future containing the result of the DeleteAlertManagerDefinition operation returned by the * service. * @sample AmazonPrometheusAsyncHandler.DeleteAlertManagerDefinition * @see AWS API Documentation */ java.util.concurrent.Future* Delete logging configuration. *
* * @param deleteLoggingConfigurationRequest * Represents the input of a DeleteLoggingConfiguration operation. * @return A Java Future containing the result of the DeleteLoggingConfiguration operation returned by the service. * @sample AmazonPrometheusAsync.DeleteLoggingConfiguration * @see AWS * API Documentation */ java.util.concurrent.Future* Delete logging configuration. *
* * @param deleteLoggingConfigurationRequest * Represents the input of a DeleteLoggingConfiguration operation. * @param 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. * @return A Java Future containing the result of the DeleteLoggingConfiguration operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DeleteLoggingConfiguration * @see AWS * API Documentation */ java.util.concurrent.Future* Delete a rule groups namespace. *
* * @param deleteRuleGroupsNamespaceRequest * Represents the input of a DeleteRuleGroupsNamespace operation. * @return A Java Future containing the result of the DeleteRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsync.DeleteRuleGroupsNamespace * @see AWS * API Documentation */ java.util.concurrent.Future* Delete a rule groups namespace. *
* * @param deleteRuleGroupsNamespaceRequest * Represents the input of a DeleteRuleGroupsNamespace operation. * @param 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. * @return A Java Future containing the result of the DeleteRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DeleteRuleGroupsNamespace * @see AWS * API Documentation */ java.util.concurrent.Future* Deletes an AMP workspace. *
* * @param deleteWorkspaceRequest * Represents the input of a DeleteWorkspace operation. * @return A Java Future containing the result of the DeleteWorkspace operation returned by the service. * @sample AmazonPrometheusAsync.DeleteWorkspace * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes an AMP workspace. *
* * @param deleteWorkspaceRequest * Represents the input of a DeleteWorkspace operation. * @param 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. * @return A Java Future containing the result of the DeleteWorkspace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DeleteWorkspace * @see AWS API * Documentation */ java.util.concurrent.Future* Describes an alert manager definition. *
* * @param describeAlertManagerDefinitionRequest * Represents the input of a DescribeAlertManagerDefinition operation. * @return A Java Future containing the result of the DescribeAlertManagerDefinition operation returned by the * service. * @sample AmazonPrometheusAsync.DescribeAlertManagerDefinition * @see AWS API Documentation */ java.util.concurrent.Future* Describes an alert manager definition. *
* * @param describeAlertManagerDefinitionRequest * Represents the input of a DescribeAlertManagerDefinition operation. * @param 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. * @return A Java Future containing the result of the DescribeAlertManagerDefinition operation returned by the * service. * @sample AmazonPrometheusAsyncHandler.DescribeAlertManagerDefinition * @see AWS API Documentation */ java.util.concurrent.Future* Describes logging configuration. *
* * @param describeLoggingConfigurationRequest * Represents the input of a DescribeLoggingConfiguration operation. * @return A Java Future containing the result of the DescribeLoggingConfiguration operation returned by the * service. * @sample AmazonPrometheusAsync.DescribeLoggingConfiguration * @see AWS API Documentation */ java.util.concurrent.Future* Describes logging configuration. *
* * @param describeLoggingConfigurationRequest * Represents the input of a DescribeLoggingConfiguration operation. * @param 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. * @return A Java Future containing the result of the DescribeLoggingConfiguration operation returned by the * service. * @sample AmazonPrometheusAsyncHandler.DescribeLoggingConfiguration * @see AWS API Documentation */ java.util.concurrent.Future* Describe a rule groups namespace. *
* * @param describeRuleGroupsNamespaceRequest * Represents the input of a DescribeRuleGroupsNamespace operation. * @return A Java Future containing the result of the DescribeRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsync.DescribeRuleGroupsNamespace * @see AWS API Documentation */ java.util.concurrent.Future* Describe a rule groups namespace. *
* * @param describeRuleGroupsNamespaceRequest * Represents the input of a DescribeRuleGroupsNamespace operation. * @param 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. * @return A Java Future containing the result of the DescribeRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DescribeRuleGroupsNamespace * @see AWS API Documentation */ java.util.concurrent.Future* Describes an existing AMP workspace. *
* * @param describeWorkspaceRequest * Represents the input of a DescribeWorkspace operation. * @return A Java Future containing the result of the DescribeWorkspace operation returned by the service. * @sample AmazonPrometheusAsync.DescribeWorkspace * @see AWS API * Documentation */ java.util.concurrent.Future* Describes an existing AMP workspace. *
* * @param describeWorkspaceRequest * Represents the input of a DescribeWorkspace operation. * @param 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. * @return A Java Future containing the result of the DescribeWorkspace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DescribeWorkspace * @see AWS API * Documentation */ java.util.concurrent.Future* Lists rule groups namespaces. *
* * @param listRuleGroupsNamespacesRequest * Represents the input of a ListRuleGroupsNamespaces operation. * @return A Java Future containing the result of the ListRuleGroupsNamespaces operation returned by the service. * @sample AmazonPrometheusAsync.ListRuleGroupsNamespaces * @see AWS * API Documentation */ java.util.concurrent.Future* Lists rule groups namespaces. *
* * @param listRuleGroupsNamespacesRequest * Represents the input of a ListRuleGroupsNamespaces operation. * @param 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. * @return A Java Future containing the result of the ListRuleGroupsNamespaces operation returned by the service. * @sample AmazonPrometheusAsyncHandler.ListRuleGroupsNamespaces * @see AWS * API Documentation */ java.util.concurrent.Future* Lists the tags you have assigned to the resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonPrometheusAsync.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the tags you have assigned to the resource. *
* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonPrometheusAsyncHandler.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future* Lists all AMP workspaces, including workspaces being created or deleted. *
* * @param listWorkspacesRequest * Represents the input of a ListWorkspaces operation. * @return A Java Future containing the result of the ListWorkspaces operation returned by the service. * @sample AmazonPrometheusAsync.ListWorkspaces * @see AWS API * Documentation */ java.util.concurrent.Future* Lists all AMP workspaces, including workspaces being created or deleted. *
* * @param listWorkspacesRequest * Represents the input of a ListWorkspaces operation. * @param 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. * @return A Java Future containing the result of the ListWorkspaces operation returned by the service. * @sample AmazonPrometheusAsyncHandler.ListWorkspaces * @see AWS API * Documentation */ java.util.concurrent.Future* Update an alert manager definition. *
* * @param putAlertManagerDefinitionRequest * Represents the input of a PutAlertManagerDefinition operation. * @return A Java Future containing the result of the PutAlertManagerDefinition operation returned by the service. * @sample AmazonPrometheusAsync.PutAlertManagerDefinition * @see AWS * API Documentation */ java.util.concurrent.Future* Update an alert manager definition. *
* * @param putAlertManagerDefinitionRequest * Represents the input of a PutAlertManagerDefinition operation. * @param 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. * @return A Java Future containing the result of the PutAlertManagerDefinition operation returned by the service. * @sample AmazonPrometheusAsyncHandler.PutAlertManagerDefinition * @see AWS * API Documentation */ java.util.concurrent.Future* Update a rule groups namespace. *
* * @param putRuleGroupsNamespaceRequest * Represents the input of a PutRuleGroupsNamespace operation. * @return A Java Future containing the result of the PutRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsync.PutRuleGroupsNamespace * @see AWS API * Documentation */ java.util.concurrent.Future* Update a rule groups namespace. *
* * @param putRuleGroupsNamespaceRequest * Represents the input of a PutRuleGroupsNamespace operation. * @param 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. * @return A Java Future containing the result of the PutRuleGroupsNamespace operation returned by the service. * @sample AmazonPrometheusAsyncHandler.PutRuleGroupsNamespace * @see AWS API * Documentation */ java.util.concurrent.Future* Creates tags for the specified resource. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonPrometheusAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Creates tags for the specified resource. *
* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonPrometheusAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes tags from the specified resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonPrometheusAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes tags from the specified resource. *
* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonPrometheusAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Update logging configuration. *
* * @param updateLoggingConfigurationRequest * Represents the input of an UpdateLoggingConfiguration operation. * @return A Java Future containing the result of the UpdateLoggingConfiguration operation returned by the service. * @sample AmazonPrometheusAsync.UpdateLoggingConfiguration * @see AWS * API Documentation */ java.util.concurrent.Future* Update logging configuration. *
* * @param updateLoggingConfigurationRequest * Represents the input of an UpdateLoggingConfiguration operation. * @param 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. * @return A Java Future containing the result of the UpdateLoggingConfiguration operation returned by the service. * @sample AmazonPrometheusAsyncHandler.UpdateLoggingConfiguration * @see AWS * API Documentation */ java.util.concurrent.Future* Updates an AMP workspace alias. *
* * @param updateWorkspaceAliasRequest * Represents the input of an UpdateWorkspaceAlias operation. * @return A Java Future containing the result of the UpdateWorkspaceAlias operation returned by the service. * @sample AmazonPrometheusAsync.UpdateWorkspaceAlias * @see AWS API * Documentation */ java.util.concurrent.Future* Updates an AMP workspace alias. *
* * @param updateWorkspaceAliasRequest * Represents the input of an UpdateWorkspaceAlias operation. * @param 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. * @return A Java Future containing the result of the UpdateWorkspaceAlias operation returned by the service. * @sample AmazonPrometheusAsyncHandler.UpdateWorkspaceAlias * @see AWS API * Documentation */ java.util.concurrent.Future