@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.
- package/CHANGELOG.md +45 -0
- package/{dist/cjs → dist-cjs}/Firehose.js +1 -2
- package/{dist/cjs → dist-cjs}/FirehoseClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CreateDeliveryStreamCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDeliveryStreamCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDeliveryStreamCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDeliveryStreamsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForDeliveryStreamCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutRecordBatchCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutRecordCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartDeliveryStreamEncryptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StopDeliveryStreamEncryptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagDeliveryStreamCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagDeliveryStreamCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateDestinationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +150 -93
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +132 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/Firehose.js +2 -9
- package/{dist/es → dist-es}/FirehoseClient.js +2 -14
- package/dist-es/commands/CreateDeliveryStreamCommand.js +39 -0
- package/dist-es/commands/DeleteDeliveryStreamCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DescribeDeliveryStreamCommand.js +4 -36
- package/{dist/es → dist-es}/commands/ListDeliveryStreamsCommand.js +4 -37
- package/{dist/es → dist-es}/commands/ListTagsForDeliveryStreamCommand.js +4 -31
- package/dist-es/commands/PutRecordBatchCommand.js +39 -0
- package/dist-es/commands/PutRecordCommand.js +39 -0
- package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +39 -0
- package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +39 -0
- package/dist-es/commands/TagDeliveryStreamCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UntagDeliveryStreamCommand.js +4 -33
- package/dist-es/commands/UpdateDestinationCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +87 -331
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +349 -256
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Firehose.d.ts +2 -2
- package/{dist/types → dist-types}/FirehoseClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeliveryStreamsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutRecordBatchCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutRecordCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopDeliveryStreamEncryptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +524 -397
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Firehose.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/FirehoseClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListDeliveryStreamsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutRecordBatchCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutRecordCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StopDeliveryStreamEncryptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagDeliveryStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +524 -397
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/Firehose.ts +0 -704
- package/FirehoseClient.ts +0 -298
- package/commands/CreateDeliveryStreamCommand.ts +0 -162
- package/commands/DeleteDeliveryStreamCommand.ts +0 -103
- package/commands/DescribeDeliveryStreamCommand.ts +0 -100
- package/commands/ListDeliveryStreamsCommand.ts +0 -101
- package/commands/ListTagsForDeliveryStreamCommand.ts +0 -98
- package/commands/PutRecordBatchCommand.ts +0 -144
- package/commands/PutRecordCommand.ts +0 -122
- package/commands/StartDeliveryStreamEncryptionCommand.ts +0 -134
- package/commands/StopDeliveryStreamEncryptionCommand.ts +0 -118
- package/commands/TagDeliveryStreamCommand.ts +0 -102
- package/commands/UntagDeliveryStreamCommand.ts +0 -97
- package/commands/UpdateDestinationCommand.ts +0 -117
- package/dist/cjs/Firehose.js.map +0 -1
- package/dist/cjs/FirehoseClient.js.map +0 -1
- package/dist/cjs/commands/CreateDeliveryStreamCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDeliveryStreamCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDeliveryStreamCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeliveryStreamsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
- package/dist/cjs/commands/PutRecordBatchCommand.js.map +0 -1
- package/dist/cjs/commands/PutRecordCommand.js.map +0 -1
- package/dist/cjs/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
- package/dist/cjs/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
- package/dist/cjs/commands/TagDeliveryStreamCommand.js.map +0 -1
- package/dist/cjs/commands/UntagDeliveryStreamCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDestinationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Firehose.js.map +0 -1
- package/dist/es/FirehoseClient.js.map +0 -1
- package/dist/es/commands/CreateDeliveryStreamCommand.js +0 -133
- package/dist/es/commands/CreateDeliveryStreamCommand.js.map +0 -1
- package/dist/es/commands/DeleteDeliveryStreamCommand.js +0 -74
- package/dist/es/commands/DeleteDeliveryStreamCommand.js.map +0 -1
- package/dist/es/commands/DescribeDeliveryStreamCommand.js.map +0 -1
- package/dist/es/commands/ListDeliveryStreamsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
- package/dist/es/commands/PutRecordBatchCommand.js +0 -115
- package/dist/es/commands/PutRecordBatchCommand.js.map +0 -1
- package/dist/es/commands/PutRecordCommand.js +0 -96
- package/dist/es/commands/PutRecordCommand.js.map +0 -1
- package/dist/es/commands/StartDeliveryStreamEncryptionCommand.js +0 -100
- package/dist/es/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
- package/dist/es/commands/StopDeliveryStreamEncryptionCommand.js +0 -84
- package/dist/es/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
- package/dist/es/commands/TagDeliveryStreamCommand.js +0 -73
- package/dist/es/commands/TagDeliveryStreamCommand.js.map +0 -1
- package/dist/es/commands/UntagDeliveryStreamCommand.js.map +0 -1
- package/dist/es/commands/UpdateDestinationCommand.js +0 -88
- package/dist/es/commands/UpdateDestinationCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -16
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3952
- package/protocols/Aws_json1_1.ts +0 -3513
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { PutRecordBatchInput, PutRecordBatchOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1PutRecordBatchCommand, serializeAws_json1_1PutRecordBatchCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Writes multiple data records into a delivery stream in a single call, which can
|
|
8
|
-
* achieve higher throughput per producer than when writing single records. To write single
|
|
9
|
-
* data records into a delivery stream, use <a>PutRecord</a>. Applications using
|
|
10
|
-
* these operations are referred to as producers.</p>
|
|
11
|
-
* <p>For information about service quota, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/limits.html">Amazon Kinesis Data Firehose
|
|
12
|
-
* Quota</a>.</p>
|
|
13
|
-
* <p>Each <a>PutRecordBatch</a> request supports up to 500 records. Each record
|
|
14
|
-
* in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB
|
|
15
|
-
* for the entire request. These limits cannot be changed.</p>
|
|
16
|
-
* <p>You must specify the name of the delivery stream and the data record when using <a>PutRecord</a>. The data record consists of a data blob that can be up to 1,000
|
|
17
|
-
* KB in size, and any kind of data. For example, it could be a segment from a log file,
|
|
18
|
-
* geographic location data, website clickstream data, and so on.</p>
|
|
19
|
-
* <p>Kinesis Data Firehose buffers records before delivering them to the destination. To
|
|
20
|
-
* disambiguate the data blobs at the destination, a common solution is to use delimiters in
|
|
21
|
-
* the data, such as a newline (<code>\n</code>) or some other character unique within the
|
|
22
|
-
* data. This allows the consumer application to parse individual data items when reading the
|
|
23
|
-
* data from the destination.</p>
|
|
24
|
-
* <p>The <a>PutRecordBatch</a> response includes a count of failed records,
|
|
25
|
-
* <code>FailedPutCount</code>, and an array of responses, <code>RequestResponses</code>.
|
|
26
|
-
* Even if the <a>PutRecordBatch</a> call succeeds, the value of
|
|
27
|
-
* <code>FailedPutCount</code> may be greater than 0, indicating that there are records for
|
|
28
|
-
* which the operation didn't succeed. Each entry in the <code>RequestResponses</code> array
|
|
29
|
-
* provides additional information about the processed record. It directly correlates with a
|
|
30
|
-
* record in the request array using the same ordering, from the top to the bottom. The
|
|
31
|
-
* response array always includes the same number of records as the request array.
|
|
32
|
-
* <code>RequestResponses</code> includes both successfully and unsuccessfully processed
|
|
33
|
-
* records. Kinesis Data Firehose tries to process all records in each <a>PutRecordBatch</a> request. A single record failure does not stop the processing
|
|
34
|
-
* of subsequent records. </p>
|
|
35
|
-
* <p>A successfully processed record includes a <code>RecordId</code> value, which is
|
|
36
|
-
* unique for the record. An unsuccessfully processed record includes <code>ErrorCode</code>
|
|
37
|
-
* and <code>ErrorMessage</code> values. <code>ErrorCode</code> reflects the type of error,
|
|
38
|
-
* and is one of the following values: <code>ServiceUnavailableException</code> or
|
|
39
|
-
* <code>InternalFailure</code>. <code>ErrorMessage</code> provides more detailed
|
|
40
|
-
* information about the error.</p>
|
|
41
|
-
* <p>If there is an internal server error or a timeout, the write might have completed or
|
|
42
|
-
* it might have failed. If <code>FailedPutCount</code> is greater than 0, retry the request,
|
|
43
|
-
* resending only those records that might have failed processing. This minimizes the possible
|
|
44
|
-
* duplicate records and also reduces the total bytes sent (and corresponding charges). We
|
|
45
|
-
* recommend that you handle any duplicates at the destination.</p>
|
|
46
|
-
* <p>If <a>PutRecordBatch</a> throws <code>ServiceUnavailableException</code>,
|
|
47
|
-
* back off and retry. If the exception persists, it is possible that the throughput limits
|
|
48
|
-
* have been exceeded for the delivery stream.</p>
|
|
49
|
-
*
|
|
50
|
-
* <p>Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they
|
|
51
|
-
* are added to a delivery stream as it attempts to send the records to the destination. If
|
|
52
|
-
* the destination is unreachable for more than 24 hours, the data is no longer
|
|
53
|
-
* available.</p>
|
|
54
|
-
* <important>
|
|
55
|
-
* <p>Don't concatenate two or more base64 strings to form the data fields of your records.
|
|
56
|
-
* Instead, concatenate the raw data, then perform base64 encoding.</p>
|
|
57
|
-
* </important>
|
|
58
|
-
* @example
|
|
59
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
60
|
-
* ```javascript
|
|
61
|
-
* import { FirehoseClient, PutRecordBatchCommand } from "@aws-sdk/client-firehose"; // ES Modules import
|
|
62
|
-
* // const { FirehoseClient, PutRecordBatchCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
|
|
63
|
-
* const client = new FirehoseClient(config);
|
|
64
|
-
* const command = new PutRecordBatchCommand(input);
|
|
65
|
-
* const response = await client.send(command);
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* @see {@link PutRecordBatchCommandInput} for command's `input` shape.
|
|
69
|
-
* @see {@link PutRecordBatchCommandOutput} for command's `response` shape.
|
|
70
|
-
* @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
var PutRecordBatchCommand = /** @class */ (function (_super) {
|
|
74
|
-
__extends(PutRecordBatchCommand, _super);
|
|
75
|
-
// Start section: command_properties
|
|
76
|
-
// End section: command_properties
|
|
77
|
-
function PutRecordBatchCommand(input) {
|
|
78
|
-
var _this =
|
|
79
|
-
// Start section: command_constructor
|
|
80
|
-
_super.call(this) || this;
|
|
81
|
-
_this.input = input;
|
|
82
|
-
return _this;
|
|
83
|
-
// End section: command_constructor
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
PutRecordBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
89
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
90
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
91
|
-
var logger = configuration.logger;
|
|
92
|
-
var clientName = "FirehoseClient";
|
|
93
|
-
var commandName = "PutRecordBatchCommand";
|
|
94
|
-
var handlerExecutionContext = {
|
|
95
|
-
logger: logger,
|
|
96
|
-
clientName: clientName,
|
|
97
|
-
commandName: commandName,
|
|
98
|
-
inputFilterSensitiveLog: PutRecordBatchInput.filterSensitiveLog,
|
|
99
|
-
outputFilterSensitiveLog: PutRecordBatchOutput.filterSensitiveLog,
|
|
100
|
-
};
|
|
101
|
-
var requestHandler = configuration.requestHandler;
|
|
102
|
-
return stack.resolve(function (request) {
|
|
103
|
-
return requestHandler.handle(request.request, options || {});
|
|
104
|
-
}, handlerExecutionContext);
|
|
105
|
-
};
|
|
106
|
-
PutRecordBatchCommand.prototype.serialize = function (input, context) {
|
|
107
|
-
return serializeAws_json1_1PutRecordBatchCommand(input, context);
|
|
108
|
-
};
|
|
109
|
-
PutRecordBatchCommand.prototype.deserialize = function (output, context) {
|
|
110
|
-
return deserializeAws_json1_1PutRecordBatchCommand(output, context);
|
|
111
|
-
};
|
|
112
|
-
return PutRecordBatchCommand;
|
|
113
|
-
}($Command));
|
|
114
|
-
export { PutRecordBatchCommand };
|
|
115
|
-
//# sourceMappingURL=PutRecordBatchCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PutRecordBatchCommand.js","sourceRoot":"","sources":["../../../commands/PutRecordBatchCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH;IAA2C,yCAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,+BAAqB,KAAiC;QAAtD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA4B;;QAGpD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,uBAAuB,CAAC;QAC5C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,oBAAoB,CAAC,kBAAkB;SAClE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,yCAAS,GAAjB,UAAkB,KAAiC,EAAE,OAAuB;QAC1E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { PutRecordInput, PutRecordOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1PutRecordCommand, serializeAws_json1_1PutRecordCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To
|
|
8
|
-
* write multiple data records into a delivery stream, use <a>PutRecordBatch</a>.
|
|
9
|
-
* Applications using these operations are referred to as producers.</p>
|
|
10
|
-
* <p>By default, each delivery stream can take in up to 2,000 transactions per second,
|
|
11
|
-
* 5,000 records per second, or 5 MB per second. If you use <a>PutRecord</a> and
|
|
12
|
-
* <a>PutRecordBatch</a>, the limits are an aggregate across these two
|
|
13
|
-
* operations for each delivery stream. For more information about limits and how to request
|
|
14
|
-
* an increase, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/limits.html">Amazon
|
|
15
|
-
* Kinesis Data Firehose Limits</a>. </p>
|
|
16
|
-
* <p>You must specify the name of the delivery stream and the data record when using <a>PutRecord</a>. The data record consists of a data blob that can be up to 1,000
|
|
17
|
-
* KiB in size, and any kind of data. For example, it can be a segment from a log file,
|
|
18
|
-
* geographic location data, website clickstream data, and so on.</p>
|
|
19
|
-
* <p>Kinesis Data Firehose buffers records before delivering them to the destination. To
|
|
20
|
-
* disambiguate the data blobs at the destination, a common solution is to use delimiters in
|
|
21
|
-
* the data, such as a newline (<code>\n</code>) or some other character unique within the
|
|
22
|
-
* data. This allows the consumer application to parse individual data items when reading the
|
|
23
|
-
* data from the destination.</p>
|
|
24
|
-
* <p>The <code>PutRecord</code> operation returns a <code>RecordId</code>, which is a
|
|
25
|
-
* unique string assigned to each record. Producer applications can use this ID for purposes
|
|
26
|
-
* such as auditability and investigation.</p>
|
|
27
|
-
* <p>If the <code>PutRecord</code> operation throws a
|
|
28
|
-
* <code>ServiceUnavailableException</code>, back off and retry. If the exception persists,
|
|
29
|
-
* it is possible that the throughput limits have been exceeded for the delivery stream. </p>
|
|
30
|
-
* <p>Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they
|
|
31
|
-
* are added to a delivery stream as it tries to send the records to the destination. If the
|
|
32
|
-
* destination is unreachable for more than 24 hours, the data is no longer
|
|
33
|
-
* available.</p>
|
|
34
|
-
*
|
|
35
|
-
* <important>
|
|
36
|
-
* <p>Don't concatenate two or more base64 strings to form the data fields of your records.
|
|
37
|
-
* Instead, concatenate the raw data, then perform base64 encoding.</p>
|
|
38
|
-
* </important>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { FirehoseClient, PutRecordCommand } from "@aws-sdk/client-firehose"; // ES Modules import
|
|
43
|
-
* // const { FirehoseClient, PutRecordCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
|
|
44
|
-
* const client = new FirehoseClient(config);
|
|
45
|
-
* const command = new PutRecordCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link PutRecordCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link PutRecordCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
var PutRecordCommand = /** @class */ (function (_super) {
|
|
55
|
-
__extends(PutRecordCommand, _super);
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
function PutRecordCommand(input) {
|
|
59
|
-
var _this =
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
_super.call(this) || this;
|
|
62
|
-
_this.input = input;
|
|
63
|
-
return _this;
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
PutRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
var logger = configuration.logger;
|
|
73
|
-
var clientName = "FirehoseClient";
|
|
74
|
-
var commandName = "PutRecordCommand";
|
|
75
|
-
var handlerExecutionContext = {
|
|
76
|
-
logger: logger,
|
|
77
|
-
clientName: clientName,
|
|
78
|
-
commandName: commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutRecordInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PutRecordOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
var requestHandler = configuration.requestHandler;
|
|
83
|
-
return stack.resolve(function (request) {
|
|
84
|
-
return requestHandler.handle(request.request, options || {});
|
|
85
|
-
}, handlerExecutionContext);
|
|
86
|
-
};
|
|
87
|
-
PutRecordCommand.prototype.serialize = function (input, context) {
|
|
88
|
-
return serializeAws_json1_1PutRecordCommand(input, context);
|
|
89
|
-
};
|
|
90
|
-
PutRecordCommand.prototype.deserialize = function (output, context) {
|
|
91
|
-
return deserializeAws_json1_1PutRecordCommand(output, context);
|
|
92
|
-
};
|
|
93
|
-
return PutRecordCommand;
|
|
94
|
-
}($Command));
|
|
95
|
-
export { PutRecordCommand };
|
|
96
|
-
//# sourceMappingURL=PutRecordCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PutRecordCommand.js","sourceRoot":"","sources":["../../../commands/PutRecordCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH;IAAsC,oCAIrC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0B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 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { StartDeliveryStreamEncryptionInput, StartDeliveryStreamEncryptionOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1StartDeliveryStreamEncryptionCommand, serializeAws_json1_1StartDeliveryStreamEncryptionCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Enables server-side encryption (SSE) for the delivery stream. </p>
|
|
8
|
-
* <p>This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data
|
|
9
|
-
* Firehose first sets the encryption status of the stream to <code>ENABLING</code>, and then
|
|
10
|
-
* to <code>ENABLED</code>. The encryption status of a delivery stream is the
|
|
11
|
-
* <code>Status</code> property in <a>DeliveryStreamEncryptionConfiguration</a>.
|
|
12
|
-
* If the operation fails, the encryption status changes to <code>ENABLING_FAILED</code>. You
|
|
13
|
-
* can continue to read and write data to your delivery stream while the encryption status is
|
|
14
|
-
* <code>ENABLING</code>, but the data is not encrypted. It can take up to 5 seconds after
|
|
15
|
-
* the encryption status changes to <code>ENABLED</code> before all records written to the
|
|
16
|
-
* delivery stream are encrypted. To find out whether a record or a batch of records was
|
|
17
|
-
* encrypted, check the response elements <a>PutRecordOutput$Encrypted</a> and
|
|
18
|
-
* <a>PutRecordBatchOutput$Encrypted</a>, respectively.</p>
|
|
19
|
-
* <p>To check the encryption status of a delivery stream, use <a>DescribeDeliveryStream</a>.</p>
|
|
20
|
-
* <p>Even if encryption is currently enabled for a delivery stream, you can still invoke this
|
|
21
|
-
* operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this
|
|
22
|
-
* method to change the CMK, and the old CMK is of type <code>CUSTOMER_MANAGED_CMK</code>,
|
|
23
|
-
* Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new
|
|
24
|
-
* CMK is of type <code>CUSTOMER_MANAGED_CMK</code>, Kinesis Data Firehose creates a grant
|
|
25
|
-
* that enables it to use the new CMK to encrypt and decrypt data and to manage the
|
|
26
|
-
* grant.</p>
|
|
27
|
-
* <p>If a delivery stream already has encryption enabled and then you invoke this operation
|
|
28
|
-
* to change the ARN of the CMK or both its type and ARN and you get
|
|
29
|
-
* <code>ENABLING_FAILED</code>, this only means that the attempt to change the CMK failed.
|
|
30
|
-
* In this case, encryption remains enabled with the old CMK.</p>
|
|
31
|
-
* <p>If the encryption status of your delivery stream is <code>ENABLING_FAILED</code>, you
|
|
32
|
-
* can invoke this operation again with a valid CMK. The CMK must be enabled and the key
|
|
33
|
-
* policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS
|
|
34
|
-
* encrypt and decrypt operations.</p>
|
|
35
|
-
* <p>You can enable SSE for a delivery stream only if it's a delivery stream that uses
|
|
36
|
-
* <code>DirectPut</code> as its source. </p>
|
|
37
|
-
* <p>The <code>StartDeliveryStreamEncryption</code> and
|
|
38
|
-
* <code>StopDeliveryStreamEncryption</code> operations have a combined limit of 25 calls
|
|
39
|
-
* per delivery stream per 24 hours. For example, you reach the limit if you call
|
|
40
|
-
* <code>StartDeliveryStreamEncryption</code> 13 times and
|
|
41
|
-
* <code>StopDeliveryStreamEncryption</code> 12 times for the same delivery stream in a
|
|
42
|
-
* 24-hour period.</p>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { FirehoseClient, StartDeliveryStreamEncryptionCommand } from "@aws-sdk/client-firehose"; // ES Modules import
|
|
47
|
-
* // const { FirehoseClient, StartDeliveryStreamEncryptionCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
|
|
48
|
-
* const client = new FirehoseClient(config);
|
|
49
|
-
* const command = new StartDeliveryStreamEncryptionCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link StartDeliveryStreamEncryptionCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link StartDeliveryStreamEncryptionCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
var StartDeliveryStreamEncryptionCommand = /** @class */ (function (_super) {
|
|
59
|
-
__extends(StartDeliveryStreamEncryptionCommand, _super);
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
function StartDeliveryStreamEncryptionCommand(input) {
|
|
63
|
-
var _this =
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
_super.call(this) || this;
|
|
66
|
-
_this.input = input;
|
|
67
|
-
return _this;
|
|
68
|
-
// End section: command_constructor
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
StartDeliveryStreamEncryptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
var logger = configuration.logger;
|
|
77
|
-
var clientName = "FirehoseClient";
|
|
78
|
-
var commandName = "StartDeliveryStreamEncryptionCommand";
|
|
79
|
-
var handlerExecutionContext = {
|
|
80
|
-
logger: logger,
|
|
81
|
-
clientName: clientName,
|
|
82
|
-
commandName: commandName,
|
|
83
|
-
inputFilterSensitiveLog: StartDeliveryStreamEncryptionInput.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: StartDeliveryStreamEncryptionOutput.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
var requestHandler = configuration.requestHandler;
|
|
87
|
-
return stack.resolve(function (request) {
|
|
88
|
-
return requestHandler.handle(request.request, options || {});
|
|
89
|
-
}, handlerExecutionContext);
|
|
90
|
-
};
|
|
91
|
-
StartDeliveryStreamEncryptionCommand.prototype.serialize = function (input, context) {
|
|
92
|
-
return serializeAws_json1_1StartDeliveryStreamEncryptionCommand(input, context);
|
|
93
|
-
};
|
|
94
|
-
StartDeliveryStreamEncryptionCommand.prototype.deserialize = function (output, context) {
|
|
95
|
-
return deserializeAws_json1_1StartDeliveryStreamEncryptionCommand(output, context);
|
|
96
|
-
};
|
|
97
|
-
return StartDeliveryStreamEncryptionCommand;
|
|
98
|
-
}($Command));
|
|
99
|
-
export { StartDeliveryStreamEncryptionCommand };
|
|
100
|
-
//# sourceMappingURL=StartDeliveryStreamEncryptionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartDeliveryStreamEncryptionCommand.js","sourceRoot":"","sources":["../../../commands/StartDeliveryStreamEncryptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH;IAA0D,wDAIzD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,8CAAqB,KAAgD;QAArE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2C;;QAGnE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,gEAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kCAAkC,CAAC,kBAAkB;YAC9E,wBAAwB,EAAE,mCAAmC,CAAC,kBAAkB;SACjF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wDAAS,GAAjB,UAAkB,KAAgD,EAAE,OAAuB;QACzF,OAAO,wDAAwD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAEO,0DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAIH,2CAAC;AAAD,CAAC,AAzDD,CAA0D,QAAQ,GAyDjE"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { StopDeliveryStreamEncryptionInput, StopDeliveryStreamEncryptionOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1StopDeliveryStreamEncryptionCommand, serializeAws_json1_1StopDeliveryStreamEncryptionCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Disables server-side encryption (SSE) for the delivery stream. </p>
|
|
8
|
-
* <p>This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data
|
|
9
|
-
* Firehose first sets the encryption status of the stream to <code>DISABLING</code>, and then
|
|
10
|
-
* to <code>DISABLED</code>. You can continue to read and write data to your stream while its
|
|
11
|
-
* status is <code>DISABLING</code>. It can take up to 5 seconds after the encryption status
|
|
12
|
-
* changes to <code>DISABLED</code> before all records written to the delivery stream are no
|
|
13
|
-
* longer subject to encryption. To find out whether a record or a batch of records was
|
|
14
|
-
* encrypted, check the response elements <a>PutRecordOutput$Encrypted</a> and
|
|
15
|
-
* <a>PutRecordBatchOutput$Encrypted</a>, respectively.</p>
|
|
16
|
-
* <p>To check the encryption state of a delivery stream, use <a>DescribeDeliveryStream</a>. </p>
|
|
17
|
-
* <p>If SSE is enabled using a customer managed CMK and then you invoke
|
|
18
|
-
* <code>StopDeliveryStreamEncryption</code>, Kinesis Data Firehose schedules the related
|
|
19
|
-
* KMS grant for retirement and then retires it after it ensures that it is finished
|
|
20
|
-
* delivering records to the destination.</p>
|
|
21
|
-
* <p>The <code>StartDeliveryStreamEncryption</code> and
|
|
22
|
-
* <code>StopDeliveryStreamEncryption</code> operations have a combined limit of 25 calls
|
|
23
|
-
* per delivery stream per 24 hours. For example, you reach the limit if you call
|
|
24
|
-
* <code>StartDeliveryStreamEncryption</code> 13 times and
|
|
25
|
-
* <code>StopDeliveryStreamEncryption</code> 12 times for the same delivery stream in a
|
|
26
|
-
* 24-hour period.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { FirehoseClient, StopDeliveryStreamEncryptionCommand } from "@aws-sdk/client-firehose"; // ES Modules import
|
|
31
|
-
* // const { FirehoseClient, StopDeliveryStreamEncryptionCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
|
|
32
|
-
* const client = new FirehoseClient(config);
|
|
33
|
-
* const command = new StopDeliveryStreamEncryptionCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link StopDeliveryStreamEncryptionCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link StopDeliveryStreamEncryptionCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
var StopDeliveryStreamEncryptionCommand = /** @class */ (function (_super) {
|
|
43
|
-
__extends(StopDeliveryStreamEncryptionCommand, _super);
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
|
-
function StopDeliveryStreamEncryptionCommand(input) {
|
|
47
|
-
var _this =
|
|
48
|
-
// Start section: command_constructor
|
|
49
|
-
_super.call(this) || this;
|
|
50
|
-
_this.input = input;
|
|
51
|
-
return _this;
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
StopDeliveryStreamEncryptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
58
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
59
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
60
|
-
var logger = configuration.logger;
|
|
61
|
-
var clientName = "FirehoseClient";
|
|
62
|
-
var commandName = "StopDeliveryStreamEncryptionCommand";
|
|
63
|
-
var handlerExecutionContext = {
|
|
64
|
-
logger: logger,
|
|
65
|
-
clientName: clientName,
|
|
66
|
-
commandName: commandName,
|
|
67
|
-
inputFilterSensitiveLog: StopDeliveryStreamEncryptionInput.filterSensitiveLog,
|
|
68
|
-
outputFilterSensitiveLog: StopDeliveryStreamEncryptionOutput.filterSensitiveLog,
|
|
69
|
-
};
|
|
70
|
-
var requestHandler = configuration.requestHandler;
|
|
71
|
-
return stack.resolve(function (request) {
|
|
72
|
-
return requestHandler.handle(request.request, options || {});
|
|
73
|
-
}, handlerExecutionContext);
|
|
74
|
-
};
|
|
75
|
-
StopDeliveryStreamEncryptionCommand.prototype.serialize = function (input, context) {
|
|
76
|
-
return serializeAws_json1_1StopDeliveryStreamEncryptionCommand(input, context);
|
|
77
|
-
};
|
|
78
|
-
StopDeliveryStreamEncryptionCommand.prototype.deserialize = function (output, context) {
|
|
79
|
-
return deserializeAws_json1_1StopDeliveryStreamEncryptionCommand(output, context);
|
|
80
|
-
};
|
|
81
|
-
return StopDeliveryStreamEncryptionCommand;
|
|
82
|
-
}($Command));
|
|
83
|
-
export { StopDeliveryStreamEncryptionCommand };
|
|
84
|
-
//# sourceMappingURL=StopDeliveryStreamEncryptionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StopDeliveryStreamEncryptionCommand.js","sourceRoot":"","sources":["../../../commands/StopDeliveryStreamEncryptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH;IAAyD,uDAIxD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6CAAqB,KAA+C;QAApE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;QAGlE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,qCAAqC,CAAC;QAC1D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iCAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,uDAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { TagDeliveryStreamInput, TagDeliveryStreamOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1TagDeliveryStreamCommand, serializeAws_json1_1TagDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Adds or updates tags for the specified delivery stream. A tag is a key-value pair
|
|
8
|
-
* that you can define and assign to AWS resources. If you specify a tag that already exists,
|
|
9
|
-
* the tag value is replaced with the value that you specify in the request. Tags are
|
|
10
|
-
* metadata. For example, you can add friendly names and descriptions or other types of
|
|
11
|
-
* information that can help you distinguish the delivery stream. For more information about
|
|
12
|
-
* tags, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
13
|
-
* Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>. </p>
|
|
14
|
-
* <p>Each delivery stream can have up to 50 tags. </p>
|
|
15
|
-
* <p>This operation has a limit of five transactions per second per account. </p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { FirehoseClient, TagDeliveryStreamCommand } from "@aws-sdk/client-firehose"; // ES Modules import
|
|
20
|
-
* // const { FirehoseClient, TagDeliveryStreamCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
|
|
21
|
-
* const client = new FirehoseClient(config);
|
|
22
|
-
* const command = new TagDeliveryStreamCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link TagDeliveryStreamCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link TagDeliveryStreamCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var TagDeliveryStreamCommand = /** @class */ (function (_super) {
|
|
32
|
-
__extends(TagDeliveryStreamCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
|
-
function TagDeliveryStreamCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
39
|
-
_this.input = input;
|
|
40
|
-
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
|
-
TagDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
49
|
-
var logger = configuration.logger;
|
|
50
|
-
var clientName = "FirehoseClient";
|
|
51
|
-
var commandName = "TagDeliveryStreamCommand";
|
|
52
|
-
var handlerExecutionContext = {
|
|
53
|
-
logger: logger,
|
|
54
|
-
clientName: clientName,
|
|
55
|
-
commandName: commandName,
|
|
56
|
-
inputFilterSensitiveLog: TagDeliveryStreamInput.filterSensitiveLog,
|
|
57
|
-
outputFilterSensitiveLog: TagDeliveryStreamOutput.filterSensitiveLog,
|
|
58
|
-
};
|
|
59
|
-
var requestHandler = configuration.requestHandler;
|
|
60
|
-
return stack.resolve(function (request) {
|
|
61
|
-
return requestHandler.handle(request.request, options || {});
|
|
62
|
-
}, handlerExecutionContext);
|
|
63
|
-
};
|
|
64
|
-
TagDeliveryStreamCommand.prototype.serialize = function (input, context) {
|
|
65
|
-
return serializeAws_json1_1TagDeliveryStreamCommand(input, context);
|
|
66
|
-
};
|
|
67
|
-
TagDeliveryStreamCommand.prototype.deserialize = function (output, context) {
|
|
68
|
-
return deserializeAws_json1_1TagDeliveryStreamCommand(output, context);
|
|
69
|
-
};
|
|
70
|
-
return TagDeliveryStreamCommand;
|
|
71
|
-
}($Command));
|
|
72
|
-
export { TagDeliveryStreamCommand };
|
|
73
|
-
//# sourceMappingURL=TagDeliveryStreamCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TagDeliveryStreamCommand.js","sourceRoot":"","sources":["../../../commands/TagDeliveryStreamCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAA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AAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateDestinationInput, UpdateDestinationOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UpdateDestinationCommand, serializeAws_json1_1UpdateDestinationCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
/**
|
|
7
|
-
* <p>Updates the specified destination of the specified delivery stream.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Use this operation to change the destination type (for example, to replace the Amazon
|
|
10
|
-
* S3 destination with Amazon Redshift) or change the parameters associated with a destination
|
|
11
|
-
* (for example, to change the bucket name of the Amazon S3 destination). The update might not
|
|
12
|
-
* occur immediately. The target delivery stream remains active while the configurations are
|
|
13
|
-
* updated, so data writes to the delivery stream can continue during this process. The
|
|
14
|
-
* updated configurations are usually effective within a few minutes.</p>
|
|
15
|
-
* <p>Switching between Amazon ES and other services is not supported. For an Amazon ES
|
|
16
|
-
* destination, you can only update to another Amazon ES destination.</p>
|
|
17
|
-
* <p>If the destination type is the same, Kinesis Data Firehose merges the configuration
|
|
18
|
-
* parameters specified with the destination configuration that already exists on the delivery
|
|
19
|
-
* stream. If any of the parameters are not specified in the call, the existing values are
|
|
20
|
-
* retained. For example, in the Amazon S3 destination, if <a>EncryptionConfiguration</a> is not specified, then the existing
|
|
21
|
-
* <code>EncryptionConfiguration</code> is maintained on the destination.</p>
|
|
22
|
-
* <p>If the destination type is not the same, for example, changing the destination from
|
|
23
|
-
* Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this
|
|
24
|
-
* case, all parameters must be specified.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>Kinesis Data Firehose uses <code>CurrentDeliveryStreamVersionId</code> to avoid race
|
|
27
|
-
* conditions and conflicting merges. This is a required field, and the service updates the
|
|
28
|
-
* configuration only if the existing configuration has a version ID that matches. After the
|
|
29
|
-
* update is applied successfully, the version ID is updated, and can be retrieved using <a>DescribeDeliveryStream</a>. Use the new version ID to set
|
|
30
|
-
* <code>CurrentDeliveryStreamVersionId</code> in the next call.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { FirehoseClient, UpdateDestinationCommand } from "@aws-sdk/client-firehose"; // ES Modules import
|
|
35
|
-
* // const { FirehoseClient, UpdateDestinationCommand } = require("@aws-sdk/client-firehose"); // CommonJS import
|
|
36
|
-
* const client = new FirehoseClient(config);
|
|
37
|
-
* const command = new UpdateDestinationCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UpdateDestinationCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UpdateDestinationCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link FirehoseClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
var UpdateDestinationCommand = /** @class */ (function (_super) {
|
|
47
|
-
__extends(UpdateDestinationCommand, _super);
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
function UpdateDestinationCommand(input) {
|
|
51
|
-
var _this =
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
_super.call(this) || this;
|
|
54
|
-
_this.input = input;
|
|
55
|
-
return _this;
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
UpdateDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
var stack = clientStack.concat(this.middlewareStack);
|
|
64
|
-
var logger = configuration.logger;
|
|
65
|
-
var clientName = "FirehoseClient";
|
|
66
|
-
var commandName = "UpdateDestinationCommand";
|
|
67
|
-
var handlerExecutionContext = {
|
|
68
|
-
logger: logger,
|
|
69
|
-
clientName: clientName,
|
|
70
|
-
commandName: commandName,
|
|
71
|
-
inputFilterSensitiveLog: UpdateDestinationInput.filterSensitiveLog,
|
|
72
|
-
outputFilterSensitiveLog: UpdateDestinationOutput.filterSensitiveLog,
|
|
73
|
-
};
|
|
74
|
-
var requestHandler = configuration.requestHandler;
|
|
75
|
-
return stack.resolve(function (request) {
|
|
76
|
-
return requestHandler.handle(request.request, options || {});
|
|
77
|
-
}, handlerExecutionContext);
|
|
78
|
-
};
|
|
79
|
-
UpdateDestinationCommand.prototype.serialize = function (input, context) {
|
|
80
|
-
return serializeAws_json1_1UpdateDestinationCommand(input, context);
|
|
81
|
-
};
|
|
82
|
-
UpdateDestinationCommand.prototype.deserialize = function (output, context) {
|
|
83
|
-
return deserializeAws_json1_1UpdateDestinationCommand(output, context);
|
|
84
|
-
};
|
|
85
|
-
return UpdateDestinationCommand;
|
|
86
|
-
}($Command));
|
|
87
|
-
export { UpdateDestinationCommand };
|
|
88
|
-
//# sourceMappingURL=UpdateDestinationCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateDestinationCommand.js","sourceRoot":"","sources":["../../../commands/UpdateDestinationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IAA8C,4CAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,kCAAqB,KAAoC;QAAzD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;QAGvD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAA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DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./FirehoseClient";
|
|
2
|
-
export * from "./Firehose";
|
|
3
|
-
export * from "./commands/CreateDeliveryStreamCommand";
|
|
4
|
-
export * from "./commands/DeleteDeliveryStreamCommand";
|
|
5
|
-
export * from "./commands/DescribeDeliveryStreamCommand";
|
|
6
|
-
export * from "./commands/ListDeliveryStreamsCommand";
|
|
7
|
-
export * from "./commands/ListTagsForDeliveryStreamCommand";
|
|
8
|
-
export * from "./commands/PutRecordCommand";
|
|
9
|
-
export * from "./commands/PutRecordBatchCommand";
|
|
10
|
-
export * from "./commands/StartDeliveryStreamEncryptionCommand";
|
|
11
|
-
export * from "./commands/StopDeliveryStreamEncryptionCommand";
|
|
12
|
-
export * from "./commands/TagDeliveryStreamCommand";
|
|
13
|
-
export * from "./commands/UntagDeliveryStreamCommand";
|
|
14
|
-
export * from "./commands/UpdateDestinationCommand";
|
|
15
|
-
export * from "./models/index";
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
package/dist/es/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gBAAgB,CAAC"}
|
package/dist/es/models/index.js
DELETED