@aws-sdk/client-firehose 3.414.0 → 3.421.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.
Files changed (39) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/CreateDeliveryStreamCommand.js +5 -0
  3. package/dist-cjs/commands/DeleteDeliveryStreamCommand.js +5 -0
  4. package/dist-cjs/commands/DescribeDeliveryStreamCommand.js +5 -0
  5. package/dist-cjs/commands/ListDeliveryStreamsCommand.js +5 -0
  6. package/dist-cjs/commands/ListTagsForDeliveryStreamCommand.js +5 -0
  7. package/dist-cjs/commands/PutRecordBatchCommand.js +5 -0
  8. package/dist-cjs/commands/PutRecordCommand.js +5 -0
  9. package/dist-cjs/commands/StartDeliveryStreamEncryptionCommand.js +5 -0
  10. package/dist-cjs/commands/StopDeliveryStreamEncryptionCommand.js +5 -0
  11. package/dist-cjs/commands/TagDeliveryStreamCommand.js +5 -0
  12. package/dist-cjs/commands/UntagDeliveryStreamCommand.js +5 -0
  13. package/dist-cjs/commands/UpdateDestinationCommand.js +5 -0
  14. package/dist-cjs/models/models_0.js +8 -1
  15. package/dist-cjs/protocols/Aws_json1_1.js +10 -0
  16. package/dist-es/commands/CreateDeliveryStreamCommand.js +5 -0
  17. package/dist-es/commands/DeleteDeliveryStreamCommand.js +5 -0
  18. package/dist-es/commands/DescribeDeliveryStreamCommand.js +5 -0
  19. package/dist-es/commands/ListDeliveryStreamsCommand.js +5 -0
  20. package/dist-es/commands/ListTagsForDeliveryStreamCommand.js +5 -0
  21. package/dist-es/commands/PutRecordBatchCommand.js +5 -0
  22. package/dist-es/commands/PutRecordCommand.js +5 -0
  23. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +5 -0
  24. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +5 -0
  25. package/dist-es/commands/TagDeliveryStreamCommand.js +5 -0
  26. package/dist-es/commands/UntagDeliveryStreamCommand.js +5 -0
  27. package/dist-es/commands/UpdateDestinationCommand.js +5 -0
  28. package/dist-es/models/models_0.js +7 -0
  29. package/dist-es/protocols/Aws_json1_1.js +10 -0
  30. package/dist-types/commands/CreateDeliveryStreamCommand.d.ts +19 -11
  31. package/dist-types/commands/DescribeDeliveryStreamCommand.d.ts +20 -11
  32. package/dist-types/commands/ListDeliveryStreamsCommand.d.ts +1 -1
  33. package/dist-types/commands/PutRecordBatchCommand.d.ts +6 -2
  34. package/dist-types/commands/PutRecordCommand.d.ts +7 -2
  35. package/dist-types/commands/StartDeliveryStreamEncryptionCommand.d.ts +1 -0
  36. package/dist-types/commands/UpdateDestinationCommand.d.ts +10 -10
  37. package/dist-types/models/models_0.d.ts +93 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +25 -0
  39. package/package.json +31 -31
package/README.md CHANGED
@@ -28,16 +28,16 @@ using your favorite package manager:
28
28
 
29
29
  The AWS SDK is modulized by clients and commands.
30
30
  To send a request, you only need to import the `FirehoseClient` and
31
- the commands you need, for example `CreateDeliveryStreamCommand`:
31
+ the commands you need, for example `ListDeliveryStreamsCommand`:
32
32
 
33
33
  ```js
34
34
  // ES5 example
35
- const { FirehoseClient, CreateDeliveryStreamCommand } = require("@aws-sdk/client-firehose");
35
+ const { FirehoseClient, ListDeliveryStreamsCommand } = require("@aws-sdk/client-firehose");
36
36
  ```
37
37
 
38
38
  ```ts
39
39
  // ES6+ example
40
- import { FirehoseClient, CreateDeliveryStreamCommand } from "@aws-sdk/client-firehose";
40
+ import { FirehoseClient, ListDeliveryStreamsCommand } from "@aws-sdk/client-firehose";
41
41
  ```
42
42
 
43
43
  ### Usage
@@ -56,7 +56,7 @@ const client = new FirehoseClient({ region: "REGION" });
56
56
  const params = {
57
57
  /** input parameters */
58
58
  };
59
- const command = new CreateDeliveryStreamCommand(params);
59
+ const command = new ListDeliveryStreamsCommand(params);
60
60
  ```
61
61
 
62
62
  #### Async/await
@@ -135,7 +135,7 @@ const client = new AWS.Firehose({ region: "REGION" });
135
135
 
136
136
  // async/await.
137
137
  try {
138
- const data = await client.createDeliveryStream(params);
138
+ const data = await client.listDeliveryStreams(params);
139
139
  // process data.
140
140
  } catch (error) {
141
141
  // error handling.
@@ -143,7 +143,7 @@ try {
143
143
 
144
144
  // Promises.
145
145
  client
146
- .createDeliveryStream(params)
146
+ .listDeliveryStreams(params)
147
147
  .then((data) => {
148
148
  // process data.
149
149
  })
@@ -152,7 +152,7 @@ client
152
152
  });
153
153
 
154
154
  // callbacks.
155
- client.createDeliveryStream(params, (err, data) => {
155
+ client.listDeliveryStreams(params, (err, data) => {
156
156
  // process err and data.
157
157
  });
158
158
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class CreateDeliveryStreamCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class CreateDeliveryStreamCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.CreateDeliveryStreamInputFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Firehose_20150804",
39
+ operation: "CreateDeliveryStream",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteDeliveryStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteDeliveryStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "DeleteDeliveryStream",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class DescribeDeliveryStreamCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class DescribeDeliveryStreamCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.DescribeDeliveryStreamOutputFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Firehose_20150804",
39
+ operation: "DescribeDeliveryStream",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListDeliveryStreamsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListDeliveryStreamsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "ListDeliveryStreams",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListTagsForDeliveryStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTagsForDeliveryStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "ListTagsForDeliveryStream",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class PutRecordBatchCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutRecordBatchCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "PutRecordBatch",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class PutRecordCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutRecordCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "PutRecord",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class StartDeliveryStreamEncryptionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class StartDeliveryStreamEncryptionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "StartDeliveryStreamEncryption",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class StopDeliveryStreamEncryptionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class StopDeliveryStreamEncryptionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "StopDeliveryStreamEncryption",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class TagDeliveryStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class TagDeliveryStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "TagDeliveryStream",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class UntagDeliveryStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UntagDeliveryStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Firehose_20150804",
38
+ operation: "UntagDeliveryStream",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class UpdateDestinationCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class UpdateDestinationCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.UpdateDestinationInputFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Firehose_20150804",
39
+ operation: "UpdateDestination",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,11 +1,12 @@
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.DefaultDocumentIdFormat = 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.Connectivity = 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 = {
7
7
  BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds",
8
8
  BUFFER_SIZE_IN_MB: "BufferSizeInMBs",
9
+ COMPRESSION_FORMAT: "CompressionFormat",
9
10
  Delimiter: "Delimiter",
10
11
  JSON_PARSING_ENGINE: "JsonParsingEngine",
11
12
  LAMBDA_ARN: "LambdaArn",
@@ -16,6 +17,7 @@ exports.ProcessorParameterName = {
16
17
  };
17
18
  exports.ProcessorType = {
18
19
  AppendDelimiterToRecord: "AppendDelimiterToRecord",
20
+ Decompression: "Decompression",
19
21
  Lambda: "Lambda",
20
22
  MetadataExtraction: "MetadataExtraction",
21
23
  RecordDeAggregation: "RecordDeAggregation",
@@ -49,6 +51,10 @@ exports.AmazonopensearchserviceS3BackupMode = {
49
51
  AllDocuments: "AllDocuments",
50
52
  FailedDocumentsOnly: "FailedDocumentsOnly",
51
53
  };
54
+ exports.Connectivity = {
55
+ PRIVATE: "PRIVATE",
56
+ PUBLIC: "PUBLIC",
57
+ };
52
58
  class ConcurrentModificationException extends FirehoseServiceException_1.FirehoseServiceException {
53
59
  constructor(opts) {
54
60
  super({
@@ -73,6 +79,7 @@ exports.KeyType = {
73
79
  exports.DeliveryStreamType = {
74
80
  DirectPut: "DirectPut",
75
81
  KinesisStreamAsSource: "KinesisStreamAsSource",
82
+ MSKAsSource: "MSKAsSource",
76
83
  };
77
84
  exports.ElasticsearchIndexRotationPeriod = {
78
85
  NoRotation: "NoRotation",
@@ -637,6 +637,7 @@ const se_CreateDeliveryStreamInput = (input, context) => {
637
637
  ExtendedS3DestinationConfiguration: (_) => se_ExtendedS3DestinationConfiguration(_, context),
638
638
  HttpEndpointDestinationConfiguration: smithy_client_1._json,
639
639
  KinesisStreamSourceConfiguration: smithy_client_1._json,
640
+ MSKSourceConfiguration: smithy_client_1._json,
640
641
  RedshiftDestinationConfiguration: smithy_client_1._json,
641
642
  S3DestinationConfiguration: smithy_client_1._json,
642
643
  SplunkDestinationConfiguration: smithy_client_1._json,
@@ -823,6 +824,14 @@ const de_KinesisStreamSourceDescription = (output, context) => {
823
824
  RoleARN: smithy_client_1.expectString,
824
825
  });
825
826
  };
827
+ const de_MSKSourceDescription = (output, context) => {
828
+ return (0, smithy_client_1.take)(output, {
829
+ AuthenticationConfiguration: smithy_client_1._json,
830
+ DeliveryStartTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
831
+ MSKClusterARN: smithy_client_1.expectString,
832
+ TopicName: smithy_client_1.expectString,
833
+ });
834
+ };
826
835
  const de_OrcSerDe = (output, context) => {
827
836
  return (0, smithy_client_1.take)(output, {
828
837
  BlockSizeBytes: smithy_client_1.expectInt32,
@@ -851,6 +860,7 @@ const de_Serializer = (output, context) => {
851
860
  const de_SourceDescription = (output, context) => {
852
861
  return (0, smithy_client_1.take)(output, {
853
862
  KinesisStreamSourceDescription: (_) => de_KinesisStreamSourceDescription(_, context),
863
+ MSKSourceDescription: (_) => de_MSKSourceDescription(_, context),
854
864
  });
855
865
  };
856
866
  const deserializeMetadata = (output) => ({
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { CreateDeliveryStreamInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateDeliveryStreamCommand, se_CreateDeliveryStreamCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class CreateDeliveryStreamCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: CreateDeliveryStreamInputFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Firehose_20150804",
36
+ operation: "CreateDeliveryStream",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteDeliveryStreamCommand, se_DeleteDeliveryStreamCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteDeliveryStreamCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteDeliveryStreamCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "DeleteDeliveryStream",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DescribeDeliveryStreamOutputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DescribeDeliveryStreamCommand, se_DescribeDeliveryStreamCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DescribeDeliveryStreamCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: DescribeDeliveryStreamOutputFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Firehose_20150804",
36
+ operation: "DescribeDeliveryStream",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListDeliveryStreamsCommand, se_ListDeliveryStreamsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListDeliveryStreamsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListDeliveryStreamsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "ListDeliveryStreams",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForDeliveryStreamCommand, se_ListTagsForDeliveryStreamCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListTagsForDeliveryStreamCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForDeliveryStreamCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "ListTagsForDeliveryStream",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutRecordBatchCommand, se_PutRecordBatchCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutRecordBatchCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutRecordBatchCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "PutRecordBatch",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutRecordCommand, se_PutRecordCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutRecordCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutRecordCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "PutRecord",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartDeliveryStreamEncryptionCommand, se_StartDeliveryStreamEncryptionCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartDeliveryStreamEncryptionCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartDeliveryStreamEncryptionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "StartDeliveryStreamEncryption",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StopDeliveryStreamEncryptionCommand, se_StopDeliveryStreamEncryptionCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopDeliveryStreamEncryptionCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopDeliveryStreamEncryptionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "StopDeliveryStreamEncryption",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagDeliveryStreamCommand, se_TagDeliveryStreamCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class TagDeliveryStreamCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagDeliveryStreamCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "TagDeliveryStream",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagDeliveryStreamCommand, se_UntagDeliveryStreamCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UntagDeliveryStreamCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagDeliveryStreamCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Firehose_20150804",
35
+ operation: "UntagDeliveryStream",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { UpdateDestinationInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_UpdateDestinationCommand, se_UpdateDestinationCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class UpdateDestinationCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: UpdateDestinationInputFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Firehose_20150804",
36
+ operation: "UpdateDestination",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,6 +3,7 @@ import { FirehoseServiceException as __BaseException } from "./FirehoseServiceEx
3
3
  export const ProcessorParameterName = {
4
4
  BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds",
5
5
  BUFFER_SIZE_IN_MB: "BufferSizeInMBs",
6
+ COMPRESSION_FORMAT: "CompressionFormat",
6
7
  Delimiter: "Delimiter",
7
8
  JSON_PARSING_ENGINE: "JsonParsingEngine",
8
9
  LAMBDA_ARN: "LambdaArn",
@@ -13,6 +14,7 @@ export const ProcessorParameterName = {
13
14
  };
14
15
  export const ProcessorType = {
15
16
  AppendDelimiterToRecord: "AppendDelimiterToRecord",
17
+ Decompression: "Decompression",
16
18
  Lambda: "Lambda",
17
19
  MetadataExtraction: "MetadataExtraction",
18
20
  RecordDeAggregation: "RecordDeAggregation",
@@ -46,6 +48,10 @@ export const AmazonopensearchserviceS3BackupMode = {
46
48
  AllDocuments: "AllDocuments",
47
49
  FailedDocumentsOnly: "FailedDocumentsOnly",
48
50
  };
51
+ export const Connectivity = {
52
+ PRIVATE: "PRIVATE",
53
+ PUBLIC: "PUBLIC",
54
+ };
49
55
  export class ConcurrentModificationException extends __BaseException {
50
56
  constructor(opts) {
51
57
  super({
@@ -69,6 +75,7 @@ export const KeyType = {
69
75
  export const DeliveryStreamType = {
70
76
  DirectPut: "DirectPut",
71
77
  KinesisStreamAsSource: "KinesisStreamAsSource",
78
+ MSKAsSource: "MSKAsSource",
72
79
  };
73
80
  export const ElasticsearchIndexRotationPeriod = {
74
81
  NoRotation: "NoRotation",