@aws-sdk/client-firehose 3.32.0 → 3.36.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 (176) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/{dist/cjs → dist-cjs}/Firehose.js +1 -2
  3. package/{dist/cjs → dist-cjs}/FirehoseClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateDeliveryStreamCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/DeleteDeliveryStreamCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/DescribeDeliveryStreamCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/ListDeliveryStreamsCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/ListTagsForDeliveryStreamCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/PutRecordBatchCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/PutRecordCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/StartDeliveryStreamEncryptionCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/StopDeliveryStreamEncryptionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/TagDeliveryStreamCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/UntagDeliveryStreamCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/UpdateDestinationCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  17. package/{dist/cjs → dist-cjs}/index.js +0 -1
  18. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  19. package/{dist/cjs → dist-cjs}/models/models_0.js +150 -93
  20. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +132 -1
  21. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  22. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  23. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  25. package/{dist/es → dist-es}/Firehose.js +2 -9
  26. package/{dist/es → dist-es}/FirehoseClient.js +2 -14
  27. package/dist-es/commands/CreateDeliveryStreamCommand.js +39 -0
  28. package/dist-es/commands/DeleteDeliveryStreamCommand.js +39 -0
  29. package/{dist/es → dist-es}/commands/DescribeDeliveryStreamCommand.js +4 -36
  30. package/{dist/es → dist-es}/commands/ListDeliveryStreamsCommand.js +4 -37
  31. package/{dist/es → dist-es}/commands/ListTagsForDeliveryStreamCommand.js +4 -31
  32. package/dist-es/commands/PutRecordBatchCommand.js +39 -0
  33. package/dist-es/commands/PutRecordCommand.js +39 -0
  34. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +39 -0
  35. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +39 -0
  36. package/dist-es/commands/TagDeliveryStreamCommand.js +39 -0
  37. package/{dist/es → dist-es}/commands/UntagDeliveryStreamCommand.js +4 -33
  38. package/dist-es/commands/UpdateDestinationCommand.js +39 -0
  39. package/{dist/es → dist-es}/endpoints.js +1 -2
  40. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  41. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  42. package/{dist/es → dist-es}/models/models_0.js +87 -331
  43. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +349 -256
  44. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  45. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  46. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  47. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  48. package/{dist/types → dist-types}/Firehose.d.ts +2 -2
  49. package/{dist/types → dist-types}/FirehoseClient.d.ts +8 -8
  50. package/{dist/types → dist-types}/commands/CreateDeliveryStreamCommand.d.ts +2 -2
  51. package/{dist/types → dist-types}/commands/DeleteDeliveryStreamCommand.d.ts +2 -2
  52. package/{dist/types → dist-types}/commands/DescribeDeliveryStreamCommand.d.ts +2 -2
  53. package/{dist/types → dist-types}/commands/ListDeliveryStreamsCommand.d.ts +2 -2
  54. package/{dist/types → dist-types}/commands/ListTagsForDeliveryStreamCommand.d.ts +2 -2
  55. package/{dist/types → dist-types}/commands/PutRecordBatchCommand.d.ts +2 -2
  56. package/{dist/types → dist-types}/commands/PutRecordCommand.d.ts +2 -2
  57. package/{dist/types → dist-types}/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
  58. package/{dist/types → dist-types}/commands/StopDeliveryStreamEncryptionCommand.d.ts +2 -2
  59. package/{dist/types → dist-types}/commands/TagDeliveryStreamCommand.d.ts +2 -2
  60. package/{dist/types → dist-types}/commands/UntagDeliveryStreamCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/UpdateDestinationCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  63. package/{index.ts → dist-types/index.d.ts} +0 -0
  64. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  65. package/{dist/types → dist-types}/models/models_0.d.ts +524 -397
  66. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  67. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  68. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  69. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  70. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  71. package/{dist/types → dist-types}/ts3.4/Firehose.d.ts +2 -2
  72. package/{dist/types → dist-types}/ts3.4/FirehoseClient.d.ts +8 -8
  73. package/{dist/types → dist-types}/ts3.4/commands/CreateDeliveryStreamCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/ts3.4/commands/DeleteDeliveryStreamCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/ts3.4/commands/DescribeDeliveryStreamCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/ts3.4/commands/ListDeliveryStreamsCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForDeliveryStreamCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/ts3.4/commands/PutRecordBatchCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/ts3.4/commands/PutRecordCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/ts3.4/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/ts3.4/commands/StopDeliveryStreamEncryptionCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/ts3.4/commands/TagDeliveryStreamCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/ts3.4/commands/UntagDeliveryStreamCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/ts3.4/commands/UpdateDestinationCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  86. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  87. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  88. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +524 -397
  89. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  90. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  91. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  92. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  93. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  94. package/package.json +52 -49
  95. package/Firehose.ts +0 -704
  96. package/FirehoseClient.ts +0 -298
  97. package/commands/CreateDeliveryStreamCommand.ts +0 -162
  98. package/commands/DeleteDeliveryStreamCommand.ts +0 -103
  99. package/commands/DescribeDeliveryStreamCommand.ts +0 -100
  100. package/commands/ListDeliveryStreamsCommand.ts +0 -101
  101. package/commands/ListTagsForDeliveryStreamCommand.ts +0 -98
  102. package/commands/PutRecordBatchCommand.ts +0 -144
  103. package/commands/PutRecordCommand.ts +0 -122
  104. package/commands/StartDeliveryStreamEncryptionCommand.ts +0 -134
  105. package/commands/StopDeliveryStreamEncryptionCommand.ts +0 -118
  106. package/commands/TagDeliveryStreamCommand.ts +0 -102
  107. package/commands/UntagDeliveryStreamCommand.ts +0 -97
  108. package/commands/UpdateDestinationCommand.ts +0 -117
  109. package/dist/cjs/Firehose.js.map +0 -1
  110. package/dist/cjs/FirehoseClient.js.map +0 -1
  111. package/dist/cjs/commands/CreateDeliveryStreamCommand.js.map +0 -1
  112. package/dist/cjs/commands/DeleteDeliveryStreamCommand.js.map +0 -1
  113. package/dist/cjs/commands/DescribeDeliveryStreamCommand.js.map +0 -1
  114. package/dist/cjs/commands/ListDeliveryStreamsCommand.js.map +0 -1
  115. package/dist/cjs/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
  116. package/dist/cjs/commands/PutRecordBatchCommand.js.map +0 -1
  117. package/dist/cjs/commands/PutRecordCommand.js.map +0 -1
  118. package/dist/cjs/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
  119. package/dist/cjs/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
  120. package/dist/cjs/commands/TagDeliveryStreamCommand.js.map +0 -1
  121. package/dist/cjs/commands/UntagDeliveryStreamCommand.js.map +0 -1
  122. package/dist/cjs/commands/UpdateDestinationCommand.js.map +0 -1
  123. package/dist/cjs/endpoints.js.map +0 -1
  124. package/dist/cjs/index.js.map +0 -1
  125. package/dist/cjs/models/index.js.map +0 -1
  126. package/dist/cjs/models/models_0.js.map +0 -1
  127. package/dist/cjs/package.json +0 -91
  128. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  129. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  130. package/dist/cjs/runtimeConfig.js.map +0 -1
  131. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  132. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  133. package/dist/es/Firehose.js.map +0 -1
  134. package/dist/es/FirehoseClient.js.map +0 -1
  135. package/dist/es/commands/CreateDeliveryStreamCommand.js +0 -133
  136. package/dist/es/commands/CreateDeliveryStreamCommand.js.map +0 -1
  137. package/dist/es/commands/DeleteDeliveryStreamCommand.js +0 -74
  138. package/dist/es/commands/DeleteDeliveryStreamCommand.js.map +0 -1
  139. package/dist/es/commands/DescribeDeliveryStreamCommand.js.map +0 -1
  140. package/dist/es/commands/ListDeliveryStreamsCommand.js.map +0 -1
  141. package/dist/es/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
  142. package/dist/es/commands/PutRecordBatchCommand.js +0 -115
  143. package/dist/es/commands/PutRecordBatchCommand.js.map +0 -1
  144. package/dist/es/commands/PutRecordCommand.js +0 -96
  145. package/dist/es/commands/PutRecordCommand.js.map +0 -1
  146. package/dist/es/commands/StartDeliveryStreamEncryptionCommand.js +0 -100
  147. package/dist/es/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
  148. package/dist/es/commands/StopDeliveryStreamEncryptionCommand.js +0 -84
  149. package/dist/es/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
  150. package/dist/es/commands/TagDeliveryStreamCommand.js +0 -73
  151. package/dist/es/commands/TagDeliveryStreamCommand.js.map +0 -1
  152. package/dist/es/commands/UntagDeliveryStreamCommand.js.map +0 -1
  153. package/dist/es/commands/UpdateDestinationCommand.js +0 -88
  154. package/dist/es/commands/UpdateDestinationCommand.js.map +0 -1
  155. package/dist/es/endpoints.js.map +0 -1
  156. package/dist/es/index.js +0 -16
  157. package/dist/es/index.js.map +0 -1
  158. package/dist/es/models/index.js +0 -2
  159. package/dist/es/models/index.js.map +0 -1
  160. package/dist/es/models/models_0.js.map +0 -1
  161. package/dist/es/package.json +0 -91
  162. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  163. package/dist/es/runtimeConfig.browser.js.map +0 -1
  164. package/dist/es/runtimeConfig.js.map +0 -1
  165. package/dist/es/runtimeConfig.native.js.map +0 -1
  166. package/dist/es/runtimeConfig.shared.js.map +0 -1
  167. package/endpoints.ts +0 -86
  168. package/jest.config.js +0 -4
  169. package/models/models_0.ts +0 -3952
  170. package/protocols/Aws_json1_1.ts +0 -3513
  171. package/runtimeConfig.browser.ts +0 -40
  172. package/runtimeConfig.native.ts +0 -16
  173. package/runtimeConfig.shared.ts +0 -16
  174. package/runtimeConfig.ts +0 -45
  175. package/tsconfig.es.json +0 -12
  176. package/tsconfig.json +0 -32
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteDeliveryStreamInput, DeleteDeliveryStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteDeliveryStreamCommand, serializeAws_json1_1DeleteDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteDeliveryStreamCommand = (function (_super) {
7
+ __extends(DeleteDeliveryStreamCommand, _super);
8
+ function DeleteDeliveryStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "DeleteDeliveryStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteDeliveryStreamInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteDeliveryStreamOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDeliveryStreamCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteDeliveryStreamCommand(input, context);
33
+ };
34
+ DeleteDeliveryStreamCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteDeliveryStreamCommand(output, context);
36
+ };
37
+ return DeleteDeliveryStreamCommand;
38
+ }($Command));
39
+ export { DeleteDeliveryStreamCommand };
@@ -1,46 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeDeliveryStreamInput, DescribeDeliveryStreamOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeDeliveryStreamCommand, serializeAws_json1_1DescribeDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Describes the specified delivery stream and its status. For example, after your
8
- * delivery stream is created, call <code>DescribeDeliveryStream</code> to see whether the
9
- * delivery stream is <code>ACTIVE</code> and therefore ready for data to be sent to it. </p>
10
- * <p>If the status of a delivery stream is <code>CREATING_FAILED</code>, this status
11
- * doesn't change, and you can't invoke <a>CreateDeliveryStream</a> again on it.
12
- * However, you can invoke the <a>DeleteDeliveryStream</a> operation to delete it.
13
- * If the status is <code>DELETING_FAILED</code>, you can force deletion by invoking <a>DeleteDeliveryStream</a> again but with <a>DeleteDeliveryStreamInput$AllowForceDelete</a> set to true.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { FirehoseClient, DescribeDeliveryStreamCommand } from "@aws-sdk/client-firehose"; // ES Modules import
18
- * // const { FirehoseClient, DescribeDeliveryStreamCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
19
- * const client = new FirehoseClient(config);
20
- * const command = new DescribeDeliveryStreamCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeDeliveryStreamCommandInput} for command's `input` shape.
25
- * @see {@link DescribeDeliveryStreamCommandOutput} for command's `response` shape.
26
- * @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var DescribeDeliveryStreamCommand = /** @class */ (function (_super) {
4
+ import { DescribeDeliveryStreamInput, DescribeDeliveryStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeDeliveryStreamCommand, serializeAws_json1_1DescribeDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeDeliveryStreamCommand = (function (_super) {
30
7
  __extends(DescribeDeliveryStreamCommand, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function DescribeDeliveryStreamCommand(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  DescribeDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -68,4 +37,3 @@ var DescribeDeliveryStreamCommand = /** @class */ (function (_super) {
68
37
  return DescribeDeliveryStreamCommand;
69
38
  }($Command));
70
39
  export { DescribeDeliveryStreamCommand };
71
- //# sourceMappingURL=DescribeDeliveryStreamCommand.js.map
@@ -1,47 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListDeliveryStreamsInput, ListDeliveryStreamsOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1ListDeliveryStreamsCommand, serializeAws_json1_1ListDeliveryStreamsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists your delivery streams in alphabetical order of their names.</p>
8
- * <p>The number of delivery streams might be too large to return using a single call to
9
- * <code>ListDeliveryStreams</code>. You can limit the number of delivery streams returned,
10
- * using the <code>Limit</code> parameter. To determine whether there are more delivery
11
- * streams to list, check the value of <code>HasMoreDeliveryStreams</code> in the output. If
12
- * there are more delivery streams to list, you can request them by calling this operation
13
- * again and setting the <code>ExclusiveStartDeliveryStreamName</code> parameter to the name
14
- * of the last delivery stream returned in the last call.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { FirehoseClient, ListDeliveryStreamsCommand } from "@aws-sdk/client-firehose"; // ES Modules import
19
- * // const { FirehoseClient, ListDeliveryStreamsCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
20
- * const client = new FirehoseClient(config);
21
- * const command = new ListDeliveryStreamsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListDeliveryStreamsCommandInput} for command's `input` shape.
26
- * @see {@link ListDeliveryStreamsCommandOutput} for command's `response` shape.
27
- * @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var ListDeliveryStreamsCommand = /** @class */ (function (_super) {
4
+ import { ListDeliveryStreamsInput, ListDeliveryStreamsOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListDeliveryStreamsCommand, serializeAws_json1_1ListDeliveryStreamsCommand, } from "../protocols/Aws_json1_1";
6
+ var ListDeliveryStreamsCommand = (function (_super) {
31
7
  __extends(ListDeliveryStreamsCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function ListDeliveryStreamsCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  ListDeliveryStreamsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -69,4 +37,3 @@ var ListDeliveryStreamsCommand = /** @class */ (function (_super) {
69
37
  return ListDeliveryStreamsCommand;
70
38
  }($Command));
71
39
  export { ListDeliveryStreamsCommand };
72
- //# sourceMappingURL=ListDeliveryStreamsCommand.js.map
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListTagsForDeliveryStreamInput, ListTagsForDeliveryStreamOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1ListTagsForDeliveryStreamCommand, serializeAws_json1_1ListTagsForDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists the tags for the specified delivery stream. This operation has a limit of five
8
- * transactions per second per account. </p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { FirehoseClient, ListTagsForDeliveryStreamCommand } from "@aws-sdk/client-firehose"; // ES Modules import
13
- * // const { FirehoseClient, ListTagsForDeliveryStreamCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
14
- * const client = new FirehoseClient(config);
15
- * const command = new ListTagsForDeliveryStreamCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link ListTagsForDeliveryStreamCommandInput} for command's `input` shape.
20
- * @see {@link ListTagsForDeliveryStreamCommandOutput} for command's `response` shape.
21
- * @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var ListTagsForDeliveryStreamCommand = /** @class */ (function (_super) {
4
+ import { ListTagsForDeliveryStreamInput, ListTagsForDeliveryStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListTagsForDeliveryStreamCommand, serializeAws_json1_1ListTagsForDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var ListTagsForDeliveryStreamCommand = (function (_super) {
25
7
  __extends(ListTagsForDeliveryStreamCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function ListTagsForDeliveryStreamCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  ListTagsForDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var ListTagsForDeliveryStreamCommand = /** @class */ (function (_super) {
63
37
  return ListTagsForDeliveryStreamCommand;
64
38
  }($Command));
65
39
  export { ListTagsForDeliveryStreamCommand };
66
- //# sourceMappingURL=ListTagsForDeliveryStreamCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PutRecordBatchInput, PutRecordBatchOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutRecordBatchCommand, serializeAws_json1_1PutRecordBatchCommand, } from "../protocols/Aws_json1_1";
6
+ var PutRecordBatchCommand = (function (_super) {
7
+ __extends(PutRecordBatchCommand, _super);
8
+ function PutRecordBatchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PutRecordBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "PutRecordBatchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PutRecordBatchInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: PutRecordBatchOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutRecordBatchCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1PutRecordBatchCommand(input, context);
33
+ };
34
+ PutRecordBatchCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1PutRecordBatchCommand(output, context);
36
+ };
37
+ return PutRecordBatchCommand;
38
+ }($Command));
39
+ export { PutRecordBatchCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PutRecordInput, PutRecordOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutRecordCommand, serializeAws_json1_1PutRecordCommand } from "../protocols/Aws_json1_1";
6
+ var PutRecordCommand = (function (_super) {
7
+ __extends(PutRecordCommand, _super);
8
+ function PutRecordCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PutRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "PutRecordCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PutRecordInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: PutRecordOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutRecordCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1PutRecordCommand(input, context);
33
+ };
34
+ PutRecordCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1PutRecordCommand(output, context);
36
+ };
37
+ return PutRecordCommand;
38
+ }($Command));
39
+ export { PutRecordCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StartDeliveryStreamEncryptionInput, StartDeliveryStreamEncryptionOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1StartDeliveryStreamEncryptionCommand, serializeAws_json1_1StartDeliveryStreamEncryptionCommand, } from "../protocols/Aws_json1_1";
6
+ var StartDeliveryStreamEncryptionCommand = (function (_super) {
7
+ __extends(StartDeliveryStreamEncryptionCommand, _super);
8
+ function StartDeliveryStreamEncryptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StartDeliveryStreamEncryptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "StartDeliveryStreamEncryptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StartDeliveryStreamEncryptionInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: StartDeliveryStreamEncryptionOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartDeliveryStreamEncryptionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1StartDeliveryStreamEncryptionCommand(input, context);
33
+ };
34
+ StartDeliveryStreamEncryptionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1StartDeliveryStreamEncryptionCommand(output, context);
36
+ };
37
+ return StartDeliveryStreamEncryptionCommand;
38
+ }($Command));
39
+ export { StartDeliveryStreamEncryptionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StopDeliveryStreamEncryptionInput, StopDeliveryStreamEncryptionOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1StopDeliveryStreamEncryptionCommand, serializeAws_json1_1StopDeliveryStreamEncryptionCommand, } from "../protocols/Aws_json1_1";
6
+ var StopDeliveryStreamEncryptionCommand = (function (_super) {
7
+ __extends(StopDeliveryStreamEncryptionCommand, _super);
8
+ function StopDeliveryStreamEncryptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StopDeliveryStreamEncryptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "StopDeliveryStreamEncryptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StopDeliveryStreamEncryptionInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: StopDeliveryStreamEncryptionOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopDeliveryStreamEncryptionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1StopDeliveryStreamEncryptionCommand(input, context);
33
+ };
34
+ StopDeliveryStreamEncryptionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1StopDeliveryStreamEncryptionCommand(output, context);
36
+ };
37
+ return StopDeliveryStreamEncryptionCommand;
38
+ }($Command));
39
+ export { StopDeliveryStreamEncryptionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { TagDeliveryStreamInput, TagDeliveryStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1TagDeliveryStreamCommand, serializeAws_json1_1TagDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var TagDeliveryStreamCommand = (function (_super) {
7
+ __extends(TagDeliveryStreamCommand, _super);
8
+ function TagDeliveryStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ TagDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "TagDeliveryStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: TagDeliveryStreamInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TagDeliveryStreamOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagDeliveryStreamCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1TagDeliveryStreamCommand(input, context);
33
+ };
34
+ TagDeliveryStreamCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1TagDeliveryStreamCommand(output, context);
36
+ };
37
+ return TagDeliveryStreamCommand;
38
+ }($Command));
39
+ export { TagDeliveryStreamCommand };
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UntagDeliveryStreamInput, UntagDeliveryStreamOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1UntagDeliveryStreamCommand, serializeAws_json1_1UntagDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Removes tags from the specified delivery stream. Removed tags are deleted, and you
8
- * can't recover them after this operation successfully completes.</p>
9
- * <p>If you specify a tag that doesn't exist, the operation ignores it.</p>
10
- * <p>This operation has a limit of five transactions per second per account. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { FirehoseClient, UntagDeliveryStreamCommand } from "@aws-sdk/client-firehose"; // ES Modules import
15
- * // const { FirehoseClient, UntagDeliveryStreamCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
16
- * const client = new FirehoseClient(config);
17
- * const command = new UntagDeliveryStreamCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link UntagDeliveryStreamCommandInput} for command's `input` shape.
22
- * @see {@link UntagDeliveryStreamCommandOutput} for command's `response` shape.
23
- * @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var UntagDeliveryStreamCommand = /** @class */ (function (_super) {
4
+ import { UntagDeliveryStreamInput, UntagDeliveryStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1UntagDeliveryStreamCommand, serializeAws_json1_1UntagDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var UntagDeliveryStreamCommand = (function (_super) {
27
7
  __extends(UntagDeliveryStreamCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function UntagDeliveryStreamCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  UntagDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +37,3 @@ var UntagDeliveryStreamCommand = /** @class */ (function (_super) {
65
37
  return UntagDeliveryStreamCommand;
66
38
  }($Command));
67
39
  export { UntagDeliveryStreamCommand };
68
- //# sourceMappingURL=UntagDeliveryStreamCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateDestinationInput, UpdateDestinationOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1UpdateDestinationCommand, serializeAws_json1_1UpdateDestinationCommand, } from "../protocols/Aws_json1_1";
6
+ var UpdateDestinationCommand = (function (_super) {
7
+ __extends(UpdateDestinationCommand, _super);
8
+ function UpdateDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "UpdateDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateDestinationInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateDestinationOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateDestinationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1UpdateDestinationCommand(input, context);
33
+ };
34
+ UpdateDestinationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1UpdateDestinationCommand(output, context);
36
+ };
37
+ return UpdateDestinationCommand;
38
+ }($Command));
39
+ export { UpdateDestinationCommand };
@@ -76,7 +76,6 @@ var partitionHash = {
76
76
  };
77
77
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "firehose", regionHash: regionHash, partitionHash: partitionHash }))];
79
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "firehose", regionHash: regionHash, partitionHash: partitionHash }))];
80
80
  });
81
81
  }); };
82
- //# sourceMappingURL=endpoints.js.map
File without changes