@aws-sdk/client-cloudwatch 3.1139.0 → 3.1140.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/README.md +35 -0
  2. package/dist-cjs/index.js +186 -12
  3. package/dist-es/CloudWatch.js +10 -0
  4. package/dist-es/commands/CreateResourceMetricsConfigurationCommand.js +4 -0
  5. package/dist-es/commands/DeleteResourceMetricsConfigurationCommand.js +4 -0
  6. package/dist-es/commands/GetResourceMetricsConfigurationCommand.js +4 -0
  7. package/dist-es/commands/UpdateOTelEnrichmentCommand.js +4 -0
  8. package/dist-es/commands/UpdateResourceMetricsConfigurationCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/errors.js +12 -0
  11. package/dist-es/schemas/schemas_0.js +131 -12
  12. package/dist-types/CloudWatch.d.ts +36 -0
  13. package/dist-types/CloudWatchClient.d.ts +7 -2
  14. package/dist-types/commands/CreateResourceMetricsConfigurationCommand.d.ts +108 -0
  15. package/dist-types/commands/DeleteResourceMetricsConfigurationCommand.d.ts +82 -0
  16. package/dist-types/commands/GetDashboardCommand.d.ts +7 -0
  17. package/dist-types/commands/GetMetricDataCommand.d.ts +4 -2
  18. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +18 -0
  19. package/dist-types/commands/GetResourceMetricsConfigurationCommand.d.ts +93 -0
  20. package/dist-types/commands/ListDashboardsCommand.d.ts +7 -0
  21. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +49 -4
  22. package/dist-types/commands/UpdateOTelEnrichmentCommand.d.ts +118 -0
  23. package/dist-types/commands/UpdateResourceMetricsConfigurationCommand.d.ts +104 -0
  24. package/dist-types/commands/index.d.ts +5 -0
  25. package/dist-types/models/errors.d.ts +13 -0
  26. package/dist-types/models/models_0.d.ts +301 -0
  27. package/dist-types/schemas/schemas_0.d.ts +19 -0
  28. package/dist-types/ts3.4/CloudWatch.d.ts +86 -0
  29. package/dist-types/ts3.4/CloudWatchClient.d.ts +32 -2
  30. package/dist-types/ts3.4/commands/CreateResourceMetricsConfigurationCommand.d.ts +42 -0
  31. package/dist-types/ts3.4/commands/DeleteResourceMetricsConfigurationCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/GetResourceMetricsConfigurationCommand.d.ts +42 -0
  33. package/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +2 -2
  34. package/dist-types/ts3.4/commands/UpdateOTelEnrichmentCommand.d.ts +39 -0
  35. package/dist-types/ts3.4/commands/UpdateResourceMetricsConfigurationCommand.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  37. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +61 -2
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
  40. package/package.json +1 -1
@@ -735,6 +735,87 @@ export interface CompositeAlarm {
735
735
  */
736
736
  ActionsSuppressorExtensionPeriod?: number | undefined;
737
737
  }
738
+ /**
739
+ * <p>Specifies which metrics Amazon CloudWatch collects for a resource metrics
740
+ * configuration. Include this in a <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_CreateResourceMetricsConfiguration.html">CreateResourceMetricsConfiguration</a> or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html">UpdateResourceMetricsConfiguration</a> request to limit collection to a specific
741
+ * set of metrics. If you omit metric selections, Amazon CloudWatch collects all
742
+ * available detailed metrics for the resource.</p>
743
+ * @public
744
+ */
745
+ export interface ResourceMetricSelection {
746
+ /**
747
+ * <p>The names of the metrics to collect for the resource. Amazon CloudWatch collects
748
+ * only the metrics that you list here.</p>
749
+ * @public
750
+ */
751
+ IncludeMetrics: string[] | undefined;
752
+ }
753
+ /**
754
+ * <p>Specifies the resource ARN and optional metric selections for a
755
+ * <code>CreateResourceMetricsConfiguration</code> request.</p>
756
+ * @public
757
+ */
758
+ export interface CreateResourceMetricsConfigurationInput {
759
+ /**
760
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to enable detailed
761
+ * monitoring for.</p>
762
+ * @public
763
+ */
764
+ ResourceArn: string | undefined;
765
+ /**
766
+ * <p>Specifies which metrics Amazon CloudWatch collects for the resource. If you omit
767
+ * this parameter, Amazon CloudWatch collects all available detailed metrics for the
768
+ * resource.</p>
769
+ * @public
770
+ */
771
+ MetricSelections?: ResourceMetricSelection[] | undefined;
772
+ }
773
+ /**
774
+ * <p>Represents a resource metrics configuration for an Amazon Web Services resource. A
775
+ * resource metrics configuration enables detailed metric collection for the resource that
776
+ * is identified by its Amazon Resource Name (ARN). Each Amazon Web Services resource can
777
+ * have only one resource metrics configuration.</p>
778
+ * <p>This structure is returned by the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_CreateResourceMetricsConfiguration.html">CreateResourceMetricsConfiguration</a>, <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateResourceMetricsConfiguration.html">UpdateResourceMetricsConfiguration</a>, and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetResourceMetricsConfiguration.html">GetResourceMetricsConfiguration</a> operations.</p>
779
+ * @public
780
+ */
781
+ export interface ResourceMetricsConfiguration {
782
+ /**
783
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource that this
784
+ * configuration applies to.</p>
785
+ * @public
786
+ */
787
+ ResourceArn: string | undefined;
788
+ /**
789
+ * <p>The date and time that the resource metrics configuration was created.</p>
790
+ * @public
791
+ */
792
+ CreatedAt: Date | undefined;
793
+ /**
794
+ * <p>The date and time that the resource metrics configuration was last updated. When the
795
+ * configuration is first created, this value is the same as
796
+ * <code>CreatedAt</code>.</p>
797
+ * @public
798
+ */
799
+ UpdatedAt: Date | undefined;
800
+ /**
801
+ * <p>The metrics that Amazon CloudWatch collects for the resource. If this field is not
802
+ * present, Amazon CloudWatch collects all available detailed metrics for the
803
+ * resource.</p>
804
+ * @public
805
+ */
806
+ MetricSelections?: ResourceMetricSelection[] | undefined;
807
+ }
808
+ /**
809
+ * <p>Returns the newly created resource metrics configuration.</p>
810
+ * @public
811
+ */
812
+ export interface CreateResourceMetricsConfigurationOutput {
813
+ /**
814
+ * <p>The resource metrics configuration that was created by this operation.</p>
815
+ * @public
816
+ */
817
+ ResourceMetricsConfiguration: ResourceMetricsConfiguration | undefined;
818
+ }
738
819
  /**
739
820
  * <p>Represents a specific dashboard.</p>
740
821
  * @public
@@ -1013,6 +1094,25 @@ export interface DeleteMetricStreamInput {
1013
1094
  */
1014
1095
  export interface DeleteMetricStreamOutput {
1015
1096
  }
1097
+ /**
1098
+ * <p>Specifies the resource ARN for a <code>DeleteResourceMetricsConfiguration</code>
1099
+ * request.</p>
1100
+ * @public
1101
+ */
1102
+ export interface DeleteResourceMetricsConfigurationInput {
1103
+ /**
1104
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to delete the
1105
+ * resource metrics configuration for.</p>
1106
+ * @public
1107
+ */
1108
+ ResourceArn: string | undefined;
1109
+ }
1110
+ /**
1111
+ * <p>No data is returned.</p>
1112
+ * @public
1113
+ */
1114
+ export interface DeleteResourceMetricsConfigurationOutput {
1115
+ }
1016
1116
  /**
1017
1117
  * @public
1018
1118
  */
@@ -3413,6 +3513,29 @@ export interface GetMetricWidgetImageOutput {
3413
3513
  */
3414
3514
  export interface GetOTelEnrichmentInput {
3415
3515
  }
3516
+ /**
3517
+ * <p>Selects the metrics in one namespace, for use in the <code>IncludeFilters</code> or
3518
+ * <code>ExcludeFilters</code> parameter of <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_StartOTelEnrichment.html">StartOTelEnrichment</a> or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UpdateOTelEnrichment.html">UpdateOTelEnrichment</a>.</p>
3519
+ * <p>A maximum of 100 selectors is allowed across <code>IncludeFilters</code> and
3520
+ * <code>ExcludeFilters</code> combined.</p>
3521
+ * @public
3522
+ */
3523
+ export interface OTelEnrichmentMetricSelector {
3524
+ /**
3525
+ * <p>The namespace of the metrics to select. Namespaces are matched exactly and are
3526
+ * case-sensitive.</p>
3527
+ * @public
3528
+ */
3529
+ Namespace: string | undefined;
3530
+ /**
3531
+ * <p>The names of the metrics to select within the namespace. Metric names are matched
3532
+ * exactly and are case-sensitive. If this parameter is omitted, every metric in the
3533
+ * namespace is selected.</p>
3534
+ * <p>A maximum of 100 metric names is allowed for each selector.</p>
3535
+ * @public
3536
+ */
3537
+ MetricNames?: string[] | undefined;
3538
+ }
3416
3539
  /**
3417
3540
  * @public
3418
3541
  */
@@ -3424,6 +3547,56 @@ export interface GetOTelEnrichmentOutput {
3424
3547
  * @public
3425
3548
  */
3426
3549
  Status: OTelEnrichmentStatus | undefined;
3550
+ /**
3551
+ * <p>The metric namespaces, and the metric names, that are enriched. This parameter is
3552
+ * omitted when enrichment is stopped, and when enrichment is running with no include
3553
+ * filters, which means that every supported namespace is in scope.</p>
3554
+ * @public
3555
+ */
3556
+ IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
3557
+ /**
3558
+ * <p>The metric namespaces, and the metric names, that are left unenriched. This
3559
+ * parameter is omitted when enrichment is stopped, and when enrichment is running with no
3560
+ * exclude filters, which means that nothing is excluded.</p>
3561
+ * @public
3562
+ */
3563
+ ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
3564
+ /**
3565
+ * <p>The date and time that enrichment started for the account. This parameter is
3566
+ * omitted when enrichment is stopped.</p>
3567
+ * @public
3568
+ */
3569
+ CreatedAt?: Date | undefined;
3570
+ /**
3571
+ * <p>The date and time that the enrichment configuration for the account was last
3572
+ * stored.</p>
3573
+ * @public
3574
+ */
3575
+ UpdatedAt?: Date | undefined;
3576
+ }
3577
+ /**
3578
+ * <p>Specifies the resource ARN for a <code>GetResourceMetricsConfiguration</code>
3579
+ * request.</p>
3580
+ * @public
3581
+ */
3582
+ export interface GetResourceMetricsConfigurationInput {
3583
+ /**
3584
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to retrieve the
3585
+ * resource metrics configuration for.</p>
3586
+ * @public
3587
+ */
3588
+ ResourceArn: string | undefined;
3589
+ }
3590
+ /**
3591
+ * <p>Returns the current resource metrics configuration for the specified resource.</p>
3592
+ * @public
3593
+ */
3594
+ export interface GetResourceMetricsConfigurationOutput {
3595
+ /**
3596
+ * <p>The resource metrics configuration for the specified resource.</p>
3597
+ * @public
3598
+ */
3599
+ ResourceMetricsConfiguration: ResourceMetricsConfiguration | undefined;
3427
3600
  }
3428
3601
  /**
3429
3602
  * @public
@@ -5489,11 +5662,52 @@ export interface StartMetricStreamsOutput {
5489
5662
  * @public
5490
5663
  */
5491
5664
  export interface StartOTelEnrichmentInput {
5665
+ /**
5666
+ * <p>The metric namespaces, and the metric names, to enrich. If this parameter is
5667
+ * omitted, every namespace that Amazon CloudWatch supports for enrichment is in
5668
+ * scope.</p>
5669
+ * <p>A maximum of 100 filters is allowed across <code>IncludeFilters</code> and
5670
+ * <code>ExcludeFilters</code> combined.</p>
5671
+ * @public
5672
+ */
5673
+ IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5674
+ /**
5675
+ * <p>The metric namespaces, and the metric names, to leave unenriched. If this parameter
5676
+ * is omitted, nothing is excluded.</p>
5677
+ * <p>Amazon CloudWatch applies <code>ExcludeFilters</code> after
5678
+ * <code>IncludeFilters</code>, so a metric that both parameters match is not
5679
+ * enriched.</p>
5680
+ * <p>A maximum of 100 filters is allowed across <code>IncludeFilters</code> and
5681
+ * <code>ExcludeFilters</code> combined.</p>
5682
+ * @public
5683
+ */
5684
+ ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5492
5685
  }
5493
5686
  /**
5494
5687
  * @public
5495
5688
  */
5496
5689
  export interface StartOTelEnrichmentOutput {
5690
+ /**
5691
+ * <p>The include filters that are stored for the account.</p>
5692
+ * @public
5693
+ */
5694
+ IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5695
+ /**
5696
+ * <p>The exclude filters that are stored for the account.</p>
5697
+ * @public
5698
+ */
5699
+ ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5700
+ /**
5701
+ * <p>The date and time that enrichment started for the account.</p>
5702
+ * @public
5703
+ */
5704
+ CreatedAt?: Date | undefined;
5705
+ /**
5706
+ * <p>The date and time that the enrichment configuration for the account was last
5707
+ * stored.</p>
5708
+ * @public
5709
+ */
5710
+ UpdatedAt?: Date | undefined;
5497
5711
  }
5498
5712
  /**
5499
5713
  * @public
@@ -5599,3 +5813,90 @@ export interface UntagResourceInput {
5599
5813
  */
5600
5814
  export interface UntagResourceOutput {
5601
5815
  }
5816
+ /**
5817
+ * @public
5818
+ */
5819
+ export interface UpdateOTelEnrichmentInput {
5820
+ /**
5821
+ * <p>The metric namespaces, and the metric names, to enrich. If this parameter is
5822
+ * omitted, every namespace that Amazon CloudWatch supports for enrichment is in
5823
+ * scope.</p>
5824
+ * <p>A maximum of 100 filters is allowed across <code>IncludeFilters</code> and
5825
+ * <code>ExcludeFilters</code> combined.</p>
5826
+ * @public
5827
+ */
5828
+ IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5829
+ /**
5830
+ * <p>The metric namespaces, and the metric names, to leave unenriched. If this parameter
5831
+ * is omitted, nothing is excluded.</p>
5832
+ * <p>Amazon CloudWatch applies <code>ExcludeFilters</code> after
5833
+ * <code>IncludeFilters</code>, so a metric that both parameters match is not
5834
+ * enriched.</p>
5835
+ * <p>A maximum of 100 filters is allowed across <code>IncludeFilters</code> and
5836
+ * <code>ExcludeFilters</code> combined.</p>
5837
+ * @public
5838
+ */
5839
+ ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5840
+ }
5841
+ /**
5842
+ * @public
5843
+ */
5844
+ export interface UpdateOTelEnrichmentOutput {
5845
+ /**
5846
+ * <p>The include filters that are stored for the account after the replacement. This
5847
+ * parameter is omitted when the request cleared the include filters, which means that
5848
+ * every supported namespace is in scope.</p>
5849
+ * @public
5850
+ */
5851
+ IncludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5852
+ /**
5853
+ * <p>The exclude filters that are stored for the account after the replacement. This
5854
+ * parameter is omitted when the request cleared the exclude filters, which means that
5855
+ * nothing is excluded.</p>
5856
+ * @public
5857
+ */
5858
+ ExcludeFilters?: OTelEnrichmentMetricSelector[] | undefined;
5859
+ /**
5860
+ * <p>The date and time that enrichment started for the account.</p>
5861
+ * @public
5862
+ */
5863
+ CreatedAt?: Date | undefined;
5864
+ /**
5865
+ * <p>The date and time that the enrichment configuration for the account was last
5866
+ * stored.</p>
5867
+ * @public
5868
+ */
5869
+ UpdatedAt?: Date | undefined;
5870
+ }
5871
+ /**
5872
+ * <p>Specifies the resource ARN and optional replacement metric selections for an
5873
+ * <code>UpdateResourceMetricsConfiguration</code> request.</p>
5874
+ * @public
5875
+ */
5876
+ export interface UpdateResourceMetricsConfigurationInput {
5877
+ /**
5878
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to update the
5879
+ * resource metrics configuration for.</p>
5880
+ * @public
5881
+ */
5882
+ ResourceArn: string | undefined;
5883
+ /**
5884
+ * <p>Specifies which metrics Amazon CloudWatch collects for the resource. The selections
5885
+ * that you provide completely replace any existing metric selections.</p>
5886
+ * <p>If you omit this parameter, Amazon CloudWatch removes any existing metric selection
5887
+ * filter and collects all available detailed metrics for the resource.</p>
5888
+ * @public
5889
+ */
5890
+ MetricSelections?: ResourceMetricSelection[] | undefined;
5891
+ }
5892
+ /**
5893
+ * <p>Returns the updated resource metrics configuration.</p>
5894
+ * @public
5895
+ */
5896
+ export interface UpdateResourceMetricsConfigurationOutput {
5897
+ /**
5898
+ * <p>The resource metrics configuration after the update was applied.</p>
5899
+ * @public
5900
+ */
5901
+ ResourceMetricsConfiguration: ResourceMetricsConfiguration | undefined;
5902
+ }
@@ -19,6 +19,7 @@ export declare var MissingRequiredParameterException$: StaticErrorSchema;
19
19
  export declare var ResourceConflict$: StaticErrorSchema;
20
20
  export declare var ResourceNotFound$: StaticErrorSchema;
21
21
  export declare var ResourceNotFoundException$: StaticErrorSchema;
22
+ export declare var ValidationException$: StaticErrorSchema;
22
23
  /**
23
24
  * TypeRegistry instances containing modeled errors.
24
25
  * @internal
@@ -34,6 +35,8 @@ export declare var AnomalyDetectorConfiguration$: StaticStructureSchema;
34
35
  export declare var AssociateDatasetKmsKeyInput$: StaticStructureSchema;
35
36
  export declare var AssociateDatasetKmsKeyOutput$: StaticStructureSchema;
36
37
  export declare var CompositeAlarm$: StaticStructureSchema;
38
+ export declare var CreateResourceMetricsConfigurationInput$: StaticStructureSchema;
39
+ export declare var CreateResourceMetricsConfigurationOutput$: StaticStructureSchema;
37
40
  export declare var DashboardEntry$: StaticStructureSchema;
38
41
  export declare var DashboardValidationMessage$: StaticStructureSchema;
39
42
  export declare var Datapoint$: StaticStructureSchema;
@@ -47,6 +50,8 @@ export declare var DeleteInsightRulesInput$: StaticStructureSchema;
47
50
  export declare var DeleteInsightRulesOutput$: StaticStructureSchema;
48
51
  export declare var DeleteMetricStreamInput$: StaticStructureSchema;
49
52
  export declare var DeleteMetricStreamOutput$: StaticStructureSchema;
53
+ export declare var DeleteResourceMetricsConfigurationInput$: StaticStructureSchema;
54
+ export declare var DeleteResourceMetricsConfigurationOutput$: StaticStructureSchema;
50
55
  export declare var DescribeAlarmContributorsInput$: StaticStructureSchema;
51
56
  export declare var DescribeAlarmContributorsOutput$: StaticStructureSchema;
52
57
  export declare var DescribeAlarmHistoryInput$: StaticStructureSchema;
@@ -89,6 +94,8 @@ export declare var GetMetricWidgetImageInput$: StaticStructureSchema;
89
94
  export declare var GetMetricWidgetImageOutput$: StaticStructureSchema;
90
95
  export declare var GetOTelEnrichmentInput$: StaticStructureSchema;
91
96
  export declare var GetOTelEnrichmentOutput$: StaticStructureSchema;
97
+ export declare var GetResourceMetricsConfigurationInput$: StaticStructureSchema;
98
+ export declare var GetResourceMetricsConfigurationOutput$: StaticStructureSchema;
92
99
  export declare var InsightRule$: StaticStructureSchema;
93
100
  export declare var InsightRuleContributor$: StaticStructureSchema;
94
101
  export declare var InsightRuleContributorDatapoint$: StaticStructureSchema;
@@ -124,6 +131,7 @@ export declare var MetricStreamFilter$: StaticStructureSchema;
124
131
  export declare var MetricStreamStatisticsConfiguration$: StaticStructureSchema;
125
132
  export declare var MetricStreamStatisticsMetric$: StaticStructureSchema;
126
133
  export declare var MuteTargets$: StaticStructureSchema;
134
+ export declare var OTelEnrichmentMetricSelector$: StaticStructureSchema;
127
135
  export declare var PartialFailure$: StaticStructureSchema;
128
136
  export declare var PutAlarmMuteRuleInput$: StaticStructureSchema;
129
137
  export declare var PutAnomalyDetectorInput$: StaticStructureSchema;
@@ -141,6 +149,8 @@ export declare var PutMetricDataInput$: StaticStructureSchema;
141
149
  export declare var PutMetricStreamInput$: StaticStructureSchema;
142
150
  export declare var PutMetricStreamOutput$: StaticStructureSchema;
143
151
  export declare var Range$: StaticStructureSchema;
152
+ export declare var ResourceMetricsConfiguration$: StaticStructureSchema;
153
+ export declare var ResourceMetricSelection$: StaticStructureSchema;
144
154
  export declare var Rule$: StaticStructureSchema;
145
155
  export declare var Schedule$: StaticStructureSchema;
146
156
  export declare var ScheduleConfiguration$: StaticStructureSchema;
@@ -162,17 +172,23 @@ export declare var TagResourceInput$: StaticStructureSchema;
162
172
  export declare var TagResourceOutput$: StaticStructureSchema;
163
173
  export declare var UntagResourceInput$: StaticStructureSchema;
164
174
  export declare var UntagResourceOutput$: StaticStructureSchema;
175
+ export declare var UpdateOTelEnrichmentInput$: StaticStructureSchema;
176
+ export declare var UpdateOTelEnrichmentOutput$: StaticStructureSchema;
177
+ export declare var UpdateResourceMetricsConfigurationInput$: StaticStructureSchema;
178
+ export declare var UpdateResourceMetricsConfigurationOutput$: StaticStructureSchema;
165
179
  export declare var WallClockWindow$: StaticStructureSchema;
166
180
  export declare var WarmUpConfiguration$: StaticStructureSchema;
167
181
  export declare var EvaluationCriteria$: StaticUnionSchema;
168
182
  export declare var EvaluationWindow$: StaticUnionSchema;
169
183
  export declare var AssociateDatasetKmsKey$: StaticOperationSchema;
184
+ export declare var CreateResourceMetricsConfiguration$: StaticOperationSchema;
170
185
  export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
171
186
  export declare var DeleteAlarms$: StaticOperationSchema;
172
187
  export declare var DeleteAnomalyDetector$: StaticOperationSchema;
173
188
  export declare var DeleteDashboards$: StaticOperationSchema;
174
189
  export declare var DeleteInsightRules$: StaticOperationSchema;
175
190
  export declare var DeleteMetricStream$: StaticOperationSchema;
191
+ export declare var DeleteResourceMetricsConfiguration$: StaticOperationSchema;
176
192
  export declare var DescribeAlarmContributors$: StaticOperationSchema;
177
193
  export declare var DescribeAlarmHistory$: StaticOperationSchema;
178
194
  export declare var DescribeAlarms$: StaticOperationSchema;
@@ -193,6 +209,7 @@ export declare var GetMetricStatistics$: StaticOperationSchema;
193
209
  export declare var GetMetricStream$: StaticOperationSchema;
194
210
  export declare var GetMetricWidgetImage$: StaticOperationSchema;
195
211
  export declare var GetOTelEnrichment$: StaticOperationSchema;
212
+ export declare var GetResourceMetricsConfiguration$: StaticOperationSchema;
196
213
  export declare var ListAlarmMuteRules$: StaticOperationSchema;
197
214
  export declare var ListDashboards$: StaticOperationSchema;
198
215
  export declare var ListManagedInsightRules$: StaticOperationSchema;
@@ -216,3 +233,5 @@ export declare var StopMetricStreams$: StaticOperationSchema;
216
233
  export declare var StopOTelEnrichment$: StaticOperationSchema;
217
234
  export declare var TagResource$: StaticOperationSchema;
218
235
  export declare var UntagResource$: StaticOperationSchema;
236
+ export declare var UpdateOTelEnrichment$: StaticOperationSchema;
237
+ export declare var UpdateResourceMetricsConfiguration$: StaticOperationSchema;
@@ -11,6 +11,10 @@ import {
11
11
  AssociateDatasetKmsKeyCommandInput,
12
12
  AssociateDatasetKmsKeyCommandOutput,
13
13
  } from "./commands/AssociateDatasetKmsKeyCommand";
14
+ import {
15
+ CreateResourceMetricsConfigurationCommandInput,
16
+ CreateResourceMetricsConfigurationCommandOutput,
17
+ } from "./commands/CreateResourceMetricsConfigurationCommand";
14
18
  import {
15
19
  DeleteAlarmMuteRuleCommandInput,
16
20
  DeleteAlarmMuteRuleCommandOutput,
@@ -35,6 +39,10 @@ import {
35
39
  DeleteMetricStreamCommandInput,
36
40
  DeleteMetricStreamCommandOutput,
37
41
  } from "./commands/DeleteMetricStreamCommand";
42
+ import {
43
+ DeleteResourceMetricsConfigurationCommandInput,
44
+ DeleteResourceMetricsConfigurationCommandOutput,
45
+ } from "./commands/DeleteResourceMetricsConfigurationCommand";
38
46
  import {
39
47
  DescribeAlarmContributorsCommandInput,
40
48
  DescribeAlarmContributorsCommandOutput,
@@ -112,6 +120,10 @@ import {
112
120
  GetOTelEnrichmentCommandInput,
113
121
  GetOTelEnrichmentCommandOutput,
114
122
  } from "./commands/GetOTelEnrichmentCommand";
123
+ import {
124
+ GetResourceMetricsConfigurationCommandInput,
125
+ GetResourceMetricsConfigurationCommandOutput,
126
+ } from "./commands/GetResourceMetricsConfigurationCommand";
115
127
  import {
116
128
  ListAlarmMuteRulesCommandInput,
117
129
  ListAlarmMuteRulesCommandOutput,
@@ -195,6 +207,14 @@ import {
195
207
  UntagResourceCommandInput,
196
208
  UntagResourceCommandOutput,
197
209
  } from "./commands/UntagResourceCommand";
210
+ import {
211
+ UpdateOTelEnrichmentCommandInput,
212
+ UpdateOTelEnrichmentCommandOutput,
213
+ } from "./commands/UpdateOTelEnrichmentCommand";
214
+ import {
215
+ UpdateResourceMetricsConfigurationCommandInput,
216
+ UpdateResourceMetricsConfigurationCommandOutput,
217
+ } from "./commands/UpdateResourceMetricsConfigurationCommand";
198
218
  export interface CloudWatchRequestOptions extends __HttpHandlerOptions {
199
219
  metricsRecorder?: __MetricsRecorder<unknown>;
200
220
  }
@@ -212,6 +232,19 @@ export interface CloudWatch {
212
232
  options: CloudWatchRequestOptions,
213
233
  cb: (err: any, data?: AssociateDatasetKmsKeyCommandOutput) => void,
214
234
  ): void;
235
+ createResourceMetricsConfiguration(
236
+ args: CreateResourceMetricsConfigurationCommandInput,
237
+ options?: CloudWatchRequestOptions,
238
+ ): Promise<CreateResourceMetricsConfigurationCommandOutput>;
239
+ createResourceMetricsConfiguration(
240
+ args: CreateResourceMetricsConfigurationCommandInput,
241
+ cb: (err: any, data?: CreateResourceMetricsConfigurationCommandOutput) => void,
242
+ ): void;
243
+ createResourceMetricsConfiguration(
244
+ args: CreateResourceMetricsConfigurationCommandInput,
245
+ options: CloudWatchRequestOptions,
246
+ cb: (err: any, data?: CreateResourceMetricsConfigurationCommandOutput) => void,
247
+ ): void;
215
248
  deleteAlarmMuteRule(
216
249
  args: DeleteAlarmMuteRuleCommandInput,
217
250
  options?: CloudWatchRequestOptions,
@@ -291,6 +324,19 @@ export interface CloudWatch {
291
324
  options: CloudWatchRequestOptions,
292
325
  cb: (err: any, data?: DeleteMetricStreamCommandOutput) => void,
293
326
  ): void;
327
+ deleteResourceMetricsConfiguration(
328
+ args: DeleteResourceMetricsConfigurationCommandInput,
329
+ options?: CloudWatchRequestOptions,
330
+ ): Promise<DeleteResourceMetricsConfigurationCommandOutput>;
331
+ deleteResourceMetricsConfiguration(
332
+ args: DeleteResourceMetricsConfigurationCommandInput,
333
+ cb: (err: any, data?: DeleteResourceMetricsConfigurationCommandOutput) => void,
334
+ ): void;
335
+ deleteResourceMetricsConfiguration(
336
+ args: DeleteResourceMetricsConfigurationCommandInput,
337
+ options: CloudWatchRequestOptions,
338
+ cb: (err: any, data?: DeleteResourceMetricsConfigurationCommandOutput) => void,
339
+ ): void;
294
340
  describeAlarmContributors(
295
341
  args: DescribeAlarmContributorsCommandInput,
296
342
  options?: CloudWatchRequestOptions,
@@ -556,6 +602,19 @@ export interface CloudWatch {
556
602
  options: CloudWatchRequestOptions,
557
603
  cb: (err: any, data?: GetOTelEnrichmentCommandOutput) => void,
558
604
  ): void;
605
+ getResourceMetricsConfiguration(
606
+ args: GetResourceMetricsConfigurationCommandInput,
607
+ options?: CloudWatchRequestOptions,
608
+ ): Promise<GetResourceMetricsConfigurationCommandOutput>;
609
+ getResourceMetricsConfiguration(
610
+ args: GetResourceMetricsConfigurationCommandInput,
611
+ cb: (err: any, data?: GetResourceMetricsConfigurationCommandOutput) => void,
612
+ ): void;
613
+ getResourceMetricsConfiguration(
614
+ args: GetResourceMetricsConfigurationCommandInput,
615
+ options: CloudWatchRequestOptions,
616
+ cb: (err: any, data?: GetResourceMetricsConfigurationCommandOutput) => void,
617
+ ): void;
559
618
  listAlarmMuteRules(): Promise<ListAlarmMuteRulesCommandOutput>;
560
619
  listAlarmMuteRules(
561
620
  args: ListAlarmMuteRulesCommandInput,
@@ -862,6 +921,33 @@ export interface CloudWatch {
862
921
  options: CloudWatchRequestOptions,
863
922
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
864
923
  ): void;
924
+ updateOTelEnrichment(): Promise<UpdateOTelEnrichmentCommandOutput>;
925
+ updateOTelEnrichment(
926
+ args: UpdateOTelEnrichmentCommandInput,
927
+ options?: CloudWatchRequestOptions,
928
+ ): Promise<UpdateOTelEnrichmentCommandOutput>;
929
+ updateOTelEnrichment(
930
+ args: UpdateOTelEnrichmentCommandInput,
931
+ cb: (err: any, data?: UpdateOTelEnrichmentCommandOutput) => void,
932
+ ): void;
933
+ updateOTelEnrichment(
934
+ args: UpdateOTelEnrichmentCommandInput,
935
+ options: CloudWatchRequestOptions,
936
+ cb: (err: any, data?: UpdateOTelEnrichmentCommandOutput) => void,
937
+ ): void;
938
+ updateResourceMetricsConfiguration(
939
+ args: UpdateResourceMetricsConfigurationCommandInput,
940
+ options?: CloudWatchRequestOptions,
941
+ ): Promise<UpdateResourceMetricsConfigurationCommandOutput>;
942
+ updateResourceMetricsConfiguration(
943
+ args: UpdateResourceMetricsConfigurationCommandInput,
944
+ cb: (err: any, data?: UpdateResourceMetricsConfigurationCommandOutput) => void,
945
+ ): void;
946
+ updateResourceMetricsConfiguration(
947
+ args: UpdateResourceMetricsConfigurationCommandInput,
948
+ options: CloudWatchRequestOptions,
949
+ cb: (err: any, data?: UpdateResourceMetricsConfigurationCommandOutput) => void,
950
+ ): void;
865
951
  paginateDescribeAlarmHistory(
866
952
  args?: DescribeAlarmHistoryCommandInput,
867
953
  paginationConfig?: Pick<
@@ -38,6 +38,10 @@ import {
38
38
  AssociateDatasetKmsKeyCommandInput,
39
39
  AssociateDatasetKmsKeyCommandOutput,
40
40
  } from "./commands/AssociateDatasetKmsKeyCommand";
41
+ import {
42
+ CreateResourceMetricsConfigurationCommandInput,
43
+ CreateResourceMetricsConfigurationCommandOutput,
44
+ } from "./commands/CreateResourceMetricsConfigurationCommand";
41
45
  import {
42
46
  DeleteAlarmMuteRuleCommandInput,
43
47
  DeleteAlarmMuteRuleCommandOutput,
@@ -62,6 +66,10 @@ import {
62
66
  DeleteMetricStreamCommandInput,
63
67
  DeleteMetricStreamCommandOutput,
64
68
  } from "./commands/DeleteMetricStreamCommand";
69
+ import {
70
+ DeleteResourceMetricsConfigurationCommandInput,
71
+ DeleteResourceMetricsConfigurationCommandOutput,
72
+ } from "./commands/DeleteResourceMetricsConfigurationCommand";
65
73
  import {
66
74
  DescribeAlarmContributorsCommandInput,
67
75
  DescribeAlarmContributorsCommandOutput,
@@ -139,6 +147,10 @@ import {
139
147
  GetOTelEnrichmentCommandInput,
140
148
  GetOTelEnrichmentCommandOutput,
141
149
  } from "./commands/GetOTelEnrichmentCommand";
150
+ import {
151
+ GetResourceMetricsConfigurationCommandInput,
152
+ GetResourceMetricsConfigurationCommandOutput,
153
+ } from "./commands/GetResourceMetricsConfigurationCommand";
142
154
  import {
143
155
  ListAlarmMuteRulesCommandInput,
144
156
  ListAlarmMuteRulesCommandOutput,
@@ -222,6 +234,14 @@ import {
222
234
  UntagResourceCommandInput,
223
235
  UntagResourceCommandOutput,
224
236
  } from "./commands/UntagResourceCommand";
237
+ import {
238
+ UpdateOTelEnrichmentCommandInput,
239
+ UpdateOTelEnrichmentCommandOutput,
240
+ } from "./commands/UpdateOTelEnrichmentCommand";
241
+ import {
242
+ UpdateResourceMetricsConfigurationCommandInput,
243
+ UpdateResourceMetricsConfigurationCommandOutput,
244
+ } from "./commands/UpdateResourceMetricsConfigurationCommand";
225
245
  import {
226
246
  ClientInputEndpointParameters,
227
247
  ClientResolvedEndpointParameters,
@@ -231,12 +251,14 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
231
251
  export { __Client };
232
252
  export type ServiceInputTypes =
233
253
  | AssociateDatasetKmsKeyCommandInput
254
+ | CreateResourceMetricsConfigurationCommandInput
234
255
  | DeleteAlarmMuteRuleCommandInput
235
256
  | DeleteAlarmsCommandInput
236
257
  | DeleteAnomalyDetectorCommandInput
237
258
  | DeleteDashboardsCommandInput
238
259
  | DeleteInsightRulesCommandInput
239
260
  | DeleteMetricStreamCommandInput
261
+ | DeleteResourceMetricsConfigurationCommandInput
240
262
  | DescribeAlarmContributorsCommandInput
241
263
  | DescribeAlarmHistoryCommandInput
242
264
  | DescribeAlarmsCommandInput
@@ -257,6 +279,7 @@ export type ServiceInputTypes =
257
279
  | GetMetricStreamCommandInput
258
280
  | GetMetricWidgetImageCommandInput
259
281
  | GetOTelEnrichmentCommandInput
282
+ | GetResourceMetricsConfigurationCommandInput
260
283
  | ListAlarmMuteRulesCommandInput
261
284
  | ListDashboardsCommandInput
262
285
  | ListManagedInsightRulesCommandInput
@@ -279,15 +302,19 @@ export type ServiceInputTypes =
279
302
  | StopMetricStreamsCommandInput
280
303
  | StopOTelEnrichmentCommandInput
281
304
  | TagResourceCommandInput
282
- | UntagResourceCommandInput;
305
+ | UntagResourceCommandInput
306
+ | UpdateOTelEnrichmentCommandInput
307
+ | UpdateResourceMetricsConfigurationCommandInput;
283
308
  export type ServiceOutputTypes =
284
309
  | AssociateDatasetKmsKeyCommandOutput
310
+ | CreateResourceMetricsConfigurationCommandOutput
285
311
  | DeleteAlarmMuteRuleCommandOutput
286
312
  | DeleteAlarmsCommandOutput
287
313
  | DeleteAnomalyDetectorCommandOutput
288
314
  | DeleteDashboardsCommandOutput
289
315
  | DeleteInsightRulesCommandOutput
290
316
  | DeleteMetricStreamCommandOutput
317
+ | DeleteResourceMetricsConfigurationCommandOutput
291
318
  | DescribeAlarmContributorsCommandOutput
292
319
  | DescribeAlarmHistoryCommandOutput
293
320
  | DescribeAlarmsCommandOutput
@@ -308,6 +335,7 @@ export type ServiceOutputTypes =
308
335
  | GetMetricStreamCommandOutput
309
336
  | GetMetricWidgetImageCommandOutput
310
337
  | GetOTelEnrichmentCommandOutput
338
+ | GetResourceMetricsConfigurationCommandOutput
311
339
  | ListAlarmMuteRulesCommandOutput
312
340
  | ListDashboardsCommandOutput
313
341
  | ListManagedInsightRulesCommandOutput
@@ -330,7 +358,9 @@ export type ServiceOutputTypes =
330
358
  | StopMetricStreamsCommandOutput
331
359
  | StopOTelEnrichmentCommandOutput
332
360
  | TagResourceCommandOutput
333
- | UntagResourceCommandOutput;
361
+ | UntagResourceCommandOutput
362
+ | UpdateOTelEnrichmentCommandOutput
363
+ | UpdateResourceMetricsConfigurationCommandOutput;
334
364
  export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
335
365
  requestHandler?: __HttpHandlerUserInput;
336
366
  sha256?: __ChecksumConstructor | __HashConstructor;