All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.prometheus.AmazonPrometheusAsync Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 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 is a serverless, Prometheus-compatible monitoring service for container metrics * that makes it easier to securely monitor container environments at scale. With Amazon Managed Service for Prometheus, * you can use the same open-source Prometheus data model and query language that you use today to monitor the * performance of your containerized workloads, and also enjoy improved scalability, availability, and security without * having to manage the underlying infrastructure. *

*

* For more information about Amazon Managed Service for Prometheus, see the Amazon * Managed Service for Prometheus User Guide. *

*

* Amazon Managed Service for Prometheus includes two APIs. *

*
    *
  • *

    * Use the Amazon Web Services API described in this guide to manage Amazon Managed Service for Prometheus resources, * such as workspaces, rule groups, and alert managers. *

    *
  • *
  • *

    * Use the Prometheus-compatible API to work within your Prometheus workspace. *

    *
  • *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonPrometheusAsync extends AmazonPrometheus { /** *

* The CreateAlertManagerDefinition operation creates the alert manager definition in a workspace. If a * workspace already has an alert manager definition, don't use this operation to update it. Instead, use * PutAlertManagerDefinition. *

* * @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 createAlertManagerDefinitionAsync( CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest); /** *

* The CreateAlertManagerDefinition operation creates the alert manager definition in a workspace. If a * workspace already has an alert manager definition, don't use this operation to update it. Instead, use * PutAlertManagerDefinition. *

* * @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 createAlertManagerDefinitionAsync( CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The CreateLoggingConfiguration operation creates a logging configuration for the workspace. Use this * operation to set the CloudWatch log group to which the logs will be published to. *

* * @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 createLoggingConfigurationAsync( CreateLoggingConfigurationRequest createLoggingConfigurationRequest); /** *

* The CreateLoggingConfiguration operation creates a logging configuration for the workspace. Use this * operation to set the CloudWatch log group to which the logs will be published to. *

* * @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 createLoggingConfigurationAsync( CreateLoggingConfigurationRequest createLoggingConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. A rule * groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. *

*

* Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use * PutRuleGroupsNamespace. *

* * @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 createRuleGroupsNamespaceAsync( CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest); /** *

* The CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. A rule * groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. *

*

* Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use * PutRuleGroupsNamespace. *

* * @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 createRuleGroupsNamespaceAsync( CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The CreateScraper operation creates a scraper to collect metrics. A scraper pulls metrics from * Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for * Prometheus workspace. You can configure the scraper to control what metrics are collected, and what * transformations are applied prior to sending them to your workspace. *

*

* If needed, an IAM role will be created for you that gives Amazon Managed Service for Prometheus access to the * metrics in your cluster. For more information, see Using roles for scraping metrics from EKS in the Amazon Managed Service for Prometheus User Guide. *

*

* You cannot update a scraper. If you want to change the configuration of the scraper, create a new scraper and * delete the old one. *

*

* The scrapeConfiguration parameter contains the base64-encoded version of the YAML configuration * file. *

* *

* For more information about collectors, including what metrics are collected, and how to configure the scraper, * see Amazon Web Services * managed collectors in the Amazon Managed Service for Prometheus User Guide. *

*
* * @param createScraperRequest * Represents the input of a CreateScraper operation. * @return A Java Future containing the result of the CreateScraper operation returned by the service. * @sample AmazonPrometheusAsync.CreateScraper * @see AWS API * Documentation */ java.util.concurrent.Future createScraperAsync(CreateScraperRequest createScraperRequest); /** *

* The CreateScraper operation creates a scraper to collect metrics. A scraper pulls metrics from * Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for * Prometheus workspace. You can configure the scraper to control what metrics are collected, and what * transformations are applied prior to sending them to your workspace. *

*

* If needed, an IAM role will be created for you that gives Amazon Managed Service for Prometheus access to the * metrics in your cluster. For more information, see Using roles for scraping metrics from EKS in the Amazon Managed Service for Prometheus User Guide. *

*

* You cannot update a scraper. If you want to change the configuration of the scraper, create a new scraper and * delete the old one. *

*

* The scrapeConfiguration parameter contains the base64-encoded version of the YAML configuration * file. *

* *

* For more information about collectors, including what metrics are collected, and how to configure the scraper, * see Amazon Web Services * managed collectors in the Amazon Managed Service for Prometheus User Guide. *

*
* * @param createScraperRequest * Represents the input of a CreateScraper 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 CreateScraper operation returned by the service. * @sample AmazonPrometheusAsyncHandler.CreateScraper * @see AWS API * Documentation */ java.util.concurrent.Future createScraperAsync(CreateScraperRequest createScraperRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of * Prometheus metrics. You can have one or more workspaces in each Region in your account. *

* * @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 createWorkspaceAsync(CreateWorkspaceRequest createWorkspaceRequest); /** *

* Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of * Prometheus metrics. You can have one or more workspaces in each Region in your account. *

* * @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 createWorkspaceAsync(CreateWorkspaceRequest createWorkspaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the alert manager definition from a workspace. *

* * @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 deleteAlertManagerDefinitionAsync( DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest); /** *

* Deletes the alert manager definition from a workspace. *

* * @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 deleteAlertManagerDefinitionAsync( DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the logging configuration for a workspace. *

* * @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 deleteLoggingConfigurationAsync( DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest); /** *

* Deletes the logging configuration for a workspace. *

* * @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 deleteLoggingConfigurationAsync( DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes one rule groups namespace and its associated rule groups definition. *

* * @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 deleteRuleGroupsNamespaceAsync( DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest); /** *

* Deletes one rule groups namespace and its associated rule groups definition. *

* * @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 deleteRuleGroupsNamespaceAsync( DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper * performs. *

* * @param deleteScraperRequest * Represents the input of a DeleteScraper operation. * @return A Java Future containing the result of the DeleteScraper operation returned by the service. * @sample AmazonPrometheusAsync.DeleteScraper * @see AWS API * Documentation */ java.util.concurrent.Future deleteScraperAsync(DeleteScraperRequest deleteScraperRequest); /** *

* The DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper * performs. *

* * @param deleteScraperRequest * Represents the input of a DeleteScraper 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 DeleteScraper operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DeleteScraper * @see AWS API * Documentation */ java.util.concurrent.Future deleteScraperAsync(DeleteScraperRequest deleteScraperRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an existing workspace. *

* *

* When you delete a workspace, the data that has been ingested into it is not immediately deleted. It will be * permanently deleted within one month. *

*
* * @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 deleteWorkspaceAsync(DeleteWorkspaceRequest deleteWorkspaceRequest); /** *

* Deletes an existing workspace. *

* *

* When you delete a workspace, the data that has been ingested into it is not immediately deleted. It will be * permanently deleted within one month. *

*
* * @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 deleteWorkspaceAsync(DeleteWorkspaceRequest deleteWorkspaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the full information about the alert manager definition for a workspace. *

* * @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 describeAlertManagerDefinitionAsync( DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest); /** *

* Retrieves the full information about the alert manager definition for a workspace. *

* * @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 describeAlertManagerDefinitionAsync( DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns complete information about the current logging configuration of the workspace. *

* * @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 describeLoggingConfigurationAsync( DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest); /** *

* Returns complete information about the current logging configuration of the workspace. *

* * @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 describeLoggingConfigurationAsync( DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns complete information about one rule groups namespace. To retrieve a list of rule groups namespaces, use * ListRuleGroupsNamespaces. *

* * @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 describeRuleGroupsNamespaceAsync( DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest); /** *

* Returns complete information about one rule groups namespace. To retrieve a list of rule groups namespaces, use * ListRuleGroupsNamespaces. *

* * @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 describeRuleGroupsNamespaceAsync( DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The DescribeScraper operation displays information about an existing scraper. *

* * @param describeScraperRequest * Represents the input of a DescribeScraper operation. * @return A Java Future containing the result of the DescribeScraper operation returned by the service. * @sample AmazonPrometheusAsync.DescribeScraper * @see AWS API * Documentation */ java.util.concurrent.Future describeScraperAsync(DescribeScraperRequest describeScraperRequest); /** *

* The DescribeScraper operation displays information about an existing scraper. *

* * @param describeScraperRequest * Represents the input of a DescribeScraper 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 DescribeScraper operation returned by the service. * @sample AmazonPrometheusAsyncHandler.DescribeScraper * @see AWS API * Documentation */ java.util.concurrent.Future describeScraperAsync(DescribeScraperRequest describeScraperRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about an existing 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 describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest); /** *

* Returns information about an existing 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 describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The GetDefaultScraperConfiguration operation returns the default scraper configuration used when * Amazon EKS creates a scraper for you. *

* * @param getDefaultScraperConfigurationRequest * Represents the input of a GetDefaultScraperConfiguration operation. * @return A Java Future containing the result of the GetDefaultScraperConfiguration operation returned by the * service. * @sample AmazonPrometheusAsync.GetDefaultScraperConfiguration * @see AWS API Documentation */ java.util.concurrent.Future getDefaultScraperConfigurationAsync( GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest); /** *

* The GetDefaultScraperConfiguration operation returns the default scraper configuration used when * Amazon EKS creates a scraper for you. *

* * @param getDefaultScraperConfigurationRequest * Represents the input of a GetDefaultScraperConfiguration 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 GetDefaultScraperConfiguration operation returned by the * service. * @sample AmazonPrometheusAsyncHandler.GetDefaultScraperConfiguration * @see AWS API Documentation */ java.util.concurrent.Future getDefaultScraperConfigurationAsync( GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns a list of rule groups namespaces in a workspace. *

* * @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 listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest); /** *

* Returns a list of rule groups namespaces in a workspace. *

* * @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 listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The ListScrapers operation lists all of the scrapers in your account. This includes scrapers being * created or deleted. You can optionally filter the returned list. *

* * @param listScrapersRequest * Represents the input of a ListScrapers operation. * @return A Java Future containing the result of the ListScrapers operation returned by the service. * @sample AmazonPrometheusAsync.ListScrapers * @see AWS API * Documentation */ java.util.concurrent.Future listScrapersAsync(ListScrapersRequest listScrapersRequest); /** *

* The ListScrapers operation lists all of the scrapers in your account. This includes scrapers being * created or deleted. You can optionally filter the returned list. *

* * @param listScrapersRequest * Represents the input of a ListScrapers 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 ListScrapers operation returned by the service. * @sample AmazonPrometheusAsyncHandler.ListScrapers * @see AWS API * Documentation */ java.util.concurrent.Future listScrapersAsync(ListScrapersRequest listScrapersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The ListTagsForResource operation returns the tags that are associated with an Amazon Managed * Service for Prometheus resource. Currently, the only resources that can be tagged are workspaces and rule groups * namespaces. *

* * @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 listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* The ListTagsForResource operation returns the tags that are associated with an Amazon Managed * Service for Prometheus resource. Currently, the only resources that can be tagged are workspaces and rule groups * namespaces. *

* * @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 listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes 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 listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest); /** *

* Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes 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 listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates an existing alert manager definition in a workspace. If the workspace does not already have an alert * manager definition, don't use this operation to create it. Instead, use CreateAlertManagerDefinition * . *

* * @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 putAlertManagerDefinitionAsync( PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest); /** *

* Updates an existing alert manager definition in a workspace. If the workspace does not already have an alert * manager definition, don't use this operation to create it. Instead, use CreateAlertManagerDefinition * . *

* * @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 putAlertManagerDefinitionAsync( PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly * one rules file. A workspace can have multiple rule groups namespaces. *

*

* Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use * CreateRuleGroupsNamespace. *

*

* You can't use this operation to add tags to an existing rule groups namespace. Instead, use * TagResource. *

* * @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 putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest); /** *

* Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly * one rules file. A workspace can have multiple rule groups namespaces. *

*

* Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use * CreateRuleGroupsNamespace. *

*

* You can't use this operation to add tags to an existing rule groups namespace. Instead, use * TagResource. *

* * @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 putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The TagResource operation associates tags with an Amazon Managed Service for Prometheus resource. * The only resources that can be tagged are workspaces and rule groups namespaces. *

*

* If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the * resource. If you specify a tag key that is already associated with the resource, the new tag value that you * specify replaces the previous value for that tag. *

* * @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 tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* The TagResource operation associates tags with an Amazon Managed Service for Prometheus resource. * The only resources that can be tagged are workspaces and rule groups namespaces. *

*

* If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the * resource. If you specify a tag key that is already associated with the resource, the new tag value that you * specify replaces the previous value for that tag. *

* * @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 tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be * tagged are workspaces and rule groups namespaces. *

* * @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 untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be * tagged are workspaces and rule groups namespaces. *

* * @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 untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the log group ARN or the workspace ID of the current 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 updateLoggingConfigurationAsync( UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest); /** *

* Updates the log group ARN or the workspace ID of the current 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 updateLoggingConfigurationAsync( UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the alias of an existing workspace. *

* * @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 updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest); /** *

* Updates the alias of an existing workspace. *

* * @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 updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy