aws-sdk-dynamodbstreams 1.43.0 → 1.45.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: 47c22980ea8b6598cf99c3ae95eee5e6ef75b92749fea612688ad3174ddf4f13
4
- data.tar.gz: c8981ad36f2869d7713cac0b2c97adf757001c4dab1a8c553ed3411855fd7dda
3
+ metadata.gz: c47945be7061ef872cb214b15c63ea9265927c0c9357e29f9d3a8053a5679319
4
+ data.tar.gz: 43e8e21348559ff850dcbdb66dbc65c00b0ecf50dcde5944769e07566b95a4f1
5
5
  SHA512:
6
- metadata.gz: 442aa96e61e23178098db9cbd3a85698f295781b99d50ce1d7acf9b98d57d52ebf5e2320b622b6d9f0190b7cbc6e20144821221aeb58617266b1f5ac33f3d5d6
7
- data.tar.gz: 65e6e363fcb2de85527ff3ec652243d9a55956f8889515ec8d8f322f1a25c4d26cb109791e4b4be7af14060fe2157bf21766228c44bfbc1edae7c84d7e84b5b6
6
+ metadata.gz: ab1a579f2aeaeb58755dfacb38b4419739fe441d4502ee50fdbe48e9908bada4a964cee2ff2ccdea1c4fcbe47b0e8d9d78ac931040170642e50e1f169c79c6fb
7
+ data.tar.gz: 97d28b5f87636c3eb58920ba853a416bfdc436f41a8104edb4672d21d981b22beeaed6f56718a1aacd4e6b31bcce1df773a54297431b4269b8cc65410a7ed447
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2023-06-12)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for DynamoDB Streams
8
+
9
+ 1.44.0 (2023-05-31)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.43.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -277,6 +277,11 @@ module Aws::DynamoDBStreams
277
277
  # in the future.
278
278
  #
279
279
  #
280
+ # @option options [String] :sdk_ua_app_id
281
+ # A unique and opaque application ID that is appended to the
282
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
283
+ # maximum length of 50.
284
+ #
280
285
  # @option options [String] :secret_access_key
281
286
  #
282
287
  # @option options [String] :session_token
@@ -834,7 +839,7 @@ module Aws::DynamoDBStreams
834
839
  params: params,
835
840
  config: config)
836
841
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
837
- context[:gem_version] = '1.43.0'
842
+ context[:gem_version] = '1.45.0'
838
843
  Seahorse::Client::Request.new(handlers, context)
839
844
  end
840
845
 
@@ -50,9 +50,6 @@ module Aws::DynamoDBStreams
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,42 +14,60 @@ module Aws::DynamoDBStreams
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
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://streams.dynamodb-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
19
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
+ end
41
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
21
42
  end
22
43
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
44
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
24
48
  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://streams.dynamodb-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
+ if Aws::Endpoints::Matchers.string_equals?(region, "local")
50
+ return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"dynamodb", "signingRegion"=>"us-east-1"}]})
30
51
  end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
- end
38
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
53
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.amazonaws.com", headers: {}, properties: {})
39
54
  end
40
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
- end
42
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
55
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
56
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.amazonaws.com.cn", headers: {}, properties: {})
45
57
  end
46
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
- end
48
- if Aws::Endpoints::Matchers.string_equals?(region, "local")
49
- return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"dynamodb"}]})
58
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
59
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.amazonaws.com", headers: {}, properties: {})
60
+ end
61
+ if Aws::Endpoints::Matchers.string_equals?("aws-iso", Aws::Endpoints::Matchers.attr(partition_result, "name"))
62
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.c2s.ic.gov", headers: {}, properties: {})
63
+ end
64
+ if Aws::Endpoints::Matchers.string_equals?("aws-iso-b", Aws::Endpoints::Matchers.attr(partition_result, "name"))
65
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.sc2s.sgov.gov", headers: {}, properties: {})
66
+ end
67
+ return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
68
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
69
  end
70
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
71
  raise ArgumentError, 'No endpoint could be resolved'
54
72
 
55
73
  end
@@ -377,6 +377,12 @@ module Aws::DynamoDBStreams
377
377
  #
378
378
  # There is a soft account quota of 2,500 tables.
379
379
  #
380
+ # GetRecords was called with a value of more than 1000 for the limit
381
+ # request parameter.
382
+ #
383
+ # More than 2 processes are reading from the same streams shard at the
384
+ # same time. Exceeding this limit may result in request throttling.
385
+ #
380
386
  # @!attribute [rw] message
381
387
  # Too many operations for a given subscriber.
382
388
  # @return [String]
@@ -477,8 +483,8 @@ module Aws::DynamoDBStreams
477
483
  # @return [String]
478
484
  #
479
485
  # @!attribute [rw] event_source
480
- # The AWS service from which the stream record originated. For
481
- # DynamoDB Streams, this is `aws:dynamodb`.
486
+ # The Amazon Web Services service from which the stream record
487
+ # originated. For DynamoDB Streams, this is `aws:dynamodb`.
482
488
  # @return [String]
483
489
  #
484
490
  # @!attribute [rw] aws_region
@@ -597,7 +603,7 @@ module Aws::DynamoDBStreams
597
603
  # might have the same timestamp. However, the combination of the
598
604
  # following three elements is guaranteed to be unique:
599
605
  #
600
- # * the AWS customer ID.
606
+ # * the Amazon Web Services customer ID.
601
607
  #
602
608
  # * the table name
603
609
  #
@@ -628,7 +634,7 @@ module Aws::DynamoDBStreams
628
634
  # might have the same timestamp. However, the combination of the
629
635
  # following three elements is guaranteed to be unique:
630
636
  #
631
- # * the AWS customer ID.
637
+ # * the Amazon Web Services customer ID.
632
638
  #
633
639
  # * the table name
634
640
  #
@@ -717,7 +723,7 @@ module Aws::DynamoDBStreams
717
723
  #
718
724
  # @!attribute [rw] approximate_creation_date_time
719
725
  # The approximate date and time when the stream record was created, in
720
- # [UNIX epoch time][1] format.
726
+ # [UNIX epoch time][1] format and rounded down to the closest second.
721
727
  #
722
728
  #
723
729
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-dynamodbstreams/customizations'
52
52
  # @!group service
53
53
  module Aws::DynamoDBStreams
54
54
 
55
- GEM_VERSION = '1.43.0'
55
+ GEM_VERSION = '1.45.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodbstreams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.45.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-06-12 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement