aws-sdk-iot1clickprojects 1.38.0 → 1.39.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 +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-iot1clickprojects/client.rb +1 -1
- data/lib/aws-sdk-iot1clickprojects/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-iot1clickprojects/types.rb +0 -193
- data/lib/aws-sdk-iot1clickprojects.rb +1 -1
- 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: f5fa3be8d46010d93305dcb8279468490661c125c77e100528b2b365fa678f7c
         | 
| 4 | 
            +
              data.tar.gz: aee02ac1d6d6ecf1bc9aea55a01ae69ef7050c0959c2de56b836b2de92caf587
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: fa541df24d5c4dde702c1ab2ddd0c8a8e8da6491e83f1d5e1f1b4bea7a81165cd136f337922049465d593401e21e7b7f20129f56293f4d647dbf1abd7a6104dd
         | 
| 7 | 
            +
              data.tar.gz: ffef0a1964fe3e1b34f88a4fba08a2161e46b63a7563559f1328409d40f07b2063d8d4a6cb337ce8a0039d0342e55605d639aa08e86e2bf7bc5cab9b9727789f
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,13 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.39.0 (2023-01-18)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Issue - Replace runtime endpoint resolution approach with generated ruby code.
         | 
| 10 | 
            +
             | 
| 4 11 | 
             
            1.38.0 (2022-10-25)
         | 
| 5 12 | 
             
            ------------------
         | 
| 6 13 |  | 
| @@ -200,4 +207,4 @@ Unreleased Changes | |
| 200 207 | 
             
            1.0.0 (2018-05-14)
         | 
| 201 208 | 
             
            ------------------
         | 
| 202 209 |  | 
| 203 | 
            -
            * Feature - Initial release of `aws-sdk-iot1clickprojects`.
         | 
| 210 | 
            +
            * Feature - Initial release of `aws-sdk-iot1clickprojects`.
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.39.0
         | 
| @@ -946,7 +946,7 @@ module Aws::IoT1ClickProjects | |
| 946 946 | 
             
                    params: params,
         | 
| 947 947 | 
             
                    config: config)
         | 
| 948 948 | 
             
                  context[:gem_name] = 'aws-sdk-iot1clickprojects'
         | 
| 949 | 
            -
                  context[:gem_version] = '1. | 
| 949 | 
            +
                  context[:gem_version] = '1.39.0'
         | 
| 950 950 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 951 951 | 
             
                end
         | 
| 952 952 |  | 
| @@ -9,104 +9,43 @@ | |
| 9 9 |  | 
| 10 10 | 
             
            module Aws::IoT1ClickProjects
         | 
| 11 11 | 
             
              class EndpointProvider
         | 
| 12 | 
            -
                def  | 
| 13 | 
            -
                   | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
                       | 
| 20 | 
            -
             | 
| 12 | 
            +
                def resolve_endpoint(parameters)
         | 
| 13 | 
            +
                  region = parameters.region
         | 
| 14 | 
            +
                  use_dual_stack = parameters.use_dual_stack
         | 
| 15 | 
            +
                  use_fips = parameters.use_fips
         | 
| 16 | 
            +
                  endpoint = parameters.endpoint
         | 
| 17 | 
            +
                  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         | 
| 18 | 
            +
                    if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
         | 
| 19 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 20 | 
            +
                        raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
         | 
| 21 | 
            +
                      end
         | 
| 22 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 23 | 
            +
                        raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
         | 
| 24 | 
            +
                      end
         | 
| 25 | 
            +
                      return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
         | 
| 26 | 
            +
                    end
         | 
| 27 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 28 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 29 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://projects.iot1click-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 30 | 
            +
                      end
         | 
| 31 | 
            +
                      raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         | 
| 32 | 
            +
                    end
         | 
| 33 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 34 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
         | 
| 35 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://projects.iot1click-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 36 | 
            +
                      end
         | 
| 37 | 
            +
                      raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         | 
| 38 | 
            +
                    end
         | 
| 39 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 40 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 41 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://projects.iot1click.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 42 | 
            +
                      end
         | 
| 43 | 
            +
                      raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         | 
| 44 | 
            +
                    end
         | 
| 45 | 
            +
                    return Aws::Endpoints::Endpoint.new(url: "https://projects.iot1click.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 21 46 | 
             
                  end
         | 
| 22 | 
            -
                   | 
| 23 | 
            -
                end
         | 
| 47 | 
            +
                  raise ArgumentError, 'No endpoint could be resolved'
         | 
| 24 48 |  | 
| 25 | 
            -
                def resolve_endpoint(parameters)
         | 
| 26 | 
            -
                  @provider.resolve_endpoint(parameters)
         | 
| 27 49 | 
             
                end
         | 
| 28 | 
            -
             | 
| 29 | 
            -
                # @api private
         | 
| 30 | 
            -
                RULES = <<-JSON
         | 
| 31 | 
            -
            eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
         | 
| 32 | 
            -
            bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
         | 
| 33 | 
            -
            dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
         | 
| 34 | 
            -
            cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
         | 
| 35 | 
            -
            dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
         | 
| 36 | 
            -
            ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
         | 
| 37 | 
            -
            ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
         | 
| 38 | 
            -
            ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
         | 
| 39 | 
            -
            aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
         | 
| 40 | 
            -
            OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
         | 
| 41 | 
            -
            UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
         | 
| 42 | 
            -
            dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
         | 
| 43 | 
            -
            UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
         | 
| 44 | 
            -
            dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
         | 
| 45 | 
            -
            ZW5kcG9pbnQsIGRpc3BhdGNoaW5nIHRoZSByZXF1ZXN0IHdpbGwgcmV0dXJu
         | 
| 46 | 
            -
            IGFuIGVycm9yLiIsInR5cGUiOiJCb29sZWFuIn0sIkVuZHBvaW50Ijp7ImJ1
         | 
| 47 | 
            -
            aWx0SW4iOiJTREs6OkVuZHBvaW50IiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1
         | 
| 48 | 
            -
            bWVudGF0aW9uIjoiT3ZlcnJpZGUgdGhlIGVuZHBvaW50IHVzZWQgdG8gc2Vu
         | 
| 49 | 
            -
            ZCB0aGlzIHJlcXVlc3QiLCJ0eXBlIjoiU3RyaW5nIn19LCJydWxlcyI6W3si
         | 
| 50 | 
            -
            Y29uZGl0aW9ucyI6W3siZm4iOiJhd3MucGFydGl0aW9uIiwiYXJndiI6W3si
         | 
| 51 | 
            -
            cmVmIjoiUmVnaW9uIn1dLCJhc3NpZ24iOiJQYXJ0aXRpb25SZXN1bHQifV0s
         | 
| 52 | 
            -
            InR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoi
         | 
| 53 | 
            -
            aXNTZXQiLCJhcmd2IjpbeyJyZWYiOiJFbmRwb2ludCJ9XX0seyJmbiI6InBh
         | 
| 54 | 
            -
            cnNlVVJMIiwiYXJndiI6W3sicmVmIjoiRW5kcG9pbnQifV0sImFzc2lnbiI6
         | 
| 55 | 
            -
            InVybCJ9XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
         | 
| 56 | 
            -
            W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQ
         | 
| 57 | 
            -
            UyJ9LHRydWVdfV0sImVycm9yIjoiSW52YWxpZCBDb25maWd1cmF0aW9uOiBG
         | 
| 58 | 
            -
            SVBTIGFuZCBjdXN0b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0
         | 
| 59 | 
            -
            eXBlIjoiZXJyb3IifSx7ImNvbmRpdGlvbnMiOltdLCJ0eXBlIjoidHJlZSIs
         | 
| 60 | 
            -
            InJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
         | 
| 61 | 
            -
            LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJlcnJv
         | 
| 62 | 
            -
            ciI6IkludmFsaWQgQ29uZmlndXJhdGlvbjogRHVhbHN0YWNrIGFuZCBjdXN0
         | 
| 63 | 
            -
            b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0eXBlIjoiZXJyb3Ii
         | 
| 64 | 
            -
            fSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOnsicmVmIjoi
         | 
| 65 | 
            -
            RW5kcG9pbnQifSwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
         | 
| 66 | 
            -
            ZSI6ImVuZHBvaW50In1dfV19LHsiY29uZGl0aW9ucyI6W3siZm4iOiJib29s
         | 
| 67 | 
            -
            ZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQUyJ9LHRydWVdfSx7
         | 
| 68 | 
            -
            ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUR1YWxT
         | 
| 69 | 
            -
            dGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRp
         | 
| 70 | 
            -
            dGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsi
         | 
| 71 | 
            -
            Zm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0
         | 
| 72 | 
            -
            In0sInN1cHBvcnRzRklQUyJdfV19LHsiZm4iOiJib29sZWFuRXF1YWxzIiwi
         | 
| 73 | 
            -
            YXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQ
         | 
| 74 | 
            -
            YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
         | 
| 75 | 
            -
            cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
         | 
| 76 | 
            -
            dCI6eyJ1cmwiOiJodHRwczovL3Byb2plY3RzLmlvdDFjbGljay1maXBzLntS
         | 
| 77 | 
            -
            ZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIs
         | 
| 78 | 
            -
            InByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2lu
         | 
| 79 | 
            -
            dCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJGSVBTIGFuZCBEdWFs
         | 
| 80 | 
            -
            U3RhY2sgYXJlIGVuYWJsZWQsIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5v
         | 
| 81 | 
            -
            dCBzdXBwb3J0IG9uZSBvciBib3RoIiwidHlwZSI6ImVycm9yIn1dfSx7ImNv
         | 
| 82 | 
            -
            bmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJl
         | 
| 83 | 
            -
            ZiI6IlVzZUZJUFMifSx0cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpb
         | 
| 84 | 
            -
            eyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2Ijpb
         | 
| 85 | 
            -
            dHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlv
         | 
| 86 | 
            -
            blJlc3VsdCJ9LCJzdXBwb3J0c0ZJUFMiXX1dfV0sInR5cGUiOiJ0cmVlIiwi
         | 
| 87 | 
            -
            cnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJ0eXBlIjoidHJlZSIsInJ1bGVz
         | 
| 88 | 
            -
            IjpbeyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6
         | 
| 89 | 
            -
            Ly9wcm9qZWN0cy5pb3QxY2xpY2stZmlwcy57UmVnaW9ufS57UGFydGl0aW9u
         | 
| 90 | 
            -
            UmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6
         | 
| 91 | 
            -
            e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0seyJjb25kaXRpb25zIjpbXSwi
         | 
| 92 | 
            -
            ZXJyb3IiOiJGSVBTIGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRv
         | 
| 93 | 
            -
            ZXMgbm90IHN1cHBvcnQgRklQUyIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25k
         | 
| 94 | 
            -
            aXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbeyJyZWYi
         | 
| 95 | 
            -
            OiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVz
         | 
| 96 | 
            -
            IjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2
         | 
| 97 | 
            -
            IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRp
         | 
| 98 | 
            -
            dGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6
         | 
| 99 | 
            -
            InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7
         | 
| 100 | 
            -
            InVybCI6Imh0dHBzOi8vcHJvamVjdHMuaW90MWNsaWNrLntSZWdpb259LntQ
         | 
| 101 | 
            -
            YXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRp
         | 
| 102 | 
            -
            ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
         | 
| 103 | 
            -
            b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
         | 
| 104 | 
            -
            dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
         | 
| 105 | 
            -
            LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
         | 
| 106 | 
            -
            Ijp7InVybCI6Imh0dHBzOi8vcHJvamVjdHMuaW90MWNsaWNrLntSZWdpb259
         | 
| 107 | 
            -
            LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
         | 
| 108 | 
            -
            LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
         | 
| 109 | 
            -
             | 
| 110 | 
            -
                JSON
         | 
| 111 50 | 
             
              end
         | 
| 112 51 | 
             
            end
         | 
| @@ -10,16 +10,6 @@ | |
| 10 10 | 
             
            module Aws::IoT1ClickProjects
         | 
| 11 11 | 
             
              module Types
         | 
| 12 12 |  | 
| 13 | 
            -
                # @note When making an API call, you may pass AssociateDeviceWithPlacementRequest
         | 
| 14 | 
            -
                #   data as a hash:
         | 
| 15 | 
            -
                #
         | 
| 16 | 
            -
                #       {
         | 
| 17 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 18 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 19 | 
            -
                #         device_id: "DeviceId", # required
         | 
| 20 | 
            -
                #         device_template_name: "DeviceTemplateName", # required
         | 
| 21 | 
            -
                #       }
         | 
| 22 | 
            -
                #
         | 
| 23 13 | 
             
                # @!attribute [rw] project_name
         | 
| 24 14 | 
             
                #   The name of the project containing the placement in which to
         | 
| 25 15 | 
             
                #   associate the device.
         | 
| @@ -50,17 +40,6 @@ module Aws::IoT1ClickProjects | |
| 50 40 |  | 
| 51 41 | 
             
                class AssociateDeviceWithPlacementResponse < Aws::EmptyStructure; end
         | 
| 52 42 |  | 
| 53 | 
            -
                # @note When making an API call, you may pass CreatePlacementRequest
         | 
| 54 | 
            -
                #   data as a hash:
         | 
| 55 | 
            -
                #
         | 
| 56 | 
            -
                #       {
         | 
| 57 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 58 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 59 | 
            -
                #         attributes: {
         | 
| 60 | 
            -
                #           "AttributeName" => "AttributeValue",
         | 
| 61 | 
            -
                #         },
         | 
| 62 | 
            -
                #       }
         | 
| 63 | 
            -
                #
         | 
| 64 43 | 
             
                # @!attribute [rw] placement_name
         | 
| 65 44 | 
             
                #   The name of the placement to be created.
         | 
| 66 45 | 
             
                #   @return [String]
         | 
| @@ -84,30 +63,6 @@ module Aws::IoT1ClickProjects | |
| 84 63 |  | 
| 85 64 | 
             
                class CreatePlacementResponse < Aws::EmptyStructure; end
         | 
| 86 65 |  | 
| 87 | 
            -
                # @note When making an API call, you may pass CreateProjectRequest
         | 
| 88 | 
            -
                #   data as a hash:
         | 
| 89 | 
            -
                #
         | 
| 90 | 
            -
                #       {
         | 
| 91 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 92 | 
            -
                #         description: "Description",
         | 
| 93 | 
            -
                #         placement_template: {
         | 
| 94 | 
            -
                #           default_attributes: {
         | 
| 95 | 
            -
                #             "AttributeName" => "AttributeDefaultValue",
         | 
| 96 | 
            -
                #           },
         | 
| 97 | 
            -
                #           device_templates: {
         | 
| 98 | 
            -
                #             "DeviceTemplateName" => {
         | 
| 99 | 
            -
                #               device_type: "DeviceType",
         | 
| 100 | 
            -
                #               callback_overrides: {
         | 
| 101 | 
            -
                #                 "DeviceCallbackKey" => "DeviceCallbackValue",
         | 
| 102 | 
            -
                #               },
         | 
| 103 | 
            -
                #             },
         | 
| 104 | 
            -
                #           },
         | 
| 105 | 
            -
                #         },
         | 
| 106 | 
            -
                #         tags: {
         | 
| 107 | 
            -
                #           "TagKey" => "TagValue",
         | 
| 108 | 
            -
                #         },
         | 
| 109 | 
            -
                #       }
         | 
| 110 | 
            -
                #
         | 
| 111 66 | 
             
                # @!attribute [rw] project_name
         | 
| 112 67 | 
             
                #   The name of the project to create.
         | 
| 113 68 | 
             
                #   @return [String]
         | 
| @@ -145,14 +100,6 @@ module Aws::IoT1ClickProjects | |
| 145 100 |  | 
| 146 101 | 
             
                class CreateProjectResponse < Aws::EmptyStructure; end
         | 
| 147 102 |  | 
| 148 | 
            -
                # @note When making an API call, you may pass DeletePlacementRequest
         | 
| 149 | 
            -
                #   data as a hash:
         | 
| 150 | 
            -
                #
         | 
| 151 | 
            -
                #       {
         | 
| 152 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 153 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 154 | 
            -
                #       }
         | 
| 155 | 
            -
                #
         | 
| 156 103 | 
             
                # @!attribute [rw] placement_name
         | 
| 157 104 | 
             
                #   The name of the empty placement to delete.
         | 
| 158 105 | 
             
                #   @return [String]
         | 
| @@ -170,13 +117,6 @@ module Aws::IoT1ClickProjects | |
| 170 117 |  | 
| 171 118 | 
             
                class DeletePlacementResponse < Aws::EmptyStructure; end
         | 
| 172 119 |  | 
| 173 | 
            -
                # @note When making an API call, you may pass DeleteProjectRequest
         | 
| 174 | 
            -
                #   data as a hash:
         | 
| 175 | 
            -
                #
         | 
| 176 | 
            -
                #       {
         | 
| 177 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 178 | 
            -
                #       }
         | 
| 179 | 
            -
                #
         | 
| 180 120 | 
             
                # @!attribute [rw] project_name
         | 
| 181 121 | 
             
                #   The name of the empty project to delete.
         | 
| 182 122 | 
             
                #   @return [String]
         | 
| @@ -189,14 +129,6 @@ module Aws::IoT1ClickProjects | |
| 189 129 |  | 
| 190 130 | 
             
                class DeleteProjectResponse < Aws::EmptyStructure; end
         | 
| 191 131 |  | 
| 192 | 
            -
                # @note When making an API call, you may pass DescribePlacementRequest
         | 
| 193 | 
            -
                #   data as a hash:
         | 
| 194 | 
            -
                #
         | 
| 195 | 
            -
                #       {
         | 
| 196 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 197 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 198 | 
            -
                #       }
         | 
| 199 | 
            -
                #
         | 
| 200 132 | 
             
                # @!attribute [rw] placement_name
         | 
| 201 133 | 
             
                #   The name of the placement within a project.
         | 
| 202 134 | 
             
                #   @return [String]
         | 
| @@ -222,13 +154,6 @@ module Aws::IoT1ClickProjects | |
| 222 154 | 
             
                  include Aws::Structure
         | 
| 223 155 | 
             
                end
         | 
| 224 156 |  | 
| 225 | 
            -
                # @note When making an API call, you may pass DescribeProjectRequest
         | 
| 226 | 
            -
                #   data as a hash:
         | 
| 227 | 
            -
                #
         | 
| 228 | 
            -
                #       {
         | 
| 229 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 230 | 
            -
                #       }
         | 
| 231 | 
            -
                #
         | 
| 232 157 | 
             
                # @!attribute [rw] project_name
         | 
| 233 158 | 
             
                #   The name of the project to be described.
         | 
| 234 159 | 
             
                #   @return [String]
         | 
| @@ -252,16 +177,6 @@ module Aws::IoT1ClickProjects | |
| 252 177 | 
             
                # An object representing a device for a placement template (see
         | 
| 253 178 | 
             
                # PlacementTemplate).
         | 
| 254 179 | 
             
                #
         | 
| 255 | 
            -
                # @note When making an API call, you may pass DeviceTemplate
         | 
| 256 | 
            -
                #   data as a hash:
         | 
| 257 | 
            -
                #
         | 
| 258 | 
            -
                #       {
         | 
| 259 | 
            -
                #         device_type: "DeviceType",
         | 
| 260 | 
            -
                #         callback_overrides: {
         | 
| 261 | 
            -
                #           "DeviceCallbackKey" => "DeviceCallbackValue",
         | 
| 262 | 
            -
                #         },
         | 
| 263 | 
            -
                #       }
         | 
| 264 | 
            -
                #
         | 
| 265 180 | 
             
                # @!attribute [rw] device_type
         | 
| 266 181 | 
             
                #   The device type, which currently must be `"button"`.
         | 
| 267 182 | 
             
                #   @return [String]
         | 
| @@ -278,15 +193,6 @@ module Aws::IoT1ClickProjects | |
| 278 193 | 
             
                  include Aws::Structure
         | 
| 279 194 | 
             
                end
         | 
| 280 195 |  | 
| 281 | 
            -
                # @note When making an API call, you may pass DisassociateDeviceFromPlacementRequest
         | 
| 282 | 
            -
                #   data as a hash:
         | 
| 283 | 
            -
                #
         | 
| 284 | 
            -
                #       {
         | 
| 285 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 286 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 287 | 
            -
                #         device_template_name: "DeviceTemplateName", # required
         | 
| 288 | 
            -
                #       }
         | 
| 289 | 
            -
                #
         | 
| 290 196 | 
             
                # @!attribute [rw] project_name
         | 
| 291 197 | 
             
                #   The name of the project that contains the placement.
         | 
| 292 198 | 
             
                #   @return [String]
         | 
| @@ -309,14 +215,6 @@ module Aws::IoT1ClickProjects | |
| 309 215 |  | 
| 310 216 | 
             
                class DisassociateDeviceFromPlacementResponse < Aws::EmptyStructure; end
         | 
| 311 217 |  | 
| 312 | 
            -
                # @note When making an API call, you may pass GetDevicesInPlacementRequest
         | 
| 313 | 
            -
                #   data as a hash:
         | 
| 314 | 
            -
                #
         | 
| 315 | 
            -
                #       {
         | 
| 316 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 317 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 318 | 
            -
                #       }
         | 
| 319 | 
            -
                #
         | 
| 320 218 | 
             
                # @!attribute [rw] project_name
         | 
| 321 219 | 
             
                #   The name of the project containing the placement.
         | 
| 322 220 | 
             
                #   @return [String]
         | 
| @@ -369,15 +267,6 @@ module Aws::IoT1ClickProjects | |
| 369 267 | 
             
                  include Aws::Structure
         | 
| 370 268 | 
             
                end
         | 
| 371 269 |  | 
| 372 | 
            -
                # @note When making an API call, you may pass ListPlacementsRequest
         | 
| 373 | 
            -
                #   data as a hash:
         | 
| 374 | 
            -
                #
         | 
| 375 | 
            -
                #       {
         | 
| 376 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 377 | 
            -
                #         next_token: "NextToken",
         | 
| 378 | 
            -
                #         max_results: 1,
         | 
| 379 | 
            -
                #       }
         | 
| 380 | 
            -
                #
         | 
| 381 270 | 
             
                # @!attribute [rw] project_name
         | 
| 382 271 | 
             
                #   The project containing the placements to be listed.
         | 
| 383 272 | 
             
                #   @return [String]
         | 
| @@ -415,14 +304,6 @@ module Aws::IoT1ClickProjects | |
| 415 304 | 
             
                  include Aws::Structure
         | 
| 416 305 | 
             
                end
         | 
| 417 306 |  | 
| 418 | 
            -
                # @note When making an API call, you may pass ListProjectsRequest
         | 
| 419 | 
            -
                #   data as a hash:
         | 
| 420 | 
            -
                #
         | 
| 421 | 
            -
                #       {
         | 
| 422 | 
            -
                #         next_token: "NextToken",
         | 
| 423 | 
            -
                #         max_results: 1,
         | 
| 424 | 
            -
                #       }
         | 
| 425 | 
            -
                #
         | 
| 426 307 | 
             
                # @!attribute [rw] next_token
         | 
| 427 308 | 
             
                #   The token to retrieve the next set of results.
         | 
| 428 309 | 
             
                #   @return [String]
         | 
| @@ -455,13 +336,6 @@ module Aws::IoT1ClickProjects | |
| 455 336 | 
             
                  include Aws::Structure
         | 
| 456 337 | 
             
                end
         | 
| 457 338 |  | 
| 458 | 
            -
                # @note When making an API call, you may pass ListTagsForResourceRequest
         | 
| 459 | 
            -
                #   data as a hash:
         | 
| 460 | 
            -
                #
         | 
| 461 | 
            -
                #       {
         | 
| 462 | 
            -
                #         resource_arn: "ProjectArn", # required
         | 
| 463 | 
            -
                #       }
         | 
| 464 | 
            -
                #
         | 
| 465 339 | 
             
                # @!attribute [rw] resource_arn
         | 
| 466 340 | 
             
                #   The ARN of the resource whose tags you want to list.
         | 
| 467 341 | 
             
                #   @return [String]
         | 
| @@ -550,23 +424,6 @@ module Aws::IoT1ClickProjects | |
| 550 424 |  | 
| 551 425 | 
             
                # An object defining the template for a placement.
         | 
| 552 426 | 
             
                #
         | 
| 553 | 
            -
                # @note When making an API call, you may pass PlacementTemplate
         | 
| 554 | 
            -
                #   data as a hash:
         | 
| 555 | 
            -
                #
         | 
| 556 | 
            -
                #       {
         | 
| 557 | 
            -
                #         default_attributes: {
         | 
| 558 | 
            -
                #           "AttributeName" => "AttributeDefaultValue",
         | 
| 559 | 
            -
                #         },
         | 
| 560 | 
            -
                #         device_templates: {
         | 
| 561 | 
            -
                #           "DeviceTemplateName" => {
         | 
| 562 | 
            -
                #             device_type: "DeviceType",
         | 
| 563 | 
            -
                #             callback_overrides: {
         | 
| 564 | 
            -
                #               "DeviceCallbackKey" => "DeviceCallbackValue",
         | 
| 565 | 
            -
                #             },
         | 
| 566 | 
            -
                #           },
         | 
| 567 | 
            -
                #         },
         | 
| 568 | 
            -
                #       }
         | 
| 569 | 
            -
                #
         | 
| 570 427 | 
             
                # @!attribute [rw] default_attributes
         | 
| 571 428 | 
             
                #   The default attributes (key/value pairs) to be applied to all
         | 
| 572 429 | 
             
                #   placements using this template.
         | 
| @@ -692,16 +549,6 @@ module Aws::IoT1ClickProjects | |
| 692 549 | 
             
                  include Aws::Structure
         | 
| 693 550 | 
             
                end
         | 
| 694 551 |  | 
| 695 | 
            -
                # @note When making an API call, you may pass TagResourceRequest
         | 
| 696 | 
            -
                #   data as a hash:
         | 
| 697 | 
            -
                #
         | 
| 698 | 
            -
                #       {
         | 
| 699 | 
            -
                #         resource_arn: "ProjectArn", # required
         | 
| 700 | 
            -
                #         tags: { # required
         | 
| 701 | 
            -
                #           "TagKey" => "TagValue",
         | 
| 702 | 
            -
                #         },
         | 
| 703 | 
            -
                #       }
         | 
| 704 | 
            -
                #
         | 
| 705 552 | 
             
                # @!attribute [rw] resource_arn
         | 
| 706 553 | 
             
                #   The ARN of the resouce for which tag(s) should be added or modified.
         | 
| 707 554 | 
             
                #   @return [String]
         | 
| @@ -738,14 +585,6 @@ module Aws::IoT1ClickProjects | |
| 738 585 | 
             
                  include Aws::Structure
         | 
| 739 586 | 
             
                end
         | 
| 740 587 |  | 
| 741 | 
            -
                # @note When making an API call, you may pass UntagResourceRequest
         | 
| 742 | 
            -
                #   data as a hash:
         | 
| 743 | 
            -
                #
         | 
| 744 | 
            -
                #       {
         | 
| 745 | 
            -
                #         resource_arn: "ProjectArn", # required
         | 
| 746 | 
            -
                #         tag_keys: ["TagKey"], # required
         | 
| 747 | 
            -
                #       }
         | 
| 748 | 
            -
                #
         | 
| 749 588 | 
             
                # @!attribute [rw] resource_arn
         | 
| 750 589 | 
             
                #   The ARN of the resource whose tag you want to remove.
         | 
| 751 590 | 
             
                #   @return [String]
         | 
| @@ -763,17 +602,6 @@ module Aws::IoT1ClickProjects | |
| 763 602 |  | 
| 764 603 | 
             
                class UntagResourceResponse < Aws::EmptyStructure; end
         | 
| 765 604 |  | 
| 766 | 
            -
                # @note When making an API call, you may pass UpdatePlacementRequest
         | 
| 767 | 
            -
                #   data as a hash:
         | 
| 768 | 
            -
                #
         | 
| 769 | 
            -
                #       {
         | 
| 770 | 
            -
                #         placement_name: "PlacementName", # required
         | 
| 771 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 772 | 
            -
                #         attributes: {
         | 
| 773 | 
            -
                #           "AttributeName" => "AttributeValue",
         | 
| 774 | 
            -
                #         },
         | 
| 775 | 
            -
                #       }
         | 
| 776 | 
            -
                #
         | 
| 777 605 | 
             
                # @!attribute [rw] placement_name
         | 
| 778 606 | 
             
                #   The name of the placement to update.
         | 
| 779 607 | 
             
                #   @return [String]
         | 
| @@ -797,27 +625,6 @@ module Aws::IoT1ClickProjects | |
| 797 625 |  | 
| 798 626 | 
             
                class UpdatePlacementResponse < Aws::EmptyStructure; end
         | 
| 799 627 |  | 
| 800 | 
            -
                # @note When making an API call, you may pass UpdateProjectRequest
         | 
| 801 | 
            -
                #   data as a hash:
         | 
| 802 | 
            -
                #
         | 
| 803 | 
            -
                #       {
         | 
| 804 | 
            -
                #         project_name: "ProjectName", # required
         | 
| 805 | 
            -
                #         description: "Description",
         | 
| 806 | 
            -
                #         placement_template: {
         | 
| 807 | 
            -
                #           default_attributes: {
         | 
| 808 | 
            -
                #             "AttributeName" => "AttributeDefaultValue",
         | 
| 809 | 
            -
                #           },
         | 
| 810 | 
            -
                #           device_templates: {
         | 
| 811 | 
            -
                #             "DeviceTemplateName" => {
         | 
| 812 | 
            -
                #               device_type: "DeviceType",
         | 
| 813 | 
            -
                #               callback_overrides: {
         | 
| 814 | 
            -
                #                 "DeviceCallbackKey" => "DeviceCallbackValue",
         | 
| 815 | 
            -
                #               },
         | 
| 816 | 
            -
                #             },
         | 
| 817 | 
            -
                #           },
         | 
| 818 | 
            -
                #         },
         | 
| 819 | 
            -
                #       }
         | 
| 820 | 
            -
                #
         | 
| 821 628 | 
             
                # @!attribute [rw] project_name
         | 
| 822 629 | 
             
                #   The name of the project to be updated.
         | 
| 823 630 | 
             
                #   @return [String]
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-iot1clickprojects
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.39.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:  | 
| 11 | 
            +
            date: 2023-01-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |