aws-sdk-kendraranking 1.6.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c52f33f653c9afb3178d15e6e2ce4e0bebb0151580f2011762005b4dd9d5fb9
4
- data.tar.gz: 0bcad3dce7ae5082232fc0d95e19a26b8aa9c67cad2e78a99a748702e35d424a
3
+ metadata.gz: 946da9618e7af054cd27a656fd1f4cf38955dfa749bfc03fc20da20f34df21d3
4
+ data.tar.gz: 2a5d428c2b520ac53af97692490a5daba78f51833754230f7a3ed03ed7a6bc8d
5
5
  SHA512:
6
- metadata.gz: 24672d62f1fa78852a4831400792d933856d5dae7b52adb11dde10bc2a68f9e5e8e93b5035c971e7ab4b08c9a455b21d4abf3f84403a6cc373fe1e9ea3ec3445
7
- data.tar.gz: 73c887d63f13893a21ea45cd18b4aab23121cd682d259f2c3e078f3b687e9f6b804b57c4c6b0d7b62fa4cd0dab14a327bd8ab07ea06f0fac99b018d2e5e072c6
6
+ metadata.gz: f8d548fa7ee7fb6cefcb29076af7f539f900c9d6c9334a076ae2f95f8c94f7c16fe38c5b47140ffa25aa64dfea011ab6ceb6683c1c7fd6e7f2c4ca9d812196d2
7
+ data.tar.gz: 52a830fe0c5cd96395b5e1397f1710f92b917b4dd7a6fbc50f6f0e3a3d74ef2f32c71089ff25500db624a81b7037aa7551a6e12f6749931fd503ab66f79967a1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.7.0 (2023-09-19)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.6.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.8.0
@@ -812,7 +812,7 @@ module Aws::KendraRanking
812
812
  params: params,
813
813
  config: config)
814
814
  context[:gem_name] = 'aws-sdk-kendraranking'
815
- context[:gem_version] = '1.6.0'
815
+ context[:gem_version] = '1.8.0'
816
816
  Seahorse::Client::Request.new(handlers, context)
817
817
  end
818
818
 
@@ -43,9 +43,6 @@ module Aws::KendraRanking
43
43
 
44
44
  def initialize(options = {})
45
45
  self[:region] = options[:region]
46
- if self[:region].nil?
47
- raise ArgumentError, "Missing required EndpointParameter: :region"
48
- end
49
46
  self[:use_fips] = options[:use_fips]
50
47
  self[:use_fips] = false if self[:use_fips].nil?
51
48
  if self[:use_fips].nil?
@@ -13,30 +13,33 @@ module Aws::KendraRanking
13
13
  region = parameters.region
14
14
  use_fips = parameters.use_fips
15
15
  endpoint = parameters.endpoint
16
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
- end
21
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
16
+ if Aws::Endpoints::Matchers.set?(endpoint)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
18
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
22
19
  end
23
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
20
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
+ end
22
+ if Aws::Endpoints::Matchers.set?(region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
25
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
26
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
27
+ return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
28
+ end
29
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
30
+ end
31
+ return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
+ end
24
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
25
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
26
- return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
35
+ return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
27
36
  end
28
37
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
29
38
  end
30
- return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
- end
32
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
33
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
34
- return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
35
- end
36
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
40
  end
38
- return Aws::Endpoints::Endpoint.new(url: "https://kendra-ranking.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
41
  end
42
+ raise ArgumentError, "Invalid Configuration: Missing Region"
40
43
  raise ArgumentError, 'No endpoint could be resolved'
41
44
 
42
45
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-kendraranking/customizations'
52
52
  # @!group service
53
53
  module Aws::KendraRanking
54
54
 
55
- GEM_VERSION = '1.6.0'
55
+ GEM_VERSION = '1.8.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kendraranking
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.8.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-27 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.177.0
22
+ version: 3.184.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.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement