aws-sdk-firehose 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-firehose.rb +1 -1
- data/lib/aws-sdk-firehose/client.rb +158 -17
- data/lib/aws-sdk-firehose/client_api.rb +47 -0
- data/lib/aws-sdk-firehose/types.rb +113 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e51b2e23b3b03ce3cbe917d741bde4eff8f919e
|
4
|
+
data.tar.gz: 462e16ad1b330d6f64a704260d7d2d6e2388b4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37521b515f6a16ff76a21b28ad712db27308c9a67f7117f282a056f1620d553b1bde27ac624ea40c720eb3ddae60e16c94a1b41109c1e2515255b034fa068503
|
7
|
+
data.tar.gz: 6b203e433edb726b24120ab6c9507835274e786afe0f029ddcc18d161883531f33ec945b21f7258309d9dca2dda949b4c884109115bcab476a4783e709de2816
|
data/lib/aws-sdk-firehose.rb
CHANGED
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +46,7 @@ module Aws::Firehose
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +100,10 @@ module Aws::Firehose
|
|
98
100
|
#
|
99
101
|
# @option options [String] :access_key_id
|
100
102
|
#
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
106
|
+
#
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
109
|
# this client.
|
@@ -123,6 +129,21 @@ module Aws::Firehose
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
131
|
#
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
135
|
+
#
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
138
|
+
#
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
141
|
+
# Use this option to config the time interval in seconds for making
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
143
|
+
#
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
146
|
+
#
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
148
|
# The log formatter.
|
128
149
|
#
|
@@ -296,6 +317,20 @@ module Aws::Firehose
|
|
296
317
|
# @option params [Types::SplunkDestinationConfiguration] :splunk_destination_configuration
|
297
318
|
# The destination in Splunk. You can specify only one destination.
|
298
319
|
#
|
320
|
+
# @option params [Array<Types::Tag>] :tags
|
321
|
+
# A set of tags to assign to the delivery stream. A tag is a key-value
|
322
|
+
# pair that you can define and assign to AWS resources. Tags are
|
323
|
+
# metadata. For example, you can add friendly names and descriptions or
|
324
|
+
# other types of information that can help you distinguish the delivery
|
325
|
+
# stream. For more information about tags, see [Using Cost Allocation
|
326
|
+
# Tags][1] in the AWS Billing and Cost Management User Guide.
|
327
|
+
#
|
328
|
+
# You can specify up to 50 tags when creating a delivery stream.
|
329
|
+
#
|
330
|
+
#
|
331
|
+
#
|
332
|
+
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
333
|
+
#
|
299
334
|
# @return [Types::CreateDeliveryStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
300
335
|
#
|
301
336
|
# * {Types::CreateDeliveryStreamOutput#delivery_stream_arn #delivery_stream_arn} => String
|
@@ -617,6 +652,12 @@ module Aws::Firehose
|
|
617
652
|
# log_stream_name: "LogStreamName",
|
618
653
|
# },
|
619
654
|
# },
|
655
|
+
# tags: [
|
656
|
+
# {
|
657
|
+
# key: "TagKey", # required
|
658
|
+
# value: "TagValue",
|
659
|
+
# },
|
660
|
+
# ],
|
620
661
|
# })
|
621
662
|
#
|
622
663
|
# @example Response structure
|
@@ -700,6 +741,7 @@ module Aws::Firehose
|
|
700
741
|
# resp.delivery_stream_description.delivery_stream_name #=> String
|
701
742
|
# resp.delivery_stream_description.delivery_stream_arn #=> String
|
702
743
|
# resp.delivery_stream_description.delivery_stream_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
744
|
+
# resp.delivery_stream_description.delivery_stream_encryption_configuration.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
|
703
745
|
# resp.delivery_stream_description.delivery_stream_type #=> String, one of "DirectPut", "KinesisStreamAsSource"
|
704
746
|
# resp.delivery_stream_description.version_id #=> String
|
705
747
|
# resp.delivery_stream_description.create_timestamp #=> Time
|
@@ -884,16 +926,16 @@ module Aws::Firehose
|
|
884
926
|
req.send_request(options)
|
885
927
|
end
|
886
928
|
|
887
|
-
# Lists your delivery streams.
|
929
|
+
# Lists your delivery streams in alphabetical order of their names.
|
888
930
|
#
|
889
931
|
# The number of delivery streams might be too large to return using a
|
890
932
|
# single call to `ListDeliveryStreams`. You can limit the number of
|
891
933
|
# delivery streams returned, using the **Limit** parameter. To determine
|
892
934
|
# whether there are more delivery streams to list, check the value of
|
893
935
|
# `HasMoreDeliveryStreams` in the output. If there are more delivery
|
894
|
-
# streams to list, you can request them by
|
895
|
-
#
|
896
|
-
#
|
936
|
+
# streams to list, you can request them by calling this operation again
|
937
|
+
# and setting the `ExclusiveStartDeliveryStreamName` parameter to the
|
938
|
+
# name of the last delivery stream returned in the last call.
|
897
939
|
#
|
898
940
|
# @option params [Integer] :limit
|
899
941
|
# The maximum number of delivery streams to list. The default value is
|
@@ -912,7 +954,10 @@ module Aws::Firehose
|
|
912
954
|
# streams of all types are returned.
|
913
955
|
#
|
914
956
|
# @option params [String] :exclusive_start_delivery_stream_name
|
915
|
-
# The
|
957
|
+
# The list of delivery streams returned by this call to
|
958
|
+
# `ListDeliveryStreams` will start with the delivery stream whose name
|
959
|
+
# comes alphabetically immediately after the name you specify in
|
960
|
+
# `ExclusiveStartDeliveryStreamName`.
|
916
961
|
#
|
917
962
|
# @return [Types::ListDeliveryStreamsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
918
963
|
#
|
@@ -1026,6 +1071,10 @@ module Aws::Firehose
|
|
1026
1071
|
# the records to the destination. If the destination is unreachable for
|
1027
1072
|
# more than 24 hours, the data is no longer available.
|
1028
1073
|
#
|
1074
|
+
# Don't concatenate two or more base64 strings to form the data fields
|
1075
|
+
# of your records. Instead, concatenate the raw data, then perform
|
1076
|
+
# base64 encoding.
|
1077
|
+
#
|
1029
1078
|
#
|
1030
1079
|
#
|
1031
1080
|
# [1]: http://docs.aws.amazon.com/firehose/latest/dev/limits.html
|
@@ -1039,6 +1088,7 @@ module Aws::Firehose
|
|
1039
1088
|
# @return [Types::PutRecordOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1040
1089
|
#
|
1041
1090
|
# * {Types::PutRecordOutput#record_id #record_id} => String
|
1091
|
+
# * {Types::PutRecordOutput#encrypted #encrypted} => Boolean
|
1042
1092
|
#
|
1043
1093
|
# @example Request syntax with placeholder values
|
1044
1094
|
#
|
@@ -1052,6 +1102,7 @@ module Aws::Firehose
|
|
1052
1102
|
# @example Response structure
|
1053
1103
|
#
|
1054
1104
|
# resp.record_id #=> String
|
1105
|
+
# resp.encrypted #=> Boolean
|
1055
1106
|
#
|
1056
1107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord AWS API Documentation
|
1057
1108
|
#
|
@@ -1094,22 +1145,24 @@ module Aws::Firehose
|
|
1094
1145
|
#
|
1095
1146
|
# The PutRecordBatch response includes a count of failed records,
|
1096
1147
|
# **FailedPutCount**, and an array of responses, **RequestResponses**.
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
# records.
|
1148
|
+
# Even if the PutRecordBatch call succeeds, the value of
|
1149
|
+
# **FailedPutCount** may be greater than 0, indicating that there are
|
1150
|
+
# records for which the operation didn't succeed. Each entry in the
|
1151
|
+
# **RequestResponses** array provides additional information about the
|
1152
|
+
# processed record. It directly correlates with a record in the request
|
1153
|
+
# array using the same ordering, from the top to the bottom. The
|
1154
|
+
# response array always includes the same number of records as the
|
1155
|
+
# request array. **RequestResponses** includes both successfully and
|
1156
|
+
# unsuccessfully processed records. Kinesis Data Firehose tries to
|
1157
|
+
# process all records in each PutRecordBatch request. A single record
|
1158
|
+
# failure does not stop the processing of subsequent records.
|
1106
1159
|
#
|
1107
1160
|
# A successfully processed record includes a **RecordId** value, which
|
1108
1161
|
# is unique for the record. An unsuccessfully processed record includes
|
1109
1162
|
# **ErrorCode** and **ErrorMessage** values. **ErrorCode** reflects the
|
1110
1163
|
# type of error, and is one of the following values:
|
1111
|
-
# `
|
1112
|
-
# more detailed information about the error.
|
1164
|
+
# `ServiceUnavailableException` or `InternalFailure`. **ErrorMessage**
|
1165
|
+
# provides more detailed information about the error.
|
1113
1166
|
#
|
1114
1167
|
# If there is an internal server error or a timeout, the write might
|
1115
1168
|
# have completed or it might have failed. If **FailedPutCount** is
|
@@ -1128,6 +1181,10 @@ module Aws::Firehose
|
|
1128
1181
|
# send the records to the destination. If the destination is unreachable
|
1129
1182
|
# for more than 24 hours, the data is no longer available.
|
1130
1183
|
#
|
1184
|
+
# Don't concatenate two or more base64 strings to form the data fields
|
1185
|
+
# of your records. Instead, concatenate the raw data, then perform
|
1186
|
+
# base64 encoding.
|
1187
|
+
#
|
1131
1188
|
#
|
1132
1189
|
#
|
1133
1190
|
# [1]: http://docs.aws.amazon.com/firehose/latest/dev/limits.html
|
@@ -1141,6 +1198,7 @@ module Aws::Firehose
|
|
1141
1198
|
# @return [Types::PutRecordBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1142
1199
|
#
|
1143
1200
|
# * {Types::PutRecordBatchOutput#failed_put_count #failed_put_count} => Integer
|
1201
|
+
# * {Types::PutRecordBatchOutput#encrypted #encrypted} => Boolean
|
1144
1202
|
# * {Types::PutRecordBatchOutput#request_responses #request_responses} => Array<Types::PutRecordBatchResponseEntry>
|
1145
1203
|
#
|
1146
1204
|
# @example Request syntax with placeholder values
|
@@ -1157,6 +1215,7 @@ module Aws::Firehose
|
|
1157
1215
|
# @example Response structure
|
1158
1216
|
#
|
1159
1217
|
# resp.failed_put_count #=> Integer
|
1218
|
+
# resp.encrypted #=> Boolean
|
1160
1219
|
# resp.request_responses #=> Array
|
1161
1220
|
# resp.request_responses[0].record_id #=> String
|
1162
1221
|
# resp.request_responses[0].error_code #=> String
|
@@ -1171,6 +1230,88 @@ module Aws::Firehose
|
|
1171
1230
|
req.send_request(options)
|
1172
1231
|
end
|
1173
1232
|
|
1233
|
+
# Enables server-side encryption (SSE) for the delivery stream. This
|
1234
|
+
# operation is asynchronous. It returns immediately. When you invoke it,
|
1235
|
+
# Kinesis Firehose first sets the status of the stream to `ENABLING`
|
1236
|
+
# then to `ENABLED`. You can continue to read and write data to your
|
1237
|
+
# stream while its status is `ENABLING` but they won't get encrypted.
|
1238
|
+
# It can take up to 5 seconds after the encryption status changes to
|
1239
|
+
# `ENABLED` before all records written to the delivery stream are
|
1240
|
+
# encrypted.
|
1241
|
+
#
|
1242
|
+
# To check the encryption state of a delivery stream, use
|
1243
|
+
# DescribeDeliveryStream.
|
1244
|
+
#
|
1245
|
+
# You can only enable SSE for a delivery stream that uses `DirectPut` as
|
1246
|
+
# its source.
|
1247
|
+
#
|
1248
|
+
# The `StartDeliveryStreamEncryption` and `StopDeliveryStreamEncryption`
|
1249
|
+
# operations have a combined limit of 25 calls per delivery stream per
|
1250
|
+
# 24 hours. For example, you reach the limit if you call
|
1251
|
+
# `StartDeliveryStreamEncryption` thirteen times and
|
1252
|
+
# `StopDeliveryStreamEncryption` twelve times for the same stream in a
|
1253
|
+
# 24-hour period.
|
1254
|
+
#
|
1255
|
+
# @option params [required, String] :delivery_stream_name
|
1256
|
+
# The name of the delivery stream for which you want to enable
|
1257
|
+
# server-side encryption (SSE).
|
1258
|
+
#
|
1259
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1260
|
+
#
|
1261
|
+
# @example Request syntax with placeholder values
|
1262
|
+
#
|
1263
|
+
# resp = client.start_delivery_stream_encryption({
|
1264
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
1265
|
+
# })
|
1266
|
+
#
|
1267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StartDeliveryStreamEncryption AWS API Documentation
|
1268
|
+
#
|
1269
|
+
# @overload start_delivery_stream_encryption(params = {})
|
1270
|
+
# @param [Hash] params ({})
|
1271
|
+
def start_delivery_stream_encryption(params = {}, options = {})
|
1272
|
+
req = build_request(:start_delivery_stream_encryption, params)
|
1273
|
+
req.send_request(options)
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# Disables server-side encryption (SSE) for the delivery stream. This
|
1277
|
+
# operation is asynchronous. It returns immediately. When you invoke it,
|
1278
|
+
# Kinesis Firehose first sets the status of the stream to `DISABLING`
|
1279
|
+
# then to `DISABLED`. You can continue to read and write data to your
|
1280
|
+
# stream while its status is `DISABLING`. It can take up to 5 seconds
|
1281
|
+
# after the encryption status changes to `DISABLED` before all records
|
1282
|
+
# written to the delivery stream are no longer subject to encryption.
|
1283
|
+
#
|
1284
|
+
# To check the encryption state of a delivery stream, use
|
1285
|
+
# DescribeDeliveryStream.
|
1286
|
+
#
|
1287
|
+
# The `StartDeliveryStreamEncryption` and `StopDeliveryStreamEncryption`
|
1288
|
+
# operations have a combined limit of 25 calls per delivery stream per
|
1289
|
+
# 24 hours. For example, you reach the limit if you call
|
1290
|
+
# `StartDeliveryStreamEncryption` thirteen times and
|
1291
|
+
# `StopDeliveryStreamEncryption` twelve times for the same stream in a
|
1292
|
+
# 24-hour period.
|
1293
|
+
#
|
1294
|
+
# @option params [required, String] :delivery_stream_name
|
1295
|
+
# The name of the delivery stream for which you want to disable
|
1296
|
+
# server-side encryption (SSE).
|
1297
|
+
#
|
1298
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1299
|
+
#
|
1300
|
+
# @example Request syntax with placeholder values
|
1301
|
+
#
|
1302
|
+
# resp = client.stop_delivery_stream_encryption({
|
1303
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
1304
|
+
# })
|
1305
|
+
#
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StopDeliveryStreamEncryption AWS API Documentation
|
1307
|
+
#
|
1308
|
+
# @overload stop_delivery_stream_encryption(params = {})
|
1309
|
+
# @param [Hash] params ({})
|
1310
|
+
def stop_delivery_stream_encryption(params = {}, options = {})
|
1311
|
+
req = build_request(:stop_delivery_stream_encryption, params)
|
1312
|
+
req.send_request(options)
|
1313
|
+
end
|
1314
|
+
|
1174
1315
|
# Adds or updates tags for the specified delivery stream. A tag is a
|
1175
1316
|
# key-value pair (the value is optional) that you can define and assign
|
1176
1317
|
# to AWS resources. If you specify a tag that already exists, the tag
|
@@ -1658,7 +1799,7 @@ module Aws::Firehose
|
|
1658
1799
|
params: params,
|
1659
1800
|
config: config)
|
1660
1801
|
context[:gem_name] = 'aws-sdk-firehose'
|
1661
|
-
context[:gem_version] = '1.
|
1802
|
+
context[:gem_version] = '1.9.0'
|
1662
1803
|
Seahorse::Client::Request.new(handlers, context)
|
1663
1804
|
end
|
1664
1805
|
|
@@ -34,6 +34,8 @@ module Aws::Firehose
|
|
34
34
|
DeliveryStartTimestamp = Shapes::TimestampShape.new(name: 'DeliveryStartTimestamp')
|
35
35
|
DeliveryStreamARN = Shapes::StringShape.new(name: 'DeliveryStreamARN')
|
36
36
|
DeliveryStreamDescription = Shapes::StructureShape.new(name: 'DeliveryStreamDescription')
|
37
|
+
DeliveryStreamEncryptionConfiguration = Shapes::StructureShape.new(name: 'DeliveryStreamEncryptionConfiguration')
|
38
|
+
DeliveryStreamEncryptionStatus = Shapes::StringShape.new(name: 'DeliveryStreamEncryptionStatus')
|
37
39
|
DeliveryStreamName = Shapes::StringShape.new(name: 'DeliveryStreamName')
|
38
40
|
DeliveryStreamNameList = Shapes::ListShape.new(name: 'DeliveryStreamNameList')
|
39
41
|
DeliveryStreamStatus = Shapes::StringShape.new(name: 'DeliveryStreamStatus')
|
@@ -148,6 +150,10 @@ module Aws::Firehose
|
|
148
150
|
SplunkRetryDurationInSeconds = Shapes::IntegerShape.new(name: 'SplunkRetryDurationInSeconds')
|
149
151
|
SplunkRetryOptions = Shapes::StructureShape.new(name: 'SplunkRetryOptions')
|
150
152
|
SplunkS3BackupMode = Shapes::StringShape.new(name: 'SplunkS3BackupMode')
|
153
|
+
StartDeliveryStreamEncryptionInput = Shapes::StructureShape.new(name: 'StartDeliveryStreamEncryptionInput')
|
154
|
+
StartDeliveryStreamEncryptionOutput = Shapes::StructureShape.new(name: 'StartDeliveryStreamEncryptionOutput')
|
155
|
+
StopDeliveryStreamEncryptionInput = Shapes::StructureShape.new(name: 'StopDeliveryStreamEncryptionInput')
|
156
|
+
StopDeliveryStreamEncryptionOutput = Shapes::StructureShape.new(name: 'StopDeliveryStreamEncryptionOutput')
|
151
157
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
152
158
|
TagDeliveryStreamInput = Shapes::StructureShape.new(name: 'TagDeliveryStreamInput')
|
153
159
|
TagDeliveryStreamInputTagList = Shapes::ListShape.new(name: 'TagDeliveryStreamInputTagList')
|
@@ -187,6 +193,7 @@ module Aws::Firehose
|
|
187
193
|
CreateDeliveryStreamInput.add_member(:redshift_destination_configuration, Shapes::ShapeRef.new(shape: RedshiftDestinationConfiguration, location_name: "RedshiftDestinationConfiguration"))
|
188
194
|
CreateDeliveryStreamInput.add_member(:elasticsearch_destination_configuration, Shapes::ShapeRef.new(shape: ElasticsearchDestinationConfiguration, location_name: "ElasticsearchDestinationConfiguration"))
|
189
195
|
CreateDeliveryStreamInput.add_member(:splunk_destination_configuration, Shapes::ShapeRef.new(shape: SplunkDestinationConfiguration, location_name: "SplunkDestinationConfiguration"))
|
196
|
+
CreateDeliveryStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagDeliveryStreamInputTagList, location_name: "Tags"))
|
190
197
|
CreateDeliveryStreamInput.struct_class = Types::CreateDeliveryStreamInput
|
191
198
|
|
192
199
|
CreateDeliveryStreamOutput.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, location_name: "DeliveryStreamARN"))
|
@@ -206,6 +213,7 @@ module Aws::Firehose
|
|
206
213
|
DeliveryStreamDescription.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
207
214
|
DeliveryStreamDescription.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, required: true, location_name: "DeliveryStreamARN"))
|
208
215
|
DeliveryStreamDescription.add_member(:delivery_stream_status, Shapes::ShapeRef.new(shape: DeliveryStreamStatus, required: true, location_name: "DeliveryStreamStatus"))
|
216
|
+
DeliveryStreamDescription.add_member(:delivery_stream_encryption_configuration, Shapes::ShapeRef.new(shape: DeliveryStreamEncryptionConfiguration, location_name: "DeliveryStreamEncryptionConfiguration"))
|
209
217
|
DeliveryStreamDescription.add_member(:delivery_stream_type, Shapes::ShapeRef.new(shape: DeliveryStreamType, required: true, location_name: "DeliveryStreamType"))
|
210
218
|
DeliveryStreamDescription.add_member(:version_id, Shapes::ShapeRef.new(shape: DeliveryStreamVersionId, required: true, location_name: "VersionId"))
|
211
219
|
DeliveryStreamDescription.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTimestamp"))
|
@@ -215,6 +223,9 @@ module Aws::Firehose
|
|
215
223
|
DeliveryStreamDescription.add_member(:has_more_destinations, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreDestinations"))
|
216
224
|
DeliveryStreamDescription.struct_class = Types::DeliveryStreamDescription
|
217
225
|
|
226
|
+
DeliveryStreamEncryptionConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: DeliveryStreamEncryptionStatus, location_name: "Status"))
|
227
|
+
DeliveryStreamEncryptionConfiguration.struct_class = Types::DeliveryStreamEncryptionConfiguration
|
228
|
+
|
218
229
|
DeliveryStreamNameList.member = Shapes::ShapeRef.new(shape: DeliveryStreamName)
|
219
230
|
|
220
231
|
DescribeDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
@@ -418,6 +429,7 @@ module Aws::Firehose
|
|
418
429
|
PutRecordBatchInput.struct_class = Types::PutRecordBatchInput
|
419
430
|
|
420
431
|
PutRecordBatchOutput.add_member(:failed_put_count, Shapes::ShapeRef.new(shape: NonNegativeIntegerObject, required: true, location_name: "FailedPutCount"))
|
432
|
+
PutRecordBatchOutput.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Encrypted"))
|
421
433
|
PutRecordBatchOutput.add_member(:request_responses, Shapes::ShapeRef.new(shape: PutRecordBatchResponseEntryList, required: true, location_name: "RequestResponses"))
|
422
434
|
PutRecordBatchOutput.struct_class = Types::PutRecordBatchOutput
|
423
435
|
|
@@ -435,6 +447,7 @@ module Aws::Firehose
|
|
435
447
|
PutRecordInput.struct_class = Types::PutRecordInput
|
436
448
|
|
437
449
|
PutRecordOutput.add_member(:record_id, Shapes::ShapeRef.new(shape: PutResponseRecordId, required: true, location_name: "RecordId"))
|
450
|
+
PutRecordOutput.add_member(:encrypted, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Encrypted"))
|
438
451
|
PutRecordOutput.struct_class = Types::PutRecordOutput
|
439
452
|
|
440
453
|
Record.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
|
@@ -559,6 +572,16 @@ module Aws::Firehose
|
|
559
572
|
SplunkRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: SplunkRetryDurationInSeconds, location_name: "DurationInSeconds"))
|
560
573
|
SplunkRetryOptions.struct_class = Types::SplunkRetryOptions
|
561
574
|
|
575
|
+
StartDeliveryStreamEncryptionInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
576
|
+
StartDeliveryStreamEncryptionInput.struct_class = Types::StartDeliveryStreamEncryptionInput
|
577
|
+
|
578
|
+
StartDeliveryStreamEncryptionOutput.struct_class = Types::StartDeliveryStreamEncryptionOutput
|
579
|
+
|
580
|
+
StopDeliveryStreamEncryptionInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
581
|
+
StopDeliveryStreamEncryptionInput.struct_class = Types::StopDeliveryStreamEncryptionInput
|
582
|
+
|
583
|
+
StopDeliveryStreamEncryptionOutput.struct_class = Types::StopDeliveryStreamEncryptionOutput
|
584
|
+
|
562
585
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
563
586
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
564
587
|
Tag.struct_class = Types::Tag
|
@@ -681,6 +704,30 @@ module Aws::Firehose
|
|
681
704
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
682
705
|
end)
|
683
706
|
|
707
|
+
api.add_operation(:start_delivery_stream_encryption, Seahorse::Model::Operation.new.tap do |o|
|
708
|
+
o.name = "StartDeliveryStreamEncryption"
|
709
|
+
o.http_method = "POST"
|
710
|
+
o.http_request_uri = "/"
|
711
|
+
o.input = Shapes::ShapeRef.new(shape: StartDeliveryStreamEncryptionInput)
|
712
|
+
o.output = Shapes::ShapeRef.new(shape: StartDeliveryStreamEncryptionOutput)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
717
|
+
end)
|
718
|
+
|
719
|
+
api.add_operation(:stop_delivery_stream_encryption, Seahorse::Model::Operation.new.tap do |o|
|
720
|
+
o.name = "StopDeliveryStreamEncryption"
|
721
|
+
o.http_method = "POST"
|
722
|
+
o.http_request_uri = "/"
|
723
|
+
o.input = Shapes::ShapeRef.new(shape: StopDeliveryStreamEncryptionInput)
|
724
|
+
o.output = Shapes::ShapeRef.new(shape: StopDeliveryStreamEncryptionOutput)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
729
|
+
end)
|
730
|
+
|
684
731
|
api.add_operation(:tag_delivery_stream, Seahorse::Model::Operation.new.tap do |o|
|
685
732
|
o.name = "TagDeliveryStream"
|
686
733
|
o.http_method = "POST"
|
@@ -456,6 +456,12 @@ module Aws::Firehose
|
|
456
456
|
# log_stream_name: "LogStreamName",
|
457
457
|
# },
|
458
458
|
# },
|
459
|
+
# tags: [
|
460
|
+
# {
|
461
|
+
# key: "TagKey", # required
|
462
|
+
# value: "TagValue",
|
463
|
+
# },
|
464
|
+
# ],
|
459
465
|
# }
|
460
466
|
#
|
461
467
|
# @!attribute [rw] delivery_stream_name
|
@@ -505,6 +511,22 @@ module Aws::Firehose
|
|
505
511
|
# The destination in Splunk. You can specify only one destination.
|
506
512
|
# @return [Types::SplunkDestinationConfiguration]
|
507
513
|
#
|
514
|
+
# @!attribute [rw] tags
|
515
|
+
# A set of tags to assign to the delivery stream. A tag is a key-value
|
516
|
+
# pair that you can define and assign to AWS resources. Tags are
|
517
|
+
# metadata. For example, you can add friendly names and descriptions
|
518
|
+
# or other types of information that can help you distinguish the
|
519
|
+
# delivery stream. For more information about tags, see [Using Cost
|
520
|
+
# Allocation Tags][1] in the AWS Billing and Cost Management User
|
521
|
+
# Guide.
|
522
|
+
#
|
523
|
+
# You can specify up to 50 tags when creating a delivery stream.
|
524
|
+
#
|
525
|
+
#
|
526
|
+
#
|
527
|
+
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
528
|
+
# @return [Array<Types::Tag>]
|
529
|
+
#
|
508
530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamInput AWS API Documentation
|
509
531
|
#
|
510
532
|
class CreateDeliveryStreamInput < Struct.new(
|
@@ -515,7 +537,8 @@ module Aws::Firehose
|
|
515
537
|
:extended_s3_destination_configuration,
|
516
538
|
:redshift_destination_configuration,
|
517
539
|
:elasticsearch_destination_configuration,
|
518
|
-
:splunk_destination_configuration
|
540
|
+
:splunk_destination_configuration,
|
541
|
+
:tags)
|
519
542
|
include Aws::Structure
|
520
543
|
end
|
521
544
|
|
@@ -667,6 +690,11 @@ module Aws::Firehose
|
|
667
690
|
# The status of the delivery stream.
|
668
691
|
# @return [String]
|
669
692
|
#
|
693
|
+
# @!attribute [rw] delivery_stream_encryption_configuration
|
694
|
+
# Indicates the server-side encryption (SSE) status for the delivery
|
695
|
+
# stream.
|
696
|
+
# @return [Types::DeliveryStreamEncryptionConfiguration]
|
697
|
+
#
|
670
698
|
# @!attribute [rw] delivery_stream_type
|
671
699
|
# The delivery stream type. This can be one of the following values:
|
672
700
|
#
|
@@ -711,6 +739,7 @@ module Aws::Firehose
|
|
711
739
|
:delivery_stream_name,
|
712
740
|
:delivery_stream_arn,
|
713
741
|
:delivery_stream_status,
|
742
|
+
:delivery_stream_encryption_configuration,
|
714
743
|
:delivery_stream_type,
|
715
744
|
:version_id,
|
716
745
|
:create_timestamp,
|
@@ -721,6 +750,21 @@ module Aws::Firehose
|
|
721
750
|
include Aws::Structure
|
722
751
|
end
|
723
752
|
|
753
|
+
# Indicates the server-side encryption (SSE) status for the delivery
|
754
|
+
# stream.
|
755
|
+
#
|
756
|
+
# @!attribute [rw] status
|
757
|
+
# For a full description of the different values of this status, see
|
758
|
+
# StartDeliveryStreamEncryption and StopDeliveryStreamEncryption.
|
759
|
+
# @return [String]
|
760
|
+
#
|
761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeliveryStreamEncryptionConfiguration AWS API Documentation
|
762
|
+
#
|
763
|
+
class DeliveryStreamEncryptionConfiguration < Struct.new(
|
764
|
+
:status)
|
765
|
+
include Aws::Structure
|
766
|
+
end
|
767
|
+
|
724
768
|
# @note When making an API call, you may pass DescribeDeliveryStreamInput
|
725
769
|
# data as a hash:
|
726
770
|
#
|
@@ -2010,7 +2054,10 @@ module Aws::Firehose
|
|
2010
2054
|
# @return [String]
|
2011
2055
|
#
|
2012
2056
|
# @!attribute [rw] exclusive_start_delivery_stream_name
|
2013
|
-
# The
|
2057
|
+
# The list of delivery streams returned by this call to
|
2058
|
+
# `ListDeliveryStreams` will start with the delivery stream whose name
|
2059
|
+
# comes alphabetically immediately after the name you specify in
|
2060
|
+
# `ExclusiveStartDeliveryStreamName`.
|
2014
2061
|
# @return [String]
|
2015
2062
|
#
|
2016
2063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsInput AWS API Documentation
|
@@ -2484,9 +2531,17 @@ module Aws::Firehose
|
|
2484
2531
|
end
|
2485
2532
|
|
2486
2533
|
# @!attribute [rw] failed_put_count
|
2487
|
-
# The number of records that might have failed processing.
|
2534
|
+
# The number of records that might have failed processing. This number
|
2535
|
+
# might be greater than 0 even if the PutRecordBatch call succeeds.
|
2536
|
+
# Check `FailedPutCount` to determine whether there are records that
|
2537
|
+
# you need to resend.
|
2488
2538
|
# @return [Integer]
|
2489
2539
|
#
|
2540
|
+
# @!attribute [rw] encrypted
|
2541
|
+
# Indicates whether server-side encryption (SSE) was enabled during
|
2542
|
+
# this operation.
|
2543
|
+
# @return [Boolean]
|
2544
|
+
#
|
2490
2545
|
# @!attribute [rw] request_responses
|
2491
2546
|
# The results array. For each record, the index of the response
|
2492
2547
|
# element is the same as the index used in the request array.
|
@@ -2496,6 +2551,7 @@ module Aws::Firehose
|
|
2496
2551
|
#
|
2497
2552
|
class PutRecordBatchOutput < Struct.new(
|
2498
2553
|
:failed_put_count,
|
2554
|
+
:encrypted,
|
2499
2555
|
:request_responses)
|
2500
2556
|
include Aws::Structure
|
2501
2557
|
end
|
@@ -2557,10 +2613,16 @@ module Aws::Firehose
|
|
2557
2613
|
# The ID of the record.
|
2558
2614
|
# @return [String]
|
2559
2615
|
#
|
2616
|
+
# @!attribute [rw] encrypted
|
2617
|
+
# Indicates whether server-side encryption (SSE) was enabled during
|
2618
|
+
# this operation.
|
2619
|
+
# @return [Boolean]
|
2620
|
+
#
|
2560
2621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordOutput AWS API Documentation
|
2561
2622
|
#
|
2562
2623
|
class PutRecordOutput < Struct.new(
|
2563
|
-
:record_id
|
2624
|
+
:record_id,
|
2625
|
+
:encrypted)
|
2564
2626
|
include Aws::Structure
|
2565
2627
|
end
|
2566
2628
|
|
@@ -2576,7 +2638,7 @@ module Aws::Firehose
|
|
2576
2638
|
# @!attribute [rw] data
|
2577
2639
|
# The data blob, which is base64-encoded when the blob is serialized.
|
2578
2640
|
# The maximum size of the data blob, before base64-encoding, is 1,000
|
2579
|
-
#
|
2641
|
+
# KiB.
|
2580
2642
|
# @return [String]
|
2581
2643
|
#
|
2582
2644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Record AWS API Documentation
|
@@ -3715,6 +3777,52 @@ module Aws::Firehose
|
|
3715
3777
|
include Aws::Structure
|
3716
3778
|
end
|
3717
3779
|
|
3780
|
+
# @note When making an API call, you may pass StartDeliveryStreamEncryptionInput
|
3781
|
+
# data as a hash:
|
3782
|
+
#
|
3783
|
+
# {
|
3784
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
3785
|
+
# }
|
3786
|
+
#
|
3787
|
+
# @!attribute [rw] delivery_stream_name
|
3788
|
+
# The name of the delivery stream for which you want to enable
|
3789
|
+
# server-side encryption (SSE).
|
3790
|
+
# @return [String]
|
3791
|
+
#
|
3792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StartDeliveryStreamEncryptionInput AWS API Documentation
|
3793
|
+
#
|
3794
|
+
class StartDeliveryStreamEncryptionInput < Struct.new(
|
3795
|
+
:delivery_stream_name)
|
3796
|
+
include Aws::Structure
|
3797
|
+
end
|
3798
|
+
|
3799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StartDeliveryStreamEncryptionOutput AWS API Documentation
|
3800
|
+
#
|
3801
|
+
class StartDeliveryStreamEncryptionOutput < Aws::EmptyStructure; end
|
3802
|
+
|
3803
|
+
# @note When making an API call, you may pass StopDeliveryStreamEncryptionInput
|
3804
|
+
# data as a hash:
|
3805
|
+
#
|
3806
|
+
# {
|
3807
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
3808
|
+
# }
|
3809
|
+
#
|
3810
|
+
# @!attribute [rw] delivery_stream_name
|
3811
|
+
# The name of the delivery stream for which you want to disable
|
3812
|
+
# server-side encryption (SSE).
|
3813
|
+
# @return [String]
|
3814
|
+
#
|
3815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StopDeliveryStreamEncryptionInput AWS API Documentation
|
3816
|
+
#
|
3817
|
+
class StopDeliveryStreamEncryptionInput < Struct.new(
|
3818
|
+
:delivery_stream_name)
|
3819
|
+
include Aws::Structure
|
3820
|
+
end
|
3821
|
+
|
3822
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StopDeliveryStreamEncryptionOutput AWS API Documentation
|
3823
|
+
#
|
3824
|
+
class StopDeliveryStreamEncryptionOutput < Aws::EmptyStructure; end
|
3825
|
+
|
3718
3826
|
# Metadata that you can assign to a delivery stream, consisting of a
|
3719
3827
|
# key-value pair.
|
3720
3828
|
#
|
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.9.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: 2018-
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|