@aws-sdk/client-cloudwatch 3.803.0 → 3.804.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 (69) hide show
  1. package/dist-types/commands/DeleteAlarmsCommand.d.ts +1 -1
  2. package/dist-types/commands/DeleteDashboardsCommand.d.ts +1 -1
  3. package/dist-types/commands/DeleteInsightRulesCommand.d.ts +1 -1
  4. package/dist-types/commands/DeleteMetricStreamCommand.d.ts +1 -1
  5. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +1 -1
  6. package/dist-types/commands/DisableAlarmActionsCommand.d.ts +1 -1
  7. package/dist-types/commands/DisableInsightRulesCommand.d.ts +1 -1
  8. package/dist-types/commands/EnableAlarmActionsCommand.d.ts +1 -1
  9. package/dist-types/commands/EnableInsightRulesCommand.d.ts +1 -1
  10. package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
  11. package/dist-types/commands/GetInsightRuleReportCommand.d.ts +1 -1
  12. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
  13. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +1 -1
  14. package/dist-types/commands/GetMetricStreamCommand.d.ts +1 -1
  15. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
  16. package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +1 -1
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  18. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +1 -1
  19. package/dist-types/commands/PutDashboardCommand.d.ts +1 -1
  20. package/dist-types/commands/PutInsightRuleCommand.d.ts +1 -1
  21. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +1 -1
  22. package/dist-types/commands/PutMetricAlarmCommand.d.ts +1 -1
  23. package/dist-types/commands/PutMetricDataCommand.d.ts +1 -1
  24. package/dist-types/commands/PutMetricStreamCommand.d.ts +1 -1
  25. package/dist-types/commands/SetAlarmStateCommand.d.ts +1 -1
  26. package/dist-types/commands/StartMetricStreamsCommand.d.ts +1 -1
  27. package/dist-types/commands/StopMetricStreamsCommand.d.ts +1 -1
  28. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  30. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  31. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  32. package/dist-types/runtimeConfig.d.ts +16 -16
  33. package/dist-types/runtimeConfig.native.d.ts +18 -18
  34. package/dist-types/runtimeConfig.shared.d.ts +3 -3
  35. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  69. package/package.json +20 -20
@@ -22,7 +22,7 @@ declare const DisableAlarmActionsCommand_base: {
22
22
  ServiceOutputTypes
23
23
  >;
24
24
  new (
25
- __0_0: DisableAlarmActionsCommandInput
25
+ input: DisableAlarmActionsCommandInput
26
26
  ): import("@smithy/smithy-client").CommandImpl<
27
27
  DisableAlarmActionsCommandInput,
28
28
  DisableAlarmActionsCommandOutput,
@@ -27,7 +27,7 @@ declare const DisableInsightRulesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DisableInsightRulesCommandInput
30
+ input: DisableInsightRulesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DisableInsightRulesCommandInput,
33
33
  DisableInsightRulesCommandOutput,
@@ -22,7 +22,7 @@ declare const EnableAlarmActionsCommand_base: {
22
22
  ServiceOutputTypes
23
23
  >;
24
24
  new (
25
- __0_0: EnableAlarmActionsCommandInput
25
+ input: EnableAlarmActionsCommandInput
26
26
  ): import("@smithy/smithy-client").CommandImpl<
27
27
  EnableAlarmActionsCommandInput,
28
28
  EnableAlarmActionsCommandOutput,
@@ -27,7 +27,7 @@ declare const EnableInsightRulesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: EnableInsightRulesCommandInput
30
+ input: EnableInsightRulesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  EnableInsightRulesCommandInput,
33
33
  EnableInsightRulesCommandOutput,
@@ -23,7 +23,7 @@ declare const GetDashboardCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: GetDashboardCommandInput
26
+ input: GetDashboardCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  GetDashboardCommandInput,
29
29
  GetDashboardCommandOutput,
@@ -27,7 +27,7 @@ declare const GetInsightRuleReportCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetInsightRuleReportCommandInput
30
+ input: GetInsightRuleReportCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetInsightRuleReportCommandInput,
33
33
  GetInsightRuleReportCommandOutput,
@@ -23,7 +23,7 @@ declare const GetMetricDataCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: GetMetricDataCommandInput
26
+ input: GetMetricDataCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  GetMetricDataCommandInput,
29
29
  GetMetricDataCommandOutput,
@@ -27,7 +27,7 @@ declare const GetMetricStatisticsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetMetricStatisticsCommandInput
30
+ input: GetMetricStatisticsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetMetricStatisticsCommandInput,
33
33
  GetMetricStatisticsCommandOutput,
@@ -26,7 +26,7 @@ declare const GetMetricStreamCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetMetricStreamCommandInput
29
+ input: GetMetricStreamCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetMetricStreamCommandInput,
32
32
  GetMetricStreamCommandOutput,
@@ -27,7 +27,7 @@ declare const GetMetricWidgetImageCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetMetricWidgetImageCommandInput
30
+ input: GetMetricWidgetImageCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetMetricWidgetImageCommandInput,
33
33
  GetMetricWidgetImageCommandOutput,
@@ -27,7 +27,7 @@ declare const ListManagedInsightRulesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListManagedInsightRulesCommandInput
30
+ input: ListManagedInsightRulesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListManagedInsightRulesCommandInput,
33
33
  ListManagedInsightRulesCommandOutput,
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListTagsForResourceCommandInput
30
+ input: ListTagsForResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
@@ -21,7 +21,7 @@ declare const PutCompositeAlarmCommand_base: {
21
21
  ServiceOutputTypes
22
22
  >;
23
23
  new (
24
- __0_0: PutCompositeAlarmCommandInput
24
+ input: PutCompositeAlarmCommandInput
25
25
  ): import("@smithy/smithy-client").CommandImpl<
26
26
  PutCompositeAlarmCommandInput,
27
27
  PutCompositeAlarmCommandOutput,
@@ -23,7 +23,7 @@ declare const PutDashboardCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: PutDashboardCommandInput
26
+ input: PutDashboardCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  PutDashboardCommandInput,
29
29
  PutDashboardCommandOutput,
@@ -23,7 +23,7 @@ declare const PutInsightRuleCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: PutInsightRuleCommandInput
26
+ input: PutInsightRuleCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  PutInsightRuleCommandInput,
29
29
  PutInsightRuleCommandOutput,
@@ -27,7 +27,7 @@ declare const PutManagedInsightRulesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: PutManagedInsightRulesCommandInput
30
+ input: PutManagedInsightRulesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  PutManagedInsightRulesCommandInput,
33
33
  PutManagedInsightRulesCommandOutput,
@@ -21,7 +21,7 @@ declare const PutMetricAlarmCommand_base: {
21
21
  ServiceOutputTypes
22
22
  >;
23
23
  new (
24
- __0_0: PutMetricAlarmCommandInput
24
+ input: PutMetricAlarmCommandInput
25
25
  ): import("@smithy/smithy-client").CommandImpl<
26
26
  PutMetricAlarmCommandInput,
27
27
  PutMetricAlarmCommandOutput,
@@ -21,7 +21,7 @@ declare const PutMetricDataCommand_base: {
21
21
  ServiceOutputTypes
22
22
  >;
23
23
  new (
24
- __0_0: PutMetricDataCommandInput
24
+ input: PutMetricDataCommandInput
25
25
  ): import("@smithy/smithy-client").CommandImpl<
26
26
  PutMetricDataCommandInput,
27
27
  PutMetricDataCommandOutput,
@@ -26,7 +26,7 @@ declare const PutMetricStreamCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: PutMetricStreamCommandInput
29
+ input: PutMetricStreamCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  PutMetricStreamCommandInput,
32
32
  PutMetricStreamCommandOutput,
@@ -21,7 +21,7 @@ declare const SetAlarmStateCommand_base: {
21
21
  ServiceOutputTypes
22
22
  >;
23
23
  new (
24
- __0_0: SetAlarmStateCommandInput
24
+ input: SetAlarmStateCommandInput
25
25
  ): import("@smithy/smithy-client").CommandImpl<
26
26
  SetAlarmStateCommandInput,
27
27
  SetAlarmStateCommandOutput,
@@ -27,7 +27,7 @@ declare const StartMetricStreamsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartMetricStreamsCommandInput
30
+ input: StartMetricStreamsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartMetricStreamsCommandInput,
33
33
  StartMetricStreamsCommandOutput,
@@ -26,7 +26,7 @@ declare const StopMetricStreamsCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: StopMetricStreamsCommandInput
29
+ input: StopMetricStreamsCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  StopMetricStreamsCommandInput,
32
32
  StopMetricStreamsCommandOutput,
@@ -23,7 +23,7 @@ declare const TagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: TagResourceCommandInput
26
+ input: TagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const UntagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: UntagResourceCommandInput
26
+ input: UntagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  UntagResourceCommandInput,
29
29
  UntagResourceCommandOutput,
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  disableRequestCompression:
20
18
  | boolean
@@ -36,23 +34,22 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
36
34
  cacheMiddleware?: boolean | undefined;
37
35
  urlParser: import("@smithy/types").UrlParser;
38
36
  base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: string | Uint8Array) => string;
37
+ base64Encoder: (_input: Uint8Array | string) => string;
40
38
  utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: string | Uint8Array) => string;
39
+ utf8Encoder: (input: Uint8Array | string) => string;
42
40
  disableHostPrefix: boolean;
43
41
  serviceId: string;
44
- profile?: string | undefined;
42
+ profile?: string;
45
43
  logger: import("@smithy/types").Logger;
46
44
  extensions: import("./runtimeExtensions").RuntimeExtension[];
47
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
46
  userAgentAppId?:
49
47
  | string
50
- | import("@smithy/types").Provider<string | undefined>
51
- | undefined;
48
+ | undefined
49
+ | import("@smithy/types").Provider<string | undefined>;
52
50
  retryStrategy?:
53
51
  | import("@smithy/types").RetryStrategy
54
- | import("@smithy/types").RetryStrategyV2
55
- | undefined;
52
+ | import("@smithy/types").RetryStrategyV2;
56
53
  endpoint?:
57
54
  | ((
58
55
  | string
@@ -73,34 +70,27 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
73
70
  endpointProvider: (
74
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
75
72
  context?: {
76
- logger?: import("@smithy/types").Logger | undefined;
73
+ logger?: import("@smithy/types").Logger;
77
74
  }
78
75
  ) => import("@smithy/types").EndpointV2;
79
- tls?: boolean | undefined;
80
- serviceConfiguredEndpoint?: undefined;
81
- authSchemePreference?:
82
- | string[]
83
- | import("@smithy/types").Provider<string[]>
84
- | undefined;
76
+ tls?: boolean;
77
+ serviceConfiguredEndpoint?: never;
78
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
85
79
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
86
80
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
87
81
  credentials?:
88
82
  | import("@smithy/types").AwsCredentialIdentity
89
- | import("@smithy/types").AwsCredentialIdentityProvider
90
- | undefined;
83
+ | import("@smithy/types").AwsCredentialIdentityProvider;
91
84
  signer?:
92
85
  | import("@smithy/types").RequestSigner
93
86
  | ((
94
- authScheme?: import("@smithy/types").AuthScheme | undefined
95
- ) => Promise<import("@smithy/types").RequestSigner>)
96
- | undefined;
97
- signingEscapePath?: boolean | undefined;
98
- systemClockOffset?: number | undefined;
99
- signingRegion?: string | undefined;
100
- signerConstructor?:
101
- | (new (
102
- options: import("@smithy/signature-v4").SignatureV4Init &
103
- import("@smithy/signature-v4").SignatureV4CryptoInit
104
- ) => import("@smithy/types").RequestSigner)
105
- | undefined;
87
+ authScheme?: import("@smithy/types").AuthScheme
88
+ ) => Promise<import("@smithy/types").RequestSigner>);
89
+ signingEscapePath?: boolean;
90
+ systemClockOffset?: number;
91
+ signingRegion?: string;
92
+ signerConstructor?: new (
93
+ options: import("@smithy/signature-v4").SignatureV4Init &
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ ) => import("@smithy/types").RequestSigner;
106
96
  };
@@ -10,16 +10,12 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?:
14
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
15
- | undefined
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
14
  ) => import("@smithy/types").MemoizedProvider<
17
15
  import("@smithy/types").AwsCredentialIdentity
18
16
  >);
19
17
  defaultUserAgentProvider: (
20
- config?:
21
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
22
- | undefined
18
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
23
19
  ) => Promise<import("@smithy/types").UserAgent>;
24
20
  disableRequestCompression:
25
21
  | boolean
@@ -42,19 +38,18 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
42
38
  cacheMiddleware?: boolean | undefined;
43
39
  urlParser: import("@smithy/types").UrlParser;
44
40
  base64Decoder: import("@smithy/types").Decoder;
45
- base64Encoder: (_input: string | Uint8Array) => string;
41
+ base64Encoder: (_input: Uint8Array | string) => string;
46
42
  utf8Decoder: import("@smithy/types").Decoder;
47
- utf8Encoder: (input: string | Uint8Array) => string;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
48
44
  disableHostPrefix: boolean;
49
45
  serviceId: string;
50
- profile?: string | undefined;
46
+ profile?: string;
51
47
  logger: import("@smithy/types").Logger;
52
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
53
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
49
+ customUserAgent?: string | import("@smithy/types").UserAgent;
54
50
  retryStrategy?:
55
51
  | import("@smithy/types").RetryStrategy
56
- | import("@smithy/types").RetryStrategyV2
57
- | undefined;
52
+ | import("@smithy/types").RetryStrategyV2;
58
53
  endpoint?:
59
54
  | ((
60
55
  | string
@@ -75,30 +70,26 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
75
70
  endpointProvider: (
76
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
77
72
  context?: {
78
- logger?: import("@smithy/types").Logger | undefined;
73
+ logger?: import("@smithy/types").Logger;
79
74
  }
80
75
  ) => import("@smithy/types").EndpointV2;
81
- tls?: boolean | undefined;
82
- serviceConfiguredEndpoint?: undefined;
76
+ tls?: boolean;
77
+ serviceConfiguredEndpoint?: never;
83
78
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
79
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
85
80
  credentials?:
86
81
  | import("@smithy/types").AwsCredentialIdentity
87
- | import("@smithy/types").AwsCredentialIdentityProvider
88
- | undefined;
82
+ | import("@smithy/types").AwsCredentialIdentityProvider;
89
83
  signer?:
90
84
  | import("@smithy/types").RequestSigner
91
85
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme | undefined
93
- ) => Promise<import("@smithy/types").RequestSigner>)
94
- | undefined;
95
- signingEscapePath?: boolean | undefined;
96
- systemClockOffset?: number | undefined;
97
- signingRegion?: string | undefined;
98
- signerConstructor?:
99
- | (new (
100
- options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
102
- ) => import("@smithy/types").RequestSigner)
103
- | undefined;
86
+ authScheme?: import("@smithy/types").AuthScheme
87
+ ) => Promise<import("@smithy/types").RequestSigner>);
88
+ signingEscapePath?: boolean;
89
+ systemClockOffset?: number;
90
+ signingRegion?: string;
91
+ signerConstructor?: new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner;
104
95
  };
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
- cacheMiddleware?: boolean | undefined;
12
+ cacheMiddleware?: boolean;
13
13
  urlParser: import("@smithy/types").UrlParser;
14
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  base64Decoder: import("@smithy/types").Decoder;
17
- base64Encoder: (_input: string | Uint8Array) => string;
17
+ base64Encoder: (_input: Uint8Array | string) => string;
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
- utf8Encoder: (input: string | Uint8Array) => string;
19
+ utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- profile?: string | undefined;
25
+ profile?: string;
26
26
  defaultUserAgentProvider: (
27
- config?:
28
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
- | undefined
27
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
28
  ) => Promise<import("@smithy/types").UserAgent>;
31
29
  credentialDefaultProvider:
32
30
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -42,15 +40,14 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
42
40
  | import("@smithy/types").Provider<
43
41
  import("@smithy/smithy-client").DefaultsMode
44
42
  >;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
44
  userAgentAppId?:
47
45
  | string
48
- | import("@smithy/types").Provider<string | undefined>
49
- | undefined;
46
+ | undefined
47
+ | import("@smithy/types").Provider<string | undefined>;
50
48
  retryStrategy?:
51
49
  | import("@smithy/types").RetryStrategy
52
- | import("@smithy/types").RetryStrategyV2
53
- | undefined;
50
+ | import("@smithy/types").RetryStrategyV2;
54
51
  endpoint?:
55
52
  | ((
56
53
  | string
@@ -71,36 +68,29 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
71
68
  endpointProvider: (
72
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
70
  context?: {
74
- logger?: import("@smithy/types").Logger | undefined;
71
+ logger?: import("@smithy/types").Logger;
75
72
  }
76
73
  ) => import("@smithy/types").EndpointV2;
77
- tls?: boolean | undefined;
78
- serviceConfiguredEndpoint?: undefined;
79
- authSchemePreference?:
80
- | string[]
81
- | import("@smithy/types").Provider<string[]>
82
- | undefined;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
77
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
78
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchHttpAuthSchemeProvider;
85
79
  credentials?:
86
80
  | import("@smithy/types").AwsCredentialIdentity
87
- | import("@smithy/types").AwsCredentialIdentityProvider
88
- | undefined;
81
+ | import("@smithy/types").AwsCredentialIdentityProvider;
89
82
  signer?:
90
83
  | import("@smithy/types").RequestSigner
91
84
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme | undefined
93
- ) => Promise<import("@smithy/types").RequestSigner>)
94
- | undefined;
95
- signingEscapePath?: boolean | undefined;
96
- systemClockOffset?: number | undefined;
97
- signingRegion?: string | undefined;
98
- signerConstructor?:
99
- | (new (
100
- options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
102
- ) => import("@smithy/types").RequestSigner)
103
- | undefined;
85
+ authScheme?: import("@smithy/types").AuthScheme
86
+ ) => Promise<import("@smithy/types").RequestSigner>);
87
+ signingEscapePath?: boolean;
88
+ systemClockOffset?: number;
89
+ signingRegion?: string;
90
+ signerConstructor?: new (
91
+ options: import("@smithy/signature-v4").SignatureV4Init &
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ ) => import("@smithy/types").RequestSigner;
104
94
  disableRequestCompression:
105
95
  | boolean
106
96
  | import("@smithy/types").Provider<boolean>;
@@ -2,12 +2,12 @@ import { CloudWatchClientConfig } from "./CloudWatchClient";
2
2
  export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: (_input: string | Uint8Array) => string;
5
+ base64Encoder: (_input: Uint8Array | string) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
9
  context?: {
10
- logger?: import("@smithy/types").Logger | undefined;
10
+ logger?: import("@smithy/types").Logger;
11
11
  }
12
12
  ) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: (input: string | Uint8Array) => string;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
21
  };
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.803.0",
4
+ "version": "3.804.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.799.0",
24
- "@aws-sdk/credential-provider-node": "3.803.0",
25
- "@aws-sdk/middleware-host-header": "3.775.0",
26
- "@aws-sdk/middleware-logger": "3.775.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.799.0",
29
- "@aws-sdk/region-config-resolver": "3.775.0",
30
- "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.787.0",
32
- "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.799.0",
23
+ "@aws-sdk/core": "3.804.0",
24
+ "@aws-sdk/credential-provider-node": "3.804.0",
25
+ "@aws-sdk/middleware-host-header": "3.804.0",
26
+ "@aws-sdk/middleware-logger": "3.804.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.804.0",
29
+ "@aws-sdk/region-config-resolver": "3.804.0",
30
+ "@aws-sdk/types": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.804.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
33
+ "@aws-sdk/util-user-agent-node": "3.804.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.3.0",
35
+ "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
- "@smithy/middleware-compression": "^4.1.1",
39
+ "@smithy/middleware-compression": "^4.1.2",
40
40
  "@smithy/middleware-content-length": "^4.0.2",
41
- "@smithy/middleware-endpoint": "^4.1.1",
42
- "@smithy/middleware-retry": "^4.1.2",
41
+ "@smithy/middleware-endpoint": "^4.1.2",
42
+ "@smithy/middleware-retry": "^4.1.3",
43
43
  "@smithy/middleware-serde": "^4.0.3",
44
44
  "@smithy/middleware-stack": "^4.0.2",
45
45
  "@smithy/node-config-provider": "^4.0.2",
46
46
  "@smithy/node-http-handler": "^4.0.4",
47
47
  "@smithy/protocol-http": "^5.1.0",
48
- "@smithy/smithy-client": "^4.2.1",
48
+ "@smithy/smithy-client": "^4.2.2",
49
49
  "@smithy/types": "^4.2.0",
50
50
  "@smithy/url-parser": "^4.0.2",
51
51
  "@smithy/util-base64": "^4.0.0",
52
52
  "@smithy/util-body-length-browser": "^4.0.0",
53
53
  "@smithy/util-body-length-node": "^4.0.0",
54
- "@smithy/util-defaults-mode-browser": "^4.0.9",
55
- "@smithy/util-defaults-mode-node": "^4.0.9",
54
+ "@smithy/util-defaults-mode-browser": "^4.0.10",
55
+ "@smithy/util-defaults-mode-node": "^4.0.10",
56
56
  "@smithy/util-endpoints": "^3.0.2",
57
57
  "@smithy/util-middleware": "^4.0.2",
58
58
  "@smithy/util-retry": "^4.0.3",
@@ -66,7 +66,7 @@
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~5.2.2"
69
+ "typescript": "~5.8.3"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=18.0.0"