aws-sdk-kinesis 1.71.0 → 1.73.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62f42f8259f499c6cbe880bb5bba371b2d050f982f5119bd9afb5ccd0828fa40
4
- data.tar.gz: e28ac1d8b006734d725bb4f209f29167fcb548fa41fac3170fccf4eed99df9d6
3
+ metadata.gz: 8a5d7234de605b2626ede39e3c55e870d7ae2387322e9fdd6a2e65627a1bc403
4
+ data.tar.gz: 541b35ef963f5253a111631148ff8bfa5da3b7159f4b853fc4cad2a860e346f2
5
5
  SHA512:
6
- metadata.gz: 3ea8ca9e80bc6451fbcda1da3ac8e3e178becb65cc18ba2d50b4d56cb32c39f5ce5839d1369214cb7189d9630bca954592c7d30319fd03697e75cf4a1984ca25
7
- data.tar.gz: 239a6e856481a3511d57c8ddbe37883a2053db04bd4a6d380bd18d11eb5a4ae70bcfb9474fba0bdb2c101eea80768cdefcde225b4d1c0f69662c1bdf26e6dd11
6
+ metadata.gz: 7494527bc6df433344992bab1bbf3285d4a53e68a9b312f3ef6f104981d9fe5ee911b6406c3ec950a47dc75cb1174d7ef7a6cf3b1f969c1081661c63b409f34b
7
+ data.tar.gz: 3402da5f6c8b506ab1a33a32f7b7e2f2b6a3b15656b0c7288acb837d89d112f084d90624a4dd04052677807bec32f0229ec6ac92af782a8693d8f0f15d7bff0d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.73.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.72.0 (2025-01-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.71.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.73.0
@@ -197,11 +197,34 @@ module Aws::Kinesis
197
197
  # Used when loading credentials from the shared credentials file
198
198
  # at HOME/.aws/credentials. When not specified, 'default' is used.
199
199
  #
200
+ # @option options [String] :request_checksum_calculation ("when_supported")
201
+ # Determines when a checksum will be calculated for request payloads. Values are:
202
+ #
203
+ # * `when_supported` - (default) When set, a checksum will be
204
+ # calculated for all request payloads of operations modeled with the
205
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
206
+ # `requestAlgorithmMember` is modeled.
207
+ # * `when_required` - When set, a checksum will only be calculated for
208
+ # request payloads of operations modeled with the `httpChecksum` trait where
209
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
210
+ # is modeled and supplied.
211
+ #
200
212
  # @option options [Integer] :request_min_compression_size_bytes (10240)
201
213
  # The minimum size in bytes that triggers compression for request
202
214
  # bodies. The value must be non-negative integer value between 0
203
215
  # and 10485780 bytes inclusive.
204
216
  #
217
+ # @option options [String] :response_checksum_validation ("when_supported")
218
+ # Determines when checksum validation will be performed on response payloads. Values are:
219
+ #
220
+ # * `when_supported` - (default) When set, checksum validation is performed on all
221
+ # response payloads of operations modeled with the `httpChecksum` trait where
222
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
223
+ # are supported.
224
+ # * `when_required` - When set, checksum validation is not performed on
225
+ # response payloads of operations unless the checksum algorithm is supported and
226
+ # the `requestValidationModeMember` member is set to `ENABLED`.
227
+ #
205
228
  # @option options [Proc] :retry_backoff
206
229
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
230
  # This option is only used in the `legacy` retry mode.
@@ -690,7 +713,7 @@ module Aws::Kinesis
690
713
  tracer: tracer
691
714
  )
692
715
  context[:gem_name] = 'aws-sdk-kinesis'
693
- context[:gem_version] = '1.71.0'
716
+ context[:gem_version] = '1.73.0'
694
717
  Seahorse::Client::Request.new(handlers, context)
695
718
  end
696
719
 
@@ -268,11 +268,34 @@ module Aws::Kinesis
268
268
  # Used when loading credentials from the shared credentials file
269
269
  # at HOME/.aws/credentials. When not specified, 'default' is used.
270
270
  #
271
+ # @option options [String] :request_checksum_calculation ("when_supported")
272
+ # Determines when a checksum will be calculated for request payloads. Values are:
273
+ #
274
+ # * `when_supported` - (default) When set, a checksum will be
275
+ # calculated for all request payloads of operations modeled with the
276
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
277
+ # `requestAlgorithmMember` is modeled.
278
+ # * `when_required` - When set, a checksum will only be calculated for
279
+ # request payloads of operations modeled with the `httpChecksum` trait where
280
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
281
+ # is modeled and supplied.
282
+ #
271
283
  # @option options [Integer] :request_min_compression_size_bytes (10240)
272
284
  # The minimum size in bytes that triggers compression for request
273
285
  # bodies. The value must be non-negative integer value between 0
274
286
  # and 10485780 bytes inclusive.
275
287
  #
288
+ # @option options [String] :response_checksum_validation ("when_supported")
289
+ # Determines when checksum validation will be performed on response payloads. Values are:
290
+ #
291
+ # * `when_supported` - (default) When set, checksum validation is performed on all
292
+ # response payloads of operations modeled with the `httpChecksum` trait where
293
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
294
+ # are supported.
295
+ # * `when_required` - When set, checksum validation is not performed on
296
+ # response payloads of operations unless the checksum algorithm is supported and
297
+ # the `requestValidationModeMember` member is set to `ENABLED`.
298
+ #
276
299
  # @option options [Proc] :retry_backoff
277
300
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
278
301
  # This option is only used in the `legacy` retry mode.
@@ -2854,7 +2877,7 @@ module Aws::Kinesis
2854
2877
  tracer: tracer
2855
2878
  )
2856
2879
  context[:gem_name] = 'aws-sdk-kinesis'
2857
- context[:gem_version] = '1.71.0'
2880
+ context[:gem_version] = '1.73.0'
2858
2881
  Seahorse::Client::Request.new(handlers, context)
2859
2882
  end
2860
2883
 
@@ -10,45 +10,37 @@
10
10
  module Aws::Kinesis
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- stream_arn = parameters.stream_arn
18
- operation_type = parameters.operation_type
19
- consumer_arn = parameters.consumer_arn
20
- resource_arn = parameters.resource_arn
21
- if Aws::Endpoints::Matchers.set?(stream_arn) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(endpoint)) && Aws::Endpoints::Matchers.set?(region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(region)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b"))
22
- if (arn = Aws::Endpoints::Matchers.aws_parse_arn(stream_arn))
13
+ if Aws::Endpoints::Matchers.set?(parameters.stream_arn) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.endpoint)) && Aws::Endpoints::Matchers.set?(parameters.region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b"))
14
+ if (arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.stream_arn))
23
15
  if Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(arn, "accountId"), false)
24
16
  if Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(arn, "region"), false)
25
17
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(arn, "service"), "kinesis")
26
18
  if (arn_type = Aws::Endpoints::Matchers.attr(arn, "resourceId[0]")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(arn_type, ""))
27
19
  if Aws::Endpoints::Matchers.string_equals?(arn_type, "stream")
28
20
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "#{arn['partition']}")
29
- if Aws::Endpoints::Matchers.set?(operation_type)
30
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
21
+ if Aws::Endpoints::Matchers.set?(parameters.operation_type)
22
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
31
23
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
24
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
33
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
25
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
34
26
  end
35
27
  raise ArgumentError, "DualStack is enabled, but this partition does not support DualStack."
36
28
  end
37
29
  raise ArgumentError, "FIPS is enabled, but this partition does not support FIPS."
38
30
  end
39
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
31
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
40
32
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
41
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
33
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
34
  end
43
35
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
36
  end
45
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
37
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
46
38
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
47
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
39
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
48
40
  end
49
41
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
42
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
43
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
44
  end
53
45
  raise ArgumentError, "Operation Type is not set. Please contact service team for resolution."
54
46
  end
@@ -66,37 +58,37 @@ module Aws::Kinesis
66
58
  end
67
59
  raise ArgumentError, "Invalid ARN: Failed to parse ARN."
68
60
  end
69
- if Aws::Endpoints::Matchers.set?(consumer_arn) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(endpoint)) && Aws::Endpoints::Matchers.set?(region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(region)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b"))
70
- if (arn = Aws::Endpoints::Matchers.aws_parse_arn(consumer_arn))
61
+ if Aws::Endpoints::Matchers.set?(parameters.consumer_arn) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.endpoint)) && Aws::Endpoints::Matchers.set?(parameters.region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b"))
62
+ if (arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.consumer_arn))
71
63
  if Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(arn, "accountId"), false)
72
64
  if Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(arn, "region"), false)
73
65
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(arn, "service"), "kinesis")
74
66
  if (arn_type = Aws::Endpoints::Matchers.attr(arn, "resourceId[0]")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(arn_type, ""))
75
67
  if Aws::Endpoints::Matchers.string_equals?(arn_type, "stream")
76
68
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "#{arn['partition']}")
77
- if Aws::Endpoints::Matchers.set?(operation_type)
78
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
69
+ if Aws::Endpoints::Matchers.set?(parameters.operation_type)
70
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
79
71
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
80
72
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
81
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
73
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
82
74
  end
83
75
  raise ArgumentError, "DualStack is enabled, but this partition does not support DualStack."
84
76
  end
85
77
  raise ArgumentError, "FIPS is enabled, but this partition does not support FIPS."
86
78
  end
87
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
79
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
88
80
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
89
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
81
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
90
82
  end
91
83
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
92
84
  end
93
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
85
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
94
86
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
95
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
87
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
96
88
  end
97
89
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
98
90
  end
99
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
91
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
100
92
  end
101
93
  raise ArgumentError, "Operation Type is not set. Please contact service team for resolution."
102
94
  end
@@ -114,37 +106,37 @@ module Aws::Kinesis
114
106
  end
115
107
  raise ArgumentError, "Invalid ARN: Failed to parse ARN."
116
108
  end
117
- if Aws::Endpoints::Matchers.set?(resource_arn) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(endpoint)) && Aws::Endpoints::Matchers.set?(region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(region)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b"))
118
- if (arn = Aws::Endpoints::Matchers.aws_parse_arn(resource_arn))
109
+ if Aws::Endpoints::Matchers.set?(parameters.resource_arn) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.endpoint)) && Aws::Endpoints::Matchers.set?(parameters.region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b"))
110
+ if (arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.resource_arn))
119
111
  if Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(arn, "accountId"), false)
120
112
  if Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(arn, "region"), false)
121
113
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(arn, "service"), "kinesis")
122
114
  if (arn_type = Aws::Endpoints::Matchers.attr(arn, "resourceId[0]")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(arn_type, ""))
123
115
  if Aws::Endpoints::Matchers.string_equals?(arn_type, "stream")
124
116
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "#{arn['partition']}")
125
- if Aws::Endpoints::Matchers.set?(operation_type)
126
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
117
+ if Aws::Endpoints::Matchers.set?(parameters.operation_type)
118
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
127
119
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
128
120
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
129
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
121
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
130
122
  end
131
123
  raise ArgumentError, "DualStack is enabled, but this partition does not support DualStack."
132
124
  end
133
125
  raise ArgumentError, "FIPS is enabled, but this partition does not support FIPS."
134
126
  end
135
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
127
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
136
128
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
137
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
129
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
138
130
  end
139
131
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
140
132
  end
141
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
133
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
142
134
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
143
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
135
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
144
136
  end
145
137
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
146
138
  end
147
- return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{operation_type}-kinesis.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
139
+ return Aws::Endpoints::Endpoint.new(url: "https://#{arn['accountId']}.#{parameters.operation_type}-kinesis.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
148
140
  end
149
141
  raise ArgumentError, "Operation Type is not set. Please contact service team for resolution."
150
142
  end
@@ -162,39 +154,39 @@ module Aws::Kinesis
162
154
  end
163
155
  raise ArgumentError, "Invalid ARN: Failed to parse ARN."
164
156
  end
165
- if Aws::Endpoints::Matchers.set?(endpoint)
166
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
157
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
158
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
167
159
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
168
160
  end
169
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
161
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
170
162
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
171
163
  end
172
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
164
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
173
165
  end
174
- if Aws::Endpoints::Matchers.set?(region)
175
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
176
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
166
+ if Aws::Endpoints::Matchers.set?(parameters.region)
167
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
168
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
177
169
  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"))
178
- return Aws::Endpoints::Endpoint.new(url: "https://kinesis-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
170
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesis-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
179
171
  end
180
172
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
181
173
  end
182
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
174
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
183
175
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
184
176
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
185
- return Aws::Endpoints::Endpoint.new(url: "https://kinesis.#{region}.amazonaws.com", headers: {}, properties: {})
177
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesis.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
186
178
  end
187
- return Aws::Endpoints::Endpoint.new(url: "https://kinesis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
179
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesis-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
188
180
  end
189
181
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
190
182
  end
191
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
183
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
192
184
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
193
- return Aws::Endpoints::Endpoint.new(url: "https://kinesis.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
185
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesis.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
194
186
  end
195
187
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
196
188
  end
197
- return Aws::Endpoints::Endpoint.new(url: "https://kinesis.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
189
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesis.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
198
190
  end
199
191
  end
200
192
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -57,7 +57,7 @@ module Aws::Kinesis
57
57
  autoload :AsyncClient, 'aws-sdk-kinesis/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-kinesis/event_streams'
59
59
 
60
- GEM_VERSION = '1.71.0'
60
+ GEM_VERSION = '1.73.0'
61
61
 
62
62
  end
63
63
 
data/sig/client.rbs CHANGED
@@ -42,7 +42,9 @@ module Aws
42
42
  ?max_attempts: Integer,
43
43
  ?output_event_stream_handler: Proc,
44
44
  ?profile: String,
45
+ ?request_checksum_calculation: String,
45
46
  ?request_min_compression_size_bytes: Integer,
47
+ ?response_checksum_validation: String,
46
48
  ?retry_backoff: Proc,
47
49
  ?retry_base_delay: Float,
48
50
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/resource.rbs CHANGED
@@ -42,7 +42,9 @@ module Aws
42
42
  ?max_attempts: Integer,
43
43
  ?output_event_stream_handler: Proc,
44
44
  ?profile: String,
45
+ ?request_checksum_calculation: String,
45
46
  ?request_min_compression_size_bytes: Integer,
47
+ ?response_checksum_validation: String,
46
48
  ?retry_backoff: Proc,
47
49
  ?retry_base_delay: Float,
48
50
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.71.0
4
+ version: 1.73.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-11-06 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement