aws-sdk-iotsecuretunneling 1.47.0 → 1.48.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-iotsecuretunneling/client.rb +1 -1
 - data/lib/aws-sdk-iotsecuretunneling/endpoint_provider.rb +19 -1
 - data/lib/aws-sdk-iotsecuretunneling.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: 75ae1b726b90a6844a64fa542191275e1c10c46698193de8bfa06a9c5544d08a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: f1b63613194648413fa66f2676d67799fdb91218d016769322a91d8728646ead
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 0b83d6bd2bdf7ecf908a62a252760155472e4bef255dfc55e0e7038b84fe3cfdb1d847ca7cce3efda3f4dc1896dd2417a2b8527bdda2713c07ea254fe8486cf6
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 403043b211ff106dab3abf4d7478e55ac30fd3d24ceaa2558862dfac0c48ab09c3a1275cf5a03e5de8d6fe1a5902d9cb3a1bd4b484f9ae37543cd7fe892e6832
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.48.0
         
     | 
| 
         @@ -27,18 +27,36 @@ module Aws::IoTSecureTunneling 
     | 
|
| 
       27 
27 
     | 
    
         
             
                    if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         
     | 
| 
       28 
28 
     | 
    
         
             
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
       29 
29 
     | 
    
         
             
                        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"))
         
     | 
| 
      
 30 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 31 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling-fips.#{region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 32 
     | 
    
         
            +
                          end
         
     | 
| 
      
 33 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 34 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
         
     | 
| 
      
 35 
     | 
    
         
            +
                          end
         
     | 
| 
      
 36 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 37 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling-fips.#{region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 38 
     | 
    
         
            +
                          end
         
     | 
| 
       30 
39 
     | 
    
         
             
                          return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       31 
40 
     | 
    
         
             
                        end
         
     | 
| 
       32 
41 
     | 
    
         
             
                        raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         
     | 
| 
       33 
42 
     | 
    
         
             
                      end
         
     | 
| 
       34 
43 
     | 
    
         
             
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         
     | 
| 
       35 
     | 
    
         
            -
                        if Aws::Endpoints::Matchers.boolean_equals?( 
     | 
| 
      
 44 
     | 
    
         
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
         
     | 
| 
       36 
45 
     | 
    
         
             
                          return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       37 
46 
     | 
    
         
             
                        end
         
     | 
| 
       38 
47 
     | 
    
         
             
                        raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         
     | 
| 
       39 
48 
     | 
    
         
             
                      end
         
     | 
| 
       40 
49 
     | 
    
         
             
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
       41 
50 
     | 
    
         
             
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         
     | 
| 
      
 51 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 52 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling.#{region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 53 
     | 
    
         
            +
                          end
         
     | 
| 
      
 54 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 55 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
         
     | 
| 
      
 56 
     | 
    
         
            +
                          end
         
     | 
| 
      
 57 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 58 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling.#{region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 59 
     | 
    
         
            +
                          end
         
     | 
| 
       42 
60 
     | 
    
         
             
                          return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       43 
61 
     | 
    
         
             
                        end
         
     | 
| 
       44 
62 
     | 
    
         
             
                        raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-iotsecuretunneling
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.48.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: 2025-01-06 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     |