aws-sdk-dynamodbstreams 1.0.0.rc6 → 1.0.0.rc7

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
  SHA1:
3
- metadata.gz: 9b80b0f39ea380d208da85cacd13898173a74d4d
4
- data.tar.gz: a5387dfc9a679a7134954e3fefcb1afd71b68dbb
3
+ metadata.gz: 146687703e16df11db74c2ad8e0c03fbca914fb0
4
+ data.tar.gz: 584bf07de0e337cb9d8febe4865da86dfa807347
5
5
  SHA512:
6
- metadata.gz: a0445b4e6974a8e6d79b98f33bdb0781f96e0cd3556b9c75351f6fffdca5b7b23f4b14cebae627fb4f57b9e25f87a30f98d5dfe1541c42694e0635bf2612aa65
7
- data.tar.gz: 3a93d7755917644d9a3e6bc8bb52f0edf5ef5b2e78dfc6bf7d59ba740730fbd9ec172a889cb67caf497836a6c06263381eac6c75ed63c49821fd071648692a62
6
+ metadata.gz: a9eda92dc4cbd5076131645e7e9d8e83bb28f83ff5ad50b3524e60ccea1a5ef03c0128cc27810d7c097b20cfe3d07dbd38babc37ad284892259b448f82940b43
7
+ data.tar.gz: ade89e25d34a29283fafc6567d8a03d2b54bc6fcd8de7857c1e190a57c5649a6673be1ba5ce8e7906b0abf10e0e7d1056ff5b7525b8e0c649e22c4e500e3f995
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-dynamodbstreams/customizations'
42
42
  # @service
43
43
  module Aws::DynamoDBStreams
44
44
 
45
- GEM_VERSION = '1.0.0.rc6'
45
+ GEM_VERSION = '1.0.0.rc7'
46
46
 
47
47
  end
@@ -186,6 +186,69 @@ module Aws::DynamoDBStreams
186
186
  #
187
187
  # * {Types::DescribeStreamOutput#stream_description #stream_description} => Types::StreamDescription
188
188
  #
189
+ #
190
+ # @example Example: To describe a stream with a given stream ARN
191
+ #
192
+ # # The following example describes a stream with a given stream ARN.
193
+ #
194
+ # resp = client.describe_stream({
195
+ # stream_arn: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252",
196
+ # })
197
+ #
198
+ # resp.to_h outputs the following:
199
+ # {
200
+ # stream_description: {
201
+ # creation_request_date_time: Time.parse("Wed May 20 13:51:10 PDT 2015"),
202
+ # key_schema: [
203
+ # {
204
+ # attribute_name: "ForumName",
205
+ # key_type: "HASH",
206
+ # },
207
+ # {
208
+ # attribute_name: "Subject",
209
+ # key_type: "RANGE",
210
+ # },
211
+ # ],
212
+ # shards: [
213
+ # {
214
+ # sequence_number_range: {
215
+ # ending_sequence_number: "20500000000000000910398",
216
+ # starting_sequence_number: "20500000000000000910398",
217
+ # },
218
+ # shard_id: "shardId-00000001414562045508-2bac9cd2",
219
+ # },
220
+ # {
221
+ # parent_shard_id: "shardId-00000001414562045508-2bac9cd2",
222
+ # sequence_number_range: {
223
+ # ending_sequence_number: "820400000000000001192334",
224
+ # starting_sequence_number: "820400000000000001192334",
225
+ # },
226
+ # shard_id: "shardId-00000001414576573621-f55eea83",
227
+ # },
228
+ # {
229
+ # parent_shard_id: "shardId-00000001414576573621-f55eea83",
230
+ # sequence_number_range: {
231
+ # ending_sequence_number: "1683700000000000001135967",
232
+ # starting_sequence_number: "1683700000000000001135967",
233
+ # },
234
+ # shard_id: "shardId-00000001414592258131-674fd923",
235
+ # },
236
+ # {
237
+ # parent_shard_id: "shardId-00000001414592258131-674fd923",
238
+ # sequence_number_range: {
239
+ # starting_sequence_number: "2574600000000000000935255",
240
+ # },
241
+ # shard_id: "shardId-00000001414608446368-3a1afbaf",
242
+ # },
243
+ # ],
244
+ # stream_arn: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252",
245
+ # stream_label: "2015-05-20T20:51:10.252",
246
+ # stream_status: "ENABLED",
247
+ # stream_view_type: "NEW_AND_OLD_IMAGES",
248
+ # table_name: "Forum",
249
+ # },
250
+ # }
251
+ #
189
252
  # @example Request syntax with placeholder values
190
253
  #
191
254
  # resp = client.describe_stream({
@@ -250,6 +313,85 @@ module Aws::DynamoDBStreams
250
313
  # * {Types::GetRecordsOutput#records #records} => Array<Types::Record>
251
314
  # * {Types::GetRecordsOutput#next_shard_iterator #next_shard_iterator} => String
252
315
  #
316
+ #
317
+ # @example Example: To retrieve all the stream records from a shard
318
+ #
319
+ # # The following example retrieves all the stream records from a shard.
320
+ #
321
+ # resp = client.get_records({
322
+ # shard_iterator: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAEvJp6D+zaQ... <remaining characters omitted> ...",
323
+ # })
324
+ #
325
+ # resp.to_h outputs the following:
326
+ # {
327
+ # next_shard_iterator: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAGQBYshYDEe ... <remaining characters omitted> ...",
328
+ # records: [
329
+ # {
330
+ # aws_region: "us-west-2",
331
+ # dynamodb: {
332
+ # approximate_creation_date_time: Time.parse("1.46480646E9"),
333
+ # keys: {
334
+ # "ForumName" => {
335
+ # s: "DynamoDB",
336
+ # },
337
+ # "Subject" => {
338
+ # s: "DynamoDB Thread 3",
339
+ # },
340
+ # },
341
+ # sequence_number: "300000000000000499659",
342
+ # size_bytes: 41,
343
+ # stream_view_type: "KEYS_ONLY",
344
+ # },
345
+ # event_id: "e2fd9c34eff2d779b297b26f5fef4206",
346
+ # event_name: "INSERT",
347
+ # event_source: "aws:dynamodb",
348
+ # event_version: "1.0",
349
+ # },
350
+ # {
351
+ # aws_region: "us-west-2",
352
+ # dynamodb: {
353
+ # approximate_creation_date_time: Time.parse("1.46480527E9"),
354
+ # keys: {
355
+ # "ForumName" => {
356
+ # s: "DynamoDB",
357
+ # },
358
+ # "Subject" => {
359
+ # s: "DynamoDB Thread 1",
360
+ # },
361
+ # },
362
+ # sequence_number: "400000000000000499660",
363
+ # size_bytes: 41,
364
+ # stream_view_type: "KEYS_ONLY",
365
+ # },
366
+ # event_id: "4b25bd0da9a181a155114127e4837252",
367
+ # event_name: "MODIFY",
368
+ # event_source: "aws:dynamodb",
369
+ # event_version: "1.0",
370
+ # },
371
+ # {
372
+ # aws_region: "us-west-2",
373
+ # dynamodb: {
374
+ # approximate_creation_date_time: Time.parse("1.46480646E9"),
375
+ # keys: {
376
+ # "ForumName" => {
377
+ # s: "DynamoDB",
378
+ # },
379
+ # "Subject" => {
380
+ # s: "DynamoDB Thread 2",
381
+ # },
382
+ # },
383
+ # sequence_number: "500000000000000499661",
384
+ # size_bytes: 41,
385
+ # stream_view_type: "KEYS_ONLY",
386
+ # },
387
+ # event_id: "740280c73a3df7842edab3548a1b08ad",
388
+ # event_name: "REMOVE",
389
+ # event_source: "aws:dynamodb",
390
+ # event_version: "1.0",
391
+ # },
392
+ # ],
393
+ # }
394
+ #
253
395
  # @example Request syntax with placeholder values
254
396
  #
255
397
  # resp = client.get_records({
@@ -333,6 +475,22 @@ module Aws::DynamoDBStreams
333
475
  #
334
476
  # * {Types::GetShardIteratorOutput#shard_iterator #shard_iterator} => String
335
477
  #
478
+ #
479
+ # @example Example: To obtain a shard iterator for the provided stream ARN and shard ID
480
+ #
481
+ # # The following example returns a shard iterator for the provided stream ARN and shard ID.
482
+ #
483
+ # resp = client.get_shard_iterator({
484
+ # shard_id: "00000001414576573621-f55eea83",
485
+ # shard_iterator_type: "TRIM_HORIZON",
486
+ # stream_arn: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252",
487
+ # })
488
+ #
489
+ # resp.to_h outputs the following:
490
+ # {
491
+ # shard_iterator: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252|1|AAAAAAAAAAEvJp6D+zaQ... <remaining characters omitted> ...",
492
+ # }
493
+ #
336
494
  # @example Request syntax with placeholder values
337
495
  #
338
496
  # resp = client.get_shard_iterator({
@@ -380,6 +538,35 @@ module Aws::DynamoDBStreams
380
538
  # * {Types::ListStreamsOutput#streams #streams} => Array&lt;Types::Stream&gt;
381
539
  # * {Types::ListStreamsOutput#last_evaluated_stream_arn #last_evaluated_stream_arn} => String
382
540
  #
541
+ #
542
+ # @example Example: To list all of the stream ARNs
543
+ #
544
+ # # The following example lists all of the stream ARNs.
545
+ #
546
+ # resp = client.list_streams({
547
+ # })
548
+ #
549
+ # resp.to_h outputs the following:
550
+ # {
551
+ # streams: [
552
+ # {
553
+ # stream_arn: "arn:aws:dynamodb:us-wesst-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252",
554
+ # stream_label: "2015-05-20T20:51:10.252",
555
+ # table_name: "Forum",
556
+ # },
557
+ # {
558
+ # stream_arn: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:50:02.714",
559
+ # stream_label: "2015-05-20T20:50:02.714",
560
+ # table_name: "Forum",
561
+ # },
562
+ # {
563
+ # stream_arn: "arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-19T23:03:50.641",
564
+ # stream_label: "2015-05-19T23:03:50.641",
565
+ # table_name: "Forum",
566
+ # },
567
+ # ],
568
+ # }
569
+ #
383
570
  # @example Request syntax with placeholder values
384
571
  #
385
572
  # resp = client.list_streams({
@@ -418,7 +605,7 @@ module Aws::DynamoDBStreams
418
605
  params: params,
419
606
  config: config)
420
607
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
421
- context[:gem_version] = '1.0.0.rc6'
608
+ context[:gem_version] = '1.0.0.rc7'
422
609
  Seahorse::Client::Request.new(handlers, context)
423
610
  end
424
611
 
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.0.0.rc6
4
+ version: 1.0.0.rc7
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: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc12
19
+ version: 3.0.0.rc14
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc12
26
+ version: 3.0.0.rc14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement