PrometheusService#
Client#
- class PrometheusService.Client#
A low-level client representing Amazon Prometheus Service
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.
import boto3 client = boto3.client('amp')
These are the available methods:
- can_paginate
- close
- create_alert_manager_definition
- create_logging_configuration
- create_rule_groups_namespace
- create_scraper
- create_workspace
- delete_alert_manager_definition
- delete_logging_configuration
- delete_rule_groups_namespace
- delete_scraper
- delete_workspace
- describe_alert_manager_definition
- describe_logging_configuration
- describe_rule_groups_namespace
- describe_scraper
- describe_workspace
- get_default_scraper_configuration
- get_paginator
- get_waiter
- list_rule_groups_namespaces
- list_scrapers
- list_tags_for_resource
- list_workspaces
- put_alert_manager_definition
- put_rule_groups_namespace
- tag_resource
- untag_resource
- update_logging_configuration
- update_scraper
- update_workspace_alias
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: