aws-sdk-iotdataplane 1.21.0 → 1.26.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/lib/aws-sdk-iotdataplane.rb +5 -2
- data/lib/aws-sdk-iotdataplane/client.rb +27 -10
- data/lib/aws-sdk-iotdataplane/client_api.rb +2 -0
- data/lib/aws-sdk-iotdataplane/customizations.rb +1 -0
- data/lib/aws-sdk-iotdataplane/errors.rb +2 -0
- data/lib/aws-sdk-iotdataplane/resource.rb +2 -0
- data/lib/aws-sdk-iotdataplane/types.rb +21 -0
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1af3f14ae824f0486f939fca5a77d1016c242068af8707ce7b22735b559da892
         | 
| 4 | 
            +
              data.tar.gz: ae7542ff1a7aac88ae0ca9c6fbba23d2dfedf45b5910c2ac67ac981a963126b9
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d8cbda1c1e8096489f628b0ea13e92f60d3ca9e234311bc1a189466915bfc41dcf2216839e322a8215391a89a20c7bf14ef525c3a1c0215d5e1d044b66d1adae
         | 
| 7 | 
            +
              data.tar.gz: 9a81322c6e87d59a9dd8cf7e05d89999990b18a06478a60e888577cd3ed1b7c574ca7853af11e128280937fcf8d36dc40c927933bf4174683cd9570f5a3f4479
         | 
    
        data/lib/aws-sdk-iotdataplane.rb
    CHANGED
    
    | @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -5,6 +7,7 @@ | |
| 5 7 | 
             
            #
         | 
| 6 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 7 9 |  | 
| 10 | 
            +
             | 
| 8 11 | 
             
            require 'aws-sdk-core'
         | 
| 9 12 | 
             
            require 'aws-sigv4'
         | 
| 10 13 |  | 
| @@ -42,9 +45,9 @@ require_relative 'aws-sdk-iotdataplane/customizations' | |
| 42 45 | 
             
            #
         | 
| 43 46 | 
             
            # See {Errors} for more information.
         | 
| 44 47 | 
             
            #
         | 
| 45 | 
            -
            #  | 
| 48 | 
            +
            # @!group service
         | 
| 46 49 | 
             
            module Aws::IoTDataPlane
         | 
| 47 50 |  | 
| 48 | 
            -
              GEM_VERSION = '1. | 
| 51 | 
            +
              GEM_VERSION = '1.26.0'
         | 
| 49 52 |  | 
| 50 53 | 
             
            end
         | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -83,13 +85,28 @@ module Aws::IoTDataPlane | |
| 83 85 | 
             
                #     * `Aws::Credentials` - Used for configuring static, non-refreshing
         | 
| 84 86 | 
             
                #       credentials.
         | 
| 85 87 | 
             
                #
         | 
| 88 | 
            +
                #     * `Aws::SharedCredentials` - Used for loading static credentials from a
         | 
| 89 | 
            +
                #       shared file, such as `~/.aws/config`.
         | 
| 90 | 
            +
                #
         | 
| 91 | 
            +
                #     * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
         | 
| 92 | 
            +
                #
         | 
| 93 | 
            +
                #     * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
         | 
| 94 | 
            +
                #       assume a role after providing credentials via the web.
         | 
| 95 | 
            +
                #
         | 
| 96 | 
            +
                #     * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
         | 
| 97 | 
            +
                #       access token generated from `aws login`.
         | 
| 98 | 
            +
                #
         | 
| 99 | 
            +
                #     * `Aws::ProcessCredentials` - Used for loading credentials from a
         | 
| 100 | 
            +
                #       process that outputs to stdout.
         | 
| 101 | 
            +
                #
         | 
| 86 102 | 
             
                #     * `Aws::InstanceProfileCredentials` - Used for loading credentials
         | 
| 87 103 | 
             
                #       from an EC2 IMDS on an EC2 instance.
         | 
| 88 104 | 
             
                #
         | 
| 89 | 
            -
                #     * `Aws:: | 
| 90 | 
            -
                #        | 
| 105 | 
            +
                #     * `Aws::ECSCredentials` - Used for loading credentials from
         | 
| 106 | 
            +
                #       instances running in ECS.
         | 
| 91 107 | 
             
                #
         | 
| 92 | 
            -
                #     * `Aws:: | 
| 108 | 
            +
                #     * `Aws::CognitoIdentityCredentials` - Used for loading credentials
         | 
| 109 | 
            +
                #       from the Cognito Identity service.
         | 
| 93 110 | 
             
                #
         | 
| 94 111 | 
             
                #     When `:credentials` are not configured directly, the following
         | 
| 95 112 | 
             
                #     locations will be searched for credentials:
         | 
| @@ -99,10 +116,10 @@ module Aws::IoTDataPlane | |
| 99 116 | 
             
                #     * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
         | 
| 100 117 | 
             
                #     * `~/.aws/credentials`
         | 
| 101 118 | 
             
                #     * `~/.aws/config`
         | 
| 102 | 
            -
                #     * EC2 IMDS instance profile - When used by default, the timeouts | 
| 103 | 
            -
                #       very aggressive. Construct and pass an instance of
         | 
| 104 | 
            -
                #       `Aws::InstanceProfileCredentails`  | 
| 105 | 
            -
                #       timeouts.
         | 
| 119 | 
            +
                #     * EC2/ECS IMDS instance profile - When used by default, the timeouts
         | 
| 120 | 
            +
                #       are very aggressive. Construct and pass an instance of
         | 
| 121 | 
            +
                #       `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
         | 
| 122 | 
            +
                #       enable retries and extended timeouts.
         | 
| 106 123 | 
             
                #
         | 
| 107 124 | 
             
                #   @option options [required, String] :region
         | 
| 108 125 | 
             
                #     The AWS region to connect to.  The configured `:region` is
         | 
| @@ -438,7 +455,7 @@ module Aws::IoTDataPlane | |
| 438 455 | 
             
                # @option params [Integer] :qos
         | 
| 439 456 | 
             
                #   The Quality of Service (QoS) level.
         | 
| 440 457 | 
             
                #
         | 
| 441 | 
            -
                # @option params [String,  | 
| 458 | 
            +
                # @option params [String, StringIO, File] :payload
         | 
| 442 459 | 
             
                #   The state information, in JSON format.
         | 
| 443 460 | 
             
                #
         | 
| 444 461 | 
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| @@ -473,7 +490,7 @@ module Aws::IoTDataPlane | |
| 473 490 | 
             
                # @option params [String] :shadow_name
         | 
| 474 491 | 
             
                #   The name of the shadow.
         | 
| 475 492 | 
             
                #
         | 
| 476 | 
            -
                # @option params [required, String,  | 
| 493 | 
            +
                # @option params [required, String, StringIO, File] :payload
         | 
| 477 494 | 
             
                #   The state information, in JSON format.
         | 
| 478 495 | 
             
                #
         | 
| 479 496 | 
             
                # @return [Types::UpdateThingShadowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| @@ -512,7 +529,7 @@ module Aws::IoTDataPlane | |
| 512 529 | 
             
                    params: params,
         | 
| 513 530 | 
             
                    config: config)
         | 
| 514 531 | 
             
                  context[:gem_name] = 'aws-sdk-iotdataplane'
         | 
| 515 | 
            -
                  context[:gem_version] = '1. | 
| 532 | 
            +
                  context[:gem_version] = '1.26.0'
         | 
| 516 533 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 517 534 | 
             
                end
         | 
| 518 535 |  | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -16,6 +18,7 @@ module Aws::IoTDataPlane | |
| 16 18 | 
             
                #
         | 
| 17 19 | 
             
                class ConflictException < Struct.new(
         | 
| 18 20 | 
             
                  :message)
         | 
| 21 | 
            +
                  SENSITIVE = []
         | 
| 19 22 | 
             
                  include Aws::Structure
         | 
| 20 23 | 
             
                end
         | 
| 21 24 |  | 
| @@ -40,6 +43,7 @@ module Aws::IoTDataPlane | |
| 40 43 | 
             
                class DeleteThingShadowRequest < Struct.new(
         | 
| 41 44 | 
             
                  :thing_name,
         | 
| 42 45 | 
             
                  :shadow_name)
         | 
| 46 | 
            +
                  SENSITIVE = []
         | 
| 43 47 | 
             
                  include Aws::Structure
         | 
| 44 48 | 
             
                end
         | 
| 45 49 |  | 
| @@ -51,6 +55,7 @@ module Aws::IoTDataPlane | |
| 51 55 | 
             
                #
         | 
| 52 56 | 
             
                class DeleteThingShadowResponse < Struct.new(
         | 
| 53 57 | 
             
                  :payload)
         | 
| 58 | 
            +
                  SENSITIVE = []
         | 
| 54 59 | 
             
                  include Aws::Structure
         | 
| 55 60 | 
             
                end
         | 
| 56 61 |  | 
| @@ -75,6 +80,7 @@ module Aws::IoTDataPlane | |
| 75 80 | 
             
                class GetThingShadowRequest < Struct.new(
         | 
| 76 81 | 
             
                  :thing_name,
         | 
| 77 82 | 
             
                  :shadow_name)
         | 
| 83 | 
            +
                  SENSITIVE = []
         | 
| 78 84 | 
             
                  include Aws::Structure
         | 
| 79 85 | 
             
                end
         | 
| 80 86 |  | 
| @@ -86,6 +92,7 @@ module Aws::IoTDataPlane | |
| 86 92 | 
             
                #
         | 
| 87 93 | 
             
                class GetThingShadowResponse < Struct.new(
         | 
| 88 94 | 
             
                  :payload)
         | 
| 95 | 
            +
                  SENSITIVE = []
         | 
| 89 96 | 
             
                  include Aws::Structure
         | 
| 90 97 | 
             
                end
         | 
| 91 98 |  | 
| @@ -97,6 +104,7 @@ module Aws::IoTDataPlane | |
| 97 104 | 
             
                #
         | 
| 98 105 | 
             
                class InternalFailureException < Struct.new(
         | 
| 99 106 | 
             
                  :message)
         | 
| 107 | 
            +
                  SENSITIVE = []
         | 
| 100 108 | 
             
                  include Aws::Structure
         | 
| 101 109 | 
             
                end
         | 
| 102 110 |  | 
| @@ -108,6 +116,7 @@ module Aws::IoTDataPlane | |
| 108 116 | 
             
                #
         | 
| 109 117 | 
             
                class InvalidRequestException < Struct.new(
         | 
| 110 118 | 
             
                  :message)
         | 
| 119 | 
            +
                  SENSITIVE = []
         | 
| 111 120 | 
             
                  include Aws::Structure
         | 
| 112 121 | 
             
                end
         | 
| 113 122 |  | 
| @@ -136,6 +145,7 @@ module Aws::IoTDataPlane | |
| 136 145 | 
             
                  :thing_name,
         | 
| 137 146 | 
             
                  :next_token,
         | 
| 138 147 | 
             
                  :page_size)
         | 
| 148 | 
            +
                  SENSITIVE = []
         | 
| 139 149 | 
             
                  include Aws::Structure
         | 
| 140 150 | 
             
                end
         | 
| 141 151 |  | 
| @@ -156,6 +166,7 @@ module Aws::IoTDataPlane | |
| 156 166 | 
             
                  :results,
         | 
| 157 167 | 
             
                  :next_token,
         | 
| 158 168 | 
             
                  :timestamp)
         | 
| 169 | 
            +
                  SENSITIVE = []
         | 
| 159 170 | 
             
                  include Aws::Structure
         | 
| 160 171 | 
             
                end
         | 
| 161 172 |  | 
| @@ -167,6 +178,7 @@ module Aws::IoTDataPlane | |
| 167 178 | 
             
                #
         | 
| 168 179 | 
             
                class MethodNotAllowedException < Struct.new(
         | 
| 169 180 | 
             
                  :message)
         | 
| 181 | 
            +
                  SENSITIVE = []
         | 
| 170 182 | 
             
                  include Aws::Structure
         | 
| 171 183 | 
             
                end
         | 
| 172 184 |  | 
| @@ -197,6 +209,7 @@ module Aws::IoTDataPlane | |
| 197 209 | 
             
                  :topic,
         | 
| 198 210 | 
             
                  :qos,
         | 
| 199 211 | 
             
                  :payload)
         | 
| 212 | 
            +
                  SENSITIVE = []
         | 
| 200 213 | 
             
                  include Aws::Structure
         | 
| 201 214 | 
             
                end
         | 
| 202 215 |  | 
| @@ -208,6 +221,7 @@ module Aws::IoTDataPlane | |
| 208 221 | 
             
                #
         | 
| 209 222 | 
             
                class RequestEntityTooLargeException < Struct.new(
         | 
| 210 223 | 
             
                  :message)
         | 
| 224 | 
            +
                  SENSITIVE = []
         | 
| 211 225 | 
             
                  include Aws::Structure
         | 
| 212 226 | 
             
                end
         | 
| 213 227 |  | 
| @@ -219,6 +233,7 @@ module Aws::IoTDataPlane | |
| 219 233 | 
             
                #
         | 
| 220 234 | 
             
                class ResourceNotFoundException < Struct.new(
         | 
| 221 235 | 
             
                  :message)
         | 
| 236 | 
            +
                  SENSITIVE = []
         | 
| 222 237 | 
             
                  include Aws::Structure
         | 
| 223 238 | 
             
                end
         | 
| 224 239 |  | 
| @@ -230,6 +245,7 @@ module Aws::IoTDataPlane | |
| 230 245 | 
             
                #
         | 
| 231 246 | 
             
                class ServiceUnavailableException < Struct.new(
         | 
| 232 247 | 
             
                  :message)
         | 
| 248 | 
            +
                  SENSITIVE = []
         | 
| 233 249 | 
             
                  include Aws::Structure
         | 
| 234 250 | 
             
                end
         | 
| 235 251 |  | 
| @@ -241,6 +257,7 @@ module Aws::IoTDataPlane | |
| 241 257 | 
             
                #
         | 
| 242 258 | 
             
                class ThrottlingException < Struct.new(
         | 
| 243 259 | 
             
                  :message)
         | 
| 260 | 
            +
                  SENSITIVE = []
         | 
| 244 261 | 
             
                  include Aws::Structure
         | 
| 245 262 | 
             
                end
         | 
| 246 263 |  | 
| @@ -252,6 +269,7 @@ module Aws::IoTDataPlane | |
| 252 269 | 
             
                #
         | 
| 253 270 | 
             
                class UnauthorizedException < Struct.new(
         | 
| 254 271 | 
             
                  :message)
         | 
| 272 | 
            +
                  SENSITIVE = []
         | 
| 255 273 | 
             
                  include Aws::Structure
         | 
| 256 274 | 
             
                end
         | 
| 257 275 |  | 
| @@ -263,6 +281,7 @@ module Aws::IoTDataPlane | |
| 263 281 | 
             
                #
         | 
| 264 282 | 
             
                class UnsupportedDocumentEncodingException < Struct.new(
         | 
| 265 283 | 
             
                  :message)
         | 
| 284 | 
            +
                  SENSITIVE = []
         | 
| 266 285 | 
             
                  include Aws::Structure
         | 
| 267 286 | 
             
                end
         | 
| 268 287 |  | 
| @@ -293,6 +312,7 @@ module Aws::IoTDataPlane | |
| 293 312 | 
             
                  :thing_name,
         | 
| 294 313 | 
             
                  :shadow_name,
         | 
| 295 314 | 
             
                  :payload)
         | 
| 315 | 
            +
                  SENSITIVE = []
         | 
| 296 316 | 
             
                  include Aws::Structure
         | 
| 297 317 | 
             
                end
         | 
| 298 318 |  | 
| @@ -304,6 +324,7 @@ module Aws::IoTDataPlane | |
| 304 324 | 
             
                #
         | 
| 305 325 | 
             
                class UpdateThingShadowResponse < Struct.new(
         | 
| 306 326 | 
             
                  :payload)
         | 
| 327 | 
            +
                  SENSITIVE = []
         | 
| 307 328 | 
             
                  include Aws::Structure
         | 
| 308 329 | 
             
                end
         | 
| 309 330 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-iotdataplane
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.26.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Amazon Web Services
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-09-30 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                    version: '3'
         | 
| 20 20 | 
             
                - - ">="
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 3. | 
| 22 | 
            +
                    version: 3.109.0
         | 
| 23 23 | 
             
              type: :runtime
         | 
| 24 24 | 
             
              prerelease: false
         | 
| 25 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -29,7 +29,7 @@ dependencies: | |
| 29 29 | 
             
                    version: '3'
         | 
| 30 30 | 
             
                - - ">="
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            -
                    version: 3. | 
| 32 | 
            +
                    version: 3.109.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         |