@@ -343,7 +343,8 @@ export interface S3DestinationConfiguration {
343
343
344
344
/**
345
345
* @public
346
- * <p>The details of the VPC of the Amazon ES destination.</p>
346
+ * <p>The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless
347
+ * destination.</p>
347
348
*/
348
349
export interface VpcConfiguration {
349
350
/**
@@ -506,7 +507,8 @@ export interface AmazonOpenSearchServerlessDestinationConfiguration {
506
507
507
508
/**
508
509
* @public
509
- * <p>The details of the VPC of the Amazon ES destination.</p>
510
+ * <p>The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless
511
+ * destination.</p>
510
512
*/
511
513
VpcConfiguration ?: VpcConfiguration ;
512
514
}
@@ -681,7 +683,7 @@ export interface VpcConfigurationDescription {
681
683
export interface AmazonOpenSearchServerlessDestinationDescription {
682
684
/**
683
685
* @public
684
- * <p>The Amazon Resource Name (ARN) of the AWS credentials.</p>
686
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services credentials.</p>
685
687
*/
686
688
RoleARN ?: string ;
687
689
@@ -894,6 +896,44 @@ export interface AmazonopensearchserviceBufferingHints {
894
896
SizeInMBs ?: number ;
895
897
}
896
898
899
+ /**
900
+ * @public
901
+ * @enum
902
+ */
903
+ export const DefaultDocumentIdFormat = {
904
+ FIREHOSE_DEFAULT : "FIREHOSE_DEFAULT" ,
905
+ NO_DOCUMENT_ID : "NO_DOCUMENT_ID" ,
906
+ } as const ;
907
+
908
+ /**
909
+ * @public
910
+ */
911
+ export type DefaultDocumentIdFormat = ( typeof DefaultDocumentIdFormat ) [ keyof typeof DefaultDocumentIdFormat ] ;
912
+
913
+ /**
914
+ * @public
915
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
916
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
917
+ * <p></p>
918
+ */
919
+ export interface DocumentIdOptions {
920
+ /**
921
+ * @public
922
+ * <p>When the <code>FIREHOSE_DEFAULT</code> option is chosen, Kinesis Data Firehose generates
923
+ * a unique document ID for each record based on a unique internal identifier. The generated
924
+ * document ID is stable across multiple delivery attempts, which helps prevent the same
925
+ * record from being indexed multiple times with different document IDs.</p>
926
+ * <p>When the <code>NO_DOCUMENT_ID</code> option is chosen, Kinesis Data Firehose does not
927
+ * include any document IDs in the requests it sends to the Amazon OpenSearch Service. This
928
+ * causes the Amazon OpenSearch Service domain to generate document IDs. In case of multiple
929
+ * delivery attempts, this may cause the same record to be indexed more than once with
930
+ * different document IDs. This option enables write-heavy operations, such as the ingestion
931
+ * of logs and observability data, to consume less resources in the Amazon OpenSearch Service
932
+ * domain, resulting in improved performance.</p>
933
+ */
934
+ DefaultDocumentIdFormat : DefaultDocumentIdFormat | string | undefined ;
935
+ }
936
+
897
937
/**
898
938
* @public
899
939
* @enum
@@ -1037,9 +1077,17 @@ export interface AmazonopensearchserviceDestinationConfiguration {
1037
1077
1038
1078
/**
1039
1079
* @public
1040
- * <p>The details of the VPC of the Amazon ES destination.</p>
1080
+ * <p>The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless
1081
+ * destination.</p>
1041
1082
*/
1042
1083
VpcConfiguration ?: VpcConfiguration ;
1084
+
1085
+ /**
1086
+ * @public
1087
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1088
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1089
+ */
1090
+ DocumentIdOptions ?: DocumentIdOptions ;
1043
1091
}
1044
1092
1045
1093
/**
@@ -1127,6 +1175,13 @@ export interface AmazonopensearchserviceDestinationDescription {
1127
1175
* <p>The details of the VPC of the Amazon ES destination.</p>
1128
1176
*/
1129
1177
VpcConfigurationDescription ?: VpcConfigurationDescription ;
1178
+
1179
+ /**
1180
+ * @public
1181
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1182
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1183
+ */
1184
+ DocumentIdOptions ?: DocumentIdOptions ;
1130
1185
}
1131
1186
1132
1187
/**
@@ -1213,6 +1268,13 @@ export interface AmazonopensearchserviceDestinationUpdate {
1213
1268
* <p>Describes the Amazon CloudWatch logging options for your delivery stream.</p>
1214
1269
*/
1215
1270
CloudWatchLoggingOptions ?: CloudWatchLoggingOptions ;
1271
+
1272
+ /**
1273
+ * @public
1274
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1275
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1276
+ */
1277
+ DocumentIdOptions ?: DocumentIdOptions ;
1216
1278
}
1217
1279
1218
1280
/**
@@ -1537,9 +1599,16 @@ export interface ElasticsearchDestinationConfiguration {
1537
1599
1538
1600
/**
1539
1601
* @public
1540
- * <p>The details of the VPC of the Amazon ES destination.</p>
1602
+ * <p>The details of the VPC of the Amazon destination.</p>
1541
1603
*/
1542
1604
VpcConfiguration ?: VpcConfiguration ;
1605
+
1606
+ /**
1607
+ * @public
1608
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1609
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1610
+ */
1611
+ DocumentIdOptions ?: DocumentIdOptions ;
1543
1612
}
1544
1613
1545
1614
/**
@@ -3077,9 +3146,17 @@ export interface ElasticsearchDestinationDescription {
3077
3146
3078
3147
/**
3079
3148
* @public
3080
- * <p>The details of the VPC of the Amazon ES destination.</p>
3149
+ * <p>The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless
3150
+ * destination.</p>
3081
3151
*/
3082
3152
VpcConfigurationDescription ?: VpcConfigurationDescription ;
3153
+
3154
+ /**
3155
+ * @public
3156
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
3157
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
3158
+ */
3159
+ DocumentIdOptions ?: DocumentIdOptions ;
3083
3160
}
3084
3161
3085
3162
/**
@@ -3740,6 +3817,13 @@ export interface ElasticsearchDestinationUpdate {
3740
3817
* <p>The CloudWatch logging options for your delivery stream.</p>
3741
3818
*/
3742
3819
CloudWatchLoggingOptions ?: CloudWatchLoggingOptions ;
3820
+
3821
+ /**
3822
+ * @public
3823
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
3824
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
3825
+ */
3826
+ DocumentIdOptions ?: DocumentIdOptions ;
3743
3827
}
3744
3828
3745
3829
/**
0 commit comments