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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* 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 describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest); /** *

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

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

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

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

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

* 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 listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest); /** *

* 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 listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

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

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

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

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

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

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

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

* 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 updateLoggingConfigurationAsync( UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest); /** *

* 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 updateLoggingConfigurationAsync( UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

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