@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonPrometheusAsync extends AbstractAmazonPrometheus implements AmazonPrometheusAsync
AmazonPrometheusAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXcreateAlertManagerDefinition, createLoggingConfiguration, createRuleGroupsNamespace, createScraper, createWorkspace, deleteAlertManagerDefinition, deleteLoggingConfiguration, deleteRuleGroupsNamespace, deleteScraper, deleteWorkspace, describeAlertManagerDefinition, describeLoggingConfiguration, describeRuleGroupsNamespace, describeScraper, describeWorkspace, getCachedResponseMetadata, getDefaultScraperConfiguration, listRuleGroupsNamespaces, listScrapers, listTagsForResource, listWorkspaces, putAlertManagerDefinition, putRuleGroupsNamespace, shutdown, tagResource, untagResource, updateLoggingConfiguration, updateWorkspaceAlias, waitersequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAlertManagerDefinition, createLoggingConfiguration, createRuleGroupsNamespace, createScraper, createWorkspace, deleteAlertManagerDefinition, deleteLoggingConfiguration, deleteRuleGroupsNamespace, deleteScraper, deleteWorkspace, describeAlertManagerDefinition, describeLoggingConfiguration, describeRuleGroupsNamespace, describeScraper, describeWorkspace, getCachedResponseMetadata, getDefaultScraperConfiguration, listRuleGroupsNamespaces, listScrapers, listTagsForResource, listWorkspaces, putAlertManagerDefinition, putRuleGroupsNamespace, shutdown, tagResource, untagResource, updateLoggingConfiguration, updateWorkspaceAlias, waiterspublic Future<CreateAlertManagerDefinitionResult> createAlertManagerDefinitionAsync(CreateAlertManagerDefinitionRequest request)
AmazonPrometheusAsync
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.
createAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateAlertManagerDefinition operation.public Future<CreateAlertManagerDefinitionResult> createAlertManagerDefinitionAsync(CreateAlertManagerDefinitionRequest request, AsyncHandler<CreateAlertManagerDefinitionRequest,CreateAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsync
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.
createAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateAlertManagerDefinition operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLoggingConfigurationResult> createLoggingConfigurationAsync(CreateLoggingConfigurationRequest request)
AmazonPrometheusAsync
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.
createLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateLoggingConfiguration operation.public Future<CreateLoggingConfigurationResult> createLoggingConfigurationAsync(CreateLoggingConfigurationRequest request, AsyncHandler<CreateLoggingConfigurationRequest,CreateLoggingConfigurationResult> asyncHandler)
AmazonPrometheusAsync
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.
createLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateLoggingConfiguration operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRuleGroupsNamespaceResult> createRuleGroupsNamespaceAsync(CreateRuleGroupsNamespaceRequest request)
AmazonPrometheusAsync
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.
createRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateRuleGroupsNamespace operation.public Future<CreateRuleGroupsNamespaceResult> createRuleGroupsNamespaceAsync(CreateRuleGroupsNamespaceRequest request, AsyncHandler<CreateRuleGroupsNamespaceRequest,CreateRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsync
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.
createRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateRuleGroupsNamespace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateScraperResult> createScraperAsync(CreateScraperRequest request)
AmazonPrometheusAsync
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.
createScraperAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateScraper operation.public Future<CreateScraperResult> createScraperAsync(CreateScraperRequest request, AsyncHandler<CreateScraperRequest,CreateScraperResult> asyncHandler)
AmazonPrometheusAsync
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.
createScraperAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateScraper operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest request)
AmazonPrometheusAsyncCreates 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.
createWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateWorkspace operation.public Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest request, AsyncHandler<CreateWorkspaceRequest,CreateWorkspaceResult> asyncHandler)
AmazonPrometheusAsyncCreates 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.
createWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a CreateWorkspace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAlertManagerDefinitionResult> deleteAlertManagerDefinitionAsync(DeleteAlertManagerDefinitionRequest request)
AmazonPrometheusAsyncDeletes the alert manager definition from a workspace.
deleteAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteAlertManagerDefinition operation.public Future<DeleteAlertManagerDefinitionResult> deleteAlertManagerDefinitionAsync(DeleteAlertManagerDefinitionRequest request, AsyncHandler<DeleteAlertManagerDefinitionRequest,DeleteAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsyncDeletes the alert manager definition from a workspace.
deleteAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteAlertManagerDefinition operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLoggingConfigurationResult> deleteLoggingConfigurationAsync(DeleteLoggingConfigurationRequest request)
AmazonPrometheusAsyncDeletes the logging configuration for a workspace.
deleteLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteLoggingConfiguration operation.public Future<DeleteLoggingConfigurationResult> deleteLoggingConfigurationAsync(DeleteLoggingConfigurationRequest request, AsyncHandler<DeleteLoggingConfigurationRequest,DeleteLoggingConfigurationResult> asyncHandler)
AmazonPrometheusAsyncDeletes the logging configuration for a workspace.
deleteLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteLoggingConfiguration operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRuleGroupsNamespaceResult> deleteRuleGroupsNamespaceAsync(DeleteRuleGroupsNamespaceRequest request)
AmazonPrometheusAsyncDeletes one rule groups namespace and its associated rule groups definition.
deleteRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteRuleGroupsNamespace operation.public Future<DeleteRuleGroupsNamespaceResult> deleteRuleGroupsNamespaceAsync(DeleteRuleGroupsNamespaceRequest request, AsyncHandler<DeleteRuleGroupsNamespaceRequest,DeleteRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsyncDeletes one rule groups namespace and its associated rule groups definition.
deleteRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteRuleGroupsNamespace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteScraperResult> deleteScraperAsync(DeleteScraperRequest request)
AmazonPrometheusAsync
The DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper
performs.
deleteScraperAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteScraper operation.public Future<DeleteScraperResult> deleteScraperAsync(DeleteScraperRequest request, AsyncHandler<DeleteScraperRequest,DeleteScraperResult> asyncHandler)
AmazonPrometheusAsync
The DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper
performs.
deleteScraperAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteScraper operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest request)
AmazonPrometheusAsyncDeletes 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.
deleteWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteWorkspace operation.public Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest request, AsyncHandler<DeleteWorkspaceRequest,DeleteWorkspaceResult> asyncHandler)
AmazonPrometheusAsyncDeletes 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.
deleteWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DeleteWorkspace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAlertManagerDefinitionResult> describeAlertManagerDefinitionAsync(DescribeAlertManagerDefinitionRequest request)
AmazonPrometheusAsyncRetrieves the full information about the alert manager definition for a workspace.
describeAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeAlertManagerDefinition operation.public Future<DescribeAlertManagerDefinitionResult> describeAlertManagerDefinitionAsync(DescribeAlertManagerDefinitionRequest request, AsyncHandler<DescribeAlertManagerDefinitionRequest,DescribeAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsyncRetrieves the full information about the alert manager definition for a workspace.
describeAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeAlertManagerDefinition operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLoggingConfigurationResult> describeLoggingConfigurationAsync(DescribeLoggingConfigurationRequest request)
AmazonPrometheusAsyncReturns complete information about the current logging configuration of the workspace.
describeLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeLoggingConfiguration operation.public Future<DescribeLoggingConfigurationResult> describeLoggingConfigurationAsync(DescribeLoggingConfigurationRequest request, AsyncHandler<DescribeLoggingConfigurationRequest,DescribeLoggingConfigurationResult> asyncHandler)
AmazonPrometheusAsyncReturns complete information about the current logging configuration of the workspace.
describeLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeLoggingConfiguration operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRuleGroupsNamespaceResult> describeRuleGroupsNamespaceAsync(DescribeRuleGroupsNamespaceRequest request)
AmazonPrometheusAsync
Returns complete information about one rule groups namespace. To retrieve a list of rule groups namespaces, use
ListRuleGroupsNamespaces.
describeRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeRuleGroupsNamespace operation.public Future<DescribeRuleGroupsNamespaceResult> describeRuleGroupsNamespaceAsync(DescribeRuleGroupsNamespaceRequest request, AsyncHandler<DescribeRuleGroupsNamespaceRequest,DescribeRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsync
Returns complete information about one rule groups namespace. To retrieve a list of rule groups namespaces, use
ListRuleGroupsNamespaces.
describeRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeRuleGroupsNamespace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeScraperResult> describeScraperAsync(DescribeScraperRequest request)
AmazonPrometheusAsync
The DescribeScraper operation displays information about an existing scraper.
describeScraperAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeScraper operation.public Future<DescribeScraperResult> describeScraperAsync(DescribeScraperRequest request, AsyncHandler<DescribeScraperRequest,DescribeScraperResult> asyncHandler)
AmazonPrometheusAsync
The DescribeScraper operation displays information about an existing scraper.
describeScraperAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeScraper operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest request)
AmazonPrometheusAsyncReturns information about an existing workspace.
describeWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeWorkspace operation.public Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest request, AsyncHandler<DescribeWorkspaceRequest,DescribeWorkspaceResult> asyncHandler)
AmazonPrometheusAsyncReturns information about an existing workspace.
describeWorkspaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a DescribeWorkspace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDefaultScraperConfigurationResult> getDefaultScraperConfigurationAsync(GetDefaultScraperConfigurationRequest request)
AmazonPrometheusAsync
The GetDefaultScraperConfiguration operation returns the default scraper configuration used when
Amazon EKS creates a scraper for you.
getDefaultScraperConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a GetDefaultScraperConfiguration operation.public Future<GetDefaultScraperConfigurationResult> getDefaultScraperConfigurationAsync(GetDefaultScraperConfigurationRequest request, AsyncHandler<GetDefaultScraperConfigurationRequest,GetDefaultScraperConfigurationResult> asyncHandler)
AmazonPrometheusAsync
The GetDefaultScraperConfiguration operation returns the default scraper configuration used when
Amazon EKS creates a scraper for you.
getDefaultScraperConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a GetDefaultScraperConfiguration operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRuleGroupsNamespacesResult> listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest request)
AmazonPrometheusAsyncReturns a list of rule groups namespaces in a workspace.
listRuleGroupsNamespacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListRuleGroupsNamespaces operation.public Future<ListRuleGroupsNamespacesResult> listRuleGroupsNamespacesAsync(ListRuleGroupsNamespacesRequest request, AsyncHandler<ListRuleGroupsNamespacesRequest,ListRuleGroupsNamespacesResult> asyncHandler)
AmazonPrometheusAsyncReturns a list of rule groups namespaces in a workspace.
listRuleGroupsNamespacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListRuleGroupsNamespaces operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListScrapersResult> listScrapersAsync(ListScrapersRequest request)
AmazonPrometheusAsync
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.
listScrapersAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListScrapers operation.public Future<ListScrapersResult> listScrapersAsync(ListScrapersRequest request, AsyncHandler<ListScrapersRequest,ListScrapersResult> asyncHandler)
AmazonPrometheusAsync
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.
listScrapersAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListScrapers operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonPrometheusAsync
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.
listTagsForResourceAsync in interface AmazonPrometheusAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonPrometheusAsync
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.
listTagsForResourceAsync in interface AmazonPrometheusAsyncasyncHandler - 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.public Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest request)
AmazonPrometheusAsyncLists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes workspaces being created or deleted.
listWorkspacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListWorkspaces operation.public Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest request, AsyncHandler<ListWorkspacesRequest,ListWorkspacesResult> asyncHandler)
AmazonPrometheusAsyncLists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes workspaces being created or deleted.
listWorkspacesAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a ListWorkspaces operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutAlertManagerDefinitionResult> putAlertManagerDefinitionAsync(PutAlertManagerDefinitionRequest request)
AmazonPrometheusAsync
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
.
putAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutAlertManagerDefinition operation.public Future<PutAlertManagerDefinitionResult> putAlertManagerDefinitionAsync(PutAlertManagerDefinitionRequest request, AsyncHandler<PutAlertManagerDefinitionRequest,PutAlertManagerDefinitionResult> asyncHandler)
AmazonPrometheusAsync
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
.
putAlertManagerDefinitionAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutAlertManagerDefinition operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutRuleGroupsNamespaceResult> putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest request)
AmazonPrometheusAsyncUpdates 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.
putRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutRuleGroupsNamespace operation.public Future<PutRuleGroupsNamespaceResult> putRuleGroupsNamespaceAsync(PutRuleGroupsNamespaceRequest request, AsyncHandler<PutRuleGroupsNamespaceRequest,PutRuleGroupsNamespaceResult> asyncHandler)
AmazonPrometheusAsyncUpdates 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.
putRuleGroupsNamespaceAsync in interface AmazonPrometheusAsyncrequest - Represents the input of a PutRuleGroupsNamespace operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonPrometheusAsync
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.
tagResourceAsync in interface AmazonPrometheusAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonPrometheusAsync
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.
tagResourceAsync in interface AmazonPrometheusAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonPrometheusAsyncRemoves the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are workspaces and rule groups namespaces.
untagResourceAsync in interface AmazonPrometheusAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonPrometheusAsyncRemoves the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are workspaces and rule groups namespaces.
untagResourceAsync in interface AmazonPrometheusAsyncasyncHandler - 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.public Future<UpdateLoggingConfigurationResult> updateLoggingConfigurationAsync(UpdateLoggingConfigurationRequest request)
AmazonPrometheusAsyncUpdates the log group ARN or the workspace ID of the current logging configuration.
updateLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of an UpdateLoggingConfiguration operation.public Future<UpdateLoggingConfigurationResult> updateLoggingConfigurationAsync(UpdateLoggingConfigurationRequest request, AsyncHandler<UpdateLoggingConfigurationRequest,UpdateLoggingConfigurationResult> asyncHandler)
AmazonPrometheusAsyncUpdates the log group ARN or the workspace ID of the current logging configuration.
updateLoggingConfigurationAsync in interface AmazonPrometheusAsyncrequest - Represents the input of an UpdateLoggingConfiguration operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest request)
AmazonPrometheusAsyncUpdates the alias of an existing workspace.
updateWorkspaceAliasAsync in interface AmazonPrometheusAsyncrequest - Represents the input of an UpdateWorkspaceAlias operation.public Future<UpdateWorkspaceAliasResult> updateWorkspaceAliasAsync(UpdateWorkspaceAliasRequest request, AsyncHandler<UpdateWorkspaceAliasRequest,UpdateWorkspaceAliasResult> asyncHandler)
AmazonPrometheusAsyncUpdates the alias of an existing workspace.
updateWorkspaceAliasAsync in interface AmazonPrometheusAsyncrequest - Represents the input of an UpdateWorkspaceAlias operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.