aws-sdk-core 3.184.0 → 3.185.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c174e3e20f53c69aab8b23ec85ca75a84f7a9541b4a833da4cd7aabe5d08bdf9
4
- data.tar.gz: eff5a3c9814ecfe8b4dbdd0eec1b72cb66f66d6d3ff514f89d06167f86dde081
3
+ metadata.gz: a871c58d68eb4fb29e8cbaa37367987ed2c060127ddddd433235ae50b43030f5
4
+ data.tar.gz: f7697299235319ae5cb27f2251d2650960e68358d30ea90199bcc4709ef6bd81
5
5
  SHA512:
6
- metadata.gz: '09f540689c00d522c6a38026d284d660825faefcfd55b93337feeb226edd4b83e2c0c809206994630ee8dfa54505cc38802495117fb409d75aa482d1a22f3979'
7
- data.tar.gz: fe803a96b1dab3ad3850ea180462f183baef5ad8055e6b38082e3be4965c32fd5f262431d49897d7dfd4ff0140f61e78ee772cc05385cd8865a075b0d93b0ca8
6
+ metadata.gz: 2e2f2575b51ecc6cebcb91657b12e88241cb7b51a635fa48057f7f54b540cee470d0eef5c20dc5da4e0c8f9c4f967133c3a100824c2e274978131ee86ab69c5e
7
+ data.tar.gz: 2dd958969ee80dbde1b6fe9c151f5508301593ad87703ebbb0a4b700e57110ad88e3a1103a56bc70cb5cdfe2965eb0fbb27ee35d38adfa45e664a958546ddb7e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.185.1 (2023-10-05)
5
+ ------------------
6
+
7
+ * Issue - Ignore `__type` when deserializing Unions.
8
+
9
+ 3.185.0 (2023-10-02)
10
+ ------------------
11
+
12
+ * Feature - Updated Aws::STS::Client with the latest API changes.
13
+
14
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
15
+
4
16
  3.184.0 (2023-09-27)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.184.0
1
+ 3.185.1
@@ -28,7 +28,7 @@ module Aws
28
28
  member_name, member_ref = shape.member_by_location_name(key)
29
29
  if member_ref
30
30
  target[member_name] = parse_ref(member_ref, value)
31
- elsif shape.union
31
+ elsif shape.union && key != '__type'
32
32
  target[:unknown] = { 'name' => key, 'value' => value }
33
33
  end
34
34
  end
@@ -605,7 +605,7 @@ module Aws::SSO
605
605
  params: params,
606
606
  config: config)
607
607
  context[:gem_name] = 'aws-sdk-core'
608
- context[:gem_version] = '3.184.0'
608
+ context[:gem_version] = '3.185.1'
609
609
  Seahorse::Client::Request.new(handlers, context)
610
610
  end
611
611
 
@@ -33,6 +33,9 @@ module Aws::SSO
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
35
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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://portal.sso.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
36
39
  return Aws::Endpoints::Endpoint.new(url: "https://portal.sso-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
40
  end
38
41
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
data/lib/aws-sdk-sso.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sso/customizations'
54
54
  # @!group service
55
55
  module Aws::SSO
56
56
 
57
- GEM_VERSION = '3.184.0'
57
+ GEM_VERSION = '3.185.1'
58
58
 
59
59
  end
@@ -601,7 +601,7 @@ module Aws::SSOOIDC
601
601
  params: params,
602
602
  config: config)
603
603
  context[:gem_name] = 'aws-sdk-core'
604
- context[:gem_version] = '3.184.0'
604
+ context[:gem_version] = '3.185.1'
605
605
  Seahorse::Client::Request.new(handlers, context)
606
606
  end
607
607
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
54
54
  # @!group service
55
55
  module Aws::SSOOIDC
56
56
 
57
- GEM_VERSION = '3.184.0'
57
+ GEM_VERSION = '3.185.1'
58
58
 
59
59
  end
@@ -829,7 +829,7 @@ module Aws::STS
829
829
  # arn: "arnType",
830
830
  # },
831
831
  # ],
832
- # policy: "sessionPolicyDocumentType",
832
+ # policy: "unrestrictedSessionPolicyDocumentType",
833
833
  # duration_seconds: 1,
834
834
  # tags: [
835
835
  # {
@@ -2344,7 +2344,7 @@ module Aws::STS
2344
2344
  params: params,
2345
2345
  config: config)
2346
2346
  context[:gem_name] = 'aws-sdk-core'
2347
- context[:gem_version] = '3.184.0'
2347
+ context[:gem_version] = '3.185.1'
2348
2348
  Seahorse::Client::Request.new(handlers, context)
2349
2349
  end
2350
2350
 
@@ -84,6 +84,7 @@ module Aws::STS
84
84
  tagValueType = Shapes::StringShape.new(name: 'tagValueType')
85
85
  tokenCodeType = Shapes::StringShape.new(name: 'tokenCodeType')
86
86
  tokenType = Shapes::StringShape.new(name: 'tokenType')
87
+ unrestrictedSessionPolicyDocumentType = Shapes::StringShape.new(name: 'unrestrictedSessionPolicyDocumentType')
87
88
  urlType = Shapes::StringShape.new(name: 'urlType')
88
89
  userIdType = Shapes::StringShape.new(name: 'userIdType')
89
90
  userNameType = Shapes::StringShape.new(name: 'userNameType')
@@ -92,7 +93,7 @@ module Aws::STS
92
93
  AssumeRoleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "RoleArn"))
93
94
  AssumeRoleRequest.add_member(:role_session_name, Shapes::ShapeRef.new(shape: roleSessionNameType, required: true, location_name: "RoleSessionName"))
94
95
  AssumeRoleRequest.add_member(:policy_arns, Shapes::ShapeRef.new(shape: policyDescriptorListType, location_name: "PolicyArns"))
95
- AssumeRoleRequest.add_member(:policy, Shapes::ShapeRef.new(shape: sessionPolicyDocumentType, location_name: "Policy"))
96
+ AssumeRoleRequest.add_member(:policy, Shapes::ShapeRef.new(shape: unrestrictedSessionPolicyDocumentType, location_name: "Policy"))
96
97
  AssumeRoleRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: roleDurationSecondsType, location_name: "DurationSeconds"))
97
98
  AssumeRoleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
98
99
  AssumeRoleRequest.add_member(:transitive_tag_keys, Shapes::ShapeRef.new(shape: tagKeyListType, location_name: "TransitiveTagKeys"))
data/lib/aws-sdk-sts.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sts/customizations'
54
54
  # @!group service
55
55
  module Aws::STS
56
56
 
57
- GEM_VERSION = '3.184.0'
57
+ GEM_VERSION = '3.185.1'
58
58
 
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.184.0
4
+ version: 3.185.1
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-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath