@aws-sdk/client-amp 3.1159.0 → 3.1161.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.
- package/dist-cjs/index.js +13 -3
- package/dist-es/schemas/schemas_0.js +11 -2
- package/dist-types/commands/CreateScraperCommand.d.ts +6 -1
- package/dist-types/commands/DescribeScraperCommand.d.ts +5 -0
- package/dist-types/commands/ListScrapersCommand.d.ts +5 -0
- package/dist-types/commands/UpdateScraperCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +38 -5
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1160.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -354,6 +354,7 @@ const _GDSCR = "GetDefaultScraperConfigurationRequest";
|
|
|
354
354
|
const _GDSCRe = "GetDefaultScraperConfigurationResponse";
|
|
355
355
|
const _INE = "IgnoreNearExpected";
|
|
356
356
|
const _ISE = "InternalServerException";
|
|
357
|
+
const _KEC = "KafkaExporterConfiguration";
|
|
357
358
|
const _LAD = "ListAnomalyDetectors";
|
|
358
359
|
const _LADR = "ListAnomalyDetectorsRequest";
|
|
359
360
|
const _LADRi = "ListAnomalyDetectorsResponse";
|
|
@@ -458,6 +459,7 @@ const _c = "client";
|
|
|
458
459
|
const _cA = "createdAt";
|
|
459
460
|
const _cAl = "clusterArn";
|
|
460
461
|
const _cB = "configurationBlob";
|
|
462
|
+
const _cGF = "consumerGroupFilter";
|
|
461
463
|
const _cT = "clientToken";
|
|
462
464
|
const _cWC = "cloudWatchConfiguration";
|
|
463
465
|
const _cWL = "cloudWatchLogs";
|
|
@@ -481,6 +483,7 @@ const _hQ = "httpQuery";
|
|
|
481
483
|
const _iNEFA = "ignoreNearExpectedFromAbove";
|
|
482
484
|
const _iNEFB = "ignoreNearExpectedFromBelow";
|
|
483
485
|
const _iT = "idempotencyToken";
|
|
486
|
+
const _kC = "kafkaConfiguration";
|
|
484
487
|
const _kKA = "kmsKeyArn";
|
|
485
488
|
const _l = "labels";
|
|
486
489
|
const _lC = "loggingConfiguration";
|
|
@@ -541,6 +544,7 @@ const _sk = "skip";
|
|
|
541
544
|
const _so = "source";
|
|
542
545
|
const _st = "status";
|
|
543
546
|
const _t = "tags";
|
|
547
|
+
const _tF = "topicFilter";
|
|
544
548
|
const _tK = "tagKeys";
|
|
545
549
|
const _tRA = "targetRoleArn";
|
|
546
550
|
const _ty = "type";
|
|
@@ -881,6 +885,11 @@ var GetDefaultScraperConfigurationResponse$ = [3, n0, _GDSCRe,
|
|
|
881
885
|
[_co],
|
|
882
886
|
[21], 1
|
|
883
887
|
];
|
|
888
|
+
var KafkaExporterConfiguration$ = [3, n0, _KEC,
|
|
889
|
+
0,
|
|
890
|
+
[_cAl, _tF, _cGF],
|
|
891
|
+
[0, 0, 0], 1
|
|
892
|
+
];
|
|
884
893
|
var LimitsPerLabelSet$ = [3, n0, _LPLS,
|
|
885
894
|
0,
|
|
886
895
|
[_li, _lS],
|
|
@@ -1221,8 +1230,8 @@ var Destination$ = [4, n0, _D,
|
|
|
1221
1230
|
];
|
|
1222
1231
|
var ExporterConfiguration$ = [4, n0, _ECx,
|
|
1223
1232
|
0,
|
|
1224
|
-
[_oSC],
|
|
1225
|
-
[() => OpenSearchExporterConfiguration$]
|
|
1233
|
+
[_oSC, _kC],
|
|
1234
|
+
[() => OpenSearchExporterConfiguration$, () => KafkaExporterConfiguration$]
|
|
1226
1235
|
];
|
|
1227
1236
|
var IgnoreNearExpected$ = [4, n0, _INE,
|
|
1228
1237
|
0,
|
|
@@ -2180,6 +2189,7 @@ exports.GetDefaultScraperConfigurationResponse$ = GetDefaultScraperConfiguration
|
|
|
2180
2189
|
exports.IgnoreNearExpected$ = IgnoreNearExpected$;
|
|
2181
2190
|
exports.InternalServerException = InternalServerException;
|
|
2182
2191
|
exports.InternalServerException$ = InternalServerException$;
|
|
2192
|
+
exports.KafkaExporterConfiguration$ = KafkaExporterConfiguration$;
|
|
2183
2193
|
exports.LimitsPerLabelSet$ = LimitsPerLabelSet$;
|
|
2184
2194
|
exports.LimitsPerLabelSetEntry$ = LimitsPerLabelSetEntry$;
|
|
2185
2195
|
exports.ListAnomalyDetectors$ = ListAnomalyDetectors$;
|
|
@@ -91,6 +91,7 @@ const _GDSCR = "GetDefaultScraperConfigurationRequest";
|
|
|
91
91
|
const _GDSCRe = "GetDefaultScraperConfigurationResponse";
|
|
92
92
|
const _INE = "IgnoreNearExpected";
|
|
93
93
|
const _ISE = "InternalServerException";
|
|
94
|
+
const _KEC = "KafkaExporterConfiguration";
|
|
94
95
|
const _LAD = "ListAnomalyDetectors";
|
|
95
96
|
const _LADR = "ListAnomalyDetectorsRequest";
|
|
96
97
|
const _LADRi = "ListAnomalyDetectorsResponse";
|
|
@@ -195,6 +196,7 @@ const _c = "client";
|
|
|
195
196
|
const _cA = "createdAt";
|
|
196
197
|
const _cAl = "clusterArn";
|
|
197
198
|
const _cB = "configurationBlob";
|
|
199
|
+
const _cGF = "consumerGroupFilter";
|
|
198
200
|
const _cT = "clientToken";
|
|
199
201
|
const _cWC = "cloudWatchConfiguration";
|
|
200
202
|
const _cWL = "cloudWatchLogs";
|
|
@@ -218,6 +220,7 @@ const _hQ = "httpQuery";
|
|
|
218
220
|
const _iNEFA = "ignoreNearExpectedFromAbove";
|
|
219
221
|
const _iNEFB = "ignoreNearExpectedFromBelow";
|
|
220
222
|
const _iT = "idempotencyToken";
|
|
223
|
+
const _kC = "kafkaConfiguration";
|
|
221
224
|
const _kKA = "kmsKeyArn";
|
|
222
225
|
const _l = "labels";
|
|
223
226
|
const _lC = "loggingConfiguration";
|
|
@@ -278,6 +281,7 @@ const _sk = "skip";
|
|
|
278
281
|
const _so = "source";
|
|
279
282
|
const _st = "status";
|
|
280
283
|
const _t = "tags";
|
|
284
|
+
const _tF = "topicFilter";
|
|
281
285
|
const _tK = "tagKeys";
|
|
282
286
|
const _tRA = "targetRoleArn";
|
|
283
287
|
const _ty = "type";
|
|
@@ -621,6 +625,11 @@ export var GetDefaultScraperConfigurationResponse$ = [3, n0, _GDSCRe,
|
|
|
621
625
|
[_co],
|
|
622
626
|
[21], 1
|
|
623
627
|
];
|
|
628
|
+
export var KafkaExporterConfiguration$ = [3, n0, _KEC,
|
|
629
|
+
0,
|
|
630
|
+
[_cAl, _tF, _cGF],
|
|
631
|
+
[0, 0, 0], 1
|
|
632
|
+
];
|
|
624
633
|
export var LimitsPerLabelSet$ = [3, n0, _LPLS,
|
|
625
634
|
0,
|
|
626
635
|
[_li, _lS],
|
|
@@ -972,8 +981,8 @@ export var Destination$ = [4, n0, _D,
|
|
|
972
981
|
];
|
|
973
982
|
export var ExporterConfiguration$ = [4, n0, _ECx,
|
|
974
983
|
0,
|
|
975
|
-
[_oSC],
|
|
976
|
-
[() => OpenSearchExporterConfiguration$]
|
|
984
|
+
[_oSC, _kC],
|
|
985
|
+
[() => OpenSearchExporterConfiguration$, () => KafkaExporterConfiguration$]
|
|
977
986
|
];
|
|
978
987
|
export var IgnoreNearExpected$ = [4, n0, _INE,
|
|
979
988
|
0,
|
|
@@ -24,7 +24,7 @@ declare const CreateScraperCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a scraper to collect metrics from Prometheus-compatible sources. The scraper sends the collected metrics to Amazon Managed Service for Prometheus workspaces or CloudWatch datasets. You can configure scrapers to collect metrics from Amazon EKS clusters, Amazon MSK clusters, or from VPC-based sources that support DNS-based service discovery. Scrapers are flexible. You can configure a scraper to control which metrics to collect, the frequency of collection, which transformations to apply to the metrics, and more.</p> <p>An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your source. You must configure this role with a policy that allows it to scrape metrics from your source. For Amazon EKS sources, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup">Configuring your Amazon EKS cluster</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> <p>The <code>scrapeConfiguration</code> parameter contains the base-64 encoded YAML configuration for the scraper.</p> <p>When creating a scraper, the service creates a <code>Network Interface</code> in each <b>Availability Zone</b> that are passed into <code>CreateScraper</code> through subnets. These network interfaces are used to connect to your source within the VPC for scraping metrics.</p> <note> <p>For more information about collectors, including what metrics are collected, and how to configure the scraper, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html">Using an Amazon Web Services managed collector</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> </note>
|
|
27
|
+
* <p>Creates a scraper to collect metrics from Prometheus-compatible sources. The scraper sends the collected metrics to Amazon Managed Service for Prometheus workspaces or CloudWatch datasets. You can configure scrapers to collect metrics from Amazon EKS clusters, Amazon MSK clusters, or from VPC-based sources that support DNS-based service discovery. Scrapers are flexible. You can configure a scraper to control which metrics to collect, the frequency of collection, which transformations to apply to the metrics, and more.</p> <p>An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your source. You must configure this role with a policy that allows it to scrape metrics from your source. For Amazon EKS sources, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup">Configuring your Amazon EKS cluster</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>. For a Kafka exporter, grant this role access with a cluster policy on the Amazon MSK cluster instead. For details, see <code>KafkaExporterConfiguration</code>.</p> <p>The <code>scrapeConfiguration</code> parameter contains the base-64 encoded YAML configuration for the scraper.</p> <p>When creating a scraper, the service creates a <code>Network Interface</code> in each <b>Availability Zone</b> that are passed into <code>CreateScraper</code> through subnets. These network interfaces are used to connect to your source within the VPC for scraping metrics.</p> <note> <p>For more information about collectors, including what metrics are collected, and how to configure the scraper, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html">Using an Amazon Web Services managed collector</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> </note>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -78,6 +78,11 @@ declare const CreateScraperCommand_base: {
|
|
|
78
78
|
* openSearchConfiguration: { // OpenSearchExporterConfiguration
|
|
79
79
|
* domainArn: "STRING_VALUE", // required
|
|
80
80
|
* },
|
|
81
|
+
* kafkaConfiguration: { // KafkaExporterConfiguration
|
|
82
|
+
* clusterArn: "STRING_VALUE", // required
|
|
83
|
+
* topicFilter: "STRING_VALUE",
|
|
84
|
+
* consumerGroupFilter: "STRING_VALUE",
|
|
85
|
+
* },
|
|
81
86
|
* },
|
|
82
87
|
* ],
|
|
83
88
|
* };
|
|
@@ -92,6 +92,11 @@ declare const DescribeScraperCommand_base: {
|
|
|
92
92
|
* // openSearchConfiguration: { // OpenSearchExporterConfiguration
|
|
93
93
|
* // domainArn: "STRING_VALUE", // required
|
|
94
94
|
* // },
|
|
95
|
+
* // kafkaConfiguration: { // KafkaExporterConfiguration
|
|
96
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
97
|
+
* // topicFilter: "STRING_VALUE",
|
|
98
|
+
* // consumerGroupFilter: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
95
100
|
* // },
|
|
96
101
|
* // ],
|
|
97
102
|
* // },
|
|
@@ -96,6 +96,11 @@ declare const ListScrapersCommand_base: {
|
|
|
96
96
|
* // openSearchConfiguration: { // OpenSearchExporterConfiguration
|
|
97
97
|
* // domainArn: "STRING_VALUE", // required
|
|
98
98
|
* // },
|
|
99
|
+
* // kafkaConfiguration: { // KafkaExporterConfiguration
|
|
100
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
101
|
+
* // topicFilter: "STRING_VALUE",
|
|
102
|
+
* // consumerGroupFilter: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
99
104
|
* // },
|
|
100
105
|
* // ],
|
|
101
106
|
* // },
|
|
@@ -57,6 +57,11 @@ declare const UpdateScraperCommand_base: {
|
|
|
57
57
|
* openSearchConfiguration: { // OpenSearchExporterConfiguration
|
|
58
58
|
* domainArn: "STRING_VALUE", // required
|
|
59
59
|
* },
|
|
60
|
+
* kafkaConfiguration: { // KafkaExporterConfiguration
|
|
61
|
+
* clusterArn: "STRING_VALUE", // required
|
|
62
|
+
* topicFilter: "STRING_VALUE",
|
|
63
|
+
* consumerGroupFilter: "STRING_VALUE",
|
|
64
|
+
* },
|
|
60
65
|
* },
|
|
61
66
|
* ],
|
|
62
67
|
* };
|
|
@@ -263,6 +263,27 @@ export declare namespace Destination {
|
|
|
263
263
|
_: (name: string, value: any) => T;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* <p>The configuration for collecting broker, topic, and consumer-group metrics from an Amazon MSK cluster through a managed Kafka exporter. The cluster must be active, have IAM authentication enabled, and be in the same account and Region as the scraper. Provisioned clusters with Standard brokers are supported. MSK Serverless clusters are not supported.</p> <p>Use a VPC source that can connect to the cluster's IAM bootstrap brokers. The exporter authenticates with the scraper's service-linked role. Metrics can be sent to an Amazon Managed Service for Prometheus workspace or a CloudWatch dataset.</p> <p>You must have an Amazon MSK cluster policy that grants the scraper's service-linked role access to the cluster. Without this policy, the scraper collects no Kafka metrics. For the required actions and example policies, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/prom-msk-kafka-exporter.html#prom-msk-kafka-exporter-access">Grant the scraper access to the cluster</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export interface KafkaExporterConfiguration {
|
|
271
|
+
/**
|
|
272
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon MSK cluster.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
clusterArn: string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with <code>^</code> and end with <code>$</code>. If omitted, the default is <code>^.*$</code>, which selects all topics.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
topicFilter?: string | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with <code>^</code> and end with <code>$</code>. If omitted, the default is <code>^.*$</code>, which selects all consumer groups.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
consumerGroupFilter?: string | undefined;
|
|
286
|
+
}
|
|
266
287
|
/**
|
|
267
288
|
* <p>The configuration for exporting metrics to an Amazon OpenSearch Service domain.</p>
|
|
268
289
|
* @public
|
|
@@ -278,7 +299,7 @@ export interface OpenSearchExporterConfiguration {
|
|
|
278
299
|
* <p>Contains the configuration for an exporter managed by the scraper.</p>
|
|
279
300
|
* @public
|
|
280
301
|
*/
|
|
281
|
-
export type ExporterConfiguration = ExporterConfiguration.OpenSearchConfigurationMember | ExporterConfiguration.$UnknownMember;
|
|
302
|
+
export type ExporterConfiguration = ExporterConfiguration.KafkaConfigurationMember | ExporterConfiguration.OpenSearchConfigurationMember | ExporterConfiguration.$UnknownMember;
|
|
282
303
|
/**
|
|
283
304
|
* @public
|
|
284
305
|
*/
|
|
@@ -289,6 +310,16 @@ export declare namespace ExporterConfiguration {
|
|
|
289
310
|
*/
|
|
290
311
|
interface OpenSearchConfigurationMember {
|
|
291
312
|
openSearchConfiguration: OpenSearchExporterConfiguration;
|
|
313
|
+
kafkaConfiguration?: never;
|
|
314
|
+
$unknown?: never;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* <p>The configuration that the scraper uses to collect metrics from an Amazon MSK cluster through a managed Kafka exporter.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
interface KafkaConfigurationMember {
|
|
321
|
+
openSearchConfiguration?: never;
|
|
322
|
+
kafkaConfiguration: KafkaExporterConfiguration;
|
|
292
323
|
$unknown?: never;
|
|
293
324
|
}
|
|
294
325
|
/**
|
|
@@ -296,6 +327,7 @@ export declare namespace ExporterConfiguration {
|
|
|
296
327
|
*/
|
|
297
328
|
interface $UnknownMember {
|
|
298
329
|
openSearchConfiguration?: never;
|
|
330
|
+
kafkaConfiguration?: never;
|
|
299
331
|
$unknown: [string, any];
|
|
300
332
|
}
|
|
301
333
|
/**
|
|
@@ -304,6 +336,7 @@ export declare namespace ExporterConfiguration {
|
|
|
304
336
|
*/
|
|
305
337
|
interface Visitor<T> {
|
|
306
338
|
openSearchConfiguration: (value: OpenSearchExporterConfiguration) => T;
|
|
339
|
+
kafkaConfiguration: (value: KafkaExporterConfiguration) => T;
|
|
307
340
|
_: (name: string, value: any) => T;
|
|
308
341
|
}
|
|
309
342
|
}
|
|
@@ -479,7 +512,7 @@ export interface CreateScraperRequest {
|
|
|
479
512
|
*/
|
|
480
513
|
tags?: Record<string, string> | undefined;
|
|
481
514
|
/**
|
|
482
|
-
* <p>The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the scraper is created without an exporter configuration.</p>
|
|
515
|
+
* <p>The exporter configurations for the scraper. You can configure at most one exporter, for either an Amazon OpenSearch Service domain or an Amazon MSK cluster. If you don't specify a value, the scraper is created without an exporter configuration.</p>
|
|
483
516
|
* @public
|
|
484
517
|
*/
|
|
485
518
|
exporters?: ExporterConfiguration[] | undefined;
|
|
@@ -635,7 +668,7 @@ export interface ScraperDescription {
|
|
|
635
668
|
*/
|
|
636
669
|
roleConfiguration?: RoleConfiguration | undefined;
|
|
637
670
|
/**
|
|
638
|
-
* <p>The exporter configurations for the scraper, if configured. The list contains at most one configuration for an Amazon OpenSearch Service domain.</p>
|
|
671
|
+
* <p>The exporter configurations for the scraper, if configured. The list contains at most one configuration, for either an Amazon OpenSearch Service domain or an Amazon MSK cluster.</p>
|
|
639
672
|
* @public
|
|
640
673
|
*/
|
|
641
674
|
exporters?: ExporterConfiguration[] | undefined;
|
|
@@ -738,7 +771,7 @@ export interface ScraperSummary {
|
|
|
738
771
|
*/
|
|
739
772
|
roleConfiguration?: RoleConfiguration | undefined;
|
|
740
773
|
/**
|
|
741
|
-
* <p>The exporter configurations for the scraper, if configured. The list contains at most one configuration for an Amazon OpenSearch Service domain.</p>
|
|
774
|
+
* <p>The exporter configurations for the scraper, if configured. The list contains at most one configuration, for either an Amazon OpenSearch Service domain or an Amazon MSK cluster.</p>
|
|
742
775
|
* @public
|
|
743
776
|
*/
|
|
744
777
|
exporters?: ExporterConfiguration[] | undefined;
|
|
@@ -966,7 +999,7 @@ export interface UpdateScraperRequest {
|
|
|
966
999
|
*/
|
|
967
1000
|
clientToken?: string | undefined;
|
|
968
1001
|
/**
|
|
969
|
-
* <p>The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the existing exporter configuration remains unchanged.</p>
|
|
1002
|
+
* <p>The exporter configurations for the scraper. You can configure at most one exporter, for either an Amazon OpenSearch Service domain or an Amazon MSK cluster. If you don't specify a value, the existing exporter configuration remains unchanged. Specify an empty list to remove the exporter.</p>
|
|
970
1003
|
* @public
|
|
971
1004
|
*/
|
|
972
1005
|
exporters?: ExporterConfiguration[] | undefined;
|
|
@@ -70,6 +70,7 @@ export declare var DescribeWorkspaceResponse$: StaticStructureSchema;
|
|
|
70
70
|
export declare var EksConfiguration$: StaticStructureSchema;
|
|
71
71
|
export declare var GetDefaultScraperConfigurationRequest$: StaticStructureSchema;
|
|
72
72
|
export declare var GetDefaultScraperConfigurationResponse$: StaticStructureSchema;
|
|
73
|
+
export declare var KafkaExporterConfiguration$: StaticStructureSchema;
|
|
73
74
|
export declare var LimitsPerLabelSet$: StaticStructureSchema;
|
|
74
75
|
export declare var LimitsPerLabelSetEntry$: StaticStructureSchema;
|
|
75
76
|
export declare var ListAnomalyDetectorsRequest$: StaticStructureSchema;
|
|
@@ -93,23 +93,37 @@ export declare namespace Destination {
|
|
|
93
93
|
_: (name: string, value: any) => T;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
+
export interface KafkaExporterConfiguration {
|
|
97
|
+
clusterArn: string | undefined;
|
|
98
|
+
topicFilter?: string | undefined;
|
|
99
|
+
consumerGroupFilter?: string | undefined;
|
|
100
|
+
}
|
|
96
101
|
export interface OpenSearchExporterConfiguration {
|
|
97
102
|
domainArn: string | undefined;
|
|
98
103
|
}
|
|
99
104
|
export type ExporterConfiguration =
|
|
105
|
+
| ExporterConfiguration.KafkaConfigurationMember
|
|
100
106
|
| ExporterConfiguration.OpenSearchConfigurationMember
|
|
101
107
|
| ExporterConfiguration.$UnknownMember;
|
|
102
108
|
export declare namespace ExporterConfiguration {
|
|
103
109
|
interface OpenSearchConfigurationMember {
|
|
104
110
|
openSearchConfiguration: OpenSearchExporterConfiguration;
|
|
111
|
+
kafkaConfiguration?: never;
|
|
112
|
+
$unknown?: never;
|
|
113
|
+
}
|
|
114
|
+
interface KafkaConfigurationMember {
|
|
115
|
+
openSearchConfiguration?: never;
|
|
116
|
+
kafkaConfiguration: KafkaExporterConfiguration;
|
|
105
117
|
$unknown?: never;
|
|
106
118
|
}
|
|
107
119
|
interface $UnknownMember {
|
|
108
120
|
openSearchConfiguration?: never;
|
|
121
|
+
kafkaConfiguration?: never;
|
|
109
122
|
$unknown: [string, any];
|
|
110
123
|
}
|
|
111
124
|
interface Visitor<T> {
|
|
112
125
|
openSearchConfiguration: (value: OpenSearchExporterConfiguration) => T;
|
|
126
|
+
kafkaConfiguration: (value: KafkaExporterConfiguration) => T;
|
|
113
127
|
_: (name: string, value: any) => T;
|
|
114
128
|
}
|
|
115
129
|
}
|
|
@@ -70,6 +70,7 @@ export declare var DescribeWorkspaceResponse$: StaticStructureSchema;
|
|
|
70
70
|
export declare var EksConfiguration$: StaticStructureSchema;
|
|
71
71
|
export declare var GetDefaultScraperConfigurationRequest$: StaticStructureSchema;
|
|
72
72
|
export declare var GetDefaultScraperConfigurationResponse$: StaticStructureSchema;
|
|
73
|
+
export declare var KafkaExporterConfiguration$: StaticStructureSchema;
|
|
73
74
|
export declare var LimitsPerLabelSet$: StaticStructureSchema;
|
|
74
75
|
export declare var LimitsPerLabelSetEntry$: StaticStructureSchema;
|
|
75
76
|
export declare var ListAnomalyDetectorsRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1161.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-amp",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.979.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.92",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
54
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|