@aws-sdk/client-firehose 3.409.0 → 3.412.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
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateDestinationInputFilterSensitiveLog = exports.RedshiftDestinationUpdateFilterSensitiveLog = exports.HttpEndpointDestinationUpdateFilterSensitiveLog = exports.DescribeDeliveryStreamOutputFilterSensitiveLog = exports.DeliveryStreamDescriptionFilterSensitiveLog = exports.DestinationDescriptionFilterSensitiveLog = exports.RedshiftDestinationDescriptionFilterSensitiveLog = exports.HttpEndpointDestinationDescriptionFilterSensitiveLog = exports.HttpEndpointDescriptionFilterSensitiveLog = exports.CreateDeliveryStreamInputFilterSensitiveLog = exports.RedshiftDestinationConfigurationFilterSensitiveLog = exports.HttpEndpointDestinationConfigurationFilterSensitiveLog = exports.HttpEndpointRequestConfigurationFilterSensitiveLog = exports.HttpEndpointCommonAttributeFilterSensitiveLog = exports.HttpEndpointConfigurationFilterSensitiveLog = exports.ServiceUnavailableException = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionStatus = exports.DeliveryStreamFailureType = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = exports.SplunkS3BackupMode = exports.HECEndpointType = exports.RedshiftS3BackupMode = exports.HttpEndpointS3BackupMode = exports.S3BackupMode = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcFormatVersion = exports.OrcCompression = exports.ElasticsearchS3BackupMode = exports.ElasticsearchIndexRotationPeriod = exports.DeliveryStreamType = exports.KeyType = exports.ContentEncoding = exports.ConcurrentModificationException = exports.AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceIndexRotationPeriod = exports.NoEncryptionConfig = exports.CompressionFormat = exports.AmazonOpenSearchServerlessS3BackupMode = exports.ProcessorType = exports.ProcessorParameterName = void 0;
3
+ exports.UpdateDestinationInputFilterSensitiveLog = exports.RedshiftDestinationUpdateFilterSensitiveLog = exports.HttpEndpointDestinationUpdateFilterSensitiveLog = exports.DescribeDeliveryStreamOutputFilterSensitiveLog = exports.DeliveryStreamDescriptionFilterSensitiveLog = exports.DestinationDescriptionFilterSensitiveLog = exports.RedshiftDestinationDescriptionFilterSensitiveLog = exports.HttpEndpointDestinationDescriptionFilterSensitiveLog = exports.HttpEndpointDescriptionFilterSensitiveLog = exports.CreateDeliveryStreamInputFilterSensitiveLog = exports.RedshiftDestinationConfigurationFilterSensitiveLog = exports.HttpEndpointDestinationConfigurationFilterSensitiveLog = exports.HttpEndpointRequestConfigurationFilterSensitiveLog = exports.HttpEndpointCommonAttributeFilterSensitiveLog = exports.HttpEndpointConfigurationFilterSensitiveLog = exports.ServiceUnavailableException = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionStatus = exports.DeliveryStreamFailureType = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = exports.SplunkS3BackupMode = exports.HECEndpointType = exports.RedshiftS3BackupMode = exports.HttpEndpointS3BackupMode = exports.S3BackupMode = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcFormatVersion = exports.OrcCompression = exports.ElasticsearchS3BackupMode = exports.ElasticsearchIndexRotationPeriod = exports.DeliveryStreamType = exports.KeyType = exports.ContentEncoding = exports.ConcurrentModificationException = exports.AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceIndexRotationPeriod = exports.DefaultDocumentIdFormat = exports.NoEncryptionConfig = exports.CompressionFormat = exports.AmazonOpenSearchServerlessS3BackupMode = exports.ProcessorType = exports.ProcessorParameterName = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const FirehoseServiceException_1 = require("./FirehoseServiceException");
6
6
  exports.ProcessorParameterName = {
@@ -34,6 +34,10 @@ exports.CompressionFormat = {
34
34
  exports.NoEncryptionConfig = {
35
35
  NoEncryption: "NoEncryption",
36
36
  };
37
+ exports.DefaultDocumentIdFormat = {
38
+ FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT",
39
+ NO_DOCUMENT_ID: "NO_DOCUMENT_ID",
40
+ };
37
41
  exports.AmazonopensearchserviceIndexRotationPeriod = {
38
42
  NoRotation: "NoRotation",
39
43
  OneDay: "OneDay",
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -31,6 +31,10 @@ export const CompressionFormat = {
31
31
  export const NoEncryptionConfig = {
32
32
  NoEncryption: "NoEncryption",
33
33
  };
34
+ export const DefaultDocumentIdFormat = {
35
+ FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT",
36
+ NO_DOCUMENT_ID: "NO_DOCUMENT_ID",
37
+ };
34
38
  export const AmazonopensearchserviceIndexRotationPeriod = {
35
39
  NoRotation: "NoRotation",
36
40
  OneDay: "OneDay",
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -46,9 +46,12 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
46
46
  * <p>To create a delivery stream with server-side encryption (SSE) enabled, include <a>DeliveryStreamEncryptionConfigurationInput</a> in your request. This is
47
47
  * optional. You can also invoke <a>StartDeliveryStreamEncryption</a> to turn on
48
48
  * SSE for an existing delivery stream that doesn't have SSE enabled.</p>
49
- * <p>A delivery stream is configured with a single destination: Amazon S3, Amazon ES,
50
- * Amazon Redshift, or Splunk. You must specify only one of the following destination
51
- * configuration parameters: <code>ExtendedS3DestinationConfiguration</code>,
49
+ * <p>A delivery stream is configured with a single destination, such as Amazon Simple
50
+ * Storage Service (Amazon S3), Amazon Redshift, Amazon OpenSearch Service, Amazon OpenSearch
51
+ * Serverless, Splunk, and any custom HTTP endpoint or HTTP endpoints owned by or supported by
52
+ * third-party service providers, including Datadog, Dynatrace, LogicMonitor, MongoDB, New
53
+ * Relic, and Sumo Logic. You must specify only one of the following destination configuration
54
+ * parameters: <code>ExtendedS3DestinationConfiguration</code>,
52
55
  * <code>S3DestinationConfiguration</code>,
53
56
  * <code>ElasticsearchDestinationConfiguration</code>,
54
57
  * <code>RedshiftDestinationConfiguration</code>, or
@@ -369,6 +372,9 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
369
372
  * "STRING_VALUE",
370
373
  * ],
371
374
  * },
375
+ * DocumentIdOptions: { // DocumentIdOptions
376
+ * DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required
377
+ * },
372
378
  * },
373
379
  * AmazonopensearchserviceDestinationConfiguration: { // AmazonopensearchserviceDestinationConfiguration
374
380
  * RoleARN: "STRING_VALUE", // required
@@ -410,6 +416,9 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
410
416
  * "STRING_VALUE",
411
417
  * ],
412
418
  * },
419
+ * DocumentIdOptions: {
420
+ * DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required
421
+ * },
413
422
  * },
414
423
  * SplunkDestinationConfiguration: { // SplunkDestinationConfiguration
415
424
  * HECEndpoint: "STRING_VALUE", // required
@@ -338,6 +338,9 @@ export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStr
338
338
  * // ],
339
339
  * // VpcId: "STRING_VALUE", // required
340
340
  * // },
341
+ * // DocumentIdOptions: { // DocumentIdOptions
342
+ * // DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required
343
+ * // },
341
344
  * // },
342
345
  * // AmazonopensearchserviceDestinationDescription: { // AmazonopensearchserviceDestinationDescription
343
346
  * // RoleARN: "STRING_VALUE",
@@ -380,6 +383,9 @@ export interface DescribeDeliveryStreamCommandOutput extends DescribeDeliveryStr
380
383
  * // ],
381
384
  * // VpcId: "STRING_VALUE", // required
382
385
  * // },
386
+ * // DocumentIdOptions: {
387
+ * // DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required
388
+ * // },
383
389
  * // },
384
390
  * // SplunkDestinationDescription: { // SplunkDestinationDescription
385
391
  * // HECEndpoint: "STRING_VALUE",
@@ -30,8 +30,9 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
30
30
  * occur immediately. The target delivery stream remains active while the configurations are
31
31
  * updated, so data writes to the delivery stream can continue during this process. The
32
32
  * updated configurations are usually effective within a few minutes.</p>
33
- * <p>Switching between Amazon ES and other services is not supported. For an Amazon ES
34
- * destination, you can only update to another Amazon ES destination.</p>
33
+ * <p>Switching between Amazon OpenSearch Service and other services is not supported. For
34
+ * an Amazon OpenSearch Service destination, you can only update to another Amazon OpenSearch
35
+ * Service destination.</p>
35
36
  * <p>If the destination type is the same, Kinesis Data Firehose merges the configuration
36
37
  * parameters specified with the destination configuration that already exists on the delivery
37
38
  * stream. If any of the parameters are not specified in the call, the existing values are
@@ -308,6 +309,9 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
308
309
  * ],
309
310
  * },
310
311
  * CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
312
+ * DocumentIdOptions: { // DocumentIdOptions
313
+ * DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required
314
+ * },
311
315
  * },
312
316
  * AmazonopensearchserviceDestinationUpdate: { // AmazonopensearchserviceDestinationUpdate
313
317
  * RoleARN: "STRING_VALUE",
@@ -339,6 +343,9 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
339
343
  * ],
340
344
  * },
341
345
  * CloudWatchLoggingOptions: "<CloudWatchLoggingOptions>",
346
+ * DocumentIdOptions: {
347
+ * DefaultDocumentIdFormat: "FIREHOSE_DEFAULT" || "NO_DOCUMENT_ID", // required
348
+ * },
342
349
  * },
343
350
  * SplunkDestinationUpdate: { // SplunkDestinationUpdate
344
351
  * HECEndpoint: "STRING_VALUE",
@@ -1,6 +1,7 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
- export interface FirehoseExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ export interface FirehoseExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
6
7
  }
@@ -304,7 +304,8 @@ export interface S3DestinationConfiguration {
304
304
  }
305
305
  /**
306
306
  * @public
307
- * <p>The details of the VPC of the Amazon ES destination.</p>
307
+ * <p>The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless
308
+ * destination.</p>
308
309
  */
309
310
  export interface VpcConfiguration {
310
311
  /**
@@ -455,7 +456,8 @@ export interface AmazonOpenSearchServerlessDestinationConfiguration {
455
456
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
456
457
  /**
457
458
  * @public
458
- * <p>The details of the VPC of the Amazon ES destination.</p>
459
+ * <p>The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless
460
+ * destination.</p>
459
461
  */
460
462
  VpcConfiguration?: VpcConfiguration;
461
463
  }
@@ -617,7 +619,7 @@ export interface VpcConfigurationDescription {
617
619
  export interface AmazonOpenSearchServerlessDestinationDescription {
618
620
  /**
619
621
  * @public
620
- * <p>The Amazon Resource Name (ARN) of the AWS credentials.</p>
622
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services credentials.</p>
621
623
  */
622
624
  RoleARN?: string;
623
625
  /**
@@ -802,6 +804,41 @@ export interface AmazonopensearchserviceBufferingHints {
802
804
  */
803
805
  SizeInMBs?: number;
804
806
  }
807
+ /**
808
+ * @public
809
+ * @enum
810
+ */
811
+ export declare const DefaultDocumentIdFormat: {
812
+ readonly FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT";
813
+ readonly NO_DOCUMENT_ID: "NO_DOCUMENT_ID";
814
+ };
815
+ /**
816
+ * @public
817
+ */
818
+ export type DefaultDocumentIdFormat = (typeof DefaultDocumentIdFormat)[keyof typeof DefaultDocumentIdFormat];
819
+ /**
820
+ * @public
821
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
822
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
823
+ * <p></p>
824
+ */
825
+ export interface DocumentIdOptions {
826
+ /**
827
+ * @public
828
+ * <p>When the <code>FIREHOSE_DEFAULT</code> option is chosen, Kinesis Data Firehose generates
829
+ * a unique document ID for each record based on a unique internal identifier. The generated
830
+ * document ID is stable across multiple delivery attempts, which helps prevent the same
831
+ * record from being indexed multiple times with different document IDs.</p>
832
+ * <p>When the <code>NO_DOCUMENT_ID</code> option is chosen, Kinesis Data Firehose does not
833
+ * include any document IDs in the requests it sends to the Amazon OpenSearch Service. This
834
+ * causes the Amazon OpenSearch Service domain to generate document IDs. In case of multiple
835
+ * delivery attempts, this may cause the same record to be indexed more than once with
836
+ * different document IDs. This option enables write-heavy operations, such as the ingestion
837
+ * of logs and observability data, to consume less resources in the Amazon OpenSearch Service
838
+ * domain, resulting in improved performance.</p>
839
+ */
840
+ DefaultDocumentIdFormat: DefaultDocumentIdFormat | string | undefined;
841
+ }
805
842
  /**
806
843
  * @public
807
844
  * @enum
@@ -926,9 +963,16 @@ export interface AmazonopensearchserviceDestinationConfiguration {
926
963
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
927
964
  /**
928
965
  * @public
929
- * <p>The details of the VPC of the Amazon ES destination.</p>
966
+ * <p>The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless
967
+ * destination.</p>
930
968
  */
931
969
  VpcConfiguration?: VpcConfiguration;
970
+ /**
971
+ * @public
972
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
973
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
974
+ */
975
+ DocumentIdOptions?: DocumentIdOptions;
932
976
  }
933
977
  /**
934
978
  * @public
@@ -1003,6 +1047,12 @@ export interface AmazonopensearchserviceDestinationDescription {
1003
1047
  * <p>The details of the VPC of the Amazon ES destination.</p>
1004
1048
  */
1005
1049
  VpcConfigurationDescription?: VpcConfigurationDescription;
1050
+ /**
1051
+ * @public
1052
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1053
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1054
+ */
1055
+ DocumentIdOptions?: DocumentIdOptions;
1006
1056
  }
1007
1057
  /**
1008
1058
  * @public
@@ -1078,6 +1128,12 @@ export interface AmazonopensearchserviceDestinationUpdate {
1078
1128
  * <p>Describes the Amazon CloudWatch logging options for your delivery stream.</p>
1079
1129
  */
1080
1130
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1131
+ /**
1132
+ * @public
1133
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1134
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1135
+ */
1136
+ DocumentIdOptions?: DocumentIdOptions;
1081
1137
  }
1082
1138
  /**
1083
1139
  * @public
@@ -1362,9 +1418,15 @@ export interface ElasticsearchDestinationConfiguration {
1362
1418
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1363
1419
  /**
1364
1420
  * @public
1365
- * <p>The details of the VPC of the Amazon ES destination.</p>
1421
+ * <p>The details of the VPC of the Amazon destination.</p>
1366
1422
  */
1367
1423
  VpcConfiguration?: VpcConfiguration;
1424
+ /**
1425
+ * @public
1426
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
1427
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
1428
+ */
1429
+ DocumentIdOptions?: DocumentIdOptions;
1368
1430
  }
1369
1431
  /**
1370
1432
  * @public
@@ -2704,9 +2766,16 @@ export interface ElasticsearchDestinationDescription {
2704
2766
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
2705
2767
  /**
2706
2768
  * @public
2707
- * <p>The details of the VPC of the Amazon ES destination.</p>
2769
+ * <p>The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless
2770
+ * destination.</p>
2708
2771
  */
2709
2772
  VpcConfigurationDescription?: VpcConfigurationDescription;
2773
+ /**
2774
+ * @public
2775
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
2776
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
2777
+ */
2778
+ DocumentIdOptions?: DocumentIdOptions;
2710
2779
  }
2711
2780
  /**
2712
2781
  * @public
@@ -3284,6 +3353,12 @@ export interface ElasticsearchDestinationUpdate {
3284
3353
  * <p>The CloudWatch logging options for your delivery stream.</p>
3285
3354
  */
3286
3355
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
3356
+ /**
3357
+ * @public
3358
+ * <p>Indicates the method for setting up document ID. The supported methods are Kinesis Data
3359
+ * Firehose generated document ID and OpenSearch Service generated document ID.</p>
3360
+ */
3361
+ DocumentIdOptions?: DocumentIdOptions;
3287
3362
  }
3288
3363
  /**
3289
3364
  * @public
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: FirehoseClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: FirehoseClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,10 @@ import { FirehoseClientConfig } from "./FirehoseClient";
5
5
  export declare const getRuntimeConfig: (config: FirehoseClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
12
  apiVersion: string;
10
13
  urlParser: import("@smithy/types").UrlParser;
11
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -3,7 +3,7 @@ import { FirehoseExtensionConfiguration } from "./extensionConfiguration";
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configure(clientConfiguration: FirehoseExtensionConfiguration): void;
6
+ configure(extensionConfiguration: FirehoseExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -1,3 +1,5 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  export interface FirehoseExtensionConfiguration
3
- extends DefaultExtensionConfiguration {}
4
+ extends HttpHandlerExtensionConfiguration,
5
+ DefaultExtensionConfiguration {}
@@ -154,6 +154,15 @@ export interface AmazonopensearchserviceBufferingHints {
154
154
  IntervalInSeconds?: number;
155
155
  SizeInMBs?: number;
156
156
  }
157
+ export declare const DefaultDocumentIdFormat: {
158
+ readonly FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT";
159
+ readonly NO_DOCUMENT_ID: "NO_DOCUMENT_ID";
160
+ };
161
+ export type DefaultDocumentIdFormat =
162
+ (typeof DefaultDocumentIdFormat)[keyof typeof DefaultDocumentIdFormat];
163
+ export interface DocumentIdOptions {
164
+ DefaultDocumentIdFormat: DefaultDocumentIdFormat | string | undefined;
165
+ }
157
166
  export declare const AmazonopensearchserviceIndexRotationPeriod: {
158
167
  readonly NoRotation: "NoRotation";
159
168
  readonly OneDay: "OneDay";
@@ -186,6 +195,7 @@ export interface AmazonopensearchserviceDestinationConfiguration {
186
195
  ProcessingConfiguration?: ProcessingConfiguration;
187
196
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
188
197
  VpcConfiguration?: VpcConfiguration;
198
+ DocumentIdOptions?: DocumentIdOptions;
189
199
  }
190
200
  export interface AmazonopensearchserviceDestinationDescription {
191
201
  RoleARN?: string;
@@ -201,6 +211,7 @@ export interface AmazonopensearchserviceDestinationDescription {
201
211
  ProcessingConfiguration?: ProcessingConfiguration;
202
212
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
203
213
  VpcConfigurationDescription?: VpcConfigurationDescription;
214
+ DocumentIdOptions?: DocumentIdOptions;
204
215
  }
205
216
  export interface AmazonopensearchserviceDestinationUpdate {
206
217
  RoleARN?: string;
@@ -214,6 +225,7 @@ export interface AmazonopensearchserviceDestinationUpdate {
214
225
  S3Update?: S3DestinationUpdate;
215
226
  ProcessingConfiguration?: ProcessingConfiguration;
216
227
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
228
+ DocumentIdOptions?: DocumentIdOptions;
217
229
  }
218
230
  export declare class ConcurrentModificationException extends __BaseException {
219
231
  readonly name: "ConcurrentModificationException";
@@ -287,6 +299,7 @@ export interface ElasticsearchDestinationConfiguration {
287
299
  ProcessingConfiguration?: ProcessingConfiguration;
288
300
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
289
301
  VpcConfiguration?: VpcConfiguration;
302
+ DocumentIdOptions?: DocumentIdOptions;
290
303
  }
291
304
  export interface HiveJsonSerDe {
292
305
  TimestampFormats?: string[];
@@ -611,6 +624,7 @@ export interface ElasticsearchDestinationDescription {
611
624
  ProcessingConfiguration?: ProcessingConfiguration;
612
625
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
613
626
  VpcConfigurationDescription?: VpcConfigurationDescription;
627
+ DocumentIdOptions?: DocumentIdOptions;
614
628
  }
615
629
  export interface ExtendedS3DestinationDescription {
616
630
  RoleARN: string | undefined;
@@ -718,6 +732,7 @@ export interface ElasticsearchDestinationUpdate {
718
732
  S3Update?: S3DestinationUpdate;
719
733
  ProcessingConfiguration?: ProcessingConfiguration;
720
734
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
735
+ DocumentIdOptions?: DocumentIdOptions;
721
736
  }
722
737
  export interface ExtendedS3DestinationUpdate {
723
738
  RoleARN?: string;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: FirehoseClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: FirehoseClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: FirehoseClientConfig) => {
8
8
  any,
9
9
  import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
- import("@smithy/protocol-http").HttpHandler)
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
12
19
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
20
  apiVersion: string;
14
21
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,6 @@
1
1
  import { FirehoseExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: FirehoseExtensionConfiguration): void;
3
+ configure(extensionConfiguration: FirehoseExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
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.409.0",
4
+ "version": "3.412.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",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.409.0",
25
- "@aws-sdk/credential-provider-node": "3.409.0",
26
- "@aws-sdk/middleware-host-header": "3.408.0",
27
- "@aws-sdk/middleware-logger": "3.408.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
- "@aws-sdk/middleware-signing": "3.408.0",
30
- "@aws-sdk/middleware-user-agent": "3.408.0",
31
- "@aws-sdk/types": "3.408.0",
32
- "@aws-sdk/util-endpoints": "3.408.0",
33
- "@aws-sdk/util-user-agent-browser": "3.408.0",
34
- "@aws-sdk/util-user-agent-node": "3.408.0",
35
- "@smithy/config-resolver": "^2.0.5",
36
- "@smithy/fetch-http-handler": "^2.0.5",
37
- "@smithy/hash-node": "^2.0.5",
38
- "@smithy/invalid-dependency": "^2.0.5",
39
- "@smithy/middleware-content-length": "^2.0.5",
40
- "@smithy/middleware-endpoint": "^2.0.5",
41
- "@smithy/middleware-retry": "^2.0.5",
42
- "@smithy/middleware-serde": "^2.0.5",
24
+ "@aws-sdk/client-sts": "3.410.0",
25
+ "@aws-sdk/credential-provider-node": "3.410.0",
26
+ "@aws-sdk/middleware-host-header": "3.410.0",
27
+ "@aws-sdk/middleware-logger": "3.410.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.410.0",
29
+ "@aws-sdk/middleware-signing": "3.410.0",
30
+ "@aws-sdk/middleware-user-agent": "3.410.0",
31
+ "@aws-sdk/types": "3.410.0",
32
+ "@aws-sdk/util-endpoints": "3.410.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.410.0",
34
+ "@aws-sdk/util-user-agent-node": "3.410.0",
35
+ "@smithy/config-resolver": "^2.0.7",
36
+ "@smithy/fetch-http-handler": "^2.1.2",
37
+ "@smithy/hash-node": "^2.0.6",
38
+ "@smithy/invalid-dependency": "^2.0.6",
39
+ "@smithy/middleware-content-length": "^2.0.8",
40
+ "@smithy/middleware-endpoint": "^2.0.6",
41
+ "@smithy/middleware-retry": "^2.0.9",
42
+ "@smithy/middleware-serde": "^2.0.6",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.6",
45
- "@smithy/node-http-handler": "^2.0.5",
46
- "@smithy/protocol-http": "^2.0.5",
47
- "@smithy/smithy-client": "^2.0.5",
48
- "@smithy/types": "^2.2.2",
49
- "@smithy/url-parser": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.9",
45
+ "@smithy/node-http-handler": "^2.1.2",
46
+ "@smithy/protocol-http": "^3.0.2",
47
+ "@smithy/smithy-client": "^2.1.3",
48
+ "@smithy/types": "^2.3.0",
49
+ "@smithy/url-parser": "^2.0.6",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.6",
54
- "@smithy/util-defaults-mode-node": "^2.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.7",
54
+ "@smithy/util-defaults-mode-node": "^2.0.9",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"