aws-sdk-kinesis 1.76.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +1 -1
- 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/client.rbs +26 -1
- data/sig/types.rbs +23 -0
- metadata +2 -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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -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
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,6 +430,20 @@ 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
|
|
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]
|
446
|
+
|
422
447
|
interface _UpdateShardCountResponseSuccess
|
423
448
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateShardCountOutput]
|
424
449
|
def stream_name: () -> ::String
|
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-04-
|
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
|