aws-sdk-firehose 1.56.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-firehose/client.rb +25 -7
- data/lib/aws-sdk-firehose/client_api.rb +11 -0
- data/lib/aws-sdk-firehose/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-firehose/types.rb +89 -12
- data/lib/aws-sdk-firehose.rb +1 -1
- 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: 0f587fc8b4db92c3c0e9080caa7e096a22b4b6a0c26fb4135251de2374ae4bc9
|
4
|
+
data.tar.gz: 282c2cc072ec933e547d70c055f1fbf1eaba05b55d99c9b4d07c8cfd905fdc43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e8286254261766be338735891dca9d7c936a989992db8f71d88eee105c3aafdf2ad05e27624a63ae296b052591cff0c21b224f783c6aab2e216c0251d1730ec
|
7
|
+
data.tar.gz: 8b276ded78fc18917feb5b475b6a0582478c878b0373b834b696126e676c77832550545488f20339156f73fd3582c1bfb6b3b8e98dcdecfb008c5a3fad3a3dab
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
@@ -430,9 +430,13 @@ module Aws::Firehose
|
|
430
430
|
# turn on SSE for an existing delivery stream that doesn't have SSE
|
431
431
|
# enabled.
|
432
432
|
#
|
433
|
-
# A delivery stream is configured with a single destination
|
434
|
-
# Amazon
|
435
|
-
#
|
433
|
+
# A delivery stream is configured with a single destination, such as
|
434
|
+
# Amazon Simple Storage Service (Amazon S3), Amazon Redshift, Amazon
|
435
|
+
# OpenSearch Service, Amazon OpenSearch Serverless, Splunk, and any
|
436
|
+
# custom HTTP endpoint or HTTP endpoints owned by or supported by
|
437
|
+
# third-party service providers, including Datadog, Dynatrace,
|
438
|
+
# LogicMonitor, MongoDB, New Relic, and Sumo Logic. You must specify
|
439
|
+
# only one of the following destination configuration parameters:
|
436
440
|
# `ExtendedS3DestinationConfiguration`, `S3DestinationConfiguration`,
|
437
441
|
# `ElasticsearchDestinationConfiguration`,
|
438
442
|
# `RedshiftDestinationConfiguration`, or
|
@@ -841,6 +845,9 @@ module Aws::Firehose
|
|
841
845
|
# role_arn: "RoleARN", # required
|
842
846
|
# security_group_ids: ["NonEmptyStringWithoutWhitespace"], # required
|
843
847
|
# },
|
848
|
+
# document_id_options: {
|
849
|
+
# default_document_id_format: "FIREHOSE_DEFAULT", # required, accepts FIREHOSE_DEFAULT, NO_DOCUMENT_ID
|
850
|
+
# },
|
844
851
|
# },
|
845
852
|
# amazonopensearchservice_destination_configuration: {
|
846
853
|
# role_arn: "RoleARN", # required
|
@@ -903,6 +910,9 @@ module Aws::Firehose
|
|
903
910
|
# role_arn: "RoleARN", # required
|
904
911
|
# security_group_ids: ["NonEmptyStringWithoutWhitespace"], # required
|
905
912
|
# },
|
913
|
+
# document_id_options: {
|
914
|
+
# default_document_id_format: "FIREHOSE_DEFAULT", # required, accepts FIREHOSE_DEFAULT, NO_DOCUMENT_ID
|
915
|
+
# },
|
906
916
|
# },
|
907
917
|
# splunk_destination_configuration: {
|
908
918
|
# hec_endpoint: "HECEndpoint", # required
|
@@ -1363,6 +1373,7 @@ module Aws::Firehose
|
|
1363
1373
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.vpc_configuration_description.security_group_ids #=> Array
|
1364
1374
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.vpc_configuration_description.security_group_ids[0] #=> String
|
1365
1375
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.vpc_configuration_description.vpc_id #=> String
|
1376
|
+
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.document_id_options.default_document_id_format #=> String, one of "FIREHOSE_DEFAULT", "NO_DOCUMENT_ID"
|
1366
1377
|
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.role_arn #=> String
|
1367
1378
|
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.domain_arn #=> String
|
1368
1379
|
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.cluster_endpoint #=> String
|
@@ -1400,6 +1411,7 @@ module Aws::Firehose
|
|
1400
1411
|
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.vpc_configuration_description.security_group_ids #=> Array
|
1401
1412
|
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.vpc_configuration_description.security_group_ids[0] #=> String
|
1402
1413
|
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.vpc_configuration_description.vpc_id #=> String
|
1414
|
+
# resp.delivery_stream_description.destinations[0].amazonopensearchservice_destination_description.document_id_options.default_document_id_format #=> String, one of "FIREHOSE_DEFAULT", "NO_DOCUMENT_ID"
|
1403
1415
|
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_endpoint #=> String
|
1404
1416
|
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_endpoint_type #=> String, one of "Raw", "Event"
|
1405
1417
|
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_token #=> String
|
@@ -2024,9 +2036,9 @@ module Aws::Firehose
|
|
2024
2036
|
# continue during this process. The updated configurations are usually
|
2025
2037
|
# effective within a few minutes.
|
2026
2038
|
#
|
2027
|
-
# Switching between Amazon
|
2028
|
-
# an Amazon
|
2029
|
-
# destination.
|
2039
|
+
# Switching between Amazon OpenSearch Service and other services is not
|
2040
|
+
# supported. For an Amazon OpenSearch Service destination, you can only
|
2041
|
+
# update to another Amazon OpenSearch Service destination.
|
2030
2042
|
#
|
2031
2043
|
# If the destination type is the same, Kinesis Data Firehose merges the
|
2032
2044
|
# configuration parameters specified with the destination configuration
|
@@ -2366,6 +2378,9 @@ module Aws::Firehose
|
|
2366
2378
|
# log_group_name: "LogGroupName",
|
2367
2379
|
# log_stream_name: "LogStreamName",
|
2368
2380
|
# },
|
2381
|
+
# document_id_options: {
|
2382
|
+
# default_document_id_format: "FIREHOSE_DEFAULT", # required, accepts FIREHOSE_DEFAULT, NO_DOCUMENT_ID
|
2383
|
+
# },
|
2369
2384
|
# },
|
2370
2385
|
# amazonopensearchservice_destination_update: {
|
2371
2386
|
# role_arn: "RoleARN",
|
@@ -2422,6 +2437,9 @@ module Aws::Firehose
|
|
2422
2437
|
# log_group_name: "LogGroupName",
|
2423
2438
|
# log_stream_name: "LogStreamName",
|
2424
2439
|
# },
|
2440
|
+
# document_id_options: {
|
2441
|
+
# default_document_id_format: "FIREHOSE_DEFAULT", # required, accepts FIREHOSE_DEFAULT, NO_DOCUMENT_ID
|
2442
|
+
# },
|
2425
2443
|
# },
|
2426
2444
|
# splunk_destination_update: {
|
2427
2445
|
# hec_endpoint: "HECEndpoint",
|
@@ -2617,7 +2635,7 @@ module Aws::Firehose
|
|
2617
2635
|
params: params,
|
2618
2636
|
config: config)
|
2619
2637
|
context[:gem_name] = 'aws-sdk-firehose'
|
2620
|
-
context[:gem_version] = '1.
|
2638
|
+
context[:gem_version] = '1.57.0'
|
2621
2639
|
Seahorse::Client::Request.new(handlers, context)
|
2622
2640
|
end
|
2623
2641
|
|
@@ -57,6 +57,7 @@ module Aws::Firehose
|
|
57
57
|
DataFormatConversionConfiguration = Shapes::StructureShape.new(name: 'DataFormatConversionConfiguration')
|
58
58
|
DataTableColumns = Shapes::StringShape.new(name: 'DataTableColumns')
|
59
59
|
DataTableName = Shapes::StringShape.new(name: 'DataTableName')
|
60
|
+
DefaultDocumentIdFormat = Shapes::StringShape.new(name: 'DefaultDocumentIdFormat')
|
60
61
|
DeleteDeliveryStreamInput = Shapes::StructureShape.new(name: 'DeleteDeliveryStreamInput')
|
61
62
|
DeleteDeliveryStreamOutput = Shapes::StructureShape.new(name: 'DeleteDeliveryStreamOutput')
|
62
63
|
DeliveryStartTimestamp = Shapes::TimestampShape.new(name: 'DeliveryStartTimestamp')
|
@@ -78,6 +79,7 @@ module Aws::Firehose
|
|
78
79
|
DestinationDescription = Shapes::StructureShape.new(name: 'DestinationDescription')
|
79
80
|
DestinationDescriptionList = Shapes::ListShape.new(name: 'DestinationDescriptionList')
|
80
81
|
DestinationId = Shapes::StringShape.new(name: 'DestinationId')
|
82
|
+
DocumentIdOptions = Shapes::StructureShape.new(name: 'DocumentIdOptions')
|
81
83
|
DynamicPartitioningConfiguration = Shapes::StructureShape.new(name: 'DynamicPartitioningConfiguration')
|
82
84
|
ElasticsearchBufferingHints = Shapes::StructureShape.new(name: 'ElasticsearchBufferingHints')
|
83
85
|
ElasticsearchBufferingIntervalInSeconds = Shapes::IntegerShape.new(name: 'ElasticsearchBufferingIntervalInSeconds')
|
@@ -287,6 +289,7 @@ module Aws::Firehose
|
|
287
289
|
AmazonopensearchserviceDestinationConfiguration.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
288
290
|
AmazonopensearchserviceDestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
289
291
|
AmazonopensearchserviceDestinationConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
292
|
+
AmazonopensearchserviceDestinationConfiguration.add_member(:document_id_options, Shapes::ShapeRef.new(shape: DocumentIdOptions, location_name: "DocumentIdOptions"))
|
290
293
|
AmazonopensearchserviceDestinationConfiguration.struct_class = Types::AmazonopensearchserviceDestinationConfiguration
|
291
294
|
|
292
295
|
AmazonopensearchserviceDestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
@@ -302,6 +305,7 @@ module Aws::Firehose
|
|
302
305
|
AmazonopensearchserviceDestinationDescription.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
303
306
|
AmazonopensearchserviceDestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
304
307
|
AmazonopensearchserviceDestinationDescription.add_member(:vpc_configuration_description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "VpcConfigurationDescription"))
|
308
|
+
AmazonopensearchserviceDestinationDescription.add_member(:document_id_options, Shapes::ShapeRef.new(shape: DocumentIdOptions, location_name: "DocumentIdOptions"))
|
305
309
|
AmazonopensearchserviceDestinationDescription.struct_class = Types::AmazonopensearchserviceDestinationDescription
|
306
310
|
|
307
311
|
AmazonopensearchserviceDestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
@@ -315,6 +319,7 @@ module Aws::Firehose
|
|
315
319
|
AmazonopensearchserviceDestinationUpdate.add_member(:s3_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3Update"))
|
316
320
|
AmazonopensearchserviceDestinationUpdate.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
317
321
|
AmazonopensearchserviceDestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
322
|
+
AmazonopensearchserviceDestinationUpdate.add_member(:document_id_options, Shapes::ShapeRef.new(shape: DocumentIdOptions, location_name: "DocumentIdOptions"))
|
318
323
|
AmazonopensearchserviceDestinationUpdate.struct_class = Types::AmazonopensearchserviceDestinationUpdate
|
319
324
|
|
320
325
|
AmazonopensearchserviceRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: AmazonopensearchserviceRetryDurationInSeconds, location_name: "DurationInSeconds"))
|
@@ -421,6 +426,9 @@ module Aws::Firehose
|
|
421
426
|
|
422
427
|
DestinationDescriptionList.member = Shapes::ShapeRef.new(shape: DestinationDescription)
|
423
428
|
|
429
|
+
DocumentIdOptions.add_member(:default_document_id_format, Shapes::ShapeRef.new(shape: DefaultDocumentIdFormat, required: true, location_name: "DefaultDocumentIdFormat"))
|
430
|
+
DocumentIdOptions.struct_class = Types::DocumentIdOptions
|
431
|
+
|
424
432
|
DynamicPartitioningConfiguration.add_member(:retry_options, Shapes::ShapeRef.new(shape: RetryOptions, location_name: "RetryOptions"))
|
425
433
|
DynamicPartitioningConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Enabled"))
|
426
434
|
DynamicPartitioningConfiguration.struct_class = Types::DynamicPartitioningConfiguration
|
@@ -442,6 +450,7 @@ module Aws::Firehose
|
|
442
450
|
ElasticsearchDestinationConfiguration.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
443
451
|
ElasticsearchDestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
444
452
|
ElasticsearchDestinationConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
453
|
+
ElasticsearchDestinationConfiguration.add_member(:document_id_options, Shapes::ShapeRef.new(shape: DocumentIdOptions, location_name: "DocumentIdOptions"))
|
445
454
|
ElasticsearchDestinationConfiguration.struct_class = Types::ElasticsearchDestinationConfiguration
|
446
455
|
|
447
456
|
ElasticsearchDestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
@@ -457,6 +466,7 @@ module Aws::Firehose
|
|
457
466
|
ElasticsearchDestinationDescription.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
458
467
|
ElasticsearchDestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
459
468
|
ElasticsearchDestinationDescription.add_member(:vpc_configuration_description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "VpcConfigurationDescription"))
|
469
|
+
ElasticsearchDestinationDescription.add_member(:document_id_options, Shapes::ShapeRef.new(shape: DocumentIdOptions, location_name: "DocumentIdOptions"))
|
460
470
|
ElasticsearchDestinationDescription.struct_class = Types::ElasticsearchDestinationDescription
|
461
471
|
|
462
472
|
ElasticsearchDestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
@@ -470,6 +480,7 @@ module Aws::Firehose
|
|
470
480
|
ElasticsearchDestinationUpdate.add_member(:s3_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3Update"))
|
471
481
|
ElasticsearchDestinationUpdate.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
472
482
|
ElasticsearchDestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
483
|
+
ElasticsearchDestinationUpdate.add_member(:document_id_options, Shapes::ShapeRef.new(shape: DocumentIdOptions, location_name: "DocumentIdOptions"))
|
473
484
|
ElasticsearchDestinationUpdate.struct_class = Types::ElasticsearchDestinationUpdate
|
474
485
|
|
475
486
|
ElasticsearchRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: ElasticsearchRetryDurationInSeconds, location_name: "DurationInSeconds"))
|
@@ -14,36 +14,39 @@ module Aws::Firehose
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
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"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
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)
|
29
|
+
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: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
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: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://firehose.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://firehose.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -91,7 +91,8 @@ module Aws::Firehose
|
|
91
91
|
# @return [Types::CloudWatchLoggingOptions]
|
92
92
|
#
|
93
93
|
# @!attribute [rw] vpc_configuration
|
94
|
-
# The details of the VPC of the Amazon
|
94
|
+
# The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch
|
95
|
+
# Serverless destination.
|
95
96
|
# @return [Types::VpcConfiguration]
|
96
97
|
#
|
97
98
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/AmazonOpenSearchServerlessDestinationConfiguration AWS API Documentation
|
@@ -115,7 +116,8 @@ module Aws::Firehose
|
|
115
116
|
# OpenSearch Service.
|
116
117
|
#
|
117
118
|
# @!attribute [rw] role_arn
|
118
|
-
# The Amazon Resource Name (ARN) of the
|
119
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services
|
120
|
+
# credentials.
|
119
121
|
# @return [String]
|
120
122
|
#
|
121
123
|
# @!attribute [rw] collection_endpoint
|
@@ -352,9 +354,16 @@ module Aws::Firehose
|
|
352
354
|
# @return [Types::CloudWatchLoggingOptions]
|
353
355
|
#
|
354
356
|
# @!attribute [rw] vpc_configuration
|
355
|
-
# The details of the VPC of the Amazon
|
357
|
+
# The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch
|
358
|
+
# Serverless destination.
|
356
359
|
# @return [Types::VpcConfiguration]
|
357
360
|
#
|
361
|
+
# @!attribute [rw] document_id_options
|
362
|
+
# Indicates the method for setting up document ID. The supported
|
363
|
+
# methods are Kinesis Data Firehose generated document ID and
|
364
|
+
# OpenSearch Service generated document ID.
|
365
|
+
# @return [Types::DocumentIdOptions]
|
366
|
+
#
|
358
367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/AmazonopensearchserviceDestinationConfiguration AWS API Documentation
|
359
368
|
#
|
360
369
|
class AmazonopensearchserviceDestinationConfiguration < Struct.new(
|
@@ -370,7 +379,8 @@ module Aws::Firehose
|
|
370
379
|
:s3_configuration,
|
371
380
|
:processing_configuration,
|
372
381
|
:cloud_watch_logging_options,
|
373
|
-
:vpc_configuration
|
382
|
+
:vpc_configuration,
|
383
|
+
:document_id_options)
|
374
384
|
SENSITIVE = []
|
375
385
|
include Aws::Structure
|
376
386
|
end
|
@@ -435,6 +445,12 @@ module Aws::Firehose
|
|
435
445
|
# The details of the VPC of the Amazon ES destination.
|
436
446
|
# @return [Types::VpcConfigurationDescription]
|
437
447
|
#
|
448
|
+
# @!attribute [rw] document_id_options
|
449
|
+
# Indicates the method for setting up document ID. The supported
|
450
|
+
# methods are Kinesis Data Firehose generated document ID and
|
451
|
+
# OpenSearch Service generated document ID.
|
452
|
+
# @return [Types::DocumentIdOptions]
|
453
|
+
#
|
438
454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/AmazonopensearchserviceDestinationDescription AWS API Documentation
|
439
455
|
#
|
440
456
|
class AmazonopensearchserviceDestinationDescription < Struct.new(
|
@@ -450,7 +466,8 @@ module Aws::Firehose
|
|
450
466
|
:s3_destination_description,
|
451
467
|
:processing_configuration,
|
452
468
|
:cloud_watch_logging_options,
|
453
|
-
:vpc_configuration_description
|
469
|
+
:vpc_configuration_description,
|
470
|
+
:document_id_options)
|
454
471
|
SENSITIVE = []
|
455
472
|
include Aws::Structure
|
456
473
|
end
|
@@ -522,6 +539,12 @@ module Aws::Firehose
|
|
522
539
|
# stream.
|
523
540
|
# @return [Types::CloudWatchLoggingOptions]
|
524
541
|
#
|
542
|
+
# @!attribute [rw] document_id_options
|
543
|
+
# Indicates the method for setting up document ID. The supported
|
544
|
+
# methods are Kinesis Data Firehose generated document ID and
|
545
|
+
# OpenSearch Service generated document ID.
|
546
|
+
# @return [Types::DocumentIdOptions]
|
547
|
+
#
|
525
548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/AmazonopensearchserviceDestinationUpdate AWS API Documentation
|
526
549
|
#
|
527
550
|
class AmazonopensearchserviceDestinationUpdate < Struct.new(
|
@@ -535,7 +558,8 @@ module Aws::Firehose
|
|
535
558
|
:retry_options,
|
536
559
|
:s3_update,
|
537
560
|
:processing_configuration,
|
538
|
-
:cloud_watch_logging_options
|
561
|
+
:cloud_watch_logging_options,
|
562
|
+
:document_id_options)
|
539
563
|
SENSITIVE = []
|
540
564
|
include Aws::Structure
|
541
565
|
end
|
@@ -1209,6 +1233,36 @@ module Aws::Firehose
|
|
1209
1233
|
include Aws::Structure
|
1210
1234
|
end
|
1211
1235
|
|
1236
|
+
# Indicates the method for setting up document ID. The supported methods
|
1237
|
+
# are Kinesis Data Firehose generated document ID and OpenSearch Service
|
1238
|
+
# generated document ID.
|
1239
|
+
#
|
1240
|
+
# @!attribute [rw] default_document_id_format
|
1241
|
+
# When the `FIREHOSE_DEFAULT` option is chosen, Kinesis Data Firehose
|
1242
|
+
# generates a unique document ID for each record based on a unique
|
1243
|
+
# internal identifier. The generated document ID is stable across
|
1244
|
+
# multiple delivery attempts, which helps prevent the same record from
|
1245
|
+
# being indexed multiple times with different document IDs.
|
1246
|
+
#
|
1247
|
+
# When the `NO_DOCUMENT_ID` option is chosen, Kinesis Data Firehose
|
1248
|
+
# does not include any document IDs in the requests it sends to the
|
1249
|
+
# Amazon OpenSearch Service. This causes the Amazon OpenSearch Service
|
1250
|
+
# domain to generate document IDs. In case of multiple delivery
|
1251
|
+
# attempts, this may cause the same record to be indexed more than
|
1252
|
+
# once with different document IDs. This option enables write-heavy
|
1253
|
+
# operations, such as the ingestion of logs and observability data, to
|
1254
|
+
# consume less resources in the Amazon OpenSearch Service domain,
|
1255
|
+
# resulting in improved performance.
|
1256
|
+
# @return [String]
|
1257
|
+
#
|
1258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DocumentIdOptions AWS API Documentation
|
1259
|
+
#
|
1260
|
+
class DocumentIdOptions < Struct.new(
|
1261
|
+
:default_document_id_format)
|
1262
|
+
SENSITIVE = []
|
1263
|
+
include Aws::Structure
|
1264
|
+
end
|
1265
|
+
|
1212
1266
|
# The configuration of the dynamic partitioning mechanism that creates
|
1213
1267
|
# smaller data sets from the streaming data by partitioning it based on
|
1214
1268
|
# partition keys. Currently, dynamic partitioning is only supported for
|
@@ -1363,9 +1417,15 @@ module Aws::Firehose
|
|
1363
1417
|
# @return [Types::CloudWatchLoggingOptions]
|
1364
1418
|
#
|
1365
1419
|
# @!attribute [rw] vpc_configuration
|
1366
|
-
# The details of the VPC of the Amazon
|
1420
|
+
# The details of the VPC of the Amazon destination.
|
1367
1421
|
# @return [Types::VpcConfiguration]
|
1368
1422
|
#
|
1423
|
+
# @!attribute [rw] document_id_options
|
1424
|
+
# Indicates the method for setting up document ID. The supported
|
1425
|
+
# methods are Kinesis Data Firehose generated document ID and
|
1426
|
+
# OpenSearch Service generated document ID.
|
1427
|
+
# @return [Types::DocumentIdOptions]
|
1428
|
+
#
|
1369
1429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationConfiguration AWS API Documentation
|
1370
1430
|
#
|
1371
1431
|
class ElasticsearchDestinationConfiguration < Struct.new(
|
@@ -1381,7 +1441,8 @@ module Aws::Firehose
|
|
1381
1441
|
:s3_configuration,
|
1382
1442
|
:processing_configuration,
|
1383
1443
|
:cloud_watch_logging_options,
|
1384
|
-
:vpc_configuration
|
1444
|
+
:vpc_configuration,
|
1445
|
+
:document_id_options)
|
1385
1446
|
SENSITIVE = []
|
1386
1447
|
include Aws::Structure
|
1387
1448
|
end
|
@@ -1456,9 +1517,16 @@ module Aws::Firehose
|
|
1456
1517
|
# @return [Types::CloudWatchLoggingOptions]
|
1457
1518
|
#
|
1458
1519
|
# @!attribute [rw] vpc_configuration_description
|
1459
|
-
# The details of the VPC of the Amazon
|
1520
|
+
# The details of the VPC of the Amazon OpenSearch or the Amazon
|
1521
|
+
# OpenSearch Serverless destination.
|
1460
1522
|
# @return [Types::VpcConfigurationDescription]
|
1461
1523
|
#
|
1524
|
+
# @!attribute [rw] document_id_options
|
1525
|
+
# Indicates the method for setting up document ID. The supported
|
1526
|
+
# methods are Kinesis Data Firehose generated document ID and
|
1527
|
+
# OpenSearch Service generated document ID.
|
1528
|
+
# @return [Types::DocumentIdOptions]
|
1529
|
+
#
|
1462
1530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationDescription AWS API Documentation
|
1463
1531
|
#
|
1464
1532
|
class ElasticsearchDestinationDescription < Struct.new(
|
@@ -1474,7 +1542,8 @@ module Aws::Firehose
|
|
1474
1542
|
:s3_destination_description,
|
1475
1543
|
:processing_configuration,
|
1476
1544
|
:cloud_watch_logging_options,
|
1477
|
-
:vpc_configuration_description
|
1545
|
+
:vpc_configuration_description,
|
1546
|
+
:document_id_options)
|
1478
1547
|
SENSITIVE = []
|
1479
1548
|
include Aws::Structure
|
1480
1549
|
end
|
@@ -1565,6 +1634,12 @@ module Aws::Firehose
|
|
1565
1634
|
# The CloudWatch logging options for your delivery stream.
|
1566
1635
|
# @return [Types::CloudWatchLoggingOptions]
|
1567
1636
|
#
|
1637
|
+
# @!attribute [rw] document_id_options
|
1638
|
+
# Indicates the method for setting up document ID. The supported
|
1639
|
+
# methods are Kinesis Data Firehose generated document ID and
|
1640
|
+
# OpenSearch Service generated document ID.
|
1641
|
+
# @return [Types::DocumentIdOptions]
|
1642
|
+
#
|
1568
1643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationUpdate AWS API Documentation
|
1569
1644
|
#
|
1570
1645
|
class ElasticsearchDestinationUpdate < Struct.new(
|
@@ -1578,7 +1653,8 @@ module Aws::Firehose
|
|
1578
1653
|
:retry_options,
|
1579
1654
|
:s3_update,
|
1580
1655
|
:processing_configuration,
|
1581
|
-
:cloud_watch_logging_options
|
1656
|
+
:cloud_watch_logging_options,
|
1657
|
+
:document_id_options)
|
1582
1658
|
SENSITIVE = []
|
1583
1659
|
include Aws::Structure
|
1584
1660
|
end
|
@@ -4073,7 +4149,8 @@ module Aws::Firehose
|
|
4073
4149
|
#
|
4074
4150
|
class UpdateDestinationOutput < Aws::EmptyStructure; end
|
4075
4151
|
|
4076
|
-
# The details of the VPC of the Amazon
|
4152
|
+
# The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch
|
4153
|
+
# Serverless destination.
|
4077
4154
|
#
|
4078
4155
|
# @!attribute [rw] subnet_ids
|
4079
4156
|
# The IDs of the subnets that you want Kinesis Data Firehose to use to
|
data/lib/aws-sdk-firehose.rb
CHANGED
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.
|
4
|
+
version: 1.57.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: 2023-
|
11
|
+
date: 2023-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|