aws-sdk-dynamodbstreams 1.44.0 → 1.45.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: 420dbcc2dba5b0196bff073604892c1877d6813b9abce9f67a88dd611e95ad24
4
- data.tar.gz: be6b3e5acf891e94e3d51d895399fc9bbb5e711a817033dddde136d258d7abb2
3
+ metadata.gz: c47945be7061ef872cb214b15c63ea9265927c0c9357e29f9d3a8053a5679319
4
+ data.tar.gz: 43e8e21348559ff850dcbdb66dbc65c00b0ecf50dcde5944769e07566b95a4f1
5
5
  SHA512:
6
- metadata.gz: 170a04191351203313105b776619939355f865654de2ad0a0e33ea2dd891240e81eb8a73b001ca502fb08cbb71dd665ab601f1fe336a27e84aa1d352469730f1
7
- data.tar.gz: 24235618f45422868e7467e1c0a00aa75e1efb64e3c8b3427036eb222089f023d57d77ca16e358bf880baa41f16f5249f3ab666a4963bfd676d2a84f37d573fa
6
+ metadata.gz: ab1a579f2aeaeb58755dfacb38b4419739fe441d4502ee50fdbe48e9908bada4a964cee2ff2ccdea1c4fcbe47b0e8d9d78ac931040170642e50e1f169c79c6fb
7
+ data.tar.gz: 97d28b5f87636c3eb58920ba853a416bfdc436f41a8104edb4672d21d981b22beeaed6f56718a1aacd4e6b31bcce1df773a54297431b4269b8cc65410a7ed447
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.44.0 (2023-05-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -839,7 +839,7 @@ module Aws::DynamoDBStreams
839
839
  params: params,
840
840
  config: config)
841
841
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
842
- context[:gem_version] = '1.44.0'
842
+ context[:gem_version] = '1.45.0'
843
843
  Seahorse::Client::Request.new(handlers, context)
844
844
  end
845
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.44.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.44.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-05-31 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