@aws-sdk/client-amp 3.1099.0 → 3.1101.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1098.0";
72
+ var version = "3.1100.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -339,6 +339,8 @@ const _DWRe = "DescribeWorkspaceRequest";
339
339
  const _DWRes = "DescribeWorkspaceResponse";
340
340
  const _DWe = "DescribeWorkspace";
341
341
  const _EC = "EksConfiguration";
342
+ const _ECx = "ExporterConfiguration";
343
+ const _EL = "ExporterList";
342
344
  const _GDSC = "GetDefaultScraperConfiguration";
343
345
  const _GDSCR = "GetDefaultScraperConfigurationRequest";
344
346
  const _GDSCRe = "GetDefaultScraperConfigurationResponse";
@@ -367,6 +369,7 @@ const _LTFRRi = "ListTagsForResourceResponse";
367
369
  const _LW = "ListWorkspaces";
368
370
  const _LWR = "ListWorkspacesRequest";
369
371
  const _LWRi = "ListWorkspacesResponse";
372
+ const _OSEC = "OpenSearchExporterConfiguration";
370
373
  const _PAD = "PutAnomalyDetector";
371
374
  const _PADR = "PutAnomalyDetectorRequest";
372
375
  const _PADRu = "PutAnomalyDetectorResponse";
@@ -454,11 +457,13 @@ const _co = "configuration";
454
457
  const _con = "config";
455
458
  const _d = "data";
456
459
  const _dA = "datasetArn";
460
+ const _dAo = "domainArn";
457
461
  const _de = "destinations";
458
462
  const _des = "destination";
459
463
  const _e = "error";
460
464
  const _eC = "eksConfiguration";
461
465
  const _eIIS = "evaluationIntervalInSeconds";
466
+ const _ex = "exporters";
462
467
  const _f = "filters";
463
468
  const _fL = "fieldList";
464
469
  const _h = "http";
@@ -487,6 +492,7 @@ const _n = "name";
487
492
  const _nT = "nextToken";
488
493
  const _o = "options";
489
494
  const _oOOTWIS = "outOfOrderTimeWindowInSeconds";
495
+ const _oSC = "openSearchConfiguration";
490
496
  const _pD = "policyDocument";
491
497
  const _pE = "prometheusEndpoint";
492
498
  const _pS = "policyStatus";
@@ -684,8 +690,8 @@ var CreateRuleGroupsNamespaceResponse$ = [3, n0, _CRGNRr,
684
690
  ];
685
691
  var CreateScraperRequest$ = [3, n0, _CSR,
686
692
  0,
687
- [_sCc, _so, _des, _al, _rC, _cT, _t],
688
- [() => ScrapeConfiguration$, () => Source$, () => Destination$, 0, () => RoleConfiguration$, [0, 4], 128 | 0], 3
693
+ [_sCc, _so, _des, _al, _rC, _cT, _t, _ex],
694
+ [() => ScrapeConfiguration$, () => Source$, () => Destination$, 0, () => RoleConfiguration$, [0, 4], 128 | 0, () => ExporterList], 3
689
695
  ];
690
696
  var CreateScraperResponse$ = [3, n0, _CSRr,
691
697
  0,
@@ -947,6 +953,11 @@ var LoggingFilter$ = [3, n0, _LF,
947
953
  [_qT],
948
954
  [1], 1
949
955
  ];
956
+ var OpenSearchExporterConfiguration$ = [3, n0, _OSEC,
957
+ 0,
958
+ [_dAo],
959
+ [0], 1
960
+ ];
950
961
  var PutAlertManagerDefinitionRequest$ = [3, n0, _PAMDR,
951
962
  0,
952
963
  [_wI, _d, _cT],
@@ -1029,8 +1040,8 @@ var ScraperComponent$ = [3, n0, _SC,
1029
1040
  ];
1030
1041
  var ScraperDescription$ = [3, n0, _SD,
1031
1042
  0,
1032
- [_sI, _a, _rAo, _st, _cA, _lMA, _sCc, _so, _des, _al, _t, _sR, _rC],
1033
- [0, 0, 0, () => ScraperStatus$, 4, 4, () => ScrapeConfiguration$, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$], 9
1043
+ [_sI, _a, _rAo, _st, _cA, _lMA, _sCc, _so, _des, _al, _t, _sR, _rC, _ex],
1044
+ [0, 0, 0, () => ScraperStatus$, 4, 4, () => ScrapeConfiguration$, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$, () => ExporterList], 9
1034
1045
  ];
1035
1046
  var ScraperLoggingConfigurationStatus$ = [3, n0, _SLCS,
1036
1047
  0,
@@ -1044,8 +1055,8 @@ var ScraperStatus$ = [3, n0, _SS,
1044
1055
  ];
1045
1056
  var ScraperSummary$ = [3, n0, _SSc,
1046
1057
  0,
1047
- [_sI, _a, _rAo, _st, _cA, _lMA, _so, _des, _al, _t, _sR, _rC],
1048
- [0, 0, 0, () => ScraperStatus$, 4, 4, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$], 8
1058
+ [_sI, _a, _rAo, _st, _cA, _lMA, _so, _des, _al, _t, _sR, _rC, _ex],
1059
+ [0, 0, 0, () => ScraperStatus$, 4, 4, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$, () => ExporterList], 8
1049
1060
  ];
1050
1061
  var TagResourceRequest$ = [3, n0, _TRR,
1051
1062
  0,
@@ -1099,8 +1110,8 @@ var UpdateScraperLoggingConfigurationResponse$ = [3, n0, _USLCRp,
1099
1110
  ];
1100
1111
  var UpdateScraperRequest$ = [3, n0, _USR,
1101
1112
  0,
1102
- [_sI, _al, _sCc, _des, _rC, _cT],
1103
- [[0, 1], 0, () => ScrapeConfiguration$, () => Destination$, () => RoleConfiguration$, [0, 4]], 1
1113
+ [_sI, _al, _sCc, _des, _rC, _cT, _ex],
1114
+ [[0, 1], 0, () => ScrapeConfiguration$, () => Destination$, () => RoleConfiguration$, [0, 4], () => ExporterList], 1
1104
1115
  ];
1105
1116
  var UpdateScraperResponse$ = [3, n0, _USRp,
1106
1117
  0,
@@ -1161,6 +1172,9 @@ var __Unit = "unit";
1161
1172
  var AnomalyDetectorSummaryList = [1, n0, _ADSL,
1162
1173
  0, () => AnomalyDetectorSummary$
1163
1174
  ];
1175
+ var ExporterList = [1, n0, _EL,
1176
+ 0, () => ExporterConfiguration$
1177
+ ];
1164
1178
  var LimitsPerLabelSetList = [1, n0, _LPLSL,
1165
1179
  0, () => LimitsPerLabelSet$
1166
1180
  ];
@@ -1197,6 +1211,11 @@ var Destination$ = [4, n0, _D,
1197
1211
  [_aC, _cWC],
1198
1212
  [() => AmpConfiguration$, () => CloudWatchConfiguration$]
1199
1213
  ];
1214
+ var ExporterConfiguration$ = [4, n0, _ECx,
1215
+ 0,
1216
+ [_oSC],
1217
+ [() => OpenSearchExporterConfiguration$]
1218
+ ];
1200
1219
  var IgnoreNearExpected$ = [4, n0, _INE,
1201
1220
  0,
1202
1221
  [_am, _ra],
@@ -2145,6 +2164,7 @@ exports.DescribeWorkspaceRequest$ = DescribeWorkspaceRequest$;
2145
2164
  exports.DescribeWorkspaceResponse$ = DescribeWorkspaceResponse$;
2146
2165
  exports.Destination$ = Destination$;
2147
2166
  exports.EksConfiguration$ = EksConfiguration$;
2167
+ exports.ExporterConfiguration$ = ExporterConfiguration$;
2148
2168
  exports.GetDefaultScraperConfiguration$ = GetDefaultScraperConfiguration$;
2149
2169
  exports.GetDefaultScraperConfigurationCommand = GetDefaultScraperConfigurationCommand;
2150
2170
  exports.GetDefaultScraperConfigurationRequest$ = GetDefaultScraperConfigurationRequest$;
@@ -2179,6 +2199,7 @@ exports.LoggingConfigurationStatus$ = LoggingConfigurationStatus$;
2179
2199
  exports.LoggingConfigurationStatusCode = LoggingConfigurationStatusCode;
2180
2200
  exports.LoggingDestination$ = LoggingDestination$;
2181
2201
  exports.LoggingFilter$ = LoggingFilter$;
2202
+ exports.OpenSearchExporterConfiguration$ = OpenSearchExporterConfiguration$;
2182
2203
  exports.PutAlertManagerDefinition$ = PutAlertManagerDefinition$;
2183
2204
  exports.PutAlertManagerDefinitionCommand = PutAlertManagerDefinitionCommand;
2184
2205
  exports.PutAlertManagerDefinitionRequest$ = PutAlertManagerDefinitionRequest$;
@@ -84,6 +84,8 @@ const _DWRe = "DescribeWorkspaceRequest";
84
84
  const _DWRes = "DescribeWorkspaceResponse";
85
85
  const _DWe = "DescribeWorkspace";
86
86
  const _EC = "EksConfiguration";
87
+ const _ECx = "ExporterConfiguration";
88
+ const _EL = "ExporterList";
87
89
  const _GDSC = "GetDefaultScraperConfiguration";
88
90
  const _GDSCR = "GetDefaultScraperConfigurationRequest";
89
91
  const _GDSCRe = "GetDefaultScraperConfigurationResponse";
@@ -112,6 +114,7 @@ const _LTFRRi = "ListTagsForResourceResponse";
112
114
  const _LW = "ListWorkspaces";
113
115
  const _LWR = "ListWorkspacesRequest";
114
116
  const _LWRi = "ListWorkspacesResponse";
117
+ const _OSEC = "OpenSearchExporterConfiguration";
115
118
  const _PAD = "PutAnomalyDetector";
116
119
  const _PADR = "PutAnomalyDetectorRequest";
117
120
  const _PADRu = "PutAnomalyDetectorResponse";
@@ -199,11 +202,13 @@ const _co = "configuration";
199
202
  const _con = "config";
200
203
  const _d = "data";
201
204
  const _dA = "datasetArn";
205
+ const _dAo = "domainArn";
202
206
  const _de = "destinations";
203
207
  const _des = "destination";
204
208
  const _e = "error";
205
209
  const _eC = "eksConfiguration";
206
210
  const _eIIS = "evaluationIntervalInSeconds";
211
+ const _ex = "exporters";
207
212
  const _f = "filters";
208
213
  const _fL = "fieldList";
209
214
  const _h = "http";
@@ -232,6 +237,7 @@ const _n = "name";
232
237
  const _nT = "nextToken";
233
238
  const _o = "options";
234
239
  const _oOOTWIS = "outOfOrderTimeWindowInSeconds";
240
+ const _oSC = "openSearchConfiguration";
235
241
  const _pD = "policyDocument";
236
242
  const _pE = "prometheusEndpoint";
237
243
  const _pS = "policyStatus";
@@ -432,8 +438,8 @@ export var CreateRuleGroupsNamespaceResponse$ = [3, n0, _CRGNRr,
432
438
  ];
433
439
  export var CreateScraperRequest$ = [3, n0, _CSR,
434
440
  0,
435
- [_sCc, _so, _des, _al, _rC, _cT, _t],
436
- [() => ScrapeConfiguration$, () => Source$, () => Destination$, 0, () => RoleConfiguration$, [0, 4], 128 | 0], 3
441
+ [_sCc, _so, _des, _al, _rC, _cT, _t, _ex],
442
+ [() => ScrapeConfiguration$, () => Source$, () => Destination$, 0, () => RoleConfiguration$, [0, 4], 128 | 0, () => ExporterList], 3
437
443
  ];
438
444
  export var CreateScraperResponse$ = [3, n0, _CSRr,
439
445
  0,
@@ -695,6 +701,11 @@ export var LoggingFilter$ = [3, n0, _LF,
695
701
  [_qT],
696
702
  [1], 1
697
703
  ];
704
+ export var OpenSearchExporterConfiguration$ = [3, n0, _OSEC,
705
+ 0,
706
+ [_dAo],
707
+ [0], 1
708
+ ];
698
709
  export var PutAlertManagerDefinitionRequest$ = [3, n0, _PAMDR,
699
710
  0,
700
711
  [_wI, _d, _cT],
@@ -777,8 +788,8 @@ export var ScraperComponent$ = [3, n0, _SC,
777
788
  ];
778
789
  export var ScraperDescription$ = [3, n0, _SD,
779
790
  0,
780
- [_sI, _a, _rAo, _st, _cA, _lMA, _sCc, _so, _des, _al, _t, _sR, _rC],
781
- [0, 0, 0, () => ScraperStatus$, 4, 4, () => ScrapeConfiguration$, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$], 9
791
+ [_sI, _a, _rAo, _st, _cA, _lMA, _sCc, _so, _des, _al, _t, _sR, _rC, _ex],
792
+ [0, 0, 0, () => ScraperStatus$, 4, 4, () => ScrapeConfiguration$, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$, () => ExporterList], 9
782
793
  ];
783
794
  export var ScraperLoggingConfigurationStatus$ = [3, n0, _SLCS,
784
795
  0,
@@ -792,8 +803,8 @@ export var ScraperStatus$ = [3, n0, _SS,
792
803
  ];
793
804
  export var ScraperSummary$ = [3, n0, _SSc,
794
805
  0,
795
- [_sI, _a, _rAo, _st, _cA, _lMA, _so, _des, _al, _t, _sR, _rC],
796
- [0, 0, 0, () => ScraperStatus$, 4, 4, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$], 8
806
+ [_sI, _a, _rAo, _st, _cA, _lMA, _so, _des, _al, _t, _sR, _rC, _ex],
807
+ [0, 0, 0, () => ScraperStatus$, 4, 4, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$, () => ExporterList], 8
797
808
  ];
798
809
  export var TagResourceRequest$ = [3, n0, _TRR,
799
810
  0,
@@ -847,8 +858,8 @@ export var UpdateScraperLoggingConfigurationResponse$ = [3, n0, _USLCRp,
847
858
  ];
848
859
  export var UpdateScraperRequest$ = [3, n0, _USR,
849
860
  0,
850
- [_sI, _al, _sCc, _des, _rC, _cT],
851
- [[0, 1], 0, () => ScrapeConfiguration$, () => Destination$, () => RoleConfiguration$, [0, 4]], 1
861
+ [_sI, _al, _sCc, _des, _rC, _cT, _ex],
862
+ [[0, 1], 0, () => ScrapeConfiguration$, () => Destination$, () => RoleConfiguration$, [0, 4], () => ExporterList], 1
852
863
  ];
853
864
  export var UpdateScraperResponse$ = [3, n0, _USRp,
854
865
  0,
@@ -909,6 +920,9 @@ var __Unit = "unit";
909
920
  var AnomalyDetectorSummaryList = [1, n0, _ADSL,
910
921
  0, () => AnomalyDetectorSummary$
911
922
  ];
923
+ var ExporterList = [1, n0, _EL,
924
+ 0, () => ExporterConfiguration$
925
+ ];
912
926
  var FilterValues = 64 | 0;
913
927
  var LimitsPerLabelSetList = [1, n0, _LPLSL,
914
928
  0, () => LimitsPerLabelSet$
@@ -956,6 +970,11 @@ export var Destination$ = [4, n0, _D,
956
970
  [_aC, _cWC],
957
971
  [() => AmpConfiguration$, () => CloudWatchConfiguration$]
958
972
  ];
973
+ export var ExporterConfiguration$ = [4, n0, _ECx,
974
+ 0,
975
+ [_oSC],
976
+ [() => OpenSearchExporterConfiguration$]
977
+ ];
959
978
  export var IgnoreNearExpected$ = [4, n0, _INE,
960
979
  0,
961
980
  [_am, _ra],
@@ -73,6 +73,13 @@ declare const CreateScraperCommand_base: {
73
73
  * tags: { // TagMap
74
74
  * "<keys>": "STRING_VALUE",
75
75
  * },
76
+ * exporters: [ // ExporterList
77
+ * { // ExporterConfiguration Union: only one key present
78
+ * openSearchConfiguration: { // OpenSearchExporterConfiguration
79
+ * domainArn: "STRING_VALUE", // required
80
+ * },
81
+ * },
82
+ * ],
76
83
  * };
77
84
  * const command = new CreateScraperCommand(input);
78
85
  * const response = await client.send(command);
@@ -87,6 +87,13 @@ declare const DescribeScraperCommand_base: {
87
87
  * // sourceRoleArn: "STRING_VALUE",
88
88
  * // targetRoleArn: "STRING_VALUE",
89
89
  * // },
90
+ * // exporters: [ // ExporterList
91
+ * // { // ExporterConfiguration Union: only one key present
92
+ * // openSearchConfiguration: { // OpenSearchExporterConfiguration
93
+ * // domainArn: "STRING_VALUE", // required
94
+ * // },
95
+ * // },
96
+ * // ],
90
97
  * // },
91
98
  * // };
92
99
  *
@@ -91,6 +91,13 @@ declare const ListScrapersCommand_base: {
91
91
  * // sourceRoleArn: "STRING_VALUE",
92
92
  * // targetRoleArn: "STRING_VALUE",
93
93
  * // },
94
+ * // exporters: [ // ExporterList
95
+ * // { // ExporterConfiguration Union: only one key present
96
+ * // openSearchConfiguration: { // OpenSearchExporterConfiguration
97
+ * // domainArn: "STRING_VALUE", // required
98
+ * // },
99
+ * // },
100
+ * // ],
94
101
  * // },
95
102
  * // ],
96
103
  * // nextToken: "STRING_VALUE",
@@ -52,6 +52,13 @@ declare const UpdateScraperCommand_base: {
52
52
  * targetRoleArn: "STRING_VALUE",
53
53
  * },
54
54
  * clientToken: "STRING_VALUE",
55
+ * exporters: [ // ExporterList
56
+ * { // ExporterConfiguration Union: only one key present
57
+ * openSearchConfiguration: { // OpenSearchExporterConfiguration
58
+ * domainArn: "STRING_VALUE", // required
59
+ * },
60
+ * },
61
+ * ],
55
62
  * };
56
63
  * const command = new UpdateScraperCommand(input);
57
64
  * const response = await client.send(command);
@@ -263,6 +263,50 @@ export declare namespace Destination {
263
263
  _: (name: string, value: any) => T;
264
264
  }
265
265
  }
266
+ /**
267
+ * <p>The configuration for exporting metrics to an Amazon OpenSearch Service domain.</p>
268
+ * @public
269
+ */
270
+ export interface OpenSearchExporterConfiguration {
271
+ /**
272
+ * <p>The Amazon Resource Name (ARN) of the Amazon OpenSearch Service domain.</p>
273
+ * @public
274
+ */
275
+ domainArn: string | undefined;
276
+ }
277
+ /**
278
+ * <p>Contains the configuration for an exporter managed by the scraper.</p>
279
+ * @public
280
+ */
281
+ export type ExporterConfiguration = ExporterConfiguration.OpenSearchConfigurationMember | ExporterConfiguration.$UnknownMember;
282
+ /**
283
+ * @public
284
+ */
285
+ export declare namespace ExporterConfiguration {
286
+ /**
287
+ * <p>The configuration that the scraper uses to export metrics to an Amazon OpenSearch Service domain.</p>
288
+ * @public
289
+ */
290
+ interface OpenSearchConfigurationMember {
291
+ openSearchConfiguration: OpenSearchExporterConfiguration;
292
+ $unknown?: never;
293
+ }
294
+ /**
295
+ * @public
296
+ */
297
+ interface $UnknownMember {
298
+ openSearchConfiguration?: never;
299
+ $unknown: [string, any];
300
+ }
301
+ /**
302
+ * @deprecated unused in schema-serde mode.
303
+ *
304
+ */
305
+ interface Visitor<T> {
306
+ openSearchConfiguration: (value: OpenSearchExporterConfiguration) => T;
307
+ _: (name: string, value: any) => T;
308
+ }
309
+ }
266
310
  /**
267
311
  * <p>Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.</p>
268
312
  * @public
@@ -434,6 +478,11 @@ export interface CreateScraperRequest {
434
478
  * @public
435
479
  */
436
480
  tags?: Record<string, string> | undefined;
481
+ /**
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>
483
+ * @public
484
+ */
485
+ exporters?: ExporterConfiguration[] | undefined;
437
486
  }
438
487
  /**
439
488
  * <p>The <code>ScraperStatus</code> structure contains status information about the scraper.</p>
@@ -585,6 +634,11 @@ export interface ScraperDescription {
585
634
  * @public
586
635
  */
587
636
  roleConfiguration?: RoleConfiguration | undefined;
637
+ /**
638
+ * <p>The exporter configurations for the scraper, if configured. The list contains at most one configuration for an Amazon OpenSearch Service domain.</p>
639
+ * @public
640
+ */
641
+ exporters?: ExporterConfiguration[] | undefined;
588
642
  }
589
643
  /**
590
644
  * <p>Represents the output of a <code>DescribeScraper</code> operation.</p>
@@ -683,6 +737,11 @@ export interface ScraperSummary {
683
737
  * @public
684
738
  */
685
739
  roleConfiguration?: RoleConfiguration | undefined;
740
+ /**
741
+ * <p>The exporter configurations for the scraper, if configured. The list contains at most one configuration for an Amazon OpenSearch Service domain.</p>
742
+ * @public
743
+ */
744
+ exporters?: ExporterConfiguration[] | undefined;
686
745
  }
687
746
  /**
688
747
  * <p>Represents the output of a <code>ListScrapers</code> operation.</p>
@@ -906,6 +965,11 @@ export interface UpdateScraperRequest {
906
965
  * @public
907
966
  */
908
967
  clientToken?: string | undefined;
968
+ /**
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>
970
+ * @public
971
+ */
972
+ exporters?: ExporterConfiguration[] | undefined;
909
973
  }
910
974
  /**
911
975
  * @public
@@ -86,6 +86,7 @@ export declare var LoggingConfigurationMetadata$: StaticStructureSchema;
86
86
  export declare var LoggingConfigurationStatus$: StaticStructureSchema;
87
87
  export declare var LoggingDestination$: StaticStructureSchema;
88
88
  export declare var LoggingFilter$: StaticStructureSchema;
89
+ export declare var OpenSearchExporterConfiguration$: StaticStructureSchema;
89
90
  export declare var PutAlertManagerDefinitionRequest$: StaticStructureSchema;
90
91
  export declare var PutAlertManagerDefinitionResponse$: StaticStructureSchema;
91
92
  export declare var PutAnomalyDetectorRequest$: StaticStructureSchema;
@@ -131,6 +132,7 @@ export declare var WorkspaceSummary$: StaticStructureSchema;
131
132
  export declare var AnomalyDetectorConfiguration$: StaticUnionSchema;
132
133
  export declare var AnomalyDetectorMissingDataAction$: StaticUnionSchema;
133
134
  export declare var Destination$: StaticUnionSchema;
135
+ export declare var ExporterConfiguration$: StaticUnionSchema;
134
136
  export declare var IgnoreNearExpected$: StaticUnionSchema;
135
137
  export declare var ScrapeConfiguration$: StaticUnionSchema;
136
138
  export declare var ScraperLoggingDestination$: StaticUnionSchema;
@@ -93,6 +93,26 @@ export declare namespace Destination {
93
93
  _: (name: string, value: any) => T;
94
94
  }
95
95
  }
96
+ export interface OpenSearchExporterConfiguration {
97
+ domainArn: string | undefined;
98
+ }
99
+ export type ExporterConfiguration =
100
+ | ExporterConfiguration.OpenSearchConfigurationMember
101
+ | ExporterConfiguration.$UnknownMember;
102
+ export declare namespace ExporterConfiguration {
103
+ interface OpenSearchConfigurationMember {
104
+ openSearchConfiguration: OpenSearchExporterConfiguration;
105
+ $unknown?: never;
106
+ }
107
+ interface $UnknownMember {
108
+ openSearchConfiguration?: never;
109
+ $unknown: [string, any];
110
+ }
111
+ interface Visitor<T> {
112
+ openSearchConfiguration: (value: OpenSearchExporterConfiguration) => T;
113
+ _: (name: string, value: any) => T;
114
+ }
115
+ }
96
116
  export interface RoleConfiguration {
97
117
  sourceRoleArn?: string | undefined;
98
118
  targetRoleArn?: string | undefined;
@@ -157,6 +177,7 @@ export interface CreateScraperRequest {
157
177
  roleConfiguration?: RoleConfiguration | undefined;
158
178
  clientToken?: string | undefined;
159
179
  tags?: Record<string, string> | undefined;
180
+ exporters?: ExporterConfiguration[] | undefined;
160
181
  }
161
182
  export interface ScraperStatus {
162
183
  statusCode: ScraperStatusCode | undefined;
@@ -192,6 +213,7 @@ export interface ScraperDescription {
192
213
  source: Source | undefined;
193
214
  destination: Destination | undefined;
194
215
  roleConfiguration?: RoleConfiguration | undefined;
216
+ exporters?: ExporterConfiguration[] | undefined;
195
217
  }
196
218
  export interface DescribeScraperResponse {
197
219
  scraper: ScraperDescription | undefined;
@@ -214,6 +236,7 @@ export interface ScraperSummary {
214
236
  source: Source | undefined;
215
237
  destination: Destination | undefined;
216
238
  roleConfiguration?: RoleConfiguration | undefined;
239
+ exporters?: ExporterConfiguration[] | undefined;
217
240
  }
218
241
  export interface ListScrapersResponse {
219
242
  scrapers: ScraperSummary[] | undefined;
@@ -279,6 +302,7 @@ export interface UpdateScraperRequest {
279
302
  destination?: Destination | undefined;
280
303
  roleConfiguration?: RoleConfiguration | undefined;
281
304
  clientToken?: string | undefined;
305
+ exporters?: ExporterConfiguration[] | undefined;
282
306
  }
283
307
  export interface UpdateScraperResponse {
284
308
  scraperId: string | undefined;
@@ -86,6 +86,7 @@ export declare var LoggingConfigurationMetadata$: StaticStructureSchema;
86
86
  export declare var LoggingConfigurationStatus$: StaticStructureSchema;
87
87
  export declare var LoggingDestination$: StaticStructureSchema;
88
88
  export declare var LoggingFilter$: StaticStructureSchema;
89
+ export declare var OpenSearchExporterConfiguration$: StaticStructureSchema;
89
90
  export declare var PutAlertManagerDefinitionRequest$: StaticStructureSchema;
90
91
  export declare var PutAlertManagerDefinitionResponse$: StaticStructureSchema;
91
92
  export declare var PutAnomalyDetectorRequest$: StaticStructureSchema;
@@ -131,6 +132,7 @@ export declare var WorkspaceSummary$: StaticStructureSchema;
131
132
  export declare var AnomalyDetectorConfiguration$: StaticUnionSchema;
132
133
  export declare var AnomalyDetectorMissingDataAction$: StaticUnionSchema;
133
134
  export declare var Destination$: StaticUnionSchema;
135
+ export declare var ExporterConfiguration$: StaticUnionSchema;
134
136
  export declare var IgnoreNearExpected$: StaticUnionSchema;
135
137
  export declare var ScrapeConfiguration$: StaticUnionSchema;
136
138
  export declare var ScraperLoggingDestination$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
- "version": "3.1099.0",
3
+ "version": "3.1101.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,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.3",
50
- "@aws-sdk/credential-provider-node": "^3.972.75",
49
+ "@aws-sdk/core": "^3.977.4",
50
+ "@aws-sdk/credential-provider-node": "^3.972.76",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",