@aws-sdk/client-firehose 3.218.0 → 3.220.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.
@@ -1,6 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { FirehoseServiceException as __BaseException } from "./FirehoseServiceException";
3
- export interface AmazonopensearchserviceBufferingHints {
3
+ export interface AmazonOpenSearchServerlessBufferingHints {
4
4
  IntervalInSeconds?: number;
5
5
  SizeInMBs?: number;
6
6
  }
@@ -9,13 +9,6 @@ export interface CloudWatchLoggingOptions {
9
9
  LogGroupName?: string;
10
10
  LogStreamName?: string;
11
11
  }
12
- export declare enum AmazonopensearchserviceIndexRotationPeriod {
13
- NoRotation = "NoRotation",
14
- OneDay = "OneDay",
15
- OneHour = "OneHour",
16
- OneMonth = "OneMonth",
17
- OneWeek = "OneWeek",
18
- }
19
12
  export declare enum ProcessorParameterName {
20
13
  BUFFER_INTERVAL_IN_SECONDS = "BufferIntervalInSeconds",
21
14
  BUFFER_SIZE_IN_MB = "BufferSizeInMBs",
@@ -31,11 +24,12 @@ export interface ProcessorParameter {
31
24
  ParameterName: ProcessorParameterName | string | undefined;
32
25
  ParameterValue: string | undefined;
33
26
  }
34
- export declare type ProcessorType =
35
- | "AppendDelimiterToRecord"
36
- | "Lambda"
37
- | "MetadataExtraction"
38
- | "RecordDeAggregation";
27
+ export declare enum ProcessorType {
28
+ AppendDelimiterToRecord = "AppendDelimiterToRecord",
29
+ Lambda = "Lambda",
30
+ MetadataExtraction = "MetadataExtraction",
31
+ RecordDeAggregation = "RecordDeAggregation",
32
+ }
39
33
  export interface Processor {
40
34
  Type: ProcessorType | string | undefined;
41
35
  Parameters?: ProcessorParameter[];
@@ -44,10 +38,10 @@ export interface ProcessingConfiguration {
44
38
  Enabled?: boolean;
45
39
  Processors?: Processor[];
46
40
  }
47
- export interface AmazonopensearchserviceRetryOptions {
41
+ export interface AmazonOpenSearchServerlessRetryOptions {
48
42
  DurationInSeconds?: number;
49
43
  }
50
- export declare enum AmazonopensearchserviceS3BackupMode {
44
+ export declare enum AmazonOpenSearchServerlessS3BackupMode {
51
45
  AllDocuments = "AllDocuments",
52
46
  FailedDocumentsOnly = "FailedDocumentsOnly",
53
47
  }
@@ -65,7 +59,9 @@ export declare enum CompressionFormat {
65
59
  export interface KMSEncryptionConfig {
66
60
  AWSKMSKeyARN: string | undefined;
67
61
  }
68
- export declare type NoEncryptionConfig = "NoEncryption";
62
+ export declare enum NoEncryptionConfig {
63
+ NoEncryption = "NoEncryption",
64
+ }
69
65
  export interface EncryptionConfiguration {
70
66
  NoEncryptionConfig?: NoEncryptionConfig | string;
71
67
  KMSEncryptionConfig?: KMSEncryptionConfig;
@@ -85,16 +81,13 @@ export interface VpcConfiguration {
85
81
  RoleARN: string | undefined;
86
82
  SecurityGroupIds: string[] | undefined;
87
83
  }
88
- export interface AmazonopensearchserviceDestinationConfiguration {
84
+ export interface AmazonOpenSearchServerlessDestinationConfiguration {
89
85
  RoleARN: string | undefined;
90
- DomainARN?: string;
91
- ClusterEndpoint?: string;
86
+ CollectionEndpoint?: string;
92
87
  IndexName: string | undefined;
93
- TypeName?: string;
94
- IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
95
- BufferingHints?: AmazonopensearchserviceBufferingHints;
96
- RetryOptions?: AmazonopensearchserviceRetryOptions;
97
- S3BackupMode?: AmazonopensearchserviceS3BackupMode | string;
88
+ BufferingHints?: AmazonOpenSearchServerlessBufferingHints;
89
+ RetryOptions?: AmazonOpenSearchServerlessRetryOptions;
90
+ S3BackupMode?: AmazonOpenSearchServerlessS3BackupMode | string;
98
91
  S3Configuration: S3DestinationConfiguration | undefined;
99
92
  ProcessingConfiguration?: ProcessingConfiguration;
100
93
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
@@ -116,16 +109,13 @@ export interface VpcConfigurationDescription {
116
109
  SecurityGroupIds: string[] | undefined;
117
110
  VpcId: string | undefined;
118
111
  }
119
- export interface AmazonopensearchserviceDestinationDescription {
112
+ export interface AmazonOpenSearchServerlessDestinationDescription {
120
113
  RoleARN?: string;
121
- DomainARN?: string;
122
- ClusterEndpoint?: string;
114
+ CollectionEndpoint?: string;
123
115
  IndexName?: string;
124
- TypeName?: string;
125
- IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
126
- BufferingHints?: AmazonopensearchserviceBufferingHints;
127
- RetryOptions?: AmazonopensearchserviceRetryOptions;
128
- S3BackupMode?: AmazonopensearchserviceS3BackupMode | string;
116
+ BufferingHints?: AmazonOpenSearchServerlessBufferingHints;
117
+ RetryOptions?: AmazonOpenSearchServerlessRetryOptions;
118
+ S3BackupMode?: AmazonOpenSearchServerlessS3BackupMode | string;
129
119
  S3DestinationDescription?: S3DestinationDescription;
130
120
  ProcessingConfiguration?: ProcessingConfiguration;
131
121
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
@@ -141,6 +131,64 @@ export interface S3DestinationUpdate {
141
131
  EncryptionConfiguration?: EncryptionConfiguration;
142
132
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
143
133
  }
134
+ export interface AmazonOpenSearchServerlessDestinationUpdate {
135
+ RoleARN?: string;
136
+ CollectionEndpoint?: string;
137
+ IndexName?: string;
138
+ BufferingHints?: AmazonOpenSearchServerlessBufferingHints;
139
+ RetryOptions?: AmazonOpenSearchServerlessRetryOptions;
140
+ S3Update?: S3DestinationUpdate;
141
+ ProcessingConfiguration?: ProcessingConfiguration;
142
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
143
+ }
144
+ export interface AmazonopensearchserviceBufferingHints {
145
+ IntervalInSeconds?: number;
146
+ SizeInMBs?: number;
147
+ }
148
+ export declare enum AmazonopensearchserviceIndexRotationPeriod {
149
+ NoRotation = "NoRotation",
150
+ OneDay = "OneDay",
151
+ OneHour = "OneHour",
152
+ OneMonth = "OneMonth",
153
+ OneWeek = "OneWeek",
154
+ }
155
+ export interface AmazonopensearchserviceRetryOptions {
156
+ DurationInSeconds?: number;
157
+ }
158
+ export declare enum AmazonopensearchserviceS3BackupMode {
159
+ AllDocuments = "AllDocuments",
160
+ FailedDocumentsOnly = "FailedDocumentsOnly",
161
+ }
162
+ export interface AmazonopensearchserviceDestinationConfiguration {
163
+ RoleARN: string | undefined;
164
+ DomainARN?: string;
165
+ ClusterEndpoint?: string;
166
+ IndexName: string | undefined;
167
+ TypeName?: string;
168
+ IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
169
+ BufferingHints?: AmazonopensearchserviceBufferingHints;
170
+ RetryOptions?: AmazonopensearchserviceRetryOptions;
171
+ S3BackupMode?: AmazonopensearchserviceS3BackupMode | string;
172
+ S3Configuration: S3DestinationConfiguration | undefined;
173
+ ProcessingConfiguration?: ProcessingConfiguration;
174
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
175
+ VpcConfiguration?: VpcConfiguration;
176
+ }
177
+ export interface AmazonopensearchserviceDestinationDescription {
178
+ RoleARN?: string;
179
+ DomainARN?: string;
180
+ ClusterEndpoint?: string;
181
+ IndexName?: string;
182
+ TypeName?: string;
183
+ IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
184
+ BufferingHints?: AmazonopensearchserviceBufferingHints;
185
+ RetryOptions?: AmazonopensearchserviceRetryOptions;
186
+ S3BackupMode?: AmazonopensearchserviceS3BackupMode | string;
187
+ S3DestinationDescription?: S3DestinationDescription;
188
+ ProcessingConfiguration?: ProcessingConfiguration;
189
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
190
+ VpcConfigurationDescription?: VpcConfigurationDescription;
191
+ }
144
192
  export interface AmazonopensearchserviceDestinationUpdate {
145
193
  RoleARN?: string;
146
194
  DomainARN?: string;
@@ -181,23 +229,28 @@ export interface DeliveryStreamEncryptionConfigurationInput {
181
229
  KeyARN?: string;
182
230
  KeyType: KeyType | string | undefined;
183
231
  }
184
- export declare type DeliveryStreamType = "DirectPut" | "KinesisStreamAsSource";
232
+ export declare enum DeliveryStreamType {
233
+ DirectPut = "DirectPut",
234
+ KinesisStreamAsSource = "KinesisStreamAsSource",
235
+ }
185
236
  export interface ElasticsearchBufferingHints {
186
237
  IntervalInSeconds?: number;
187
238
  SizeInMBs?: number;
188
239
  }
189
- export declare type ElasticsearchIndexRotationPeriod =
190
- | "NoRotation"
191
- | "OneDay"
192
- | "OneHour"
193
- | "OneMonth"
194
- | "OneWeek";
240
+ export declare enum ElasticsearchIndexRotationPeriod {
241
+ NoRotation = "NoRotation",
242
+ OneDay = "OneDay",
243
+ OneHour = "OneHour",
244
+ OneMonth = "OneMonth",
245
+ OneWeek = "OneWeek",
246
+ }
195
247
  export interface ElasticsearchRetryOptions {
196
248
  DurationInSeconds?: number;
197
249
  }
198
- export declare type ElasticsearchS3BackupMode =
199
- | "AllDocuments"
200
- | "FailedDocumentsOnly";
250
+ export declare enum ElasticsearchS3BackupMode {
251
+ AllDocuments = "AllDocuments",
252
+ FailedDocumentsOnly = "FailedDocumentsOnly",
253
+ }
201
254
  export interface ElasticsearchDestinationConfiguration {
202
255
  RoleARN: string | undefined;
203
256
  DomainARN?: string;
@@ -294,7 +347,10 @@ export interface DynamicPartitioningConfiguration {
294
347
  RetryOptions?: RetryOptions;
295
348
  Enabled?: boolean;
296
349
  }
297
- export declare type S3BackupMode = "Disabled" | "Enabled";
350
+ export declare enum S3BackupMode {
351
+ Disabled = "Disabled",
352
+ Enabled = "Enabled",
353
+ }
298
354
  export interface ExtendedS3DestinationConfiguration {
299
355
  RoleARN: string | undefined;
300
356
  BucketARN: string | undefined;
@@ -330,7 +386,10 @@ export interface HttpEndpointRequestConfiguration {
330
386
  export interface HttpEndpointRetryOptions {
331
387
  DurationInSeconds?: number;
332
388
  }
333
- export declare type HttpEndpointS3BackupMode = "AllData" | "FailedDataOnly";
389
+ export declare enum HttpEndpointS3BackupMode {
390
+ AllData = "AllData",
391
+ FailedDataOnly = "FailedDataOnly",
392
+ }
334
393
  export interface HttpEndpointDestinationConfiguration {
335
394
  EndpointConfiguration: HttpEndpointConfiguration | undefined;
336
395
  BufferingHints?: HttpEndpointBufferingHints;
@@ -349,7 +408,10 @@ export interface KinesisStreamSourceConfiguration {
349
408
  export interface RedshiftRetryOptions {
350
409
  DurationInSeconds?: number;
351
410
  }
352
- export declare type RedshiftS3BackupMode = "Disabled" | "Enabled";
411
+ export declare enum RedshiftS3BackupMode {
412
+ Disabled = "Disabled",
413
+ Enabled = "Enabled",
414
+ }
353
415
  export interface RedshiftDestinationConfiguration {
354
416
  RoleARN: string | undefined;
355
417
  ClusterJDBCURL: string | undefined;
@@ -363,11 +425,17 @@ export interface RedshiftDestinationConfiguration {
363
425
  S3BackupConfiguration?: S3DestinationConfiguration;
364
426
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
365
427
  }
366
- export declare type HECEndpointType = "Event" | "Raw";
428
+ export declare enum HECEndpointType {
429
+ Event = "Event",
430
+ Raw = "Raw",
431
+ }
367
432
  export interface SplunkRetryOptions {
368
433
  DurationInSeconds?: number;
369
434
  }
370
- export declare type SplunkS3BackupMode = "AllEvents" | "FailedEventsOnly";
435
+ export declare enum SplunkS3BackupMode {
436
+ AllEvents = "AllEvents",
437
+ FailedEventsOnly = "FailedEventsOnly",
438
+ }
371
439
  export interface SplunkDestinationConfiguration {
372
440
  HECEndpoint: string | undefined;
373
441
  HECEndpointType: HECEndpointType | string | undefined;
@@ -396,6 +464,7 @@ export interface CreateDeliveryStreamInput {
396
464
  SplunkDestinationConfiguration?: SplunkDestinationConfiguration;
397
465
  HttpEndpointDestinationConfiguration?: HttpEndpointDestinationConfiguration;
398
466
  Tags?: Tag[];
467
+ AmazonOpenSearchServerlessDestinationConfiguration?: AmazonOpenSearchServerlessDestinationConfiguration;
399
468
  }
400
469
  export interface CreateDeliveryStreamOutput {
401
470
  DeliveryStreamARN?: string;
@@ -560,6 +629,7 @@ export interface DestinationDescription {
560
629
  AmazonopensearchserviceDestinationDescription?: AmazonopensearchserviceDestinationDescription;
561
630
  SplunkDestinationDescription?: SplunkDestinationDescription;
562
631
  HttpEndpointDestinationDescription?: HttpEndpointDestinationDescription;
632
+ AmazonOpenSearchServerlessDestinationDescription?: AmazonOpenSearchServerlessDestinationDescription;
563
633
  }
564
634
  export interface KinesisStreamSourceDescription {
565
635
  KinesisStreamARN?: string;
@@ -734,10 +804,11 @@ export interface UpdateDestinationInput {
734
804
  AmazonopensearchserviceDestinationUpdate?: AmazonopensearchserviceDestinationUpdate;
735
805
  SplunkDestinationUpdate?: SplunkDestinationUpdate;
736
806
  HttpEndpointDestinationUpdate?: HttpEndpointDestinationUpdate;
807
+ AmazonOpenSearchServerlessDestinationUpdate?: AmazonOpenSearchServerlessDestinationUpdate;
737
808
  }
738
809
  export interface UpdateDestinationOutput {}
739
- export declare const AmazonopensearchserviceBufferingHintsFilterSensitiveLog: (
740
- obj: AmazonopensearchserviceBufferingHints
810
+ export declare const AmazonOpenSearchServerlessBufferingHintsFilterSensitiveLog: (
811
+ obj: AmazonOpenSearchServerlessBufferingHints
741
812
  ) => any;
742
813
  export declare const CloudWatchLoggingOptionsFilterSensitiveLog: (
743
814
  obj: CloudWatchLoggingOptions
@@ -749,8 +820,8 @@ export declare const ProcessorFilterSensitiveLog: (obj: Processor) => any;
749
820
  export declare const ProcessingConfigurationFilterSensitiveLog: (
750
821
  obj: ProcessingConfiguration
751
822
  ) => any;
752
- export declare const AmazonopensearchserviceRetryOptionsFilterSensitiveLog: (
753
- obj: AmazonopensearchserviceRetryOptions
823
+ export declare const AmazonOpenSearchServerlessRetryOptionsFilterSensitiveLog: (
824
+ obj: AmazonOpenSearchServerlessRetryOptions
754
825
  ) => any;
755
826
  export declare const BufferingHintsFilterSensitiveLog: (
756
827
  obj: BufferingHints
@@ -767,8 +838,8 @@ export declare const S3DestinationConfigurationFilterSensitiveLog: (
767
838
  export declare const VpcConfigurationFilterSensitiveLog: (
768
839
  obj: VpcConfiguration
769
840
  ) => any;
770
- export declare const AmazonopensearchserviceDestinationConfigurationFilterSensitiveLog: (
771
- obj: AmazonopensearchserviceDestinationConfiguration
841
+ export declare const AmazonOpenSearchServerlessDestinationConfigurationFilterSensitiveLog: (
842
+ obj: AmazonOpenSearchServerlessDestinationConfiguration
772
843
  ) => any;
773
844
  export declare const S3DestinationDescriptionFilterSensitiveLog: (
774
845
  obj: S3DestinationDescription
@@ -776,12 +847,27 @@ export declare const S3DestinationDescriptionFilterSensitiveLog: (
776
847
  export declare const VpcConfigurationDescriptionFilterSensitiveLog: (
777
848
  obj: VpcConfigurationDescription
778
849
  ) => any;
779
- export declare const AmazonopensearchserviceDestinationDescriptionFilterSensitiveLog: (
780
- obj: AmazonopensearchserviceDestinationDescription
850
+ export declare const AmazonOpenSearchServerlessDestinationDescriptionFilterSensitiveLog: (
851
+ obj: AmazonOpenSearchServerlessDestinationDescription
781
852
  ) => any;
782
853
  export declare const S3DestinationUpdateFilterSensitiveLog: (
783
854
  obj: S3DestinationUpdate
784
855
  ) => any;
856
+ export declare const AmazonOpenSearchServerlessDestinationUpdateFilterSensitiveLog: (
857
+ obj: AmazonOpenSearchServerlessDestinationUpdate
858
+ ) => any;
859
+ export declare const AmazonopensearchserviceBufferingHintsFilterSensitiveLog: (
860
+ obj: AmazonopensearchserviceBufferingHints
861
+ ) => any;
862
+ export declare const AmazonopensearchserviceRetryOptionsFilterSensitiveLog: (
863
+ obj: AmazonopensearchserviceRetryOptions
864
+ ) => any;
865
+ export declare const AmazonopensearchserviceDestinationConfigurationFilterSensitiveLog: (
866
+ obj: AmazonopensearchserviceDestinationConfiguration
867
+ ) => any;
868
+ export declare const AmazonopensearchserviceDestinationDescriptionFilterSensitiveLog: (
869
+ obj: AmazonopensearchserviceDestinationDescription
870
+ ) => any;
785
871
  export declare const AmazonopensearchserviceDestinationUpdateFilterSensitiveLog: (
786
872
  obj: AmazonopensearchserviceDestinationUpdate
787
873
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-firehose",
3
3
  "description": "AWS SDK for JavaScript Firehose Client for Node.js, Browser and React Native",
4
- "version": "3.218.0",
4
+ "version": "3.220.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",