# Amazon Managed Service for Prometheus API Reference > 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. - [Welcome](https://docs.aws.amazon.com/prometheus/latest/APIReference/Welcome.md) - [Common Parameters](https://docs.aws.amazon.com/prometheus/latest/APIReference/CommonParameters.md) - [Common Error Types](https://docs.aws.amazon.com/prometheus/latest/APIReference/CommonErrors.md) ## [Actions](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_Operations.md) - [CreateAlertManagerDefinition](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateAlertManagerDefinition.md): The CreateAlertManagerDefinition operation creates the alert manager definition in a workspace. - [CreateAnomalyDetector](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateAnomalyDetector.md): Creates an anomaly detector within a workspace using the Random Cut Forest algorithm for time-series analysis. - [CreateLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateLoggingConfiguration.md): The CreateLoggingConfiguration operation creates rules and alerting logging configuration for the workspace. - [CreateQueryLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateQueryLoggingConfiguration.md): Creates a query logging configuration for the specified workspace. - [CreateRuleGroupsNamespace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateRuleGroupsNamespace.md): The CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. - [CreateScraper](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateScraper.md): Creates a scraper to collect metrics from Prometheus-compatible sources. - [CreateWorkspace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CreateWorkspace.md): Creates a Prometheus workspace. - [DeleteAlertManagerDefinition](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteAlertManagerDefinition.md): Deletes the alert manager definition from a workspace. - [DeleteAnomalyDetector](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteAnomalyDetector.md): Removes an anomaly detector from a workspace. - [DeleteLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteLoggingConfiguration.md): Deletes the rules and alerting logging configuration for a workspace. - [DeleteQueryLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteQueryLoggingConfiguration.md): Deletes the query logging configuration for the specified workspace. - [DeleteResourcePolicy](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteResourcePolicy.md): Deletes the resource-based policy attached to an Amazon Managed Service for Prometheus workspace. - [DeleteRuleGroupsNamespace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteRuleGroupsNamespace.md): Deletes one rule groups namespace and its associated rule groups definition. - [DeleteScraper](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteScraper.md): The DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper performs. - [DeleteScraperLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteScraperLoggingConfiguration.md): Deletes the logging configuration for a Amazon Managed Service for Prometheus scraper. - [DeleteWorkspace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DeleteWorkspace.md): Deletes an existing workspace. - [DescribeAlertManagerDefinition](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeAlertManagerDefinition.md): Retrieves the full information about the alert manager definition for a workspace. - [DescribeAnomalyDetector](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeAnomalyDetector.md): Retrieves detailed information about a specific anomaly detector, including its status and configuration. - [DescribeLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeLoggingConfiguration.md): Returns complete information about the current rules and alerting logging configuration of the workspace. - [DescribeQueryLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeQueryLoggingConfiguration.md): Retrieves the details of the query logging configuration for the specified workspace. - [DescribeResourcePolicy](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeResourcePolicy.md): Returns information about the resource-based policy attached to an Amazon Managed Service for Prometheus workspace. - [DescribeRuleGroupsNamespace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeRuleGroupsNamespace.md): Returns complete information about one rule groups namespace. - [DescribeScraper](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeScraper.md): The DescribeScraper operation displays information about an existing scraper. - [DescribeScraperLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeScraperLoggingConfiguration.md): Describes the logging configuration for a Amazon Managed Service for Prometheus scraper. - [DescribeWorkspace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeWorkspace.md): Returns information about an existing workspace. - [DescribeWorkspaceConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_DescribeWorkspaceConfiguration.md): Use this operation to return information about the configuration of a workspace. - [GetDefaultScraperConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_GetDefaultScraperConfiguration.md): The GetDefaultScraperConfiguration operation returns the default scraper configuration used when Amazon EKS creates a scraper for you. - [ListAnomalyDetectors](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListAnomalyDetectors.md): Returns a paginated list of anomaly detectors for a workspace with optional filtering by alias. - [ListRuleGroupsNamespaces](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListRuleGroupsNamespaces.md): Returns a list of rule groups namespaces in a workspace. - [ListScrapers](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListScrapers.md): The ListScrapers operation lists all of the scrapers in your account. - [ListTagsForResource](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListTagsForResource.md): The ListTagsForResource operation returns the tags that are associated with an Amazon Managed Service for Prometheus resource. - [ListWorkspaces](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListWorkspaces.md): Lists all of the Amazon Managed Service for Prometheus workspaces in your account. - [PutAlertManagerDefinition](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_PutAlertManagerDefinition.md): Updates an existing alert manager definition in a workspace. - [PutAnomalyDetector](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_PutAnomalyDetector.md): When you call PutAnomalyDetector, the operation creates a new anomaly detector if one doesn't exist, or updates an existing one. - [PutResourcePolicy](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_PutResourcePolicy.md): Creates or updates a resource-based policy for an Amazon Managed Service for Prometheus workspace. - [PutRuleGroupsNamespace](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_PutRuleGroupsNamespace.md): Updates an existing rule groups namespace within a workspace. - [TagResource](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_TagResource.md): The TagResource operation associates tags with an Amazon Managed Service for Prometheus resource. - [UntagResource](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UntagResource.md): Removes the specified tags from an Amazon Managed Service for Prometheus resource. - [UpdateLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UpdateLoggingConfiguration.md): Updates the log group ARN or the workspace ID of the current rules and alerting logging configuration. - [UpdateQueryLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UpdateQueryLoggingConfiguration.md): Updates the query logging configuration for the specified workspace. - [UpdateScraper](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UpdateScraper.md): Updates an existing scraper. - [UpdateScraperLoggingConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UpdateScraperLoggingConfiguration.md): Updates the logging configuration for a Amazon Managed Service for Prometheus scraper. - [UpdateWorkspaceAlias](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UpdateWorkspaceAlias.md): Updates the alias of an existing workspace. - [UpdateWorkspaceConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_UpdateWorkspaceConfiguration.md): Use this operation to create or update the label sets, label set limits, and retention period of a workspace. ## [Data Types](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_Types.md) - [AlertManagerDefinitionDescription](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AlertManagerDefinitionDescription.md): The details of an alert manager definition. - [AlertManagerDefinitionStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AlertManagerDefinitionStatus.md): The status of the alert manager. - [AmpConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AmpConfiguration.md): The AmpConfiguration structure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to. - [AnomalyDetectorConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AnomalyDetectorConfiguration.md): The configuration for the anomaly detection algorithm. - [AnomalyDetectorDescription](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AnomalyDetectorDescription.md): Detailed information about an anomaly detector. - [AnomalyDetectorMissingDataAction](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AnomalyDetectorMissingDataAction.md): Specifies the action to take when data is missing during anomaly detection evaluation. - [AnomalyDetectorStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AnomalyDetectorStatus.md): The status information of an anomaly detector. - [AnomalyDetectorSummary](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_AnomalyDetectorSummary.md): Summary information about an anomaly detector for list operations. - [CloudWatchConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CloudWatchConfiguration.md): The configuration identifies the CloudWatch dataset used as a scraper destination. - [CloudWatchLogDestination](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_CloudWatchLogDestination.md): Configuration details for logging to CloudWatch Logs. - [ComponentConfig](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ComponentConfig.md): Configuration settings for a scraper component. - [Destination](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_Destination.md): Where to send the metrics from a scraper. - [EksConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_EksConfiguration.md): The EksConfiguration structure describes the connection to the Amazon EKS cluster from which a scraper collects metrics. - [ExporterConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ExporterConfiguration.md): Contains the configuration for an exporter managed by the scraper. - [IgnoreNearExpected](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_IgnoreNearExpected.md): Configuration for threshold settings that determine when values near expected values should be ignored during anomaly detection. - [KafkaExporterConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_KafkaExporterConfiguration.md): The configuration for collecting broker, topic, and consumer-group metrics from an Amazon MSK cluster through a managed Kafka exporter. - [LimitsPerLabelSet](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_LimitsPerLabelSet.md): This structure defines one label set used to enforce active time series limits for the workspace, and defines the limit for that label set. - [LimitsPerLabelSetEntry](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_LimitsPerLabelSetEntry.md): This structure contains the information about the limits that apply to time series that match one label set. - [LoggingConfigurationMetadata](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_LoggingConfigurationMetadata.md): Contains information about the current rules and alerting logging configuration for the workspace. - [LoggingConfigurationStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_LoggingConfigurationStatus.md): The status of the logging configuration. - [LoggingDestination](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_LoggingDestination.md): Defines a destination and its associated filtering criteria for query logging. - [LoggingFilter](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_LoggingFilter.md): Filtering criteria that determine which queries are logged. - [OpenSearchExporterConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_OpenSearchExporterConfiguration.md): The configuration for exporting metrics to an Amazon OpenSearch Service domain. - [QueryLoggingConfigurationMetadata](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_QueryLoggingConfigurationMetadata.md): The metadata for a query logging configuration. - [QueryLoggingConfigurationStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_QueryLoggingConfigurationStatus.md): The status information for a query logging configuration. - [RandomCutForestConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_RandomCutForestConfiguration.md): Configuration for the Random Cut Forest algorithm used for anomaly detection in time-series data. - [RoleConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_RoleConfiguration.md): Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts. - [RuleGroupsNamespaceDescription](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_RuleGroupsNamespaceDescription.md): The details about one rule groups namespace. - [RuleGroupsNamespaceStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_RuleGroupsNamespaceStatus.md): The status information about a rule groups namespace. - [RuleGroupsNamespaceSummary](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_RuleGroupsNamespaceSummary.md): The high-level information about a rule groups namespace. - [ScrapeConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScrapeConfiguration.md): A scrape configuration for a scraper, base 64 encoded. - [ScraperComponent](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScraperComponent.md): A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging. - [ScraperDescription](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScraperDescription.md): The ScraperDescription structure contains the full details about one scraper in your account. - [ScraperLoggingConfigurationStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScraperLoggingConfigurationStatus.md): The status of a scraper logging configuration. - [ScraperLoggingDestination](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScraperLoggingDestination.md): The destination where scraper logs are sent. - [ScraperStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScraperStatus.md): The ScraperStatus structure contains status information about the scraper. - [ScraperSummary](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ScraperSummary.md): The ScraperSummary structure contains a summary of the details about one scraper in your account. - [Source](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_Source.md): The source of collected metrics for a scraper. - [ValidationExceptionField](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ValidationExceptionField.md): Information about a field passed into a request that resulted in an exception. - [VpcConfiguration](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_VpcConfiguration.md): The Amazon VPC configuration that specifies the network settings for a Prometheus collector to securely connect to Amazon MSK clusters. - [WorkspaceConfigurationDescription](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_WorkspaceConfigurationDescription.md): This structure contains the description of the workspace configuration. - [WorkspaceConfigurationStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_WorkspaceConfigurationStatus.md): This structure displays the current status of the workspace configuration, and might also contain a reason for that status. - [WorkspaceDescription](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_WorkspaceDescription.md): The full details about one Amazon Managed Service for Prometheus workspace in your account. - [WorkspaceStatus](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_WorkspaceStatus.md): The status of the workspace. - [WorkspaceSummary](https://docs.aws.amazon.com/prometheus/latest/APIReference/API_WorkspaceSummary.md): The information about one Amazon Managed Service for Prometheus workspace in your account. ## Full content The entire guide is also available as a single markdown file, useful for feeding the full guide to an LLM in one pass: - [Complete guide (single file)](https://docs.aws.amazon.com/prometheus/latest/APIReference/full.md)