aws-sdk-dynamodbstreams 1.82.0 → 1.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bce42ca6e30b3049125a3b0038b5e3855d4d2c749c23c8fe7ef00adf0f5b3fe
4
- data.tar.gz: 341939603195db8f5453c7f0bd80c2ed91d2f2d4b5ee9c802278c682e4afd96a
3
+ metadata.gz: c58e2cd3b6d178b49333d517123f2da221b2e10447b42ad992761a6c5a0ebb8d
4
+ data.tar.gz: ef3ca6fbcb921604eaf65b3c6dd749171172104d7e4c1d1acc734cfd33cc8101
5
5
  SHA512:
6
- metadata.gz: fb9d3d001d27596b1800ecba50d0ab26a8cde510766e390c3c19ca4b3d847d7751a9592412dcb85d67af43a157484c5a0300cedbe800edac0b4906219516bfa9
7
- data.tar.gz: 9e1d555f56f27e0d3b580be7f94782e0c859eda0d3c18f2be8652a0020926efe5ad0e185347476c3cd56935bb3ce531834a301f86fff840f106c35071101505d
6
+ metadata.gz: b93a7267856fedfe328a643e7fa8a4506df9d1458da065269993388b577c210eea3304a03dd2bb7aa02e1792f1f5adac603fcad4dfaa3b76f663f1d3ca518301
7
+ data.tar.gz: d43df77dc6202f0e84378cb929a749e5d4985df0717782d1eed364bc0549c9e7682b04f7e23cf89c77148d5b434884e0b6e3e607f4efe2ad378e115f28c7a866
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.83.0 (2025-09-26)
5
+ ------------------
6
+
7
+ * Feature - Added support for IPv6 compatible endpoints for DynamoDB Streams.
8
+
4
9
  1.82.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.83.0
@@ -952,7 +952,7 @@ module Aws::DynamoDBStreams
952
952
  tracer: tracer
953
953
  )
954
954
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
955
- context[:gem_version] = '1.82.0'
955
+ context[:gem_version] = '1.83.0'
956
956
  Seahorse::Client::Request.new(handlers, context)
957
957
  end
958
958
 
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # utility classes
4
3
  module Aws
5
4
  module DynamoDBStreams
6
5
  autoload :AttributeTranslator, 'aws-sdk-dynamodbstreams/attribute_translator'
@@ -10,11 +10,6 @@
10
10
  module Aws::DynamoDBStreams
11
11
  # Endpoint parameters used to influence endpoints per request.
12
12
  #
13
- # @!attribute region
14
- # The AWS region used to dispatch the request.
15
- #
16
- # @return [String]
17
- #
18
13
  # @!attribute use_dual_stack
19
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
15
  #
@@ -30,39 +25,44 @@ module Aws::DynamoDBStreams
30
25
  #
31
26
  # @return [String]
32
27
  #
28
+ # @!attribute region
29
+ # The AWS region used to dispatch the request.
30
+ #
31
+ # @return [String]
32
+ #
33
33
  EndpointParameters = Struct.new(
34
- :region,
35
34
  :use_dual_stack,
36
35
  :use_fips,
37
36
  :endpoint,
37
+ :region,
38
38
  ) do
39
39
  include Aws::Structure
40
40
 
41
41
  # @api private
42
42
  class << self
43
43
  PARAM_MAP = {
44
- 'Region' => :region,
45
44
  'UseDualStack' => :use_dual_stack,
46
45
  'UseFIPS' => :use_fips,
47
46
  'Endpoint' => :endpoint,
47
+ 'Region' => :region,
48
48
  }.freeze
49
49
  end
50
50
 
51
51
  def initialize(options = {})
52
- self[:region] = options[:region]
53
52
  self[:use_dual_stack] = options[:use_dual_stack]
54
53
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
54
  self[:use_fips] = options[:use_fips]
56
55
  self[:use_fips] = false if self[:use_fips].nil?
57
56
  self[:endpoint] = options[:endpoint]
57
+ self[:region] = options[:region]
58
58
  end
59
59
 
60
60
  def self.create(config, options={})
61
61
  new({
62
- region: config.region,
63
62
  use_dual_stack: config.use_dualstack_endpoint,
64
63
  use_fips: config.use_fips_endpoint,
65
64
  endpoint: (config.endpoint.to_s unless config.regional_endpoint),
65
+ region: config.region,
66
66
  }.merge(options))
67
67
  end
68
68
  end
@@ -21,45 +21,45 @@ module Aws::DynamoDBStreams
21
21
  end
22
22
  if Aws::Endpoints::Matchers.set?(parameters.region)
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
+ return Aws::Endpoints::Endpoint.new(url: "https://streams-dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://streams-dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
29
+ end
30
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
31
+ return Aws::Endpoints::Endpoint.new(url: "https://streams-dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
34
+ return Aws::Endpoints::Endpoint.new(url: "https://streams-dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
35
+ end
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
37
+ return Aws::Endpoints::Endpoint.new(url: "https://streams-dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
40
+ return Aws::Endpoints::Endpoint.new(url: "https://streams-dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ end
42
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
43
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
+ end
24
45
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
46
  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"))
26
47
  return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
27
48
  end
28
49
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
29
50
  end
30
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
51
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
52
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
33
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
34
- end
35
53
  return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
54
  end
37
55
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
56
  end
39
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
57
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
40
58
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
59
  return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
60
  end
43
61
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
62
  end
45
- if Aws::Endpoints::Matchers.string_equals?(parameters.region, "local")
46
- return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "dynamodb", "signingRegion" => "us-east-1"}]})
47
- end
48
- if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
49
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
50
- end
51
- if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
52
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.amazonaws.com.cn", headers: {}, properties: {})
53
- end
54
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
55
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
56
- end
57
- if Aws::Endpoints::Matchers.string_equals?("aws-iso", Aws::Endpoints::Matchers.attr(partition_result, "name"))
58
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.c2s.ic.gov", headers: {}, properties: {})
59
- end
60
- if Aws::Endpoints::Matchers.string_equals?("aws-iso-b", Aws::Endpoints::Matchers.attr(partition_result, "name"))
61
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.sc2s.sgov.gov", headers: {}, properties: {})
62
- end
63
63
  return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
64
64
  end
65
65
  end
@@ -54,7 +54,7 @@ module Aws::DynamoDBStreams
54
54
  autoload :EndpointProvider, 'aws-sdk-dynamodbstreams/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-dynamodbstreams/endpoints'
56
56
 
57
- GEM_VERSION = '1.82.0'
57
+ GEM_VERSION = '1.83.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodbstreams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.82.0
4
+ version: 1.83.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services