aws-sdk-clouddirectory 1.43.0 → 1.45.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: b0ddcbca0a70d786658aaf219ef73c327235b24fde8577d398c1a24956cbf915
4
- data.tar.gz: 93fed9106d704b0079020ea9cf5465deec803ee1414b9b0dfb42457183c595a8
3
+ metadata.gz: 5fab439ac8868b80787971a4edd4008e6559bd0e28a3223b03d315ae4b74a093
4
+ data.tar.gz: 947488210b066841ca831bafc4862dc2ab2c6a007771e9feea8f110fbb77608f
5
5
  SHA512:
6
- metadata.gz: 7de7da208e6233b14cb02d34af64dcaf2af22a88ddc5393d518e472f97b251d197c539933ad4e4e031911ab41bec690c06095c0bf919051914d4dfa7bdc369ca
7
- data.tar.gz: 8e2cffad04711bcc7a788b953f93980205e2d214babe81f41e5e64d90e5f641b63788cfb399c836a5944982b0d9a892920a545fd06e71223981e69e46aa262b6
6
+ metadata.gz: b709f89cf1099a221c1f9b7b7db3dc00994d3cb1a80fcd4e7cc7d5640dd6e4f470e9fb4a2de48252478e0e137acc29321d41b37759d5c41549335488efa8d56f
7
+ data.tar.gz: 9591d55a4ab0854bd5b21aded6c8f87c8810ed6524d8b9927b785d88b6854d696d0da2f1295e2d9634d3f33454092c7157585ff49c2d34035d2c79df533ba43f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.44.0 (2023-01-30)
10
+ ------------------
11
+
12
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
13
+
4
14
  1.43.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -275,6 +275,11 @@ module Aws::CloudDirectory
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -4328,7 +4333,7 @@ module Aws::CloudDirectory
4328
4333
  params: params,
4329
4334
  config: config)
4330
4335
  context[:gem_name] = 'aws-sdk-clouddirectory'
4331
- context[:gem_version] = '1.43.0'
4336
+ context[:gem_version] = '1.45.0'
4332
4337
  Seahorse::Client::Request.new(handlers, context)
4333
4338
  end
4334
4339
 
@@ -50,6 +50,9 @@ module Aws::CloudDirectory
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::CloudDirectory
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -32,6 +32,9 @@ module Aws::CloudDirectory
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-clouddirectory/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudDirectory
54
54
 
55
- GEM_VERSION = '1.43.0'
55
+ GEM_VERSION = '1.45.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-clouddirectory
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.45.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement