@aws-sdk/client-cloudwatch 3.1018.0 → 3.1020.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
  2. package/dist-cjs/runtimeConfig.js +4 -3
  3. package/dist-cjs/runtimeConfig.shared.js +2 -2
  4. package/dist-es/CloudWatch.js +2 -2
  5. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  6. package/dist-es/runtimeConfig.js +2 -1
  7. package/dist-es/runtimeConfig.shared.js +1 -1
  8. package/dist-es/waiters/waitForAlarmExists.js +1 -1
  9. package/dist-es/waiters/waitForAlarmMuteRuleExists.js +1 -1
  10. package/dist-es/waiters/waitForCompositeAlarmExists.js +1 -1
  11. package/dist-types/CloudWatch.d.ts +43 -43
  12. package/dist-types/CloudWatchClient.d.ts +46 -46
  13. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  14. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  15. package/dist-types/index.d.ts +1 -1
  16. package/dist-types/models/errors.d.ts +1 -1
  17. package/dist-types/models/models_0.d.ts +1 -1
  18. package/dist-types/pagination/DescribeAlarmHistoryPaginator.d.ts +1 -1
  19. package/dist-types/pagination/DescribeAlarmsPaginator.d.ts +1 -1
  20. package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +1 -1
  21. package/dist-types/pagination/DescribeInsightRulesPaginator.d.ts +1 -1
  22. package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
  23. package/dist-types/pagination/ListAlarmMuteRulesPaginator.d.ts +1 -1
  24. package/dist-types/pagination/ListDashboardsPaginator.d.ts +1 -1
  25. package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +1 -1
  26. package/dist-types/pagination/ListMetricStreamsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListMetricsPaginator.d.ts +1 -1
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/runtimeConfig.d.ts +1 -1
  30. package/dist-types/runtimeConfig.native.d.ts +1 -1
  31. package/dist-types/ts3.4/CloudWatchClient.d.ts +2 -3
  32. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  33. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  37. package/dist-types/waiters/waitForAlarmExists.d.ts +3 -3
  38. package/dist-types/waiters/waitForAlarmMuteRuleExists.d.ts +3 -3
  39. package/dist-types/waiters/waitForCompositeAlarmExists.d.ts +3 -3
  40. package/package.json +16 -16
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveHttpAuthSchemeConfig = exports.defaultCloudWatchHttpAuthSchemeProvider = exports.defaultCloudWatchHttpAuthSchemeParametersProvider = void 0;
4
- const core_1 = require("@aws-sdk/core");
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultCloudWatchHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
@@ -38,7 +38,7 @@ const defaultCloudWatchHttpAuthSchemeProvider = (authParameters) => {
38
38
  };
39
39
  exports.defaultCloudWatchHttpAuthSchemeProvider = defaultCloudWatchHttpAuthSchemeProvider;
40
40
  const resolveHttpAuthSchemeConfig = (config) => {
41
- const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
41
+ const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
42
42
  return Object.assign(config_0, {
43
43
  authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
44
44
  });
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const core_1 = require("@aws-sdk/core");
6
+ const client_1 = require("@aws-sdk/core/client");
7
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
10
  const config_resolver_1 = require("@smithy/config-resolver");
@@ -22,7 +23,7 @@ const getRuntimeConfig = (config) => {
22
23
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
24
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
25
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
- (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
26
27
  const loaderConfig = {
27
28
  profile: config?.profile,
28
29
  logger: clientSharedValues.logger,
@@ -32,7 +33,7 @@ const getRuntimeConfig = (config) => {
32
33
  ...config,
33
34
  runtime: "node",
34
35
  defaultsMode,
35
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
36
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
36
37
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
37
38
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
39
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const core_1 = require("@aws-sdk/core");
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const protocols_1 = require("@aws-sdk/core/protocols");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const url_parser_1 = require("@smithy/url-parser");
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  {
24
24
  schemeId: "aws.auth#sigv4",
25
25
  identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
26
- signer: new core_1.AwsSdkSigV4Signer(),
26
+ signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
@@ -26,7 +26,7 @@ import { GetMetricWidgetImageCommand, } from "./commands/GetMetricWidgetImageCom
26
26
  import { ListAlarmMuteRulesCommand, } from "./commands/ListAlarmMuteRulesCommand";
27
27
  import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
28
28
  import { ListManagedInsightRulesCommand, } from "./commands/ListManagedInsightRulesCommand";
29
- import { ListMetricsCommand } from "./commands/ListMetricsCommand";
29
+ import { ListMetricsCommand, } from "./commands/ListMetricsCommand";
30
30
  import { ListMetricStreamsCommand, } from "./commands/ListMetricStreamsCommand";
31
31
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
32
32
  import { PutAlarmMuteRuleCommand, } from "./commands/PutAlarmMuteRuleCommand";
@@ -41,7 +41,7 @@ import { PutMetricStreamCommand, } from "./commands/PutMetricStreamCommand";
41
41
  import { SetAlarmStateCommand, } from "./commands/SetAlarmStateCommand";
42
42
  import { StartMetricStreamsCommand, } from "./commands/StartMetricStreamsCommand";
43
43
  import { StopMetricStreamsCommand, } from "./commands/StopMetricStreamsCommand";
44
- import { TagResourceCommand } from "./commands/TagResourceCommand";
44
+ import { TagResourceCommand, } from "./commands/TagResourceCommand";
45
45
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
46
46
  import { paginateDescribeAlarmHistory } from "./pagination/DescribeAlarmHistoryPaginator";
47
47
  import { paginateDescribeAlarms } from "./pagination/DescribeAlarmsPaginator";
@@ -1,4 +1,4 @@
1
- import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultCloudWatchHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
@@ -1,5 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
- import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
3
+ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
3
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4Signer } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
3
  import { NoOpLogger } from "@smithy/smithy-client";
4
4
  import { parseUrl } from "@smithy/url-parser";
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
2
  import { DescribeAlarmsCommand } from "../commands/DescribeAlarmsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
2
  import { GetAlarmMuteRuleCommand } from "../commands/GetAlarmMuteRuleCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
2
  import { DescribeAlarmsCommand } from "../commands/DescribeAlarmsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,49 +1,49 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
2
  import type { WaiterResult } from "@smithy/util-waiter";
3
3
  import { CloudWatchClient } from "./CloudWatchClient";
4
- import { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
5
- import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
6
- import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
7
- import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
8
- import { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
9
- import { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
10
- import { DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput } from "./commands/DescribeAlarmContributorsCommand";
11
- import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
12
- import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
13
- import { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
14
- import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
15
- import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
16
- import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
17
- import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
18
- import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
19
- import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
20
- import { GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput } from "./commands/GetAlarmMuteRuleCommand";
21
- import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
22
- import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
23
- import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
24
- import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
25
- import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
26
- import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
27
- import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
28
- import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
29
- import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
30
- import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
31
- import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
32
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
33
- import { PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput } from "./commands/PutAlarmMuteRuleCommand";
34
- import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
35
- import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
36
- import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
37
- import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
38
- import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
39
- import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
40
- import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
41
- import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
42
- import { SetAlarmStateCommandInput, SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
43
- import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
44
- import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
45
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
4
+ import { type DeleteAlarmMuteRuleCommandInput, type DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
5
+ import { type DeleteAlarmsCommandInput, type DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
6
+ import { type DeleteAnomalyDetectorCommandInput, type DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
7
+ import { type DeleteDashboardsCommandInput, type DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
8
+ import { type DeleteInsightRulesCommandInput, type DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
9
+ import { type DeleteMetricStreamCommandInput, type DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
10
+ import { type DescribeAlarmContributorsCommandInput, type DescribeAlarmContributorsCommandOutput } from "./commands/DescribeAlarmContributorsCommand";
11
+ import { type DescribeAlarmHistoryCommandInput, type DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
12
+ import { type DescribeAlarmsCommandInput, type DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
13
+ import { type DescribeAlarmsForMetricCommandInput, type DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
14
+ import { type DescribeAnomalyDetectorsCommandInput, type DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
15
+ import { type DescribeInsightRulesCommandInput, type DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
16
+ import { type DisableAlarmActionsCommandInput, type DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
17
+ import { type DisableInsightRulesCommandInput, type DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
18
+ import { type EnableAlarmActionsCommandInput, type EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
19
+ import { type EnableInsightRulesCommandInput, type EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
20
+ import { type GetAlarmMuteRuleCommandInput, type GetAlarmMuteRuleCommandOutput } from "./commands/GetAlarmMuteRuleCommand";
21
+ import { type GetDashboardCommandInput, type GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
22
+ import { type GetInsightRuleReportCommandInput, type GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
23
+ import { type GetMetricDataCommandInput, type GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
24
+ import { type GetMetricStatisticsCommandInput, type GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
25
+ import { type GetMetricStreamCommandInput, type GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
26
+ import { type GetMetricWidgetImageCommandInput, type GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
27
+ import { type ListAlarmMuteRulesCommandInput, type ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
28
+ import { type ListDashboardsCommandInput, type ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
29
+ import { type ListManagedInsightRulesCommandInput, type ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
30
+ import { type ListMetricsCommandInput, type ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
31
+ import { type ListMetricStreamsCommandInput, type ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
32
+ import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
33
+ import { type PutAlarmMuteRuleCommandInput, type PutAlarmMuteRuleCommandOutput } from "./commands/PutAlarmMuteRuleCommand";
34
+ import { type PutAnomalyDetectorCommandInput, type PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
35
+ import { type PutCompositeAlarmCommandInput, type PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
36
+ import { type PutDashboardCommandInput, type PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
37
+ import { type PutInsightRuleCommandInput, type PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
38
+ import { type PutManagedInsightRulesCommandInput, type PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
39
+ import { type PutMetricAlarmCommandInput, type PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
40
+ import { type PutMetricDataCommandInput, type PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
41
+ import { type PutMetricStreamCommandInput, type PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
42
+ import { type SetAlarmStateCommandInput, type SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
43
+ import { type StartMetricStreamsCommandInput, type StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
44
+ import { type StopMetricStreamsCommandInput, type StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
45
+ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
+ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
47
47
  export interface CloudWatch {
48
48
  /**
49
49
  * @see {@link DeleteAlarmMuteRuleCommand}
@@ -6,52 +6,52 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
6
6
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
7
7
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
8
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
9
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import type { 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";
10
10
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
- import { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
12
- import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
13
- import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
14
- import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
15
- import { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
16
- import { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
17
- import { DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput } from "./commands/DescribeAlarmContributorsCommand";
18
- import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
19
- import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
20
- import { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
21
- import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
22
- import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
23
- import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
24
- import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
25
- import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
26
- import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
27
- import { GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput } from "./commands/GetAlarmMuteRuleCommand";
28
- import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
29
- import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
30
- import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
31
- import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
32
- import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
33
- import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
34
- import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
35
- import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
36
- import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
37
- import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
38
- import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
39
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
40
- import { PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput } from "./commands/PutAlarmMuteRuleCommand";
41
- import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
42
- import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
43
- import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
44
- import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
45
- import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
46
- import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
47
- import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
48
- import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
49
- import { SetAlarmStateCommandInput, SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
50
- import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
51
- import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
52
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
53
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
54
- import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
11
+ import type { DeleteAlarmMuteRuleCommandInput, DeleteAlarmMuteRuleCommandOutput } from "./commands/DeleteAlarmMuteRuleCommand";
12
+ import type { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
13
+ import type { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
14
+ import type { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
15
+ import type { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
16
+ import type { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
17
+ import type { DescribeAlarmContributorsCommandInput, DescribeAlarmContributorsCommandOutput } from "./commands/DescribeAlarmContributorsCommand";
18
+ import type { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
19
+ import type { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
20
+ import type { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
21
+ import type { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
22
+ import type { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
23
+ import type { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
24
+ import type { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
25
+ import type { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
26
+ import type { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
27
+ import type { GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput } from "./commands/GetAlarmMuteRuleCommand";
28
+ import type { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
29
+ import type { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
30
+ import type { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
31
+ import type { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
32
+ import type { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
33
+ import type { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
34
+ import type { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "./commands/ListAlarmMuteRulesCommand";
35
+ import type { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
36
+ import type { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
37
+ import type { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
38
+ import type { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
39
+ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
40
+ import type { PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput } from "./commands/PutAlarmMuteRuleCommand";
41
+ import type { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
42
+ import type { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
43
+ import type { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
44
+ import type { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
45
+ import type { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
46
+ import type { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
47
+ import type { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
48
+ import type { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
49
+ import type { SetAlarmStateCommandInput, SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
50
+ import type { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
51
+ import type { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
52
+ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
53
+ import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
54
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
55
55
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
56
56
  export { __Client };
57
57
  /**
@@ -160,7 +160,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
160
160
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
161
161
  * @internal
162
162
  */
163
- defaultUserAgentProvider?: Provider<__UserAgent>;
163
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
164
164
  /**
165
165
  * Default credentials provider; Not available in browser runtime.
166
166
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { CloudWatchHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { type CloudWatchClientResolvedConfig } from "../CloudWatchClient";
4
4
  /**
@@ -17,7 +17,7 @@
17
17
  */
18
18
  export * from "./CloudWatchClient";
19
19
  export * from "./CloudWatch";
20
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
20
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
21
21
  export type { RuntimeExtension } from "./runtimeExtensions";
22
22
  export type { CloudWatchExtensionConfiguration } from "./extensionConfiguration";
23
23
  export * from "./commands";
@@ -1,6 +1,6 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CloudWatchServiceException as __BaseException } from "./CloudWatchServiceException";
3
- import { DashboardValidationMessage } from "./models_0";
3
+ import type { DashboardValidationMessage } from "./models_0";
4
4
  /**
5
5
  * <p>More than one process tried to modify a resource at the same time.</p>
6
6
  * @public
@@ -1,4 +1,4 @@
1
- import { ActionsSuppressedBy, AlarmMuteRuleStatus, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
1
+ import type { ActionsSuppressedBy, AlarmMuteRuleStatus, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
2
2
  /**
3
3
  * <p>Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.</p>
4
4
  * @public
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "../commands/DescribeAlarmHistoryCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "../commands/DescribeAlarmsCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "../commands/DescribeAnomalyDetectorsCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "../commands/DescribeInsightRulesCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "../commands/GetMetricDataCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "../commands/ListAlarmMuteRulesCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "../commands/ListDashboardsCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "../commands/ListManagedInsightRulesCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "../commands/ListMetricStreamsCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListMetricsCommandInput, ListMetricsCommandOutput } from "../commands/ListMetricsCommand";
3
- import { CloudWatchPaginationConfiguration } from "./Interfaces";
3
+ import type { CloudWatchPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
20
20
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
21
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  cacheMiddleware?: boolean | undefined;
23
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
24
24
  protocolSettings: {
25
25
  defaultNamespace?: string;
26
26
  [setting: string]: unknown;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
24
24
  cacheMiddleware?: boolean | undefined;
25
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
25
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
26
26
  protocolSettings: {
27
27
  defaultNamespace?: string;
28
28
  [setting: string]: unknown;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
11
11
  protocolSettings: {
12
12
  defaultNamespace?: string;
13
13
  [setting: string]: unknown;
@@ -30,6 +30,7 @@ import {
30
30
  Client as __Client,
31
31
  } from "@smithy/smithy-client";
32
32
  import {
33
+ AwsCredentialIdentityProvider,
33
34
  BodyLengthCalculator as __BodyLengthCalculator,
34
35
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
36
  ChecksumConstructor as __ChecksumConstructor,
@@ -41,8 +42,6 @@ import {
41
42
  Provider as __Provider,
42
43
  StreamCollector as __StreamCollector,
43
44
  UrlParser as __UrlParser,
44
- AwsCredentialIdentityProvider,
45
- Provider,
46
45
  UserAgent as __UserAgent,
47
46
  } from "@smithy/types";
48
47
  import {
@@ -334,7 +333,7 @@ export interface ClientDefaults
334
333
  useFipsEndpoint?: boolean | __Provider<boolean>;
335
334
  region?: string | __Provider<string>;
336
335
  profile?: string;
337
- defaultUserAgentProvider?: Provider<__UserAgent>;
336
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
338
337
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
339
338
  maxAttempts?: number | __Provider<number>;
340
339
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { CloudWatchHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -2,7 +2,7 @@ import {
2
2
  AwsSdkSigV4AuthInputConfig,
3
3
  AwsSdkSigV4AuthResolvedConfig,
4
4
  AwsSdkSigV4PreviouslyResolved,
5
- } from "@aws-sdk/core";
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
6
  import {
7
7
  HandlerExecutionContext,
8
8
  HttpAuthScheme,
@@ -36,7 +36,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
36
36
  protocol:
37
37
  | import("@smithy/types").ClientProtocol<any, any>
38
38
  | import("@smithy/types").ClientProtocolCtor<any, any>
39
- | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
39
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
40
40
  protocolSettings: {
41
41
  defaultNamespace?: string;
42
42
  [setting: string]: unknown;
@@ -36,7 +36,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
36
36
  protocol:
37
37
  | import("@smithy/types").ClientProtocol<any, any>
38
38
  | import("@smithy/types").ClientProtocolCtor<any, any>
39
- | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
39
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
40
40
  protocolSettings: {
41
41
  defaultNamespace?: string;
42
42
  [setting: string]: unknown;
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
12
12
  protocol:
13
13
  | import("@smithy/types").ClientProtocol<any, any>
14
14
  | import("@smithy/types").ClientProtocolCtor<any, any>
15
- | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
15
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
16
16
  protocolSettings: {
17
17
  defaultNamespace?: string;
18
18
  [setting: string]: unknown;
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { CloudWatchClient } from "../CloudWatchClient";
3
- import { DescribeAlarmsCommandInput } from "../commands/DescribeAlarmsCommand";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import type { CloudWatchClient } from "../CloudWatchClient";
3
+ import { type DescribeAlarmsCommandInput } from "../commands/DescribeAlarmsCommand";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilAlarmExists instead. waitForAlarmExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { CloudWatchClient } from "../CloudWatchClient";
3
- import { GetAlarmMuteRuleCommandInput } from "../commands/GetAlarmMuteRuleCommand";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import type { CloudWatchClient } from "../CloudWatchClient";
3
+ import { type GetAlarmMuteRuleCommandInput } from "../commands/GetAlarmMuteRuleCommand";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilAlarmMuteRuleExists instead. waitForAlarmMuteRuleExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { CloudWatchClient } from "../CloudWatchClient";
3
- import { DescribeAlarmsCommandInput } from "../commands/DescribeAlarmsCommand";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import type { CloudWatchClient } from "../CloudWatchClient";
3
+ import { type DescribeAlarmsCommandInput } from "../commands/DescribeAlarmsCommand";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilCompositeAlarmExists instead. waitForCompositeAlarmExists does not throw error in non-success cases.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
4
- "version": "3.1018.0",
4
+ "version": "3.1020.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
@@ -27,48 +27,48 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.973.25",
31
- "@aws-sdk/credential-provider-node": "^3.972.26",
30
+ "@aws-sdk/core": "^3.973.26",
31
+ "@aws-sdk/credential-provider-node": "^3.972.28",
32
32
  "@aws-sdk/middleware-host-header": "^3.972.8",
33
33
  "@aws-sdk/middleware-logger": "^3.972.8",
34
34
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
35
- "@aws-sdk/middleware-user-agent": "^3.972.26",
35
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
36
36
  "@aws-sdk/region-config-resolver": "^3.972.10",
37
37
  "@aws-sdk/types": "^3.973.6",
38
38
  "@aws-sdk/util-endpoints": "^3.996.5",
39
39
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
40
- "@aws-sdk/util-user-agent-node": "^3.973.12",
40
+ "@aws-sdk/util-user-agent-node": "^3.973.13",
41
41
  "@smithy/config-resolver": "^4.4.13",
42
- "@smithy/core": "^3.23.12",
42
+ "@smithy/core": "^3.23.13",
43
43
  "@smithy/fetch-http-handler": "^5.3.15",
44
44
  "@smithy/hash-node": "^4.2.12",
45
45
  "@smithy/invalid-dependency": "^4.2.12",
46
- "@smithy/middleware-compression": "^4.3.41",
46
+ "@smithy/middleware-compression": "^4.3.42",
47
47
  "@smithy/middleware-content-length": "^4.2.12",
48
- "@smithy/middleware-endpoint": "^4.4.27",
49
- "@smithy/middleware-retry": "^4.4.44",
50
- "@smithy/middleware-serde": "^4.2.15",
48
+ "@smithy/middleware-endpoint": "^4.4.28",
49
+ "@smithy/middleware-retry": "^4.4.45",
50
+ "@smithy/middleware-serde": "^4.2.16",
51
51
  "@smithy/middleware-stack": "^4.2.12",
52
52
  "@smithy/node-config-provider": "^4.3.12",
53
- "@smithy/node-http-handler": "^4.5.0",
53
+ "@smithy/node-http-handler": "^4.5.1",
54
54
  "@smithy/protocol-http": "^5.3.12",
55
- "@smithy/smithy-client": "^4.12.7",
55
+ "@smithy/smithy-client": "^4.12.8",
56
56
  "@smithy/types": "^4.13.1",
57
57
  "@smithy/url-parser": "^4.2.12",
58
58
  "@smithy/util-base64": "^4.3.2",
59
59
  "@smithy/util-body-length-browser": "^4.2.2",
60
60
  "@smithy/util-body-length-node": "^4.2.3",
61
- "@smithy/util-defaults-mode-browser": "^4.3.43",
62
- "@smithy/util-defaults-mode-node": "^4.2.47",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
62
+ "@smithy/util-defaults-mode-node": "^4.2.48",
63
63
  "@smithy/util-endpoints": "^3.3.3",
64
64
  "@smithy/util-middleware": "^4.2.12",
65
65
  "@smithy/util-retry": "^4.2.12",
66
66
  "@smithy/util-utf8": "^4.2.2",
67
- "@smithy/util-waiter": "^4.2.13",
67
+ "@smithy/util-waiter": "^4.2.14",
68
68
  "tslib": "^2.6.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@smithy/snapshot-testing": "^2.0.3",
71
+ "@smithy/snapshot-testing": "^2.0.4",
72
72
  "@tsconfig/node20": "20.1.8",
73
73
  "@types/node": "^20.14.8",
74
74
  "concurrently": "7.0.0",