@aws-sdk/client-firehose 3.218.0 → 3.222.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/README.md +2 -1
- package/dist-cjs/models/models_0.js +103 -24
- package/dist-cjs/protocols/Aws_json1_1.js +103 -0
- package/dist-es/models/models_0.js +91 -17
- package/dist-es/protocols/Aws_json1_1.js +103 -0
- package/dist-types/Firehose.d.ts +11 -8
- package/dist-types/FirehoseClient.d.ts +2 -1
- package/dist-types/commands/CreateDeliveryStreamCommand.d.ts +2 -1
- package/dist-types/commands/TagDeliveryStreamCommand.d.ts +7 -6
- package/dist-types/models/models_0.d.ts +554 -143
- package/dist-types/ts3.4/models/models_0.d.ts +141 -55
- package/package.json +29 -28
|
@@ -647,6 +647,63 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
|
|
|
647
647
|
});
|
|
648
648
|
return __decorateServiceException(exception, body);
|
|
649
649
|
};
|
|
650
|
+
const serializeAws_json1_1AmazonOpenSearchServerlessBufferingHints = (input, context) => {
|
|
651
|
+
return {
|
|
652
|
+
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
653
|
+
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
const serializeAws_json1_1AmazonOpenSearchServerlessDestinationConfiguration = (input, context) => {
|
|
657
|
+
return {
|
|
658
|
+
...(input.BufferingHints != null && {
|
|
659
|
+
BufferingHints: serializeAws_json1_1AmazonOpenSearchServerlessBufferingHints(input.BufferingHints, context),
|
|
660
|
+
}),
|
|
661
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
662
|
+
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
663
|
+
}),
|
|
664
|
+
...(input.CollectionEndpoint != null && { CollectionEndpoint: input.CollectionEndpoint }),
|
|
665
|
+
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
666
|
+
...(input.ProcessingConfiguration != null && {
|
|
667
|
+
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
668
|
+
}),
|
|
669
|
+
...(input.RetryOptions != null && {
|
|
670
|
+
RetryOptions: serializeAws_json1_1AmazonOpenSearchServerlessRetryOptions(input.RetryOptions, context),
|
|
671
|
+
}),
|
|
672
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
673
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
674
|
+
...(input.S3Configuration != null && {
|
|
675
|
+
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
676
|
+
}),
|
|
677
|
+
...(input.VpcConfiguration != null && {
|
|
678
|
+
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
679
|
+
}),
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
const serializeAws_json1_1AmazonOpenSearchServerlessDestinationUpdate = (input, context) => {
|
|
683
|
+
return {
|
|
684
|
+
...(input.BufferingHints != null && {
|
|
685
|
+
BufferingHints: serializeAws_json1_1AmazonOpenSearchServerlessBufferingHints(input.BufferingHints, context),
|
|
686
|
+
}),
|
|
687
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
688
|
+
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
689
|
+
}),
|
|
690
|
+
...(input.CollectionEndpoint != null && { CollectionEndpoint: input.CollectionEndpoint }),
|
|
691
|
+
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
692
|
+
...(input.ProcessingConfiguration != null && {
|
|
693
|
+
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
694
|
+
}),
|
|
695
|
+
...(input.RetryOptions != null && {
|
|
696
|
+
RetryOptions: serializeAws_json1_1AmazonOpenSearchServerlessRetryOptions(input.RetryOptions, context),
|
|
697
|
+
}),
|
|
698
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
699
|
+
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
const serializeAws_json1_1AmazonOpenSearchServerlessRetryOptions = (input, context) => {
|
|
703
|
+
return {
|
|
704
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
705
|
+
};
|
|
706
|
+
};
|
|
650
707
|
const serializeAws_json1_1AmazonopensearchserviceBufferingHints = (input, context) => {
|
|
651
708
|
return {
|
|
652
709
|
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
@@ -741,6 +798,9 @@ const serializeAws_json1_1CopyCommand = (input, context) => {
|
|
|
741
798
|
};
|
|
742
799
|
const serializeAws_json1_1CreateDeliveryStreamInput = (input, context) => {
|
|
743
800
|
return {
|
|
801
|
+
...(input.AmazonOpenSearchServerlessDestinationConfiguration != null && {
|
|
802
|
+
AmazonOpenSearchServerlessDestinationConfiguration: serializeAws_json1_1AmazonOpenSearchServerlessDestinationConfiguration(input.AmazonOpenSearchServerlessDestinationConfiguration, context),
|
|
803
|
+
}),
|
|
744
804
|
...(input.AmazonopensearchserviceDestinationConfiguration != null && {
|
|
745
805
|
AmazonopensearchserviceDestinationConfiguration: serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration(input.AmazonopensearchserviceDestinationConfiguration, context),
|
|
746
806
|
}),
|
|
@@ -1429,6 +1489,9 @@ const serializeAws_json1_1UntagDeliveryStreamInput = (input, context) => {
|
|
|
1429
1489
|
};
|
|
1430
1490
|
const serializeAws_json1_1UpdateDestinationInput = (input, context) => {
|
|
1431
1491
|
return {
|
|
1492
|
+
...(input.AmazonOpenSearchServerlessDestinationUpdate != null && {
|
|
1493
|
+
AmazonOpenSearchServerlessDestinationUpdate: serializeAws_json1_1AmazonOpenSearchServerlessDestinationUpdate(input.AmazonOpenSearchServerlessDestinationUpdate, context),
|
|
1494
|
+
}),
|
|
1432
1495
|
...(input.AmazonopensearchserviceDestinationUpdate != null && {
|
|
1433
1496
|
AmazonopensearchserviceDestinationUpdate: serializeAws_json1_1AmazonopensearchserviceDestinationUpdate(input.AmazonopensearchserviceDestinationUpdate, context),
|
|
1434
1497
|
}),
|
|
@@ -1466,6 +1529,43 @@ const serializeAws_json1_1VpcConfiguration = (input, context) => {
|
|
|
1466
1529
|
...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }),
|
|
1467
1530
|
};
|
|
1468
1531
|
};
|
|
1532
|
+
const deserializeAws_json1_1AmazonOpenSearchServerlessBufferingHints = (output, context) => {
|
|
1533
|
+
return {
|
|
1534
|
+
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
1535
|
+
SizeInMBs: __expectInt32(output.SizeInMBs),
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1538
|
+
const deserializeAws_json1_1AmazonOpenSearchServerlessDestinationDescription = (output, context) => {
|
|
1539
|
+
return {
|
|
1540
|
+
BufferingHints: output.BufferingHints != null
|
|
1541
|
+
? deserializeAws_json1_1AmazonOpenSearchServerlessBufferingHints(output.BufferingHints, context)
|
|
1542
|
+
: undefined,
|
|
1543
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1544
|
+
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1545
|
+
: undefined,
|
|
1546
|
+
CollectionEndpoint: __expectString(output.CollectionEndpoint),
|
|
1547
|
+
IndexName: __expectString(output.IndexName),
|
|
1548
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1549
|
+
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1550
|
+
: undefined,
|
|
1551
|
+
RetryOptions: output.RetryOptions != null
|
|
1552
|
+
? deserializeAws_json1_1AmazonOpenSearchServerlessRetryOptions(output.RetryOptions, context)
|
|
1553
|
+
: undefined,
|
|
1554
|
+
RoleARN: __expectString(output.RoleARN),
|
|
1555
|
+
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1556
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1557
|
+
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1558
|
+
: undefined,
|
|
1559
|
+
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1560
|
+
? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1561
|
+
: undefined,
|
|
1562
|
+
};
|
|
1563
|
+
};
|
|
1564
|
+
const deserializeAws_json1_1AmazonOpenSearchServerlessRetryOptions = (output, context) => {
|
|
1565
|
+
return {
|
|
1566
|
+
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1469
1569
|
const deserializeAws_json1_1AmazonopensearchserviceBufferingHints = (output, context) => {
|
|
1470
1570
|
return {
|
|
1471
1571
|
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
@@ -1624,6 +1724,9 @@ const deserializeAws_json1_1Deserializer = (output, context) => {
|
|
|
1624
1724
|
};
|
|
1625
1725
|
const deserializeAws_json1_1DestinationDescription = (output, context) => {
|
|
1626
1726
|
return {
|
|
1727
|
+
AmazonOpenSearchServerlessDestinationDescription: output.AmazonOpenSearchServerlessDestinationDescription != null
|
|
1728
|
+
? deserializeAws_json1_1AmazonOpenSearchServerlessDestinationDescription(output.AmazonOpenSearchServerlessDestinationDescription, context)
|
|
1729
|
+
: undefined,
|
|
1627
1730
|
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription != null
|
|
1628
1731
|
? deserializeAws_json1_1AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
|
|
1629
1732
|
: undefined,
|
package/dist-types/Firehose.d.ts
CHANGED
|
@@ -16,13 +16,15 @@ import { FirehoseClient } from "./FirehoseClient";
|
|
|
16
16
|
* <fullname>Amazon Kinesis Data Firehose API Reference</fullname>
|
|
17
17
|
* <p>Amazon Kinesis Data Firehose is a fully managed service that delivers real-time
|
|
18
18
|
* streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
|
|
19
|
-
*
|
|
19
|
+
* OpenSearch Service, Amazon Redshift, Splunk, and various other supportd
|
|
20
|
+
* destinations.</p>
|
|
20
21
|
*/
|
|
21
22
|
export declare class Firehose extends FirehoseClient {
|
|
22
23
|
/**
|
|
23
24
|
* <p>Creates a Kinesis Data Firehose delivery stream.</p>
|
|
24
25
|
*
|
|
25
|
-
* <p>By default, you can create up to 50 delivery streams per
|
|
26
|
+
* <p>By default, you can create up to 50 delivery streams per Amazon Web Services
|
|
27
|
+
* Region.</p>
|
|
26
28
|
* <p>This is an asynchronous operation that immediately returns. The initial status of the
|
|
27
29
|
* delivery stream is <code>CREATING</code>. After the delivery stream is created, its status
|
|
28
30
|
* is <code>ACTIVE</code> and it now accepts data. If the delivery stream creation fails, the
|
|
@@ -301,12 +303,13 @@ export declare class Firehose extends FirehoseClient {
|
|
|
301
303
|
stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDeliveryStreamEncryptionCommandOutput) => void): void;
|
|
302
304
|
/**
|
|
303
305
|
* <p>Adds or updates tags for the specified delivery stream. A tag is a key-value pair
|
|
304
|
-
* that you can define and assign to
|
|
305
|
-
* the tag value is replaced with the value that you specify in the request.
|
|
306
|
-
* metadata. For example, you can add friendly names and descriptions or other types
|
|
307
|
-
* information that can help you distinguish the delivery stream. For more information
|
|
308
|
-
* tags, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
309
|
-
* Tags</a> in the <i>
|
|
306
|
+
* that you can define and assign to Amazon Web Services resources. If you specify a tag that
|
|
307
|
+
* already exists, the tag value is replaced with the value that you specify in the request.
|
|
308
|
+
* Tags are metadata. For example, you can add friendly names and descriptions or other types
|
|
309
|
+
* of information that can help you distinguish the delivery stream. For more information
|
|
310
|
+
* about tags, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
311
|
+
* Tags</a> in the <i>Amazon Web Services Billing and Cost Management User
|
|
312
|
+
* Guide</i>. </p>
|
|
310
313
|
* <p>Each delivery stream can have up to 50 tags. </p>
|
|
311
314
|
* <p>This operation has a limit of five transactions per second per account. </p>
|
|
312
315
|
*/
|
|
@@ -138,7 +138,8 @@ export interface FirehoseClientResolvedConfig extends FirehoseClientResolvedConf
|
|
|
138
138
|
* <fullname>Amazon Kinesis Data Firehose API Reference</fullname>
|
|
139
139
|
* <p>Amazon Kinesis Data Firehose is a fully managed service that delivers real-time
|
|
140
140
|
* streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
|
|
141
|
-
*
|
|
141
|
+
* OpenSearch Service, Amazon Redshift, Splunk, and various other supportd
|
|
142
|
+
* destinations.</p>
|
|
142
143
|
*/
|
|
143
144
|
export declare class FirehoseClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FirehoseClientResolvedConfig> {
|
|
144
145
|
/**
|
|
@@ -10,7 +10,8 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a Kinesis Data Firehose delivery stream.</p>
|
|
12
12
|
*
|
|
13
|
-
* <p>By default, you can create up to 50 delivery streams per
|
|
13
|
+
* <p>By default, you can create up to 50 delivery streams per Amazon Web Services
|
|
14
|
+
* Region.</p>
|
|
14
15
|
* <p>This is an asynchronous operation that immediately returns. The initial status of the
|
|
15
16
|
* delivery stream is <code>CREATING</code>. After the delivery stream is created, its status
|
|
16
17
|
* is <code>ACTIVE</code> and it now accepts data. If the delivery stream creation fails, the
|
|
@@ -9,12 +9,13 @@ export interface TagDeliveryStreamCommandOutput extends TagDeliveryStreamOutput,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Adds or updates tags for the specified delivery stream. A tag is a key-value pair
|
|
12
|
-
* that you can define and assign to
|
|
13
|
-
* the tag value is replaced with the value that you specify in the request.
|
|
14
|
-
* metadata. For example, you can add friendly names and descriptions or other types
|
|
15
|
-
* information that can help you distinguish the delivery stream. For more information
|
|
16
|
-
* tags, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
17
|
-
* Tags</a> in the <i>
|
|
12
|
+
* that you can define and assign to Amazon Web Services resources. If you specify a tag that
|
|
13
|
+
* already exists, the tag value is replaced with the value that you specify in the request.
|
|
14
|
+
* Tags are metadata. For example, you can add friendly names and descriptions or other types
|
|
15
|
+
* of information that can help you distinguish the delivery stream. For more information
|
|
16
|
+
* about tags, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
17
|
+
* Tags</a> in the <i>Amazon Web Services Billing and Cost Management User
|
|
18
|
+
* Guide</i>. </p>
|
|
18
19
|
* <p>Each delivery stream can have up to 50 tags. </p>
|
|
19
20
|
* <p>This operation has a limit of five transactions per second per account. </p>
|
|
20
21
|
* @example
|