aws-sdk-timestreamquery 1.51.0 → 1.52.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-timestreamquery/client.rb +1 -1
 - data/lib/aws-sdk-timestreamquery/endpoint_provider.rb +15 -0
 - data/lib/aws-sdk-timestreamquery.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 1aea56fb387aef2eb575b86fe4f6d9bff1e146e17a0b523c486458d56fd78225
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 33004c4eea5141aa552d4c3ff0f98becf43708b8faa0669f1b8665ccdeac6122
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a6fa7e42c93bf160ed68b747b035cb39f84fbf95586f7585ff7d12183a4cbeed02568f7c5571c68661cafe0b51422f118a1a6bdcd069e1a997942122075b837b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 626019057bb5bcf1b57f956506ef1576c800fbff1bb788f6ddc0c48590e515d0d6c092d9c15fba50aaea77060bc2855ce07ff86781986096ae0dfcaa5ec3e693
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.52.0
         
     | 
| 
         @@ -1488,7 +1488,7 @@ module Aws::TimestreamQuery 
     | 
|
| 
       1488 
1488 
     | 
    
         
             
                    tracer: tracer
         
     | 
| 
       1489 
1489 
     | 
    
         
             
                  )
         
     | 
| 
       1490 
1490 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-timestreamquery'
         
     | 
| 
       1491 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 1491 
     | 
    
         
            +
                  context[:gem_version] = '1.52.0'
         
     | 
| 
       1492 
1492 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       1493 
1493 
     | 
    
         
             
                end
         
     | 
| 
       1494 
1494 
     | 
    
         | 
| 
         @@ -23,18 +23,33 @@ module Aws::TimestreamQuery 
     | 
|
| 
       23 
23 
     | 
    
         
             
                    if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
         
     | 
| 
       24 
24 
     | 
    
         
             
                      if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
         
     | 
| 
       25 
25 
     | 
    
         
             
                        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"))
         
     | 
| 
      
 26 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 27 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://timestream-query-fips.#{parameters.region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 28 
     | 
    
         
            +
                          end
         
     | 
| 
      
 29 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 30 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://timestream-query.#{parameters.region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 31 
     | 
    
         
            +
                          end
         
     | 
| 
       26 
32 
     | 
    
         
             
                          return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       27 
33 
     | 
    
         
             
                        end
         
     | 
| 
       28 
34 
     | 
    
         
             
                        raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         
     | 
| 
       29 
35 
     | 
    
         
             
                      end
         
     | 
| 
       30 
36 
     | 
    
         
             
                      if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
         
     | 
| 
       31 
37 
     | 
    
         
             
                        if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
         
     | 
| 
      
 38 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
         
     | 
| 
      
 39 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
         
     | 
| 
      
 40 
     | 
    
         
            +
                          end
         
     | 
| 
       32 
41 
     | 
    
         
             
                          return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       33 
42 
     | 
    
         
             
                        end
         
     | 
| 
       34 
43 
     | 
    
         
             
                        raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         
     | 
| 
       35 
44 
     | 
    
         
             
                      end
         
     | 
| 
       36 
45 
     | 
    
         
             
                      if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
         
     | 
| 
       37 
46 
     | 
    
         
             
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         
     | 
| 
      
 47 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 48 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://timestream-query.#{parameters.region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 49 
     | 
    
         
            +
                          end
         
     | 
| 
      
 50 
     | 
    
         
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         
     | 
| 
      
 51 
     | 
    
         
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://timestream-query.#{parameters.region}.api.aws", headers: {}, properties: {})
         
     | 
| 
      
 52 
     | 
    
         
            +
                          end
         
     | 
| 
       38 
53 
     | 
    
         
             
                          return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       39 
54 
     | 
    
         
             
                        end
         
     | 
| 
       40 
55 
     | 
    
         
             
                        raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         
     |