aws-sdk-firehose 1.86.0 → 1.88.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-firehose/client.rb +20 -5
- data/lib/aws-sdk-firehose/client_api.rb +14 -0
- data/lib/aws-sdk-firehose/endpoint_provider.rb +13 -17
- data/lib/aws-sdk-firehose/types.rb +398 -90
- data/lib/aws-sdk-firehose.rb +1 -1
- data/sig/client.rbs +5 -0
- data/sig/types.rbs +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea39ad38b79150bff9b4f1674967065d9297e72ac7f060b0844814ce3a12c76e
|
4
|
+
data.tar.gz: b3f9331a71fadba99e0c859935e8ae8394d2f188187da8c00db2480bf9ac25cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30a680c3469310ce640acd15156f8da20884c12483c04a1837c7c59c86676d2a2f3dd472c944849b6a951a42e114546cdd75e0e2db35878468a57f1a99a7c5e8
|
7
|
+
data.tar.gz: e7e5f08f6c2162f93eab6f0e65a01fd3f4e05b5ea25d7b20755f9e6dfe3dfc4c111c3c8f61d6619ac6a9a653a67de15e77acfae8c34aa362bfd3c951e605b453
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.88.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.87.0 (2025-01-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - For AppendOnly streams, Firehose will automatically scale to match your throughput.
|
13
|
+
|
4
14
|
1.86.0 (2025-01-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.88.0
|
@@ -577,6 +577,10 @@ module Aws::Firehose
|
|
577
577
|
# * `KinesisStreamAsSource`: The Firehose stream uses a Kinesis data
|
578
578
|
# stream as a source.
|
579
579
|
#
|
580
|
+
# @option params [Types::DirectPutSourceConfiguration] :direct_put_source_configuration
|
581
|
+
# The structure that configures parameters such as `ThroughputHintInMBs`
|
582
|
+
# for a stream configured with Direct PUT as a source.
|
583
|
+
#
|
580
584
|
# @option params [Types::KinesisStreamSourceConfiguration] :kinesis_stream_source_configuration
|
581
585
|
# When a Kinesis data stream is used as the source for the Firehose
|
582
586
|
# stream, a KinesisStreamSourceConfiguration containing the Kinesis data
|
@@ -599,7 +603,8 @@ module Aws::Firehose
|
|
599
603
|
# destination.
|
600
604
|
#
|
601
605
|
# @option params [Types::ElasticsearchDestinationConfiguration] :elasticsearch_destination_configuration
|
602
|
-
# The destination in Amazon
|
606
|
+
# The destination in Amazon OpenSearch Service. You can specify only one
|
607
|
+
# destination.
|
603
608
|
#
|
604
609
|
# @option params [Types::AmazonopensearchserviceDestinationConfiguration] :amazonopensearchservice_destination_configuration
|
605
610
|
# The destination in Amazon OpenSearch Service. You can specify only one
|
@@ -627,8 +632,8 @@ module Aws::Firehose
|
|
627
632
|
# Firehose performs an additional authorization on the
|
628
633
|
# `firehose:TagDeliveryStream` action to verify if users have
|
629
634
|
# permissions to create tags. If you do not provide this permission,
|
630
|
-
# requests to create new Firehose
|
631
|
-
#
|
635
|
+
# requests to create new Firehose streams with IAM resource tags will
|
636
|
+
# fail with an `AccessDeniedException` such as following.
|
632
637
|
#
|
633
638
|
# **AccessDeniedException**
|
634
639
|
#
|
@@ -659,6 +664,9 @@ module Aws::Firehose
|
|
659
664
|
# Configure Apache Iceberg Tables destination.
|
660
665
|
#
|
661
666
|
# @option params [Types::DatabaseSourceConfiguration] :database_source_configuration
|
667
|
+
# The top level object for configuring streams with database as a
|
668
|
+
# source.
|
669
|
+
#
|
662
670
|
# Amazon Data Firehose is in preview release and is subject to change.
|
663
671
|
#
|
664
672
|
# @return [Types::CreateDeliveryStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -670,6 +678,9 @@ module Aws::Firehose
|
|
670
678
|
# resp = client.create_delivery_stream({
|
671
679
|
# delivery_stream_name: "DeliveryStreamName", # required
|
672
680
|
# delivery_stream_type: "DirectPut", # accepts DirectPut, KinesisStreamAsSource, MSKAsSource, DatabaseAsSource
|
681
|
+
# direct_put_source_configuration: {
|
682
|
+
# throughput_hint_in_m_bs: 1, # required
|
683
|
+
# },
|
673
684
|
# kinesis_stream_source_configuration: {
|
674
685
|
# kinesis_stream_arn: "KinesisStreamARN", # required
|
675
686
|
# role_arn: "RoleARN", # required
|
@@ -1358,6 +1369,7 @@ module Aws::Firehose
|
|
1358
1369
|
# duration_in_seconds: 1,
|
1359
1370
|
# },
|
1360
1371
|
# role_arn: "RoleARN", # required
|
1372
|
+
# append_only: false,
|
1361
1373
|
# catalog_configuration: { # required
|
1362
1374
|
# catalog_arn: "GlueDataCatalogARN",
|
1363
1375
|
# warehouse_location: "WarehouseLocation",
|
@@ -1540,6 +1552,7 @@ module Aws::Firehose
|
|
1540
1552
|
# resp.delivery_stream_description.version_id #=> String
|
1541
1553
|
# resp.delivery_stream_description.create_timestamp #=> Time
|
1542
1554
|
# resp.delivery_stream_description.last_update_timestamp #=> Time
|
1555
|
+
# resp.delivery_stream_description.source.direct_put_source_description.throughput_hint_in_m_bs #=> Integer
|
1543
1556
|
# resp.delivery_stream_description.source.kinesis_stream_source_description.kinesis_stream_arn #=> String
|
1544
1557
|
# resp.delivery_stream_description.source.kinesis_stream_source_description.role_arn #=> String
|
1545
1558
|
# resp.delivery_stream_description.source.kinesis_stream_source_description.delivery_start_timestamp #=> Time
|
@@ -1944,6 +1957,7 @@ module Aws::Firehose
|
|
1944
1957
|
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.s3_backup_mode #=> String, one of "FailedDataOnly", "AllData"
|
1945
1958
|
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.retry_options.duration_in_seconds #=> Integer
|
1946
1959
|
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.role_arn #=> String
|
1960
|
+
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.append_only #=> Boolean
|
1947
1961
|
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.catalog_configuration.catalog_arn #=> String
|
1948
1962
|
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.catalog_configuration.warehouse_location #=> String
|
1949
1963
|
# resp.delivery_stream_description.destinations[0].iceberg_destination_description.s3_destination_description.role_arn #=> String
|
@@ -2576,7 +2590,7 @@ module Aws::Firehose
|
|
2576
2590
|
# Describes an update for a destination in Amazon Redshift.
|
2577
2591
|
#
|
2578
2592
|
# @option params [Types::ElasticsearchDestinationUpdate] :elasticsearch_destination_update
|
2579
|
-
# Describes an update for a destination in Amazon
|
2593
|
+
# Describes an update for a destination in Amazon OpenSearch Service.
|
2580
2594
|
#
|
2581
2595
|
# @option params [Types::AmazonopensearchserviceDestinationUpdate] :amazonopensearchservice_destination_update
|
2582
2596
|
# Describes an update for a destination in Amazon OpenSearch Service.
|
@@ -3249,6 +3263,7 @@ module Aws::Firehose
|
|
3249
3263
|
# duration_in_seconds: 1,
|
3250
3264
|
# },
|
3251
3265
|
# role_arn: "RoleARN",
|
3266
|
+
# append_only: false,
|
3252
3267
|
# catalog_configuration: {
|
3253
3268
|
# catalog_arn: "GlueDataCatalogARN",
|
3254
3269
|
# warehouse_location: "WarehouseLocation",
|
@@ -3305,7 +3320,7 @@ module Aws::Firehose
|
|
3305
3320
|
tracer: tracer
|
3306
3321
|
)
|
3307
3322
|
context[:gem_name] = 'aws-sdk-firehose'
|
3308
|
-
context[:gem_version] = '1.
|
3323
|
+
context[:gem_version] = '1.88.0'
|
3309
3324
|
Seahorse::Client::Request.new(handlers, context)
|
3310
3325
|
end
|
3311
3326
|
|
@@ -105,6 +105,8 @@ module Aws::Firehose
|
|
105
105
|
DestinationId = Shapes::StringShape.new(name: 'DestinationId')
|
106
106
|
DestinationTableConfiguration = Shapes::StructureShape.new(name: 'DestinationTableConfiguration')
|
107
107
|
DestinationTableConfigurationList = Shapes::ListShape.new(name: 'DestinationTableConfigurationList')
|
108
|
+
DirectPutSourceConfiguration = Shapes::StructureShape.new(name: 'DirectPutSourceConfiguration')
|
109
|
+
DirectPutSourceDescription = Shapes::StructureShape.new(name: 'DirectPutSourceDescription')
|
108
110
|
DocumentIdOptions = Shapes::StructureShape.new(name: 'DocumentIdOptions')
|
109
111
|
DynamicPartitioningConfiguration = Shapes::StructureShape.new(name: 'DynamicPartitioningConfiguration')
|
110
112
|
ElasticsearchBufferingHints = Shapes::StructureShape.new(name: 'ElasticsearchBufferingHints')
|
@@ -296,6 +298,7 @@ module Aws::Firehose
|
|
296
298
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
297
299
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
298
300
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
301
|
+
ThroughputHintInMBs = Shapes::IntegerShape.new(name: 'ThroughputHintInMBs')
|
299
302
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
300
303
|
TopicName = Shapes::StringShape.new(name: 'TopicName')
|
301
304
|
UntagDeliveryStreamInput = Shapes::StructureShape.new(name: 'UntagDeliveryStreamInput')
|
@@ -432,6 +435,7 @@ module Aws::Firehose
|
|
432
435
|
|
433
436
|
CreateDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
434
437
|
CreateDeliveryStreamInput.add_member(:delivery_stream_type, Shapes::ShapeRef.new(shape: DeliveryStreamType, location_name: "DeliveryStreamType"))
|
438
|
+
CreateDeliveryStreamInput.add_member(:direct_put_source_configuration, Shapes::ShapeRef.new(shape: DirectPutSourceConfiguration, location_name: "DirectPutSourceConfiguration"))
|
435
439
|
CreateDeliveryStreamInput.add_member(:kinesis_stream_source_configuration, Shapes::ShapeRef.new(shape: KinesisStreamSourceConfiguration, location_name: "KinesisStreamSourceConfiguration"))
|
436
440
|
CreateDeliveryStreamInput.add_member(:delivery_stream_encryption_configuration_input, Shapes::ShapeRef.new(shape: DeliveryStreamEncryptionConfigurationInput, location_name: "DeliveryStreamEncryptionConfigurationInput"))
|
437
441
|
CreateDeliveryStreamInput.add_member(:s3_destination_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, deprecated: true, location_name: "S3DestinationConfiguration"))
|
@@ -589,6 +593,12 @@ module Aws::Firehose
|
|
589
593
|
|
590
594
|
DestinationTableConfigurationList.member = Shapes::ShapeRef.new(shape: DestinationTableConfiguration)
|
591
595
|
|
596
|
+
DirectPutSourceConfiguration.add_member(:throughput_hint_in_m_bs, Shapes::ShapeRef.new(shape: ThroughputHintInMBs, required: true, location_name: "ThroughputHintInMBs"))
|
597
|
+
DirectPutSourceConfiguration.struct_class = Types::DirectPutSourceConfiguration
|
598
|
+
|
599
|
+
DirectPutSourceDescription.add_member(:throughput_hint_in_m_bs, Shapes::ShapeRef.new(shape: ThroughputHintInMBs, location_name: "ThroughputHintInMBs"))
|
600
|
+
DirectPutSourceDescription.struct_class = Types::DirectPutSourceDescription
|
601
|
+
|
592
602
|
DocumentIdOptions.add_member(:default_document_id_format, Shapes::ShapeRef.new(shape: DefaultDocumentIdFormat, required: true, location_name: "DefaultDocumentIdFormat"))
|
593
603
|
DocumentIdOptions.struct_class = Types::DocumentIdOptions
|
594
604
|
|
@@ -782,6 +792,7 @@ module Aws::Firehose
|
|
782
792
|
IcebergDestinationConfiguration.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: IcebergS3BackupMode, location_name: "S3BackupMode"))
|
783
793
|
IcebergDestinationConfiguration.add_member(:retry_options, Shapes::ShapeRef.new(shape: RetryOptions, location_name: "RetryOptions"))
|
784
794
|
IcebergDestinationConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
795
|
+
IcebergDestinationConfiguration.add_member(:append_only, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AppendOnly"))
|
785
796
|
IcebergDestinationConfiguration.add_member(:catalog_configuration, Shapes::ShapeRef.new(shape: CatalogConfiguration, required: true, location_name: "CatalogConfiguration"))
|
786
797
|
IcebergDestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, required: true, location_name: "S3Configuration"))
|
787
798
|
IcebergDestinationConfiguration.struct_class = Types::IcebergDestinationConfiguration
|
@@ -795,6 +806,7 @@ module Aws::Firehose
|
|
795
806
|
IcebergDestinationDescription.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: IcebergS3BackupMode, location_name: "S3BackupMode"))
|
796
807
|
IcebergDestinationDescription.add_member(:retry_options, Shapes::ShapeRef.new(shape: RetryOptions, location_name: "RetryOptions"))
|
797
808
|
IcebergDestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
809
|
+
IcebergDestinationDescription.add_member(:append_only, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AppendOnly"))
|
798
810
|
IcebergDestinationDescription.add_member(:catalog_configuration, Shapes::ShapeRef.new(shape: CatalogConfiguration, location_name: "CatalogConfiguration"))
|
799
811
|
IcebergDestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3DestinationDescription"))
|
800
812
|
IcebergDestinationDescription.struct_class = Types::IcebergDestinationDescription
|
@@ -808,6 +820,7 @@ module Aws::Firehose
|
|
808
820
|
IcebergDestinationUpdate.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: IcebergS3BackupMode, location_name: "S3BackupMode"))
|
809
821
|
IcebergDestinationUpdate.add_member(:retry_options, Shapes::ShapeRef.new(shape: RetryOptions, location_name: "RetryOptions"))
|
810
822
|
IcebergDestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
823
|
+
IcebergDestinationUpdate.add_member(:append_only, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AppendOnly"))
|
811
824
|
IcebergDestinationUpdate.add_member(:catalog_configuration, Shapes::ShapeRef.new(shape: CatalogConfiguration, location_name: "CatalogConfiguration"))
|
812
825
|
IcebergDestinationUpdate.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, location_name: "S3Configuration"))
|
813
826
|
IcebergDestinationUpdate.struct_class = Types::IcebergDestinationUpdate
|
@@ -1144,6 +1157,7 @@ module Aws::Firehose
|
|
1144
1157
|
SnowflakeVpcConfiguration.add_member(:private_link_vpce_id, Shapes::ShapeRef.new(shape: SnowflakePrivateLinkVpceId, required: true, location_name: "PrivateLinkVpceId"))
|
1145
1158
|
SnowflakeVpcConfiguration.struct_class = Types::SnowflakeVpcConfiguration
|
1146
1159
|
|
1160
|
+
SourceDescription.add_member(:direct_put_source_description, Shapes::ShapeRef.new(shape: DirectPutSourceDescription, location_name: "DirectPutSourceDescription"))
|
1147
1161
|
SourceDescription.add_member(:kinesis_stream_source_description, Shapes::ShapeRef.new(shape: KinesisStreamSourceDescription, location_name: "KinesisStreamSourceDescription"))
|
1148
1162
|
SourceDescription.add_member(:msk_source_description, Shapes::ShapeRef.new(shape: MSKSourceDescription, location_name: "MSKSourceDescription"))
|
1149
1163
|
SourceDescription.add_member(:database_source_description, Shapes::ShapeRef.new(shape: DatabaseSourceDescription, location_name: "DatabaseSourceDescription"))
|
@@ -10,40 +10,36 @@
|
|
10
10
|
module Aws::Firehose
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
33
|
end
|
38
34
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
35
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
36
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
41
37
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://firehose.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
39
|
end
|
44
40
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
41
|
end
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://firehose.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
43
|
end
|
48
44
|
end
|
49
45
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|