@aws-sdk/client-firehose 3.405.0 → 3.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://firehose.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://firehose.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://firehose.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://firehose.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://firehose.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://firehose.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://firehose-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://firehose.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://firehose.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -24,7 +24,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates a Kinesis Data Firehose delivery stream.</p>
27
- *
28
27
  * <p>By default, you can create up to 50 delivery streams per Amazon Web Services
29
28
  * Region.</p>
30
29
  * <p>This is an asynchronous operation that immediately returns. The initial status of the
@@ -63,7 +62,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
63
62
  * boundaries might be such that the size is a little over or under the configured buffering
64
63
  * size. By default, no encryption is performed. We strongly recommend that you enable
65
64
  * encryption to ensure secure data storage in Amazon S3.</p>
66
- *
67
65
  * <p>A few notes about Amazon Redshift as a destination:</p>
68
66
  * <ul>
69
67
  * <li>
@@ -72,7 +70,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
72
70
  * <code>COPY</code> syntax to load data into an Amazon Redshift table. This is
73
71
  * specified in the <code>RedshiftDestinationConfiguration.S3Configuration</code>
74
72
  * parameter.</p>
75
- *
76
73
  * </li>
77
74
  * <li>
78
75
  * <p>The compression formats <code>SNAPPY</code> or <code>ZIP</code> cannot be
@@ -84,7 +81,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
84
81
  * <p>We strongly recommend that you use the user name and password you provide
85
82
  * exclusively with Kinesis Data Firehose, and that the permissions for the account are
86
83
  * restricted for Amazon Redshift <code>INSERT</code> permissions.</p>
87
- *
88
84
  * </li>
89
85
  * </ul>
90
86
  * <p>Kinesis Data Firehose assumes the IAM role that is configured as part of the
@@ -65,7 +65,6 @@ export interface PutRecordBatchCommandOutput extends PutRecordBatchOutput, __Met
65
65
  * <p>If <a>PutRecordBatch</a> throws <code>ServiceUnavailableException</code>,
66
66
  * back off and retry. If the exception persists, it is possible that the throughput limits
67
67
  * have been exceeded for the delivery stream.</p>
68
- *
69
68
  * <p>Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they
70
69
  * are added to a delivery stream as it attempts to send the records to the destination. If
71
70
  * the destination is unreachable for more than 24 hours, the data is no longer
@@ -50,7 +50,6 @@ export interface PutRecordCommandOutput extends PutRecordOutput, __MetadataBeare
50
50
  * are added to a delivery stream as it tries to send the records to the destination. If the
51
51
  * destination is unreachable for more than 24 hours, the data is no longer
52
52
  * available.</p>
53
- *
54
53
  * <important>
55
54
  * <p>Don't concatenate two or more base64 strings to form the data fields of your records.
56
55
  * Instead, concatenate the raw data, then perform base64 encoding.</p>
@@ -24,7 +24,6 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
24
24
  /**
25
25
  * @public
26
26
  * <p>Updates the specified destination of the specified delivery stream.</p>
27
- *
28
27
  * <p>Use this operation to change the destination type (for example, to replace the Amazon
29
28
  * S3 destination with Amazon Redshift) or change the parameters associated with a destination
30
29
  * (for example, to change the bucket name of the Amazon S3 destination). The update might not
@@ -41,7 +40,6 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput,
41
40
  * <p>If the destination type is not the same, for example, changing the destination from
42
41
  * Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this
43
42
  * case, all parameters must be specified.</p>
44
- *
45
43
  * <p>Kinesis Data Firehose uses <code>CurrentDeliveryStreamVersionId</code> to avoid race
46
44
  * conditions and conflicting merges. This is a required field, and the service updates the
47
45
  * configuration only if the existing configuration has a version ID that matches. After the
@@ -1289,7 +1289,6 @@ export interface ElasticsearchDestinationConfiguration {
1289
1289
  * for <code>DescribeDomain</code>, <code>DescribeDomains</code>, and
1290
1290
  * <code>DescribeDomainConfig</code> after assuming the role specified in <b>RoleARN</b>. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
1291
1291
  * Amazon Web Services Service Namespaces</a>.</p>
1292
- *
1293
1292
  * <p>Specify either <code>ClusterEndpoint</code> or <code>DomainARN</code>.</p>
1294
1293
  */
1295
1294
  DomainARN?: string;
@@ -1309,7 +1308,6 @@ export interface ElasticsearchDestinationConfiguration {
1309
1308
  * <p>The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per
1310
1309
  * index. If you try to specify a new type for an existing index that already has another
1311
1310
  * type, Kinesis Data Firehose returns an error during run time.</p>
1312
- *
1313
1311
  * <p>For Elasticsearch 7.x, don't specify a <code>TypeName</code>.</p>
1314
1312
  */
1315
1313
  TypeName?: string;
@@ -2407,7 +2405,6 @@ export interface CreateDeliveryStreamInput {
2407
2405
  * distinguish the delivery stream. For more information about tags, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
2408
2406
  * Cost Allocation Tags</a> in the Amazon Web Services Billing and Cost Management User
2409
2407
  * Guide.</p>
2410
- *
2411
2408
  * <p>You can specify up to 50 tags when creating a delivery stream.</p>
2412
2409
  */
2413
2410
  Tags?: Tag[];
@@ -2647,7 +2644,6 @@ export interface ElasticsearchDestinationDescription {
2647
2644
  * @public
2648
2645
  * <p>The ARN of the Amazon ES domain. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
2649
2646
  * Resource Names (ARNs) and Amazon Web Services Service Namespaces</a>.</p>
2650
- *
2651
2647
  * <p>Kinesis Data Firehose uses either <code>ClusterEndpoint</code> or <code>DomainARN</code>
2652
2648
  * to send data to Amazon ES.</p>
2653
2649
  */
@@ -3228,7 +3224,6 @@ export interface ElasticsearchDestinationUpdate {
3228
3224
  * <code>DescribeDomainConfig</code> after assuming the IAM role specified in
3229
3225
  * <code>RoleARN</code>. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
3230
3226
  * Amazon Web Services Service Namespaces</a>.</p>
3231
- *
3232
3227
  * <p>Specify either <code>ClusterEndpoint</code> or <code>DomainARN</code>.</p>
3233
3228
  */
3234
3229
  DomainARN?: string;
@@ -3248,7 +3243,6 @@ export interface ElasticsearchDestinationUpdate {
3248
3243
  * <p>The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per
3249
3244
  * index. If you try to specify a new type for an existing index that already has another
3250
3245
  * type, Kinesis Data Firehose returns an error during runtime.</p>
3251
- *
3252
3246
  * <p>If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream,
3253
3247
  * Kinesis Data Firehose still delivers data to Elasticsearch with the old index name and type
3254
3248
  * name. If you want to update your delivery stream with a new index name, provide an empty
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-firehose",
3
3
  "description": "AWS SDK for JavaScript Firehose Client for Node.js, Browser and React Native",
4
- "version": "3.405.0",
4
+ "version": "3.409.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.405.0",
25
- "@aws-sdk/credential-provider-node": "3.405.0",
26
- "@aws-sdk/middleware-host-header": "3.398.0",
27
- "@aws-sdk/middleware-logger": "3.398.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
- "@aws-sdk/middleware-signing": "3.398.0",
30
- "@aws-sdk/middleware-user-agent": "3.398.0",
31
- "@aws-sdk/types": "3.398.0",
32
- "@aws-sdk/util-endpoints": "3.398.0",
33
- "@aws-sdk/util-user-agent-browser": "3.398.0",
34
- "@aws-sdk/util-user-agent-node": "3.405.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
+ "@aws-sdk/middleware-host-header": "3.408.0",
27
+ "@aws-sdk/middleware-logger": "3.408.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
+ "@aws-sdk/middleware-signing": "3.408.0",
30
+ "@aws-sdk/middleware-user-agent": "3.408.0",
31
+ "@aws-sdk/types": "3.408.0",
32
+ "@aws-sdk/util-endpoints": "3.408.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.408.0",
34
+ "@aws-sdk/util-user-agent-node": "3.408.0",
35
35
  "@smithy/config-resolver": "^2.0.5",
36
36
  "@smithy/fetch-http-handler": "^2.0.5",
37
37
  "@smithy/hash-node": "^2.0.5",