import { HostHeaderInputConfig, HostHeaderResolvedConfig, } from "@aws-sdk/middleware-host-header"; import { UserAgentInputConfig, UserAgentResolvedConfig, } from "@aws-sdk/middleware-user-agent"; import { RegionInputConfig, RegionResolvedConfig, } from "@smithy/config-resolver"; import { CompressionInputConfig, CompressionResolvedConfig, } from "@smithy/middleware-compression"; import { EndpointInputConfig, EndpointResolvedConfig, } from "@smithy/middleware-endpoint"; import { RetryInputConfig, RetryResolvedConfig, } from "@smithy/middleware-retry"; import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; import { DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client, } from "@smithy/smithy-client"; import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent, } from "@smithy/types"; import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig, } from "./auth/httpAuthSchemeProvider"; import { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput, } from "./commands/DeleteAlarmMuteRuleCommand"; import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, } from "./commands/DeleteAlarmsCommand"; import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, } from "./commands/DeleteAnomalyDetectorCommand"; import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, } from "./commands/DeleteDashboardsCommand"; import { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, } from "./commands/DeleteInsightRulesCommand"; import { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, } from "./commands/DeleteMetricStreamCommand"; import { DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput, } from "./commands/DescribeAlarmContributorsCommand"; import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, } from "./commands/DescribeAlarmHistoryCommand"; import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, } from "./commands/DescribeAlarmsCommand"; import { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, } from "./commands/DescribeAlarmsForMetricCommand"; import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, } from "./commands/DescribeAnomalyDetectorsCommand"; import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, } from "./commands/DescribeInsightRulesCommand"; import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, } from "./commands/DisableAlarmActionsCommand"; import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, } from "./commands/DisableInsightRulesCommand"; import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, } from "./commands/EnableAlarmActionsCommand"; import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput, } from "./commands/EnableInsightRulesCommand"; import { GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, } from "./commands/GetAlarmMuteRuleCommand"; import { GetDashboardCommandInput, GetDashboardCommandOutput, } from "./commands/GetDashboardCommand"; import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput, } from "./commands/GetInsightRuleReportCommand"; import { GetMetricDataCommandInput, GetMetricDataCommandOutput, } from "./commands/GetMetricDataCommand"; import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput, } from "./commands/GetMetricStatisticsCommand"; import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput, } from "./commands/GetMetricStreamCommand"; import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput, } from "./commands/GetMetricWidgetImageCommand"; import { GetOTelEnrichmentCommandInput, GetOTelEnrichmentCommandOutput, } from "./commands/GetOTelEnrichmentCommand"; import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput, } from "./commands/ListAlarmMuteRulesCommand"; import { ListDashboardsCommandInput, ListDashboardsCommandOutput, } from "./commands/ListDashboardsCommand"; import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput, } from "./commands/ListManagedInsightRulesCommand"; import { ListMetricsCommandInput, ListMetricsCommandOutput, } from "./commands/ListMetricsCommand"; import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput, } from "./commands/ListMetricStreamsCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; import { PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput, } from "./commands/PutAlarmMuteRuleCommand"; import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput, } from "./commands/PutAnomalyDetectorCommand"; import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput, } from "./commands/PutCompositeAlarmCommand"; import { PutDashboardCommandInput, PutDashboardCommandOutput, } from "./commands/PutDashboardCommand"; import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput, } from "./commands/PutInsightRuleCommand"; import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput, } from "./commands/PutManagedInsightRulesCommand"; import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput, } from "./commands/PutMetricAlarmCommand"; import { PutMetricDataCommandInput, PutMetricDataCommandOutput, } from "./commands/PutMetricDataCommand"; import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput, } from "./commands/PutMetricStreamCommand"; import { SetAlarmStateCommandInput, SetAlarmStateCommandOutput, } from "./commands/SetAlarmStateCommand"; import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput, } from "./commands/StartMetricStreamsCommand"; import { StartOTelEnrichmentCommandInput, StartOTelEnrichmentCommandOutput, } from "./commands/StartOTelEnrichmentCommand"; import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput, } from "./commands/StopMetricStreamsCommand"; import { StopOTelEnrichmentCommandInput, StopOTelEnrichmentCommandOutput, } from "./commands/StopOTelEnrichmentCommand"; import { TagResourceCommandInput, TagResourceCommandOutput, } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters, } from "./endpoint/EndpointParameters"; import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; export type ServiceInputTypes = | DeleteAlarmMuteRuleCommandInput | DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmContributorsCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetAlarmMuteRuleCommandInput | GetDashboardCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | GetOTelEnrichmentCommandInput | ListAlarmMuteRulesCommandInput | ListDashboardsCommandInput | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAlarmMuteRuleCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StartOTelEnrichmentCommandInput | StopMetricStreamsCommandInput | StopOTelEnrichmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput; export type ServiceOutputTypes = | DeleteAlarmMuteRuleCommandOutput | DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmContributorsCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetAlarmMuteRuleCommandOutput | GetDashboardCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | GetOTelEnrichmentCommandOutput | ListAlarmMuteRulesCommandOutput | ListDashboardsCommandOutput | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAlarmMuteRuleCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StartOTelEnrichmentCommandOutput | StopMetricStreamsCommandOutput | StopOTelEnrichmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput; export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { requestHandler?: __HttpHandlerUserInput; sha256?: __ChecksumConstructor | __HashConstructor; urlParser?: __UrlParser; bodyLengthChecker?: __BodyLengthCalculator; streamCollector?: __StreamCollector; base64Decoder?: __Decoder; base64Encoder?: __Encoder; utf8Decoder?: __Decoder; utf8Encoder?: __Encoder; runtime?: string; disableHostPrefix?: boolean; serviceId?: string; useDualstackEndpoint?: boolean | __Provider; useFipsEndpoint?: boolean | __Provider; region?: string | __Provider; profile?: string; defaultUserAgentProvider?: __Provider<__UserAgent>; credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; maxAttempts?: number | __Provider; retryMode?: string | __Provider; logger?: __Logger; extensions?: RuntimeExtension[]; defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } export type CloudWatchClientConfigType = Partial< __SmithyConfiguration<__HttpHandlerOptions> > & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & CompressionInputConfig & ClientInputEndpointParameters; export interface CloudWatchClientConfig extends CloudWatchClientConfigType {} export type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & CompressionResolvedConfig & ClientResolvedEndpointParameters; export interface CloudWatchClientResolvedConfig extends CloudWatchClientResolvedConfigType {} export declare class CloudWatchClient extends __Client< __HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchClientResolvedConfig > { readonly config: CloudWatchClientResolvedConfig; constructor( ...[configuration]: __CheckOptionalClientConfig ); destroy(): void; }