aws-sdk-kinesis 1.41.0 → 1.43.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 +21 -4
 - data/lib/aws-sdk-kinesis/client.rb +279 -55
 - data/lib/aws-sdk-kinesis/client_api.rb +93 -27
 - data/lib/aws-sdk-kinesis/endpoint_parameters.rb +93 -0
 - data/lib/aws-sdk-kinesis/endpoint_provider.rb +326 -0
 - data/lib/aws-sdk-kinesis/endpoints.rb +508 -0
 - data/lib/aws-sdk-kinesis/errors.rb +16 -0
 - data/lib/aws-sdk-kinesis/plugins/endpoints.rb +126 -0
 - data/lib/aws-sdk-kinesis/types.rb +200 -323
 - data/lib/aws-sdk-kinesis.rb +5 -1
 - metadata +8 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: ff38f527cc7c413adcf06d7a7ec8481867b2a9aeb202ac2917511b3f1c3c6c9b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ce43a0b50f90cd7d4a9254b7e437c735137e3ed30cbb0cbf0526c2d4917fc012
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 2891fd87aece45526d65561a4b8993491d534b4611607acb4bc6e376fb29568bb6cb89dd1af1a7613b1b7447512350f87e2b4138bf93eb74ba4b1994cbc1efba
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b6c18bfd1272cab7f535d9931cd059f81921f2d49f167a85ff2dfe1c28203394575379396100c2ef9a626d7629dce4d105f76d316b7e5211b04020d71b0a4d42
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,16 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.43.0 (2022-12-15)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - Added StreamARN parameter for Kinesis Data Streams APIs. Added a new opaque pagination token for ListStreams. SDKs will auto-generate Account Endpoint when accessing Kinesis Data Streams.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.42.0 (2022-10-25)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       4 
14 
     | 
    
         
             
            1.41.0 (2022-02-24)
         
     | 
| 
       5 
15 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
16 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.43.0
         
     | 
| 
         @@ -27,7 +27,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb' 
     | 
|
| 
       27 
27 
     | 
    
         
             
            require 'aws-sdk-core/plugins/defaults_mode.rb'
         
     | 
| 
       28 
28 
     | 
    
         
             
            require 'aws-sdk-core/plugins/recursion_detection.rb'
         
     | 
| 
       29 
29 
     | 
    
         
             
            require 'aws-sdk-core/plugins/invocation_id.rb'
         
     | 
| 
       30 
     | 
    
         
            -
            require 'aws-sdk-core/plugins/ 
     | 
| 
      
 30 
     | 
    
         
            +
            require 'aws-sdk-core/plugins/sign.rb'
         
     | 
| 
       31 
31 
     | 
    
         
             
            require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
         
     | 
| 
       32 
32 
     | 
    
         
             
            require 'aws-sdk-core/plugins/event_stream_configuration.rb'
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
         @@ -59,9 +59,10 @@ module Aws::Kinesis 
     | 
|
| 
       59 
59 
     | 
    
         
             
                add_plugin(Aws::Plugins::DefaultsMode)
         
     | 
| 
       60 
60 
     | 
    
         
             
                add_plugin(Aws::Plugins::RecursionDetection)
         
     | 
| 
       61 
61 
     | 
    
         
             
                add_plugin(Aws::Plugins::InvocationId)
         
     | 
| 
       62 
     | 
    
         
            -
                add_plugin(Aws::Plugins:: 
     | 
| 
      
 62 
     | 
    
         
            +
                add_plugin(Aws::Plugins::Sign)
         
     | 
| 
       63 
63 
     | 
    
         
             
                add_plugin(Aws::Plugins::Protocols::JsonRpc)
         
     | 
| 
       64 
64 
     | 
    
         
             
                add_plugin(Aws::Plugins::EventStreamConfiguration)
         
     | 
| 
      
 65 
     | 
    
         
            +
                add_plugin(Aws::Kinesis::Plugins::Endpoints)
         
     | 
| 
       65 
66 
     | 
    
         | 
| 
       66 
67 
     | 
    
         
             
                #   @option options [required, Aws::CredentialProvider] :credentials
         
     | 
| 
       67 
68 
     | 
    
         
             
                #     Your AWS credentials. This can be an instance of any one of the
         
     | 
| 
         @@ -242,6 +243,19 @@ module Aws::Kinesis 
     | 
|
| 
       242 
243 
     | 
    
         
             
                #     ** Please note ** When response stubbing is enabled, no HTTP
         
     | 
| 
       243 
244 
     | 
    
         
             
                #     requests are made, and retries are disabled.
         
     | 
| 
       244 
245 
     | 
    
         
             
                #
         
     | 
| 
      
 246 
     | 
    
         
            +
                #   @option options [Aws::TokenProvider] :token_provider
         
     | 
| 
      
 247 
     | 
    
         
            +
                #     A Bearer Token Provider. This can be an instance of any one of the
         
     | 
| 
      
 248 
     | 
    
         
            +
                #     following classes:
         
     | 
| 
      
 249 
     | 
    
         
            +
                #
         
     | 
| 
      
 250 
     | 
    
         
            +
                #     * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
         
     | 
| 
      
 251 
     | 
    
         
            +
                #       tokens.
         
     | 
| 
      
 252 
     | 
    
         
            +
                #
         
     | 
| 
      
 253 
     | 
    
         
            +
                #     * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
         
     | 
| 
      
 254 
     | 
    
         
            +
                #       access token generated from `aws login`.
         
     | 
| 
      
 255 
     | 
    
         
            +
                #
         
     | 
| 
      
 256 
     | 
    
         
            +
                #     When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
         
     | 
| 
      
 257 
     | 
    
         
            +
                #     will be used to search for tokens configured for your profile in shared configuration files.
         
     | 
| 
      
 258 
     | 
    
         
            +
                #
         
     | 
| 
       245 
259 
     | 
    
         
             
                #   @option options [Boolean] :use_dualstack_endpoint
         
     | 
| 
       246 
260 
     | 
    
         
             
                #     When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
         
     | 
| 
       247 
261 
     | 
    
         
             
                #     will be used if available.
         
     | 
| 
         @@ -255,6 +269,9 @@ module Aws::Kinesis 
     | 
|
| 
       255 
269 
     | 
    
         
             
                #     When `true`, request parameters are validated before
         
     | 
| 
       256 
270 
     | 
    
         
             
                #     sending the request.
         
     | 
| 
       257 
271 
     | 
    
         
             
                #
         
     | 
| 
      
 272 
     | 
    
         
            +
                #   @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
         
     | 
| 
      
 273 
     | 
    
         
            +
                #     The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Kinesis::EndpointParameters`
         
     | 
| 
      
 274 
     | 
    
         
            +
                #
         
     | 
| 
       258 
275 
     | 
    
         
             
                def initialize(*args)
         
     | 
| 
       259 
276 
     | 
    
         
             
                  unless Kernel.const_defined?("HTTP2")
         
     | 
| 
       260 
277 
     | 
    
         
             
                    raise "Must include http/2 gem to use AsyncClient instances."
         
     | 
| 
         @@ -559,7 +576,7 @@ module Aws::Kinesis 
     | 
|
| 
       559 
576 
     | 
    
         
             
                  req = build_request(:subscribe_to_shard, params)
         
     | 
| 
       560 
577 
     | 
    
         | 
| 
       561 
578 
     | 
    
         
             
                  req.context[:output_event_stream_handler] = output_event_stream_handler
         
     | 
| 
       562 
     | 
    
         
            -
                  req.handlers.add(Aws::Binary::DecodeHandler, priority:  
     | 
| 
      
 579 
     | 
    
         
            +
                  req.handlers.add(Aws::Binary::DecodeHandler, priority: 55)
         
     | 
| 
       563 
580 
     | 
    
         | 
| 
       564 
581 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       565 
582 
     | 
    
         
             
                end
         
     | 
| 
         @@ -578,7 +595,7 @@ module Aws::Kinesis 
     | 
|
| 
       578 
595 
     | 
    
         
             
                    http_response: Seahorse::Client::Http::AsyncResponse.new,
         
     | 
| 
       579 
596 
     | 
    
         
             
                    config: config)
         
     | 
| 
       580 
597 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-kinesis'
         
     | 
| 
       581 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 598 
     | 
    
         
            +
                  context[:gem_version] = '1.43.0'
         
     | 
| 
       582 
599 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       583 
600 
     | 
    
         
             
                end
         
     | 
| 
       584 
601 
     | 
    
         |