aws-sdk-dynamodbstreams 1.21.0 → 1.26.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: 7402702e1bedfdc22d250acb5f5bbbb2770a633027fe09ccf0fed124ef495795
4
- data.tar.gz: 17f15804ad9cbef80ccd5cb0f2012f57717e4226efbba0058d00f1862942ef0b
3
+ metadata.gz: 3895d33d1f49db7f0c34332c5439169ed15a93c3cc7a3e4d970ef725ce6f755f
4
+ data.tar.gz: 780bb3a618714a91cc2b6d4eaaa9a283c42122e2c65ecbeaf1b95e96a91c381a
5
5
  SHA512:
6
- metadata.gz: 6e38b8cff73be13d155477ba10670e484daaf36919fe82d674ffb59f3fd83ef3c2af5b8824ac69f472feb1b93fc9915e8a1b14bbfe329044b3ce14b46ec56fe9
7
- data.tar.gz: 3406148be2d3c9f557ff2fa10a2c661480b2a937dee742a0c00dc61aebef74a745d1031ef8e107c6867f6e2697b903c8deba896498818729adf7aa379c1232dc
6
+ metadata.gz: bda879d8b2e114301d7f86c4791ed70fb32e411f0b9f31e0205b01b979b0efb3f6fcd02190b8528d444e54a512ff11e18023ba4ad800686d3c44f11b29c2ae78
7
+ data.tar.gz: 29ed9f2f337356ba36869aaa3e05cff4fcfcc2c4718ebe9daddc8758c323495d7f430d7ab4891134e40975ae58b569972fe80aa24b34e452e17d466af7fbf028
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-dynamodbstreams/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::DynamoDBStreams
49
50
 
50
- GEM_VERSION = '1.21.0'
51
+ GEM_VERSION = '1.26.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::DynamoDBStreams
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::DynamoDBStreams
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -772,7 +787,7 @@ module Aws::DynamoDBStreams
772
787
  params: params,
773
788
  config: config)
774
789
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
775
- context[:gem_version] = '1.21.0'
790
+ context[:gem_version] = '1.26.0'
776
791
  Seahorse::Client::Request.new(handlers, context)
777
792
  end
778
793
 
@@ -214,6 +214,7 @@ module Aws::DynamoDBStreams
214
214
  "jsonVersion" => "1.0",
215
215
  "protocol" => "json",
216
216
  "serviceFullName" => "Amazon DynamoDB Streams",
217
+ "serviceId" => "DynamoDB Streams",
217
218
  "signatureVersion" => "v4",
218
219
  "signingName" => "dynamodb",
219
220
  "targetPrefix" => "DynamoDBStreams_20120810",
@@ -10,53 +10,86 @@
10
10
  module Aws::DynamoDBStreams
11
11
  module Types
12
12
 
13
- # Represents the data for an attribute. You can set one, and only one,
14
- # of the elements.
13
+ # Represents the data for an attribute.
15
14
  #
16
- # Each attribute in an item is a name-value pair. An attribute can be
17
- # single-valued or multi-valued set. For example, a book item can have
18
- # title and authors attributes. Each book has one title but can have
19
- # many authors. The multi-valued attribute is a set; duplicate values
20
- # are not allowed.
15
+ # Each attribute value is described as a name-value pair. The name is
16
+ # the data type, and the value is the data itself.
17
+ #
18
+ # For more information, see [Data Types][1] in the *Amazon DynamoDB
19
+ # Developer Guide*.
20
+ #
21
+ #
22
+ #
23
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes
21
24
  #
22
25
  # @!attribute [rw] s
23
- # A String data type.
26
+ # An attribute of type String. For example:
27
+ #
28
+ # `"S": "Hello"`
24
29
  # @return [String]
25
30
  #
26
31
  # @!attribute [rw] n
27
- # A Number data type.
32
+ # An attribute of type Number. For example:
33
+ #
34
+ # `"N": "123.45"`
35
+ #
36
+ # Numbers are sent across the network to DynamoDB as strings, to
37
+ # maximize compatibility across languages and libraries. However,
38
+ # DynamoDB treats them as number type attributes for mathematical
39
+ # operations.
28
40
  # @return [String]
29
41
  #
30
42
  # @!attribute [rw] b
31
- # A Binary data type.
43
+ # An attribute of type Binary. For example:
44
+ #
45
+ # `"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"`
32
46
  # @return [String]
33
47
  #
34
48
  # @!attribute [rw] ss
35
- # A String Set data type.
49
+ # An attribute of type String Set. For example:
50
+ #
51
+ # `"SS": ["Giraffe", "Hippo" ,"Zebra"]`
36
52
  # @return [Array<String>]
37
53
  #
38
54
  # @!attribute [rw] ns
39
- # A Number Set data type.
55
+ # An attribute of type Number Set. For example:
56
+ #
57
+ # `"NS": ["42.2", "-19", "7.5", "3.14"]`
58
+ #
59
+ # Numbers are sent across the network to DynamoDB as strings, to
60
+ # maximize compatibility across languages and libraries. However,
61
+ # DynamoDB treats them as number type attributes for mathematical
62
+ # operations.
40
63
  # @return [Array<String>]
41
64
  #
42
65
  # @!attribute [rw] bs
43
- # A Binary Set data type.
66
+ # An attribute of type Binary Set. For example:
67
+ #
68
+ # `"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]`
44
69
  # @return [Array<String>]
45
70
  #
46
71
  # @!attribute [rw] m
47
- # A Map data type.
72
+ # An attribute of type Map. For example:
73
+ #
74
+ # `"M": \{"Name": \{"S": "Joe"\}, "Age": \{"N": "35"\}\}`
48
75
  # @return [Hash<String,Types::AttributeValue>]
49
76
  #
50
77
  # @!attribute [rw] l
51
- # A List data type.
78
+ # An attribute of type List. For example:
79
+ #
80
+ # `"L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N", "3.14159"\}]`
52
81
  # @return [Array<Types::AttributeValue>]
53
82
  #
54
83
  # @!attribute [rw] null
55
- # A Null data type.
84
+ # An attribute of type Null. For example:
85
+ #
86
+ # `"NULL": true`
56
87
  # @return [Boolean]
57
88
  #
58
89
  # @!attribute [rw] bool
59
- # A Boolean data type.
90
+ # An attribute of type Boolean. For example:
91
+ #
92
+ # `"BOOL": true`
60
93
  # @return [Boolean]
61
94
  #
62
95
  # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/AttributeValue AWS API Documentation
@@ -311,30 +344,37 @@ module Aws::DynamoDBStreams
311
344
  # attributes of an index.
312
345
  #
313
346
  # A `KeySchemaElement` represents exactly one attribute of the primary
314
- # key. For example, a simple primary key (partition key) would be
315
- # represented by one `KeySchemaElement`. A composite primary key
316
- # (partition key and sort key) would require one `KeySchemaElement` for
317
- # the partition key, and another `KeySchemaElement` for the sort key.
318
- #
319
- # <note markdown="1"> The partition key of an item is also known as its *hash attribute*.
320
- # The term "hash attribute" derives from DynamoDB's usage of an
321
- # internal hash function to evenly distribute data items across
322
- # partitions, based on their partition key values.
323
- #
324
- # The sort key of an item is also known as its *range attribute*. The
325
- # term "range attribute" derives from the way DynamoDB stores items
326
- # with the same partition key physically close together, in sorted order
327
- # by the sort key value.
347
+ # key. For example, a simple primary key would be represented by one
348
+ # `KeySchemaElement` (for the partition key). A composite primary key
349
+ # would require one `KeySchemaElement` for the partition key, and
350
+ # another `KeySchemaElement` for the sort key.
328
351
  #
329
- # </note>
352
+ # A `KeySchemaElement` must be a scalar, top-level attribute (not a
353
+ # nested attribute). The data type must be one of String, Number, or
354
+ # Binary. The attribute cannot be nested within a List or a Map.
330
355
  #
331
356
  # @!attribute [rw] attribute_name
332
357
  # The name of a key attribute.
333
358
  # @return [String]
334
359
  #
335
360
  # @!attribute [rw] key_type
336
- # The attribute data, consisting of the data type and the attribute
337
- # value itself.
361
+ # The role that this key attribute will assume:
362
+ #
363
+ # * `HASH` - partition key
364
+ #
365
+ # * `RANGE` - sort key
366
+ #
367
+ # <note markdown="1"> The partition key of an item is also known as its *hash attribute*.
368
+ # The term "hash attribute" derives from DynamoDB's usage of an
369
+ # internal hash function to evenly distribute data items across
370
+ # partitions, based on their partition key values.
371
+ #
372
+ # The sort key of an item is also known as its *range attribute*. The
373
+ # term "range attribute" derives from the way DynamoDB stores items
374
+ # with the same partition key physically close together, in sorted
375
+ # order by the sort key value.
376
+ #
377
+ # </note>
338
378
  # @return [String]
339
379
  #
340
380
  # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/KeySchemaElement AWS API Documentation
@@ -346,16 +386,20 @@ module Aws::DynamoDBStreams
346
386
  include Aws::Structure
347
387
  end
348
388
 
349
- # Your request rate is too high. The AWS SDKs for DynamoDB automatically
350
- # retry requests that receive this exception. Your request is eventually
351
- # successful, unless your retry queue is too large to finish. Reduce the
352
- # frequency of requests and use exponential backoff. For more
353
- # information, go to [Error Retries and Exponential Backoff][1] in the
354
- # *Amazon DynamoDB Developer Guide*.
389
+ # There is no limit to the number of daily on-demand backups that can be
390
+ # taken.
355
391
  #
392
+ # Up to 50 simultaneous table operations are allowed per account. These
393
+ # operations include `CreateTable`, `UpdateTable`,
394
+ # `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and
395
+ # `RestoreTableToPointInTime`.
356
396
  #
397
+ # The only exception is when you are creating a table with one or more
398
+ # secondary indexes. You can have up to 25 such requests running at a
399
+ # time; however, if the table or index specifications are complex,
400
+ # DynamoDB might temporarily reduce the number of concurrent operations.
357
401
  #
358
- # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries
402
+ # There is a soft account quota of 256 tables.
359
403
  #
360
404
  # @!attribute [rw] message
361
405
  # Too many operations for a given subscriber.
@@ -506,7 +550,9 @@ module Aws::DynamoDBStreams
506
550
  include Aws::Structure
507
551
  end
508
552
 
509
- # The operation tried to access a nonexistent stream.
553
+ # The operation tried to access a nonexistent table or index. The
554
+ # resource might not be specified correctly, or its status might not be
555
+ # `ACTIVE`.
510
556
  #
511
557
  # @!attribute [rw] message
512
558
  # The resource which is being requested does not exist.
@@ -524,11 +570,13 @@ module Aws::DynamoDBStreams
524
570
  # contained within a shard.
525
571
  #
526
572
  # @!attribute [rw] starting_sequence_number
527
- # The first sequence number.
573
+ # The first sequence number for the stream records contained within a
574
+ # shard. String contains numeric characters only.
528
575
  # @return [String]
529
576
  #
530
577
  # @!attribute [rw] ending_sequence_number
531
- # The last sequence number.
578
+ # The last sequence number for the stream records contained within a
579
+ # shard. String contains numeric characters only.
532
580
  # @return [String]
533
581
  #
534
582
  # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/SequenceNumberRange AWS API Documentation
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.21.0
4
+ version: 1.26.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: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-10-05 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.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement