aws-sdk-kinesis 1.75.0 → 1.77.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +215 -190
- data/lib/aws-sdk-kinesis/client.rb +136 -8
- data/lib/aws-sdk-kinesis/client_api.rb +62 -0
- data/lib/aws-sdk-kinesis/endpoints.rb +36 -0
- data/lib/aws-sdk-kinesis/types.rb +82 -4
- data/lib/aws-sdk-kinesis.rb +1 -1
- data/sig/async_client.rbs +87 -0
- data/sig/client.rbs +25 -16
- data/sig/types.rbs +23 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9427731d6ae0df67fa7c2ce73768d99d6e9037e4b72c8c84f3b09439eb6e9632
|
4
|
+
data.tar.gz: 7a9d8c2311d8e4ff0f8eb984cc151a57011f26912a1bae2aa9d266674f7c0044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dbb1028fe7685d869a57bc7d3cbde05e49bbd4297ee228e33e1cb093f981c2f6b25fa63b9add52048411d087d14a85c2724b83a0f3012e3ce8234b007783fe5
|
7
|
+
data.tar.gz: a5aab670ee92cd61e808799d0abcd6d4154b8e370c647bfb2ebbcb368143be43aa2db87424227f56da564563a345d951eb1e67d4f553557bb5041b6ae3ce01a3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2025-04-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon KDS now supports tagging and attribute-based access control (ABAC) for enhanced fan-out consumers.
|
8
|
+
|
9
|
+
1.76.0 (2025-04-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.75.0 (2025-03-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -10,32 +10,44 @@
|
|
10
10
|
begin
|
11
11
|
require 'http/2'
|
12
12
|
rescue LoadError; end
|
13
|
-
require 'aws-sdk-core/plugins/credentials_configuration
|
14
|
-
require 'aws-sdk-core/plugins/logging
|
15
|
-
require 'aws-sdk-core/plugins/param_converter
|
16
|
-
require 'aws-sdk-core/plugins/param_validator
|
17
|
-
require 'aws-sdk-core/plugins/user_agent
|
18
|
-
require 'aws-sdk-core/plugins/helpful_socket_errors
|
19
|
-
require 'aws-sdk-core/plugins/retry_errors
|
20
|
-
require 'aws-sdk-core/plugins/global_configuration
|
21
|
-
require 'aws-sdk-core/plugins/regional_endpoint
|
22
|
-
require 'aws-sdk-core/plugins/stub_responses
|
23
|
-
require 'aws-sdk-core/plugins/idempotency_token
|
24
|
-
require 'aws-sdk-core/plugins/invocation_id
|
25
|
-
require 'aws-sdk-core/plugins/jsonvalue_converter
|
26
|
-
require 'aws-sdk-core/plugins/http_checksum
|
27
|
-
require 'aws-sdk-core/plugins/checksum_algorithm
|
28
|
-
require 'aws-sdk-core/plugins/request_compression
|
29
|
-
require 'aws-sdk-core/plugins/defaults_mode
|
30
|
-
require 'aws-sdk-core/plugins/recursion_detection
|
31
|
-
require 'aws-sdk-core/plugins/telemetry
|
32
|
-
require 'aws-sdk-core/plugins/sign
|
33
|
-
require 'aws-sdk-core/plugins/protocols/json_rpc
|
34
|
-
require 'aws-sdk-core/plugins/event_stream_configuration
|
13
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
14
|
+
require 'aws-sdk-core/plugins/logging'
|
15
|
+
require 'aws-sdk-core/plugins/param_converter'
|
16
|
+
require 'aws-sdk-core/plugins/param_validator'
|
17
|
+
require 'aws-sdk-core/plugins/user_agent'
|
18
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
19
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
20
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
21
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
22
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
23
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
24
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
25
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
26
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
27
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
28
|
+
require 'aws-sdk-core/plugins/request_compression'
|
29
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
30
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
31
|
+
require 'aws-sdk-core/plugins/telemetry'
|
32
|
+
require 'aws-sdk-core/plugins/sign'
|
33
|
+
require 'aws-sdk-core/plugins/protocols/json_rpc'
|
34
|
+
require 'aws-sdk-core/plugins/event_stream_configuration'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:kinesis)
|
37
37
|
|
38
38
|
module Aws::Kinesis
|
39
|
+
# An API async client for Kinesis. To construct an async client, you need to configure a `:region` and `:credentials`.
|
40
|
+
#
|
41
|
+
# async_client = Aws::Kinesis::AsyncClient.new(
|
42
|
+
# region: region_name,
|
43
|
+
# credentials: credentials,
|
44
|
+
# # ...
|
45
|
+
# )
|
46
|
+
#
|
47
|
+
# For details on configuring region and credentials see
|
48
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
49
|
+
#
|
50
|
+
# See {#initialize} for a full list of supported configuration options.
|
39
51
|
class AsyncClient < Seahorse::Client::AsyncBase
|
40
52
|
|
41
53
|
include Aws::AsyncClientStubs
|
@@ -68,6 +80,13 @@ module Aws::Kinesis
|
|
68
80
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
69
81
|
add_plugin(Aws::Kinesis::Plugins::Endpoints)
|
70
82
|
|
83
|
+
# @overload initialize(options)
|
84
|
+
# @param [Hash] options
|
85
|
+
#
|
86
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
87
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
88
|
+
# class name or an instance of a plugin class.
|
89
|
+
#
|
71
90
|
# @option options [required, Aws::CredentialProvider] :credentials
|
72
91
|
# Your AWS credentials. This can be an instance of any one of the
|
73
92
|
# following classes:
|
@@ -445,167 +464,173 @@ module Aws::Kinesis
|
|
445
464
|
#
|
446
465
|
# @example EventStream Operation Example
|
447
466
|
#
|
448
|
-
# You can process the event once it arrives immediately, or wait until the
|
449
|
-
# full response is complete and iterate through the eventstream enumerator.
|
450
|
-
#
|
451
|
-
# To interact with event immediately, you need to register
|
452
|
-
# with callbacks. Callbacks can be registered for specific events or for all
|
453
|
-
# events, including error events.
|
454
|
-
#
|
455
|
-
# Callbacks can be passed into the `:event_stream_handler` option or within a
|
456
|
-
# block statement attached to the #subscribe_to_shard call directly. Hybrid
|
457
|
-
# pattern of both is also supported.
|
458
|
-
#
|
459
|
-
# `:event_stream_handler` option takes in either a Proc object or
|
460
|
-
# Aws::Kinesis::EventStreams::SubscribeToShardEventStream object.
|
461
|
-
#
|
462
|
-
# Usage pattern a): Callbacks with a block attached to #subscribe_to_shard
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
# stream.on_event do |event|
|
476
|
-
# # process all events arrive
|
477
|
-
# puts event.event_type
|
478
|
-
# ...
|
479
|
-
# end
|
480
|
-
#
|
467
|
+
# # You can process the event once it arrives immediately, or wait until the
|
468
|
+
# # full response is complete and iterate through the eventstream enumerator.
|
469
|
+
#
|
470
|
+
# # To interact with event immediately, you need to register subscribe_to_shard
|
471
|
+
# # with callbacks. Callbacks can be registered for specific events or for all
|
472
|
+
# # events, including error events.
|
473
|
+
#
|
474
|
+
# # Callbacks can be passed into the `:event_stream_handler` option or within a
|
475
|
+
# # block statement attached to the #subscribe_to_shard call directly. Hybrid
|
476
|
+
# # pattern of both is also supported.
|
477
|
+
#
|
478
|
+
# # `:event_stream_handler` option takes in either a Proc object or
|
479
|
+
# # Aws::Kinesis::EventStreams::SubscribeToShardEventStream object.
|
480
|
+
#
|
481
|
+
# # Usage pattern a): Callbacks with a block attached to #subscribe_to_shard
|
482
|
+
# # Example for registering callbacks for all event types and an error event
|
483
|
+
# client.subscribe_to_shard(
|
484
|
+
# # params input
|
485
|
+
# ) do |stream|
|
486
|
+
# stream.on_error_event do |event|
|
487
|
+
# # catch unmodeled error event in the stream
|
488
|
+
# raise event
|
489
|
+
# # => Aws::Errors::EventError
|
490
|
+
# # event.event_type => :error
|
491
|
+
# # event.error_code => String
|
492
|
+
# # event.error_message => String
|
481
493
|
# end
|
482
494
|
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
# handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
|
489
|
-
# handler.on_subscribe_to_shard_event_event do |event|
|
490
|
-
# event # => Aws::Kinesis::Types::SubscribeToShardEvent
|
491
|
-
# end
|
492
|
-
# handler.on_resource_not_found_exception_event do |event|
|
493
|
-
# event # => Aws::Kinesis::Types::ResourceNotFoundException
|
494
|
-
# end
|
495
|
-
# handler.on_resource_in_use_exception_event do |event|
|
496
|
-
# event # => Aws::Kinesis::Types::ResourceInUseException
|
497
|
-
# end
|
498
|
-
# handler.on_kms_disabled_exception_event do |event|
|
499
|
-
# event # => Aws::Kinesis::Types::KMSDisabledException
|
500
|
-
# end
|
501
|
-
# handler.on_kms_invalid_state_exception_event do |event|
|
502
|
-
# event # => Aws::Kinesis::Types::KMSInvalidStateException
|
503
|
-
# end
|
504
|
-
# handler.on_kms_access_denied_exception_event do |event|
|
505
|
-
# event # => Aws::Kinesis::Types::KMSAccessDeniedException
|
506
|
-
# end
|
507
|
-
# handler.on_kms_not_found_exception_event do |event|
|
508
|
-
# event # => Aws::Kinesis::Types::KMSNotFoundException
|
509
|
-
# end
|
510
|
-
# handler.on_kms_opt_in_required_event do |event|
|
511
|
-
# event # => Aws::Kinesis::Types::KMSOptInRequired
|
512
|
-
# end
|
513
|
-
# handler.on_kms_throttling_exception_event do |event|
|
514
|
-
# event # => Aws::Kinesis::Types::KMSThrottlingException
|
515
|
-
# end
|
516
|
-
# handler.on_internal_failure_exception_event do |event|
|
517
|
-
# event # => Aws::Kinesis::Types::InternalFailureException
|
518
|
-
# end
|
519
|
-
#
|
520
|
-
# client.subscribe_to_shard( # params input #, event_stream_handler: handler)
|
521
|
-
#
|
522
|
-
# 2) Use a Ruby Proc object
|
523
|
-
# Example for registering callbacks with specific events
|
524
|
-
#
|
525
|
-
# handler = Proc.new do |stream|
|
526
|
-
# stream.on_subscribe_to_shard_event_event do |event|
|
527
|
-
# event # => Aws::Kinesis::Types::SubscribeToShardEvent
|
528
|
-
# end
|
529
|
-
# stream.on_resource_not_found_exception_event do |event|
|
530
|
-
# event # => Aws::Kinesis::Types::ResourceNotFoundException
|
531
|
-
# end
|
532
|
-
# stream.on_resource_in_use_exception_event do |event|
|
533
|
-
# event # => Aws::Kinesis::Types::ResourceInUseException
|
534
|
-
# end
|
535
|
-
# stream.on_kms_disabled_exception_event do |event|
|
536
|
-
# event # => Aws::Kinesis::Types::KMSDisabledException
|
537
|
-
# end
|
538
|
-
# stream.on_kms_invalid_state_exception_event do |event|
|
539
|
-
# event # => Aws::Kinesis::Types::KMSInvalidStateException
|
540
|
-
# end
|
541
|
-
# stream.on_kms_access_denied_exception_event do |event|
|
542
|
-
# event # => Aws::Kinesis::Types::KMSAccessDeniedException
|
543
|
-
# end
|
544
|
-
# stream.on_kms_not_found_exception_event do |event|
|
545
|
-
# event # => Aws::Kinesis::Types::KMSNotFoundException
|
546
|
-
# end
|
547
|
-
# stream.on_kms_opt_in_required_event do |event|
|
548
|
-
# event # => Aws::Kinesis::Types::KMSOptInRequired
|
549
|
-
# end
|
550
|
-
# stream.on_kms_throttling_exception_event do |event|
|
551
|
-
# event # => Aws::Kinesis::Types::KMSThrottlingException
|
552
|
-
# end
|
553
|
-
# stream.on_internal_failure_exception_event do |event|
|
554
|
-
# event # => Aws::Kinesis::Types::InternalFailureException
|
555
|
-
# end
|
495
|
+
# stream.on_event do |event|
|
496
|
+
# # process all events arrive
|
497
|
+
# puts event.event_type
|
498
|
+
# # ...
|
556
499
|
# end
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
581
|
-
#
|
582
|
-
#
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
500
|
+
# end
|
501
|
+
#
|
502
|
+
# # Usage pattern b): Pass in `:event_stream_handler` for #subscribe_to_shard
|
503
|
+
# # 1) Create a Aws::Kinesis::EventStreams::SubscribeToShardEventStream object
|
504
|
+
# # Example for registering callbacks with specific events
|
505
|
+
#
|
506
|
+
# handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
|
507
|
+
# handler.on_subscribe_to_shard_event_event do |event|
|
508
|
+
# event # => Aws::Kinesis::Types::SubscribeToShardEvent
|
509
|
+
# end
|
510
|
+
# handler.on_resource_not_found_exception_event do |event|
|
511
|
+
# event # => Aws::Kinesis::Types::ResourceNotFoundException
|
512
|
+
# end
|
513
|
+
# handler.on_resource_in_use_exception_event do |event|
|
514
|
+
# event # => Aws::Kinesis::Types::ResourceInUseException
|
515
|
+
# end
|
516
|
+
# handler.on_kms_disabled_exception_event do |event|
|
517
|
+
# event # => Aws::Kinesis::Types::KMSDisabledException
|
518
|
+
# end
|
519
|
+
# handler.on_kms_invalid_state_exception_event do |event|
|
520
|
+
# event # => Aws::Kinesis::Types::KMSInvalidStateException
|
521
|
+
# end
|
522
|
+
# handler.on_kms_access_denied_exception_event do |event|
|
523
|
+
# event # => Aws::Kinesis::Types::KMSAccessDeniedException
|
524
|
+
# end
|
525
|
+
# handler.on_kms_not_found_exception_event do |event|
|
526
|
+
# event # => Aws::Kinesis::Types::KMSNotFoundException
|
527
|
+
# end
|
528
|
+
# handler.on_kms_opt_in_required_event do |event|
|
529
|
+
# event # => Aws::Kinesis::Types::KMSOptInRequired
|
530
|
+
# end
|
531
|
+
# handler.on_kms_throttling_exception_event do |event|
|
532
|
+
# event # => Aws::Kinesis::Types::KMSThrottlingException
|
533
|
+
# end
|
534
|
+
# handler.on_internal_failure_exception_event do |event|
|
535
|
+
# event # => Aws::Kinesis::Types::InternalFailureException
|
536
|
+
# end
|
537
|
+
#
|
538
|
+
# client.subscribe_to_shard(
|
539
|
+
# # params inputs
|
540
|
+
# event_stream_handler: handler
|
541
|
+
# )
|
542
|
+
#
|
543
|
+
# # 2) Use a Ruby Proc object
|
544
|
+
# # Example for registering callbacks with specific events
|
545
|
+
# handler = Proc.new do |stream|
|
546
|
+
# stream.on_subscribe_to_shard_event_event do |event|
|
547
|
+
# event # => Aws::Kinesis::Types::SubscribeToShardEvent
|
603
548
|
# end
|
549
|
+
# stream.on_resource_not_found_exception_event do |event|
|
550
|
+
# event # => Aws::Kinesis::Types::ResourceNotFoundException
|
551
|
+
# end
|
552
|
+
# stream.on_resource_in_use_exception_event do |event|
|
553
|
+
# event # => Aws::Kinesis::Types::ResourceInUseException
|
554
|
+
# end
|
555
|
+
# stream.on_kms_disabled_exception_event do |event|
|
556
|
+
# event # => Aws::Kinesis::Types::KMSDisabledException
|
557
|
+
# end
|
558
|
+
# stream.on_kms_invalid_state_exception_event do |event|
|
559
|
+
# event # => Aws::Kinesis::Types::KMSInvalidStateException
|
560
|
+
# end
|
561
|
+
# stream.on_kms_access_denied_exception_event do |event|
|
562
|
+
# event # => Aws::Kinesis::Types::KMSAccessDeniedException
|
563
|
+
# end
|
564
|
+
# stream.on_kms_not_found_exception_event do |event|
|
565
|
+
# event # => Aws::Kinesis::Types::KMSNotFoundException
|
566
|
+
# end
|
567
|
+
# stream.on_kms_opt_in_required_event do |event|
|
568
|
+
# event # => Aws::Kinesis::Types::KMSOptInRequired
|
569
|
+
# end
|
570
|
+
# stream.on_kms_throttling_exception_event do |event|
|
571
|
+
# event # => Aws::Kinesis::Types::KMSThrottlingException
|
572
|
+
# end
|
573
|
+
# stream.on_internal_failure_exception_event do |event|
|
574
|
+
# event # => Aws::Kinesis::Types::InternalFailureException
|
575
|
+
# end
|
576
|
+
# end
|
577
|
+
#
|
578
|
+
# client.subscribe_to_shard(
|
579
|
+
# # params inputs
|
580
|
+
# event_stream_handler: handler
|
581
|
+
# )
|
582
|
+
#
|
583
|
+
# # Usage pattern c): Hybrid pattern of a) and b)
|
584
|
+
# handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
|
585
|
+
# handler.on_subscribe_to_shard_event_event do |event|
|
586
|
+
# event # => Aws::Kinesis::Types::SubscribeToShardEvent
|
587
|
+
# end
|
588
|
+
# handler.on_resource_not_found_exception_event do |event|
|
589
|
+
# event # => Aws::Kinesis::Types::ResourceNotFoundException
|
590
|
+
# end
|
591
|
+
# handler.on_resource_in_use_exception_event do |event|
|
592
|
+
# event # => Aws::Kinesis::Types::ResourceInUseException
|
593
|
+
# end
|
594
|
+
# handler.on_kms_disabled_exception_event do |event|
|
595
|
+
# event # => Aws::Kinesis::Types::KMSDisabledException
|
596
|
+
# end
|
597
|
+
# handler.on_kms_invalid_state_exception_event do |event|
|
598
|
+
# event # => Aws::Kinesis::Types::KMSInvalidStateException
|
599
|
+
# end
|
600
|
+
# handler.on_kms_access_denied_exception_event do |event|
|
601
|
+
# event # => Aws::Kinesis::Types::KMSAccessDeniedException
|
602
|
+
# end
|
603
|
+
# handler.on_kms_not_found_exception_event do |event|
|
604
|
+
# event # => Aws::Kinesis::Types::KMSNotFoundException
|
605
|
+
# end
|
606
|
+
# handler.on_kms_opt_in_required_event do |event|
|
607
|
+
# event # => Aws::Kinesis::Types::KMSOptInRequired
|
608
|
+
# end
|
609
|
+
# handler.on_kms_throttling_exception_event do |event|
|
610
|
+
# event # => Aws::Kinesis::Types::KMSThrottlingException
|
611
|
+
# end
|
612
|
+
# handler.on_internal_failure_exception_event do |event|
|
613
|
+
# event # => Aws::Kinesis::Types::InternalFailureException
|
614
|
+
# end
|
615
|
+
#
|
616
|
+
# client.subscribe_to_shard(
|
617
|
+
# # params input
|
618
|
+
# event_stream_handler: handler
|
619
|
+
# ) do |stream|
|
620
|
+
# stream.on_error_event do |event|
|
621
|
+
# # catch unmodeled error event in the stream
|
622
|
+
# raise event
|
623
|
+
# # => Aws::Errors::EventError
|
624
|
+
# # event.event_type => :error
|
625
|
+
# # event.error_code => String
|
626
|
+
# # event.error_message => String
|
627
|
+
# end
|
628
|
+
# end
|
604
629
|
#
|
605
|
-
# You can also iterate through events after the response complete.
|
606
|
-
#
|
607
|
-
#
|
608
|
-
# For parameter input example, please refer to following request syntax
|
630
|
+
# # You can also iterate through events after the response complete.
|
631
|
+
# # Events are available at
|
632
|
+
# resp.event_stream # => Enumerator
|
633
|
+
# # For parameter input example, please refer to following request syntax.
|
609
634
|
#
|
610
635
|
# @example Request syntax with placeholder values
|
611
636
|
#
|
@@ -625,11 +650,11 @@ module Aws::Kinesis
|
|
625
650
|
#
|
626
651
|
# @example Response structure
|
627
652
|
#
|
628
|
-
# All events are available at resp.event_stream:
|
653
|
+
# # All events are available at resp.event_stream:
|
629
654
|
# resp.event_stream #=> Enumerator
|
630
655
|
# resp.event_stream.event_types #=> [:subscribe_to_shard_event, :resource_not_found_exception, :resource_in_use_exception, :kms_disabled_exception, :kms_invalid_state_exception, :kms_access_denied_exception, :kms_not_found_exception, :kms_opt_in_required, :kms_throttling_exception, :internal_failure_exception]
|
631
656
|
#
|
632
|
-
# For :subscribe_to_shard_event event available at #on_subscribe_to_shard_event_event callback and response eventstream enumerator:
|
657
|
+
# # For :subscribe_to_shard_event event available at #on_subscribe_to_shard_event_event callback and response eventstream enumerator:
|
633
658
|
# event.records #=> Array
|
634
659
|
# event.records[0].sequence_number #=> String
|
635
660
|
# event.records[0].approximate_arrival_timestamp #=> Time
|
@@ -645,31 +670,31 @@ module Aws::Kinesis
|
|
645
670
|
# event.child_shards[0].hash_key_range.starting_hash_key #=> String
|
646
671
|
# event.child_shards[0].hash_key_range.ending_hash_key #=> String
|
647
672
|
#
|
648
|
-
# For :resource_not_found_exception event available at #on_resource_not_found_exception_event callback and response eventstream enumerator:
|
673
|
+
# # For :resource_not_found_exception event available at #on_resource_not_found_exception_event callback and response eventstream enumerator:
|
649
674
|
# event.message #=> String
|
650
675
|
#
|
651
|
-
# For :resource_in_use_exception event available at #on_resource_in_use_exception_event callback and response eventstream enumerator:
|
676
|
+
# # For :resource_in_use_exception event available at #on_resource_in_use_exception_event callback and response eventstream enumerator:
|
652
677
|
# event.message #=> String
|
653
678
|
#
|
654
|
-
# For :kms_disabled_exception event available at #on_kms_disabled_exception_event callback and response eventstream enumerator:
|
679
|
+
# # For :kms_disabled_exception event available at #on_kms_disabled_exception_event callback and response eventstream enumerator:
|
655
680
|
# event.message #=> String
|
656
681
|
#
|
657
|
-
# For :kms_invalid_state_exception event available at #on_kms_invalid_state_exception_event callback and response eventstream enumerator:
|
682
|
+
# # For :kms_invalid_state_exception event available at #on_kms_invalid_state_exception_event callback and response eventstream enumerator:
|
658
683
|
# event.message #=> String
|
659
684
|
#
|
660
|
-
# For :kms_access_denied_exception event available at #on_kms_access_denied_exception_event callback and response eventstream enumerator:
|
685
|
+
# # For :kms_access_denied_exception event available at #on_kms_access_denied_exception_event callback and response eventstream enumerator:
|
661
686
|
# event.message #=> String
|
662
687
|
#
|
663
|
-
# For :kms_not_found_exception event available at #on_kms_not_found_exception_event callback and response eventstream enumerator:
|
688
|
+
# # For :kms_not_found_exception event available at #on_kms_not_found_exception_event callback and response eventstream enumerator:
|
664
689
|
# event.message #=> String
|
665
690
|
#
|
666
|
-
# For :kms_opt_in_required event available at #on_kms_opt_in_required_event callback and response eventstream enumerator:
|
691
|
+
# # For :kms_opt_in_required event available at #on_kms_opt_in_required_event callback and response eventstream enumerator:
|
667
692
|
# event.message #=> String
|
668
693
|
#
|
669
|
-
# For :kms_throttling_exception event available at #on_kms_throttling_exception_event callback and response eventstream enumerator:
|
694
|
+
# # For :kms_throttling_exception event available at #on_kms_throttling_exception_event callback and response eventstream enumerator:
|
670
695
|
# event.message #=> String
|
671
696
|
#
|
672
|
-
# For :internal_failure_exception event available at #on_internal_failure_exception_event callback and response eventstream enumerator:
|
697
|
+
# # For :internal_failure_exception event available at #on_internal_failure_exception_event callback and response eventstream enumerator:
|
673
698
|
# event.message #=> String
|
674
699
|
#
|
675
700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SubscribeToShard AWS API Documentation
|
@@ -713,7 +738,7 @@ module Aws::Kinesis
|
|
713
738
|
tracer: tracer
|
714
739
|
)
|
715
740
|
context[:gem_name] = 'aws-sdk-kinesis'
|
716
|
-
context[:gem_version] = '1.
|
741
|
+
context[:gem_version] = '1.77.0'
|
717
742
|
Seahorse::Client::Request.new(handlers, context)
|
718
743
|
end
|
719
744
|
|
@@ -508,7 +508,9 @@ module Aws::Kinesis
|
|
508
508
|
# The name of the stream.
|
509
509
|
#
|
510
510
|
# @option params [required, Hash<String,String>] :tags
|
511
|
-
# A set of up to
|
511
|
+
# A set of up to 50 key-value pairs to use to create the tags. A tag
|
512
|
+
# consists of a required key and an optional value. You can add up to 50
|
513
|
+
# tags per resource.
|
512
514
|
#
|
513
515
|
# @option params [String] :stream_arn
|
514
516
|
# The ARN of the stream.
|
@@ -584,11 +586,13 @@ module Aws::Kinesis
|
|
584
586
|
# CreateStream has a limit of five transactions per second per account.
|
585
587
|
#
|
586
588
|
# You can add tags to the stream when making a `CreateStream` request by
|
587
|
-
# setting the `Tags` parameter. If you pass `Tags` parameter, in
|
588
|
-
# addition to having `kinesis:
|
589
|
-
# have `kinesis:
|
590
|
-
#
|
591
|
-
#
|
589
|
+
# setting the `Tags` parameter. If you pass the `Tags` parameter, in
|
590
|
+
# addition to having the `kinesis:CreateStream` permission, you must
|
591
|
+
# also have the `kinesis:AddTagsToStream` permission for the stream that
|
592
|
+
# will be created. The `kinesis:TagResource` permission won’t work to
|
593
|
+
# tag streams on creation. Tags will take effect from the `CREATING`
|
594
|
+
# status of the stream, but you can't make any updates to the tags
|
595
|
+
# until the stream is in `ACTIVE` state.
|
592
596
|
#
|
593
597
|
#
|
594
598
|
#
|
@@ -614,7 +618,8 @@ module Aws::Kinesis
|
|
614
618
|
# and a **provisioned** capacity mode for your data streams.
|
615
619
|
#
|
616
620
|
# @option params [Hash<String,String>] :tags
|
617
|
-
# A set of up to
|
621
|
+
# A set of up to 50 key-value pairs to use to create the tags. A tag
|
622
|
+
# consists of a required key and an optional value.
|
618
623
|
#
|
619
624
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
620
625
|
#
|
@@ -1891,6 +1896,46 @@ module Aws::Kinesis
|
|
1891
1896
|
req.send_request(options)
|
1892
1897
|
end
|
1893
1898
|
|
1899
|
+
# List all tags added to the specified Kinesis resource. Each tag is a
|
1900
|
+
# label consisting of a user-defined key and value. Tags can help you
|
1901
|
+
# manage, identify, organize, search for, and filter resources.
|
1902
|
+
#
|
1903
|
+
# For more information about tagging Kinesis resources, see [Tag your
|
1904
|
+
# Amazon Kinesis Data Streams resources][1].
|
1905
|
+
#
|
1906
|
+
#
|
1907
|
+
#
|
1908
|
+
# [1]: https://docs.aws.amazon.com/streams/latest/dev/tagging.html
|
1909
|
+
#
|
1910
|
+
# @option params [String] :resource_arn
|
1911
|
+
# The Amazon Resource Name (ARN) of the Kinesis resource for which to
|
1912
|
+
# list tags.
|
1913
|
+
#
|
1914
|
+
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1915
|
+
#
|
1916
|
+
# * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::Tag>
|
1917
|
+
#
|
1918
|
+
# @example Request syntax with placeholder values
|
1919
|
+
#
|
1920
|
+
# resp = client.list_tags_for_resource({
|
1921
|
+
# resource_arn: "ResourceARN",
|
1922
|
+
# })
|
1923
|
+
#
|
1924
|
+
# @example Response structure
|
1925
|
+
#
|
1926
|
+
# resp.tags #=> Array
|
1927
|
+
# resp.tags[0].key #=> String
|
1928
|
+
# resp.tags[0].value #=> String
|
1929
|
+
#
|
1930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForResource AWS API Documentation
|
1931
|
+
#
|
1932
|
+
# @overload list_tags_for_resource(params = {})
|
1933
|
+
# @param [Hash] params ({})
|
1934
|
+
def list_tags_for_resource(params = {}, options = {})
|
1935
|
+
req = build_request(:list_tags_for_resource, params)
|
1936
|
+
req.send_request(options)
|
1937
|
+
end
|
1938
|
+
|
1894
1939
|
# Lists the tags for the specified Kinesis data stream. This operation
|
1895
1940
|
# has a limit of five transactions per second per account.
|
1896
1941
|
#
|
@@ -2353,6 +2398,14 @@ module Aws::Kinesis
|
|
2353
2398
|
# unaffected by the total number of consumers that read from the same
|
2354
2399
|
# stream.
|
2355
2400
|
#
|
2401
|
+
# You can add tags to the registered consumer when making a
|
2402
|
+
# `RegisterStreamConsumer` request by setting the `Tags` parameter. If
|
2403
|
+
# you pass the `Tags` parameter, in addition to having the
|
2404
|
+
# `kinesis:RegisterStreamConsumer` permission, you must also have the
|
2405
|
+
# `kinesis:TagResource` permission for the consumer that will be
|
2406
|
+
# registered. Tags will take effect from the `CREATING` status of the
|
2407
|
+
# consumer.
|
2408
|
+
#
|
2356
2409
|
# You can register up to 20 consumers per stream. A given consumer can
|
2357
2410
|
# only be registered with one stream at a time.
|
2358
2411
|
#
|
@@ -2383,6 +2436,10 @@ module Aws::Kinesis
|
|
2383
2436
|
# name. However, consumer names don't have to be unique across data
|
2384
2437
|
# streams.
|
2385
2438
|
#
|
2439
|
+
# @option params [Hash<String,String>] :tags
|
2440
|
+
# A set of up to 50 key-value pairs. A tag consists of a required key
|
2441
|
+
# and an optional value.
|
2442
|
+
#
|
2386
2443
|
# @return [Types::RegisterStreamConsumerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2387
2444
|
#
|
2388
2445
|
# * {Types::RegisterStreamConsumerOutput#consumer #consumer} => Types::Consumer
|
@@ -2392,6 +2449,9 @@ module Aws::Kinesis
|
|
2392
2449
|
# resp = client.register_stream_consumer({
|
2393
2450
|
# stream_arn: "StreamARN", # required
|
2394
2451
|
# consumer_name: "ConsumerName", # required
|
2452
|
+
# tags: {
|
2453
|
+
# "TagKey" => "TagValue",
|
2454
|
+
# },
|
2395
2455
|
# })
|
2396
2456
|
#
|
2397
2457
|
# @example Response structure
|
@@ -2710,6 +2770,74 @@ module Aws::Kinesis
|
|
2710
2770
|
req.send_request(options)
|
2711
2771
|
end
|
2712
2772
|
|
2773
|
+
# Adds or updates tags for the specified Kinesis resource. Each tag is a
|
2774
|
+
# label consisting of a user-defined key and value. Tags can help you
|
2775
|
+
# manage, identify, organize, search for, and filter resources. You can
|
2776
|
+
# assign up to 50 tags to a Kinesis resource.
|
2777
|
+
#
|
2778
|
+
# @option params [required, Hash<String,String>] :tags
|
2779
|
+
# An array of tags to be added to the Kinesis resource. A tag consists
|
2780
|
+
# of a required key and an optional value. You can add up to 50 tags per
|
2781
|
+
# resource.
|
2782
|
+
#
|
2783
|
+
# Tags may only contain Unicode letters, digits, white space, or these
|
2784
|
+
# symbols: \_ . : / = + - @.
|
2785
|
+
#
|
2786
|
+
# @option params [String] :resource_arn
|
2787
|
+
# The Amazon Resource Name (ARN) of the Kinesis resource to which to add
|
2788
|
+
# tags.
|
2789
|
+
#
|
2790
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2791
|
+
#
|
2792
|
+
# @example Request syntax with placeholder values
|
2793
|
+
#
|
2794
|
+
# resp = client.tag_resource({
|
2795
|
+
# tags: { # required
|
2796
|
+
# "TagKey" => "TagValue",
|
2797
|
+
# },
|
2798
|
+
# resource_arn: "ResourceARN",
|
2799
|
+
# })
|
2800
|
+
#
|
2801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/TagResource AWS API Documentation
|
2802
|
+
#
|
2803
|
+
# @overload tag_resource(params = {})
|
2804
|
+
# @param [Hash] params ({})
|
2805
|
+
def tag_resource(params = {}, options = {})
|
2806
|
+
req = build_request(:tag_resource, params)
|
2807
|
+
req.send_request(options)
|
2808
|
+
end
|
2809
|
+
|
2810
|
+
# Removes tags from the specified Kinesis resource. Removed tags are
|
2811
|
+
# deleted and can't be recovered after this operation completes
|
2812
|
+
# successfully.
|
2813
|
+
#
|
2814
|
+
# @option params [required, Array<String>] :tag_keys
|
2815
|
+
# A list of tag key-value pairs. Existing tags of the resource whose
|
2816
|
+
# keys are members of this list will be removed from the Kinesis
|
2817
|
+
# resource.
|
2818
|
+
#
|
2819
|
+
# @option params [String] :resource_arn
|
2820
|
+
# The Amazon Resource Name (ARN) of the Kinesis resource from which to
|
2821
|
+
# remove tags.
|
2822
|
+
#
|
2823
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2824
|
+
#
|
2825
|
+
# @example Request syntax with placeholder values
|
2826
|
+
#
|
2827
|
+
# resp = client.untag_resource({
|
2828
|
+
# tag_keys: ["TagKey"], # required
|
2829
|
+
# resource_arn: "ResourceARN",
|
2830
|
+
# })
|
2831
|
+
#
|
2832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UntagResource AWS API Documentation
|
2833
|
+
#
|
2834
|
+
# @overload untag_resource(params = {})
|
2835
|
+
# @param [Hash] params ({})
|
2836
|
+
def untag_resource(params = {}, options = {})
|
2837
|
+
req = build_request(:untag_resource, params)
|
2838
|
+
req.send_request(options)
|
2839
|
+
end
|
2840
|
+
|
2713
2841
|
# Updates the shard count of the specified stream to the specified
|
2714
2842
|
# number of shards. This API is only supported for the data streams with
|
2715
2843
|
# the provisioned capacity mode.
|
@@ -2877,7 +3005,7 @@ module Aws::Kinesis
|
|
2877
3005
|
tracer: tracer
|
2878
3006
|
)
|
2879
3007
|
context[:gem_name] = 'aws-sdk-kinesis'
|
2880
|
-
context[:gem_version] = '1.
|
3008
|
+
context[:gem_version] = '1.77.0'
|
2881
3009
|
Seahorse::Client::Request.new(handlers, context)
|
2882
3010
|
end
|
2883
3011
|
|
@@ -80,6 +80,8 @@ module Aws::Kinesis
|
|
80
80
|
ListStreamsInput = Shapes::StructureShape.new(name: 'ListStreamsInput')
|
81
81
|
ListStreamsInputLimit = Shapes::IntegerShape.new(name: 'ListStreamsInputLimit')
|
82
82
|
ListStreamsOutput = Shapes::StructureShape.new(name: 'ListStreamsOutput')
|
83
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
84
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
83
85
|
ListTagsForStreamInput = Shapes::StructureShape.new(name: 'ListTagsForStreamInput')
|
84
86
|
ListTagsForStreamInputLimit = Shapes::IntegerShape.new(name: 'ListTagsForStreamInputLimit')
|
85
87
|
ListTagsForStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForStreamOutput')
|
@@ -147,8 +149,10 @@ module Aws::Kinesis
|
|
147
149
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
148
150
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
149
151
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
152
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
150
153
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
151
154
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
155
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
152
156
|
UpdateShardCountInput = Shapes::StructureShape.new(name: 'UpdateShardCountInput')
|
153
157
|
UpdateShardCountOutput = Shapes::StructureShape.new(name: 'UpdateShardCountOutput')
|
154
158
|
UpdateStreamModeInput = Shapes::StructureShape.new(name: 'UpdateStreamModeInput')
|
@@ -365,6 +369,12 @@ module Aws::Kinesis
|
|
365
369
|
ListStreamsOutput.add_member(:stream_summaries, Shapes::ShapeRef.new(shape: StreamSummaryList, location_name: "StreamSummaries"))
|
366
370
|
ListStreamsOutput.struct_class = Types::ListStreamsOutput
|
367
371
|
|
372
|
+
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN", metadata: {"contextParam"=>{"name"=>"ResourceARN"}}))
|
373
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
374
|
+
|
375
|
+
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
376
|
+
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
377
|
+
|
368
378
|
ListTagsForStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
369
379
|
ListTagsForStreamInput.add_member(:exclusive_start_tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "ExclusiveStartTagKey"))
|
370
380
|
ListTagsForStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTagsForStreamInputLimit, location_name: "Limit"))
|
@@ -439,6 +449,7 @@ module Aws::Kinesis
|
|
439
449
|
|
440
450
|
RegisterStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
|
441
451
|
RegisterStreamConsumerInput.add_member(:consumer_name, Shapes::ShapeRef.new(shape: ConsumerName, required: true, location_name: "ConsumerName"))
|
452
|
+
RegisterStreamConsumerInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
442
453
|
RegisterStreamConsumerInput.struct_class = Types::RegisterStreamConsumerInput
|
443
454
|
|
444
455
|
RegisterStreamConsumerOutput.add_member(:consumer, Shapes::ShapeRef.new(shape: Consumer, required: true, location_name: "Consumer"))
|
@@ -575,6 +586,14 @@ module Aws::Kinesis
|
|
575
586
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
576
587
|
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
577
588
|
|
589
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
590
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN", metadata: {"contextParam"=>{"name"=>"ResourceARN"}}))
|
591
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
592
|
+
|
593
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
594
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN", metadata: {"contextParam"=>{"name"=>"ResourceARN"}}))
|
595
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
596
|
+
|
578
597
|
UpdateShardCountInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
579
598
|
UpdateShardCountInput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "TargetShardCount"))
|
580
599
|
UpdateShardCountInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: ScalingType, required: true, location_name: "ScalingType"))
|
@@ -784,6 +803,7 @@ module Aws::Kinesis
|
|
784
803
|
o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
|
785
804
|
o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
|
786
805
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
787
807
|
end)
|
788
808
|
|
789
809
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -809,6 +829,7 @@ module Aws::Kinesis
|
|
809
829
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
810
830
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
811
831
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
812
833
|
end)
|
813
834
|
|
814
835
|
api.add_operation(:increase_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
|
@@ -875,6 +896,19 @@ module Aws::Kinesis
|
|
875
896
|
)
|
876
897
|
end)
|
877
898
|
|
899
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
900
|
+
o.name = "ListTagsForResource"
|
901
|
+
o.http_method = "POST"
|
902
|
+
o.http_request_uri = "/"
|
903
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
904
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
905
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
906
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
909
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
910
|
+
end)
|
911
|
+
|
878
912
|
api.add_operation(:list_tags_for_stream, Seahorse::Model::Operation.new.tap do |o|
|
879
913
|
o.name = "ListTagsForStream"
|
880
914
|
o.http_method = "POST"
|
@@ -917,6 +951,7 @@ module Aws::Kinesis
|
|
917
951
|
o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
|
918
952
|
o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
|
919
953
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
920
955
|
end)
|
921
956
|
|
922
957
|
api.add_operation(:put_records, Seahorse::Model::Operation.new.tap do |o|
|
@@ -935,6 +970,7 @@ module Aws::Kinesis
|
|
935
970
|
o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
|
936
971
|
o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
|
937
972
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
938
974
|
end)
|
939
975
|
|
940
976
|
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1035,6 +1071,32 @@ module Aws::Kinesis
|
|
1035
1071
|
o.async = true
|
1036
1072
|
end)
|
1037
1073
|
|
1074
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1075
|
+
o.name = "TagResource"
|
1076
|
+
o.http_method = "POST"
|
1077
|
+
o.http_request_uri = "/"
|
1078
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
1079
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1080
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1081
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1082
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1085
|
+
end)
|
1086
|
+
|
1087
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1088
|
+
o.name = "UntagResource"
|
1089
|
+
o.http_method = "POST"
|
1090
|
+
o.http_request_uri = "/"
|
1091
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
1092
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1095
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1096
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1098
|
+
end)
|
1099
|
+
|
1038
1100
|
api.add_operation(:update_shard_count, Seahorse::Model::Operation.new.tap do |o|
|
1039
1101
|
o.name = "UpdateShardCount"
|
1040
1102
|
o.http_method = "POST"
|
@@ -174,6 +174,16 @@ module Aws::Kinesis
|
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
+
class ListTagsForResource
|
178
|
+
def self.build(context)
|
179
|
+
Aws::Kinesis::EndpointParameters.create(
|
180
|
+
context.config,
|
181
|
+
operation_type: "control",
|
182
|
+
resource_arn: context.params[:resource_arn],
|
183
|
+
)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
177
187
|
class ListTagsForStream
|
178
188
|
def self.build(context)
|
179
189
|
Aws::Kinesis::EndpointParameters.create(
|
@@ -284,6 +294,26 @@ module Aws::Kinesis
|
|
284
294
|
end
|
285
295
|
end
|
286
296
|
|
297
|
+
class TagResource
|
298
|
+
def self.build(context)
|
299
|
+
Aws::Kinesis::EndpointParameters.create(
|
300
|
+
context.config,
|
301
|
+
operation_type: "control",
|
302
|
+
resource_arn: context.params[:resource_arn],
|
303
|
+
)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
class UntagResource
|
308
|
+
def self.build(context)
|
309
|
+
Aws::Kinesis::EndpointParameters.create(
|
310
|
+
context.config,
|
311
|
+
operation_type: "control",
|
312
|
+
resource_arn: context.params[:resource_arn],
|
313
|
+
)
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
287
317
|
class UpdateShardCount
|
288
318
|
def self.build(context)
|
289
319
|
Aws::Kinesis::EndpointParameters.create(
|
@@ -339,6 +369,8 @@ module Aws::Kinesis
|
|
339
369
|
ListShards.build(context)
|
340
370
|
when :list_stream_consumers
|
341
371
|
ListStreamConsumers.build(context)
|
372
|
+
when :list_tags_for_resource
|
373
|
+
ListTagsForResource.build(context)
|
342
374
|
when :list_tags_for_stream
|
343
375
|
ListTagsForStream.build(context)
|
344
376
|
when :merge_shards
|
@@ -361,6 +393,10 @@ module Aws::Kinesis
|
|
361
393
|
StopStreamEncryption.build(context)
|
362
394
|
when :subscribe_to_shard
|
363
395
|
SubscribeToShard.build(context)
|
396
|
+
when :tag_resource
|
397
|
+
TagResource.build(context)
|
398
|
+
when :untag_resource
|
399
|
+
UntagResource.build(context)
|
364
400
|
when :update_shard_count
|
365
401
|
UpdateShardCount.build(context)
|
366
402
|
when :update_stream_mode
|
@@ -31,7 +31,9 @@ module Aws::Kinesis
|
|
31
31
|
# @return [String]
|
32
32
|
#
|
33
33
|
# @!attribute [rw] tags
|
34
|
-
# A set of up to
|
34
|
+
# A set of up to 50 key-value pairs to use to create the tags. A tag
|
35
|
+
# consists of a required key and an optional value. You can add up to
|
36
|
+
# 50 tags per resource.
|
35
37
|
# @return [Hash<String,String>]
|
36
38
|
#
|
37
39
|
# @!attribute [rw] stream_arn
|
@@ -178,7 +180,8 @@ module Aws::Kinesis
|
|
178
180
|
# @return [Types::StreamModeDetails]
|
179
181
|
#
|
180
182
|
# @!attribute [rw] tags
|
181
|
-
# A set of up to
|
183
|
+
# A set of up to 50 key-value pairs to use to create the tags. A tag
|
184
|
+
# consists of a required key and an optional value.
|
182
185
|
# @return [Hash<String,String>]
|
183
186
|
#
|
184
187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput AWS API Documentation
|
@@ -1318,6 +1321,31 @@ module Aws::Kinesis
|
|
1318
1321
|
include Aws::Structure
|
1319
1322
|
end
|
1320
1323
|
|
1324
|
+
# @!attribute [rw] resource_arn
|
1325
|
+
# The Amazon Resource Name (ARN) of the Kinesis resource for which to
|
1326
|
+
# list tags.
|
1327
|
+
# @return [String]
|
1328
|
+
#
|
1329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForResourceInput AWS API Documentation
|
1330
|
+
#
|
1331
|
+
class ListTagsForResourceInput < Struct.new(
|
1332
|
+
:resource_arn)
|
1333
|
+
SENSITIVE = []
|
1334
|
+
include Aws::Structure
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
# @!attribute [rw] tags
|
1338
|
+
# An array of tags associated with the specified Kinesis resource.
|
1339
|
+
# @return [Array<Types::Tag>]
|
1340
|
+
#
|
1341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForResourceOutput AWS API Documentation
|
1342
|
+
#
|
1343
|
+
class ListTagsForResourceOutput < Struct.new(
|
1344
|
+
:tags)
|
1345
|
+
SENSITIVE = []
|
1346
|
+
include Aws::Structure
|
1347
|
+
end
|
1348
|
+
|
1321
1349
|
# Represents the input for `ListTagsForStream`.
|
1322
1350
|
#
|
1323
1351
|
# @!attribute [rw] stream_name
|
@@ -1731,11 +1759,17 @@ module Aws::Kinesis
|
|
1731
1759
|
# streams.
|
1732
1760
|
# @return [String]
|
1733
1761
|
#
|
1762
|
+
# @!attribute [rw] tags
|
1763
|
+
# A set of up to 50 key-value pairs. A tag consists of a required key
|
1764
|
+
# and an optional value.
|
1765
|
+
# @return [Hash<String,String>]
|
1766
|
+
#
|
1734
1767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RegisterStreamConsumerInput AWS API Documentation
|
1735
1768
|
#
|
1736
1769
|
class RegisterStreamConsumerInput < Struct.new(
|
1737
1770
|
:stream_arn,
|
1738
|
-
:consumer_name
|
1771
|
+
:consumer_name,
|
1772
|
+
:tags)
|
1739
1773
|
SENSITIVE = []
|
1740
1774
|
include Aws::Structure
|
1741
1775
|
end
|
@@ -2446,7 +2480,8 @@ module Aws::Kinesis
|
|
2446
2480
|
include Aws::Structure
|
2447
2481
|
end
|
2448
2482
|
|
2449
|
-
# Metadata assigned to the stream, consisting of a key-value
|
2483
|
+
# Metadata assigned to the stream or consumer, consisting of a key-value
|
2484
|
+
# pair.
|
2450
2485
|
#
|
2451
2486
|
# @!attribute [rw] key
|
2452
2487
|
# A unique identifier for the tag. Maximum length: 128 characters.
|
@@ -2469,6 +2504,49 @@ module Aws::Kinesis
|
|
2469
2504
|
include Aws::Structure
|
2470
2505
|
end
|
2471
2506
|
|
2507
|
+
# @!attribute [rw] tags
|
2508
|
+
# An array of tags to be added to the Kinesis resource. A tag consists
|
2509
|
+
# of a required key and an optional value. You can add up to 50 tags
|
2510
|
+
# per resource.
|
2511
|
+
#
|
2512
|
+
# Tags may only contain Unicode letters, digits, white space, or these
|
2513
|
+
# symbols: \_ . : / = + - @.
|
2514
|
+
# @return [Hash<String,String>]
|
2515
|
+
#
|
2516
|
+
# @!attribute [rw] resource_arn
|
2517
|
+
# The Amazon Resource Name (ARN) of the Kinesis resource to which to
|
2518
|
+
# add tags.
|
2519
|
+
# @return [String]
|
2520
|
+
#
|
2521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/TagResourceInput AWS API Documentation
|
2522
|
+
#
|
2523
|
+
class TagResourceInput < Struct.new(
|
2524
|
+
:tags,
|
2525
|
+
:resource_arn)
|
2526
|
+
SENSITIVE = []
|
2527
|
+
include Aws::Structure
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
# @!attribute [rw] tag_keys
|
2531
|
+
# A list of tag key-value pairs. Existing tags of the resource whose
|
2532
|
+
# keys are members of this list will be removed from the Kinesis
|
2533
|
+
# resource.
|
2534
|
+
# @return [Array<String>]
|
2535
|
+
#
|
2536
|
+
# @!attribute [rw] resource_arn
|
2537
|
+
# The Amazon Resource Name (ARN) of the Kinesis resource from which to
|
2538
|
+
# remove tags.
|
2539
|
+
# @return [String]
|
2540
|
+
#
|
2541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UntagResourceInput AWS API Documentation
|
2542
|
+
#
|
2543
|
+
class UntagResourceInput < Struct.new(
|
2544
|
+
:tag_keys,
|
2545
|
+
:resource_arn)
|
2546
|
+
SENSITIVE = []
|
2547
|
+
include Aws::Structure
|
2548
|
+
end
|
2549
|
+
|
2472
2550
|
# @!attribute [rw] stream_name
|
2473
2551
|
# The name of the stream.
|
2474
2552
|
# @return [String]
|
data/lib/aws-sdk-kinesis.rb
CHANGED
@@ -0,0 +1,87 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Kinesis
|
10
|
+
class AsyncClient < ::Seahorse::Client::AsyncBase
|
11
|
+
include ::Aws::AsyncClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/AsyncClient.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?convert_params: bool,
|
21
|
+
?correct_clock_skew: bool,
|
22
|
+
?defaults_mode: String,
|
23
|
+
?disable_request_compression: bool,
|
24
|
+
?endpoint: String,
|
25
|
+
?event_stream_handler: Proc,
|
26
|
+
?ignore_configured_endpoint_urls: bool,
|
27
|
+
?input_event_stream_handler: Proc,
|
28
|
+
?log_formatter: untyped,
|
29
|
+
?log_level: Symbol,
|
30
|
+
?logger: untyped,
|
31
|
+
?max_attempts: Integer,
|
32
|
+
?output_event_stream_handler: Proc,
|
33
|
+
?profile: String,
|
34
|
+
?request_checksum_calculation: String,
|
35
|
+
?request_min_compression_size_bytes: Integer,
|
36
|
+
?response_checksum_validation: String,
|
37
|
+
?retry_backoff: Proc,
|
38
|
+
?retry_base_delay: Float,
|
39
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
40
|
+
?retry_limit: Integer,
|
41
|
+
?retry_max_delay: Integer,
|
42
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
43
|
+
?sdk_ua_app_id: String,
|
44
|
+
?secret_access_key: String,
|
45
|
+
?session_token: String,
|
46
|
+
?sigv4a_signing_region_set: Array[String],
|
47
|
+
?simple_json: bool,
|
48
|
+
?stub_responses: untyped,
|
49
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
50
|
+
?token_provider: untyped,
|
51
|
+
?use_dualstack_endpoint: bool,
|
52
|
+
?use_fips_endpoint: bool,
|
53
|
+
?validate_params: bool,
|
54
|
+
?endpoint_provider: untyped,
|
55
|
+
?connection_read_timeout: (Float | Integer),
|
56
|
+
?connection_timeout: (Float | Integer),
|
57
|
+
?enable_alpn: bool,
|
58
|
+
?max_concurrent_streams: (Float | Integer),
|
59
|
+
?read_chunk_size: (Float | Integer),
|
60
|
+
?http_wire_trace: bool,
|
61
|
+
?ssl_verify_peer: bool,
|
62
|
+
?ssl_ca_bundle: String,
|
63
|
+
?ssl_ca_directory: String,
|
64
|
+
?ssl_ca_store: String,
|
65
|
+
?raise_response_errors: bool
|
66
|
+
) -> instance
|
67
|
+
| (?Hash[Symbol, untyped]) -> instance
|
68
|
+
|
69
|
+
|
70
|
+
interface _SubscribeToShardResponseSuccess
|
71
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SubscribeToShardOutput]
|
72
|
+
def event_stream: () -> Types::SubscribeToShardEventStream
|
73
|
+
end
|
74
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/AsyncClient.html#subscribe_to_shard-instance_method
|
75
|
+
def subscribe_to_shard: (
|
76
|
+
consumer_arn: ::String,
|
77
|
+
shard_id: ::String,
|
78
|
+
starting_position: {
|
79
|
+
type: ("AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP"),
|
80
|
+
sequence_number: ::String?,
|
81
|
+
timestamp: ::Time?
|
82
|
+
}
|
83
|
+
) -> _SubscribeToShardResponseSuccess
|
84
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubscribeToShardResponseSuccess
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
data/sig/client.rbs
CHANGED
@@ -306,6 +306,16 @@ module Aws
|
|
306
306
|
) -> _ListStreamsResponseSuccess
|
307
307
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamsResponseSuccess
|
308
308
|
|
309
|
+
interface _ListTagsForResourceResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
311
|
+
def tags: () -> ::Array[Types::Tag]
|
312
|
+
end
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#list_tags_for_resource-instance_method
|
314
|
+
def list_tags_for_resource: (
|
315
|
+
?resource_arn: ::String
|
316
|
+
) -> _ListTagsForResourceResponseSuccess
|
317
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
318
|
+
|
309
319
|
interface _ListTagsForStreamResponseSuccess
|
310
320
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForStreamOutput]
|
311
321
|
def tags: () -> ::Array[Types::Tag]
|
@@ -380,7 +390,8 @@ module Aws
|
|
380
390
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#register_stream_consumer-instance_method
|
381
391
|
def register_stream_consumer: (
|
382
392
|
stream_arn: ::String,
|
383
|
-
consumer_name: ::String
|
393
|
+
consumer_name: ::String,
|
394
|
+
?tags: Hash[::String, ::String]
|
384
395
|
) -> _RegisterStreamConsumerResponseSuccess
|
385
396
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterStreamConsumerResponseSuccess
|
386
397
|
|
@@ -419,21 +430,19 @@ module Aws
|
|
419
430
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
420
431
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
421
432
|
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
) -> _SubscribeToShardResponseSuccess
|
436
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubscribeToShardResponseSuccess
|
433
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#tag_resource-instance_method
|
434
|
+
def tag_resource: (
|
435
|
+
tags: Hash[::String, ::String],
|
436
|
+
?resource_arn: ::String
|
437
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
438
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
439
|
+
|
440
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#untag_resource-instance_method
|
441
|
+
def untag_resource: (
|
442
|
+
tag_keys: Array[::String],
|
443
|
+
?resource_arn: ::String
|
444
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
445
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
437
446
|
|
438
447
|
interface _UpdateShardCountResponseSuccess
|
439
448
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateShardCountOutput]
|
data/sig/types.rbs
CHANGED
@@ -313,6 +313,16 @@ module Aws::Kinesis
|
|
313
313
|
SENSITIVE: []
|
314
314
|
end
|
315
315
|
|
316
|
+
class ListTagsForResourceInput
|
317
|
+
attr_accessor resource_arn: ::String
|
318
|
+
SENSITIVE: []
|
319
|
+
end
|
320
|
+
|
321
|
+
class ListTagsForResourceOutput
|
322
|
+
attr_accessor tags: ::Array[Types::Tag]
|
323
|
+
SENSITIVE: []
|
324
|
+
end
|
325
|
+
|
316
326
|
class ListTagsForStreamInput
|
317
327
|
attr_accessor stream_name: ::String
|
318
328
|
attr_accessor exclusive_start_tag_key: ::String
|
@@ -404,6 +414,7 @@ module Aws::Kinesis
|
|
404
414
|
class RegisterStreamConsumerInput
|
405
415
|
attr_accessor stream_arn: ::String
|
406
416
|
attr_accessor consumer_name: ::String
|
417
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
407
418
|
SENSITIVE: []
|
408
419
|
end
|
409
420
|
|
@@ -555,6 +566,18 @@ module Aws::Kinesis
|
|
555
566
|
SENSITIVE: []
|
556
567
|
end
|
557
568
|
|
569
|
+
class TagResourceInput
|
570
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
571
|
+
attr_accessor resource_arn: ::String
|
572
|
+
SENSITIVE: []
|
573
|
+
end
|
574
|
+
|
575
|
+
class UntagResourceInput
|
576
|
+
attr_accessor tag_keys: ::Array[::String]
|
577
|
+
attr_accessor resource_arn: ::String
|
578
|
+
SENSITIVE: []
|
579
|
+
end
|
580
|
+
|
558
581
|
class UpdateShardCountInput
|
559
582
|
attr_accessor stream_name: ::String
|
560
583
|
attr_accessor target_shard_count: ::Integer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.77.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: 2025-
|
11
|
+
date: 2025-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- lib/aws-sdk-kinesis/resource.rb
|
70
70
|
- lib/aws-sdk-kinesis/types.rb
|
71
71
|
- lib/aws-sdk-kinesis/waiters.rb
|
72
|
+
- sig/async_client.rbs
|
72
73
|
- sig/client.rbs
|
73
74
|
- sig/errors.rbs
|
74
75
|
- sig/resource.rbs
|