import { type WaiterResult } from "@smithy/core/client"; import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; import { AmpClient } from "./AmpClient"; import { type CreateAlertManagerDefinitionCommandInput, type CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand"; import { type CreateAnomalyDetectorCommandInput, type CreateAnomalyDetectorCommandOutput } from "./commands/CreateAnomalyDetectorCommand"; import { type CreateLoggingConfigurationCommandInput, type CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand"; import { type CreateQueryLoggingConfigurationCommandInput, type CreateQueryLoggingConfigurationCommandOutput } from "./commands/CreateQueryLoggingConfigurationCommand"; import { type CreateRuleGroupsNamespaceCommandInput, type CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand"; import { type CreateScraperCommandInput, type CreateScraperCommandOutput } from "./commands/CreateScraperCommand"; import { type CreateWorkspaceCommandInput, type CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand"; import { type DeleteAlertManagerDefinitionCommandInput, type DeleteAlertManagerDefinitionCommandOutput } from "./commands/DeleteAlertManagerDefinitionCommand"; import { type DeleteAnomalyDetectorCommandInput, type DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand"; import { type DeleteLoggingConfigurationCommandInput, type DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand"; import { type DeleteQueryLoggingConfigurationCommandInput, type DeleteQueryLoggingConfigurationCommandOutput } from "./commands/DeleteQueryLoggingConfigurationCommand"; import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; import { type DeleteRuleGroupsNamespaceCommandInput, type DeleteRuleGroupsNamespaceCommandOutput } from "./commands/DeleteRuleGroupsNamespaceCommand"; import { type DeleteScraperCommandInput, type DeleteScraperCommandOutput } from "./commands/DeleteScraperCommand"; import { type DeleteScraperLoggingConfigurationCommandInput, type DeleteScraperLoggingConfigurationCommandOutput } from "./commands/DeleteScraperLoggingConfigurationCommand"; import { type DeleteWorkspaceCommandInput, type DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand"; import { type DescribeAlertManagerDefinitionCommandInput, type DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand"; import { type DescribeAnomalyDetectorCommandInput, type DescribeAnomalyDetectorCommandOutput } from "./commands/DescribeAnomalyDetectorCommand"; import { type DescribeLoggingConfigurationCommandInput, type DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand"; import { type DescribeQueryLoggingConfigurationCommandInput, type DescribeQueryLoggingConfigurationCommandOutput } from "./commands/DescribeQueryLoggingConfigurationCommand"; import { type DescribeResourcePolicyCommandInput, type DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand"; import { type DescribeRuleGroupsNamespaceCommandInput, type DescribeRuleGroupsNamespaceCommandOutput } from "./commands/DescribeRuleGroupsNamespaceCommand"; import { type DescribeScraperCommandInput, type DescribeScraperCommandOutput } from "./commands/DescribeScraperCommand"; import { type DescribeScraperLoggingConfigurationCommandInput, type DescribeScraperLoggingConfigurationCommandOutput } from "./commands/DescribeScraperLoggingConfigurationCommand"; import { type DescribeWorkspaceCommandInput, type DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand"; import { type DescribeWorkspaceConfigurationCommandInput, type DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand"; import { type GetDefaultScraperConfigurationCommandInput, type GetDefaultScraperConfigurationCommandOutput } from "./commands/GetDefaultScraperConfigurationCommand"; import { type ListAnomalyDetectorsCommandInput, type ListAnomalyDetectorsCommandOutput } from "./commands/ListAnomalyDetectorsCommand"; import { type ListRuleGroupsNamespacesCommandInput, type ListRuleGroupsNamespacesCommandOutput } from "./commands/ListRuleGroupsNamespacesCommand"; import { type ListScrapersCommandInput, type ListScrapersCommandOutput } from "./commands/ListScrapersCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type ListWorkspacesCommandInput, type ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand"; import { type PutAlertManagerDefinitionCommandInput, type PutAlertManagerDefinitionCommandOutput } from "./commands/PutAlertManagerDefinitionCommand"; import { type PutAnomalyDetectorCommandInput, type PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand"; import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; import { type PutRuleGroupsNamespaceCommandInput, type PutRuleGroupsNamespaceCommandOutput } from "./commands/PutRuleGroupsNamespaceCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateLoggingConfigurationCommandInput, type UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand"; import { type UpdateQueryLoggingConfigurationCommandInput, type UpdateQueryLoggingConfigurationCommandOutput } from "./commands/UpdateQueryLoggingConfigurationCommand"; import { type UpdateScraperCommandInput, type UpdateScraperCommandOutput } from "./commands/UpdateScraperCommand"; import { type UpdateScraperLoggingConfigurationCommandInput, type UpdateScraperLoggingConfigurationCommandOutput } from "./commands/UpdateScraperLoggingConfigurationCommand"; import { type UpdateWorkspaceAliasCommandInput, type UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand"; import { type UpdateWorkspaceConfigurationCommandInput, type UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand"; import type { ResourceNotFoundException } from "./models/errors"; export interface Amp { /** * @see {@link CreateAlertManagerDefinitionCommand} */ createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise; createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void; createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void; /** * @see {@link CreateAnomalyDetectorCommand} */ createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise; createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void; createAnomalyDetector(args: CreateAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnomalyDetectorCommandOutput) => void): void; /** * @see {@link CreateLoggingConfigurationCommand} */ createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void; createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void; /** * @see {@link CreateQueryLoggingConfigurationCommand} */ createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void): void; createQueryLoggingConfiguration(args: CreateQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void): void; /** * @see {@link CreateRuleGroupsNamespaceCommand} */ createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise; createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void; createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void; /** * @see {@link CreateScraperCommand} */ createScraper(args: CreateScraperCommandInput, options?: __HttpHandlerOptions): Promise; createScraper(args: CreateScraperCommandInput, cb: (err: any, data?: CreateScraperCommandOutput) => void): void; createScraper(args: CreateScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScraperCommandOutput) => void): void; /** * @see {@link CreateWorkspaceCommand} */ createWorkspace(): Promise; createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise; createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void; createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void; /** * @see {@link DeleteAlertManagerDefinitionCommand} */ deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise; deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void; deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void; /** * @see {@link DeleteAnomalyDetectorCommand} */ deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise; deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void; deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void; /** * @see {@link DeleteLoggingConfigurationCommand} */ deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void; deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void; /** * @see {@link DeleteQueryLoggingConfigurationCommand} */ deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void): void; deleteQueryLoggingConfiguration(args: DeleteQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void): void; /** * @see {@link DeleteResourcePolicyCommand} */ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; /** * @see {@link DeleteRuleGroupsNamespaceCommand} */ deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise; deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void; deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void; /** * @see {@link DeleteScraperCommand} */ deleteScraper(args: DeleteScraperCommandInput, options?: __HttpHandlerOptions): Promise; deleteScraper(args: DeleteScraperCommandInput, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void; deleteScraper(args: DeleteScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void; /** * @see {@link DeleteScraperLoggingConfigurationCommand} */ deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void; deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void; /** * @see {@link DeleteWorkspaceCommand} */ deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise; deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void; deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void; /** * @see {@link DescribeAlertManagerDefinitionCommand} */ describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise; describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void; describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void; /** * @see {@link DescribeAnomalyDetectorCommand} */ describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise; describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void; describeAnomalyDetector(args: DescribeAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyDetectorCommandOutput) => void): void; /** * @see {@link DescribeLoggingConfigurationCommand} */ describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void; describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void; /** * @see {@link DescribeQueryLoggingConfigurationCommand} */ describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeQueryLoggingConfigurationCommandOutput) => void): void; describeQueryLoggingConfiguration(args: DescribeQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryLoggingConfigurationCommandOutput) => void): void; /** * @see {@link DescribeResourcePolicyCommand} */ describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; describeResourcePolicy(args: DescribeResourcePolicyCommandInput, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void; describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void; /** * @see {@link DescribeRuleGroupsNamespaceCommand} */ describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise; describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void; describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void; /** * @see {@link DescribeScraperCommand} */ describeScraper(args: DescribeScraperCommandInput, options?: __HttpHandlerOptions): Promise; describeScraper(args: DescribeScraperCommandInput, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void; describeScraper(args: DescribeScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void; /** * @see {@link DescribeScraperLoggingConfigurationCommand} */ describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void; describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void; /** * @see {@link DescribeWorkspaceCommand} */ describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise; describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void; describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void; /** * @see {@link DescribeWorkspaceConfigurationCommand} */ describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void; describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void; /** * @see {@link GetDefaultScraperConfigurationCommand} */ getDefaultScraperConfiguration(): Promise; getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void; getDefaultScraperConfiguration(args: GetDefaultScraperConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDefaultScraperConfigurationCommandOutput) => void): void; /** * @see {@link ListAnomalyDetectorsCommand} */ listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options?: __HttpHandlerOptions): Promise; listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void; listAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomalyDetectorsCommandOutput) => void): void; /** * @see {@link ListRuleGroupsNamespacesCommand} */ listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: __HttpHandlerOptions): Promise; listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void; listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void; /** * @see {@link ListScrapersCommand} */ listScrapers(): Promise; listScrapers(args: ListScrapersCommandInput, options?: __HttpHandlerOptions): Promise; listScrapers(args: ListScrapersCommandInput, cb: (err: any, data?: ListScrapersCommandOutput) => void): void; listScrapers(args: ListScrapersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScrapersCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link ListWorkspacesCommand} */ listWorkspaces(): Promise; listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise; listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void; listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void; /** * @see {@link PutAlertManagerDefinitionCommand} */ putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise; putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void; putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void; /** * @see {@link PutAnomalyDetectorCommand} */ putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise; putAnomalyDetector(args: PutAnomalyDetectorCommandInput, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void; putAnomalyDetector(args: PutAnomalyDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAnomalyDetectorCommandOutput) => void): void; /** * @see {@link PutResourcePolicyCommand} */ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; /** * @see {@link PutRuleGroupsNamespaceCommand} */ putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise; putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void; putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateLoggingConfigurationCommand} */ updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void; updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void; /** * @see {@link UpdateQueryLoggingConfigurationCommand} */ updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void): void; updateQueryLoggingConfiguration(args: UpdateQueryLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void): void; /** * @see {@link UpdateScraperCommand} */ updateScraper(args: UpdateScraperCommandInput, options?: __HttpHandlerOptions): Promise; updateScraper(args: UpdateScraperCommandInput, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void; updateScraper(args: UpdateScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void; /** * @see {@link UpdateScraperLoggingConfigurationCommand} */ updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void; updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void; /** * @see {@link UpdateWorkspaceAliasCommand} */ updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise; updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void; updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void; /** * @see {@link UpdateWorkspaceConfigurationCommand} */ updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void; updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void; /** * @see {@link ListAnomalyDetectorsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListAnomalyDetectorsCommandOutput}. */ paginateListAnomalyDetectors(args: ListAnomalyDetectorsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListRuleGroupsNamespacesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListRuleGroupsNamespacesCommandOutput}. */ paginateListRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListScrapersCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListScrapersCommandOutput}. */ paginateListScrapers(args?: ListScrapersCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListWorkspacesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListWorkspacesCommandOutput}. */ paginateListWorkspaces(args?: ListWorkspacesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link DescribeAnomalyDetectorCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilAnomalyDetectorActive(args: DescribeAnomalyDetectorCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link DescribeAnomalyDetectorCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilAnomalyDetectorDeleted(args: DescribeAnomalyDetectorCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link DescribeScraperCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilScraperActive(args: DescribeScraperCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link DescribeScraperCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilScraperDeleted(args: DescribeScraperCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link DescribeWorkspaceCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilWorkspaceActive(args: DescribeWorkspaceCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link DescribeWorkspaceCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilWorkspaceDeleted(args: DescribeWorkspaceCommandInput, waiterConfig: number | Omit, "client">): Promise>; } /** *

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.

* @public */ export declare class Amp extends AmpClient implements Amp { }