aws-sdk-firehose 1.83.0 → 1.85.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module Aws::Firehose
54
54
  autoload :EndpointProvider, 'aws-sdk-firehose/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-firehose/endpoints'
56
56
 
57
- GEM_VERSION = '1.83.0'
57
+ GEM_VERSION = '1.85.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -83,7 +83,7 @@ module Aws
83
83
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Firehose/Client.html#create_delivery_stream-instance_method
84
84
  def create_delivery_stream: (
85
85
  delivery_stream_name: ::String,
86
- ?delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource"),
86
+ ?delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource" | "DatabaseAsSource"),
87
87
  ?kinesis_stream_source_configuration: {
88
88
  kinesis_stream_arn: ::String,
89
89
  role_arn: ::String
@@ -726,9 +726,22 @@ module Aws
726
726
  destination_table_name: ::String,
727
727
  destination_database_name: ::String,
728
728
  unique_keys: Array[::String]?,
729
+ partition_spec: {
730
+ identity: Array[
731
+ {
732
+ source_name: ::String
733
+ },
734
+ ]?
735
+ }?,
729
736
  s3_error_output_prefix: ::String?
730
737
  },
731
738
  ]?,
739
+ schema_evolution_configuration: {
740
+ enabled: bool
741
+ }?,
742
+ table_creation_configuration: {
743
+ enabled: bool
744
+ }?,
732
745
  buffering_hints: {
733
746
  size_in_m_bs: ::Integer?,
734
747
  interval_in_seconds: ::Integer?
@@ -758,7 +771,8 @@ module Aws
758
771
  }?,
759
772
  role_arn: ::String,
760
773
  catalog_configuration: {
761
- catalog_arn: ::String?
774
+ catalog_arn: ::String?,
775
+ warehouse_location: ::String?
762
776
  },
763
777
  s3_configuration: {
764
778
  role_arn: ::String,
@@ -782,6 +796,36 @@ module Aws
782
796
  log_stream_name: ::String?
783
797
  }?
784
798
  }
799
+ },
800
+ ?database_source_configuration: {
801
+ type: ("MySQL" | "PostgreSQL"),
802
+ endpoint: ::String,
803
+ port: ::Integer,
804
+ ssl_mode: ("Disabled" | "Enabled")?,
805
+ databases: {
806
+ include: Array[::String]?,
807
+ exclude: Array[::String]?
808
+ },
809
+ tables: {
810
+ include: Array[::String]?,
811
+ exclude: Array[::String]?
812
+ },
813
+ columns: {
814
+ include: Array[::String]?,
815
+ exclude: Array[::String]?
816
+ }?,
817
+ surrogate_keys: Array[::String]?,
818
+ snapshot_watermark_table: ::String,
819
+ database_source_authentication_configuration: {
820
+ secrets_manager_configuration: {
821
+ secret_arn: ::String?,
822
+ role_arn: ::String?,
823
+ enabled: bool
824
+ }
825
+ },
826
+ database_source_vpc_configuration: {
827
+ vpc_endpoint_service_name: ::String
828
+ }
785
829
  }
786
830
  ) -> _CreateDeliveryStreamResponseSuccess
787
831
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeliveryStreamResponseSuccess
@@ -816,7 +860,7 @@ module Aws
816
860
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Firehose/Client.html#list_delivery_streams-instance_method
817
861
  def list_delivery_streams: (
818
862
  ?limit: ::Integer,
819
- ?delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource"),
863
+ ?delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource" | "DatabaseAsSource"),
820
864
  ?exclusive_start_delivery_stream_name: ::String
821
865
  ) -> _ListDeliveryStreamsResponseSuccess
822
866
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeliveryStreamsResponseSuccess
@@ -1518,9 +1562,22 @@ module Aws
1518
1562
  destination_table_name: ::String,
1519
1563
  destination_database_name: ::String,
1520
1564
  unique_keys: Array[::String]?,
1565
+ partition_spec: {
1566
+ identity: Array[
1567
+ {
1568
+ source_name: ::String
1569
+ },
1570
+ ]?
1571
+ }?,
1521
1572
  s3_error_output_prefix: ::String?
1522
1573
  },
1523
1574
  ]?,
1575
+ schema_evolution_configuration: {
1576
+ enabled: bool
1577
+ }?,
1578
+ table_creation_configuration: {
1579
+ enabled: bool
1580
+ }?,
1524
1581
  buffering_hints: {
1525
1582
  size_in_m_bs: ::Integer?,
1526
1583
  interval_in_seconds: ::Integer?
@@ -1550,7 +1607,8 @@ module Aws
1550
1607
  }?,
1551
1608
  role_arn: ::String?,
1552
1609
  catalog_configuration: {
1553
- catalog_arn: ::String?
1610
+ catalog_arn: ::String?,
1611
+ warehouse_location: ::String?
1554
1612
  }?,
1555
1613
  s3_configuration: {
1556
1614
  role_arn: ::String,
data/sig/types.rbs CHANGED
@@ -136,6 +136,7 @@ module Aws::Firehose
136
136
 
137
137
  class CatalogConfiguration
138
138
  attr_accessor catalog_arn: ::String
139
+ attr_accessor warehouse_location: ::String
139
140
  SENSITIVE: []
140
141
  end
141
142
 
@@ -160,7 +161,7 @@ module Aws::Firehose
160
161
 
161
162
  class CreateDeliveryStreamInput
162
163
  attr_accessor delivery_stream_name: ::String
163
- attr_accessor delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource")
164
+ attr_accessor delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource" | "DatabaseAsSource")
164
165
  attr_accessor kinesis_stream_source_configuration: Types::KinesisStreamSourceConfiguration
165
166
  attr_accessor delivery_stream_encryption_configuration_input: Types::DeliveryStreamEncryptionConfigurationInput
166
167
  attr_accessor s3_destination_configuration: Types::S3DestinationConfiguration
@@ -175,6 +176,7 @@ module Aws::Firehose
175
176
  attr_accessor msk_source_configuration: Types::MSKSourceConfiguration
176
177
  attr_accessor snowflake_destination_configuration: Types::SnowflakeDestinationConfiguration
177
178
  attr_accessor iceberg_destination_configuration: Types::IcebergDestinationConfiguration
179
+ attr_accessor database_source_configuration: Types::DatabaseSourceConfiguration
178
180
  SENSITIVE: []
179
181
  end
180
182
 
@@ -191,6 +193,75 @@ module Aws::Firehose
191
193
  SENSITIVE: []
192
194
  end
193
195
 
196
+ class DatabaseColumnList
197
+ attr_accessor include: ::Array[::String]
198
+ attr_accessor exclude: ::Array[::String]
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class DatabaseList
203
+ attr_accessor include: ::Array[::String]
204
+ attr_accessor exclude: ::Array[::String]
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class DatabaseSnapshotInfo
209
+ attr_accessor id: ::String
210
+ attr_accessor table: ::String
211
+ attr_accessor request_timestamp: ::Time
212
+ attr_accessor requested_by: ("USER" | "FIREHOSE")
213
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "SUSPENDED")
214
+ attr_accessor failure_description: Types::FailureDescription
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class DatabaseSourceAuthenticationConfiguration
219
+ attr_accessor secrets_manager_configuration: Types::SecretsManagerConfiguration
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class DatabaseSourceConfiguration
224
+ attr_accessor type: ("MySQL" | "PostgreSQL")
225
+ attr_accessor endpoint: ::String
226
+ attr_accessor port: ::Integer
227
+ attr_accessor ssl_mode: ("Disabled" | "Enabled")
228
+ attr_accessor databases: Types::DatabaseList
229
+ attr_accessor tables: Types::DatabaseTableList
230
+ attr_accessor columns: Types::DatabaseColumnList
231
+ attr_accessor surrogate_keys: ::Array[::String]
232
+ attr_accessor snapshot_watermark_table: ::String
233
+ attr_accessor database_source_authentication_configuration: Types::DatabaseSourceAuthenticationConfiguration
234
+ attr_accessor database_source_vpc_configuration: Types::DatabaseSourceVPCConfiguration
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class DatabaseSourceDescription
239
+ attr_accessor type: ("MySQL" | "PostgreSQL")
240
+ attr_accessor endpoint: ::String
241
+ attr_accessor port: ::Integer
242
+ attr_accessor ssl_mode: ("Disabled" | "Enabled")
243
+ attr_accessor databases: Types::DatabaseList
244
+ attr_accessor tables: Types::DatabaseTableList
245
+ attr_accessor columns: Types::DatabaseColumnList
246
+ attr_accessor surrogate_keys: ::Array[::String]
247
+ attr_accessor snapshot_watermark_table: ::String
248
+ attr_accessor snapshot_info: ::Array[Types::DatabaseSnapshotInfo]
249
+ attr_accessor database_source_authentication_configuration: Types::DatabaseSourceAuthenticationConfiguration
250
+ attr_accessor database_source_vpc_configuration: Types::DatabaseSourceVPCConfiguration
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class DatabaseSourceVPCConfiguration
255
+ attr_accessor vpc_endpoint_service_name: ::String
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class DatabaseTableList
260
+ attr_accessor include: ::Array[::String]
261
+ attr_accessor exclude: ::Array[::String]
262
+ SENSITIVE: []
263
+ end
264
+
194
265
  class DeleteDeliveryStreamInput
195
266
  attr_accessor delivery_stream_name: ::String
196
267
  attr_accessor allow_force_delete: bool
@@ -206,7 +277,7 @@ module Aws::Firehose
206
277
  attr_accessor delivery_stream_status: ("CREATING" | "CREATING_FAILED" | "DELETING" | "DELETING_FAILED" | "ACTIVE")
207
278
  attr_accessor failure_description: Types::FailureDescription
208
279
  attr_accessor delivery_stream_encryption_configuration: Types::DeliveryStreamEncryptionConfiguration
209
- attr_accessor delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource")
280
+ attr_accessor delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource" | "DatabaseAsSource")
210
281
  attr_accessor version_id: ::String
211
282
  attr_accessor create_timestamp: ::Time
212
283
  attr_accessor last_update_timestamp: ::Time
@@ -267,6 +338,7 @@ module Aws::Firehose
267
338
  attr_accessor destination_table_name: ::String
268
339
  attr_accessor destination_database_name: ::String
269
340
  attr_accessor unique_keys: ::Array[::String]
341
+ attr_accessor partition_spec: Types::PartitionSpec
270
342
  attr_accessor s3_error_output_prefix: ::String
271
343
  SENSITIVE: []
272
344
  end
@@ -409,7 +481,7 @@ module Aws::Firehose
409
481
  end
410
482
 
411
483
  class FailureDescription
412
- attr_accessor type: ("RETIRE_KMS_GRANT_FAILED" | "CREATE_KMS_GRANT_FAILED" | "KMS_ACCESS_DENIED" | "DISABLED_KMS_KEY" | "INVALID_KMS_KEY" | "KMS_KEY_NOT_FOUND" | "KMS_OPT_IN_REQUIRED" | "CREATE_ENI_FAILED" | "DELETE_ENI_FAILED" | "SUBNET_NOT_FOUND" | "SECURITY_GROUP_NOT_FOUND" | "ENI_ACCESS_DENIED" | "SUBNET_ACCESS_DENIED" | "SECURITY_GROUP_ACCESS_DENIED" | "UNKNOWN_ERROR")
484
+ attr_accessor type: ("VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND" | "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED" | "RETIRE_KMS_GRANT_FAILED" | "CREATE_KMS_GRANT_FAILED" | "KMS_ACCESS_DENIED" | "DISABLED_KMS_KEY" | "INVALID_KMS_KEY" | "KMS_KEY_NOT_FOUND" | "KMS_OPT_IN_REQUIRED" | "CREATE_ENI_FAILED" | "DELETE_ENI_FAILED" | "SUBNET_NOT_FOUND" | "SECURITY_GROUP_NOT_FOUND" | "ENI_ACCESS_DENIED" | "SUBNET_ACCESS_DENIED" | "SECURITY_GROUP_ACCESS_DENIED" | "UNKNOWN_ERROR")
413
485
  attr_accessor details: ::String
414
486
  SENSITIVE: []
415
487
  end
@@ -499,6 +571,8 @@ module Aws::Firehose
499
571
 
500
572
  class IcebergDestinationConfiguration
501
573
  attr_accessor destination_table_configuration_list: ::Array[Types::DestinationTableConfiguration]
574
+ attr_accessor schema_evolution_configuration: Types::SchemaEvolutionConfiguration
575
+ attr_accessor table_creation_configuration: Types::TableCreationConfiguration
502
576
  attr_accessor buffering_hints: Types::BufferingHints
503
577
  attr_accessor cloud_watch_logging_options: Types::CloudWatchLoggingOptions
504
578
  attr_accessor processing_configuration: Types::ProcessingConfiguration
@@ -512,6 +586,8 @@ module Aws::Firehose
512
586
 
513
587
  class IcebergDestinationDescription
514
588
  attr_accessor destination_table_configuration_list: ::Array[Types::DestinationTableConfiguration]
589
+ attr_accessor schema_evolution_configuration: Types::SchemaEvolutionConfiguration
590
+ attr_accessor table_creation_configuration: Types::TableCreationConfiguration
515
591
  attr_accessor buffering_hints: Types::BufferingHints
516
592
  attr_accessor cloud_watch_logging_options: Types::CloudWatchLoggingOptions
517
593
  attr_accessor processing_configuration: Types::ProcessingConfiguration
@@ -525,6 +601,8 @@ module Aws::Firehose
525
601
 
526
602
  class IcebergDestinationUpdate
527
603
  attr_accessor destination_table_configuration_list: ::Array[Types::DestinationTableConfiguration]
604
+ attr_accessor schema_evolution_configuration: Types::SchemaEvolutionConfiguration
605
+ attr_accessor table_creation_configuration: Types::TableCreationConfiguration
528
606
  attr_accessor buffering_hints: Types::BufferingHints
529
607
  attr_accessor cloud_watch_logging_options: Types::CloudWatchLoggingOptions
530
608
  attr_accessor processing_configuration: Types::ProcessingConfiguration
@@ -583,7 +661,7 @@ module Aws::Firehose
583
661
 
584
662
  class ListDeliveryStreamsInput
585
663
  attr_accessor limit: ::Integer
586
- attr_accessor delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource")
664
+ attr_accessor delivery_stream_type: ("DirectPut" | "KinesisStreamAsSource" | "MSKAsSource" | "DatabaseAsSource")
587
665
  attr_accessor exclusive_start_delivery_stream_name: ::String
588
666
  SENSITIVE: []
589
667
  end
@@ -660,6 +738,16 @@ module Aws::Firehose
660
738
  SENSITIVE: []
661
739
  end
662
740
 
741
+ class PartitionField
742
+ attr_accessor source_name: ::String
743
+ SENSITIVE: []
744
+ end
745
+
746
+ class PartitionSpec
747
+ attr_accessor identity: ::Array[Types::PartitionField]
748
+ SENSITIVE: []
749
+ end
750
+
663
751
  class ProcessingConfiguration
664
752
  attr_accessor enabled: bool
665
753
  attr_accessor processors: ::Array[Types::Processor]
@@ -828,6 +916,11 @@ module Aws::Firehose
828
916
  SENSITIVE: []
829
917
  end
830
918
 
919
+ class SchemaEvolutionConfiguration
920
+ attr_accessor enabled: bool
921
+ SENSITIVE: []
922
+ end
923
+
831
924
  class SecretsManagerConfiguration
832
925
  attr_accessor secret_arn: ::String
833
926
  attr_accessor role_arn: ::String
@@ -940,6 +1033,7 @@ module Aws::Firehose
940
1033
  class SourceDescription
941
1034
  attr_accessor kinesis_stream_source_description: Types::KinesisStreamSourceDescription
942
1035
  attr_accessor msk_source_description: Types::MSKSourceDescription
1036
+ attr_accessor database_source_description: Types::DatabaseSourceDescription
943
1037
  SENSITIVE: []
944
1038
  end
945
1039
 
@@ -1016,6 +1110,11 @@ module Aws::Firehose
1016
1110
  class StopDeliveryStreamEncryptionOutput < Aws::EmptyStructure
1017
1111
  end
1018
1112
 
1113
+ class TableCreationConfiguration
1114
+ attr_accessor enabled: bool
1115
+ SENSITIVE: []
1116
+ end
1117
+
1019
1118
  class Tag
1020
1119
  attr_accessor key: ::String
1021
1120
  attr_accessor value: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-firehose
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core