aws-sdk-core 3.178.0 → 3.180.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: 9b0103607b2d6036806605dea30ea78169454607d046e0d492141f78503f5bd0
4
- data.tar.gz: 8886536501b3cf7aee0d37dc2b4cdefd24d8c7ecdbcae9dca1f03734e94296ed
3
+ metadata.gz: db0015d86294d59fb21f49e5c5ee3b3c971f98721d027ee817e2af22cc17079e
4
+ data.tar.gz: 57b6f65d30b49be41ea662dd62a314dbbd191e11dd00d0e23838a8600440510b
5
5
  SHA512:
6
- metadata.gz: 90e1f00ccb15c3e7777ab4cf3df3977dc0a99b0ca243482bab2953ec602dc18bcdb2a4fa69616a535ba68080821509721b5512fe2f4f05717d0f1aeb38c927ff
7
- data.tar.gz: 305ea810a3456b951112fd30e749f8c2feca93c0975efa241fc202131b9e597c396ffcf956551dc27cd7a07d85d2b50b2fd8440047903583523f0211e3d4f60e
6
+ metadata.gz: bba4eaac183b1c41bf7baf71bb09382b1fa24ed45b0442147e6452b97b59e8c3dac6de0519cd4dddd89954f16cf8921243090e83c102622483e3a1c61a142cb1
7
+ data.tar.gz: 763556d98e8777507a83e47ea6f32a75e4b471e90edaa3f476032bfe2b5f6abb1a5c5e19b1faa098b3f999b9e79f66b97e5ef63cfff601affbcefbdce344769b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.180.0 (2023-07-25)
5
+ ------------------
6
+
7
+ * Feature - Updated Aws::STS::Client with the latest API changes.
8
+
9
+ 3.179.0 (2023-07-24)
10
+ ------------------
11
+
12
+ * Feature - Add `checksum_validated` method to response.
13
+
4
14
  3.178.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.178.0
1
+ 3.180.0
@@ -169,9 +169,9 @@ module Aws
169
169
 
170
170
  # Source a custom configured endpoint from the shared configuration file
171
171
  #
172
- # @param [Hash] options
173
- # @option options [String] :profile
174
- # @option options [String] :service_id
172
+ # @param [Hash] opts
173
+ # @option opts [String] :profile
174
+ # @option opts [String] :service_id
175
175
  def configured_endpoint(opts = {})
176
176
  # services section is only allowed in the shared config file (not credentials)
177
177
  profile = opts[:profile] || @profile_name
@@ -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.178.0'
608
+ context[:gem_version] = '3.180.0'
609
609
  Seahorse::Client::Request.new(handlers, context)
610
610
  end
611
611
 
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.178.0'
57
+ GEM_VERSION = '3.180.0'
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.178.0'
604
+ context[:gem_version] = '3.180.0'
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.178.0'
57
+ GEM_VERSION = '3.180.0'
58
58
 
59
59
  end
@@ -766,6 +766,9 @@ module Aws::STS
766
766
  #
767
767
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html
768
768
  #
769
+ # @option params [Array<Types::ProvidedContext>] :provided_contexts
770
+ # Reserved for future use.
771
+ #
769
772
  # @return [Types::AssumeRoleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
770
773
  #
771
774
  # * {Types::AssumeRoleResponse#credentials #credentials} => Types::Credentials
@@ -839,6 +842,12 @@ module Aws::STS
839
842
  # serial_number: "serialNumberType",
840
843
  # token_code: "tokenCodeType",
841
844
  # source_identity: "sourceIdentityType",
845
+ # provided_contexts: [
846
+ # {
847
+ # provider_arn: "arnType",
848
+ # context_assertion: "contextAssertionType",
849
+ # },
850
+ # ],
842
851
  # })
843
852
  #
844
853
  # @example Response structure
@@ -1401,7 +1410,8 @@ module Aws::STS
1401
1410
  # by the identity provider. Your application must get this token by
1402
1411
  # authenticating the user who is using your application with a web
1403
1412
  # identity provider before the application makes an
1404
- # `AssumeRoleWithWebIdentity` call.
1413
+ # `AssumeRoleWithWebIdentity` call. Only tokens with RSA algorithms
1414
+ # (RS256) are supported.
1405
1415
  #
1406
1416
  # @option params [String] :provider_id
1407
1417
  # The fully qualified host component of the domain name of the OAuth 2.0
@@ -2334,7 +2344,7 @@ module Aws::STS
2334
2344
  params: params,
2335
2345
  config: config)
2336
2346
  context[:gem_name] = 'aws-sdk-core'
2337
- context[:gem_version] = '3.178.0'
2347
+ context[:gem_version] = '3.180.0'
2338
2348
  Seahorse::Client::Request.new(handlers, context)
2339
2349
  end
2340
2350
 
@@ -43,6 +43,8 @@ module Aws::STS
43
43
  NameQualifier = Shapes::StringShape.new(name: 'NameQualifier')
44
44
  PackedPolicyTooLargeException = Shapes::StructureShape.new(name: 'PackedPolicyTooLargeException')
45
45
  PolicyDescriptorType = Shapes::StructureShape.new(name: 'PolicyDescriptorType')
46
+ ProvidedContext = Shapes::StructureShape.new(name: 'ProvidedContext')
47
+ ProvidedContextsListType = Shapes::ListShape.new(name: 'ProvidedContextsListType')
46
48
  RegionDisabledException = Shapes::StructureShape.new(name: 'RegionDisabledException')
47
49
  SAMLAssertionType = Shapes::StringShape.new(name: 'SAMLAssertionType')
48
50
  Subject = Shapes::StringShape.new(name: 'Subject')
@@ -54,6 +56,7 @@ module Aws::STS
54
56
  arnType = Shapes::StringShape.new(name: 'arnType')
55
57
  assumedRoleIdType = Shapes::StringShape.new(name: 'assumedRoleIdType')
56
58
  clientTokenType = Shapes::StringShape.new(name: 'clientTokenType')
59
+ contextAssertionType = Shapes::StringShape.new(name: 'contextAssertionType')
57
60
  dateType = Shapes::TimestampShape.new(name: 'dateType')
58
61
  decodedMessageType = Shapes::StringShape.new(name: 'decodedMessageType')
59
62
  durationSecondsType = Shapes::IntegerShape.new(name: 'durationSecondsType')
@@ -97,6 +100,7 @@ module Aws::STS
97
100
  AssumeRoleRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, location_name: "SerialNumber"))
98
101
  AssumeRoleRequest.add_member(:token_code, Shapes::ShapeRef.new(shape: tokenCodeType, location_name: "TokenCode"))
99
102
  AssumeRoleRequest.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
103
+ AssumeRoleRequest.add_member(:provided_contexts, Shapes::ShapeRef.new(shape: ProvidedContextsListType, location_name: "ProvidedContexts"))
100
104
  AssumeRoleRequest.struct_class = Types::AssumeRoleRequest
101
105
 
102
106
  AssumeRoleResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
@@ -219,6 +223,12 @@ module Aws::STS
219
223
  PolicyDescriptorType.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "arn"))
220
224
  PolicyDescriptorType.struct_class = Types::PolicyDescriptorType
221
225
 
226
+ ProvidedContext.add_member(:provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "ProviderArn"))
227
+ ProvidedContext.add_member(:context_assertion, Shapes::ShapeRef.new(shape: contextAssertionType, location_name: "ContextAssertion"))
228
+ ProvidedContext.struct_class = Types::ProvidedContext
229
+
230
+ ProvidedContextsListType.member = Shapes::ShapeRef.new(shape: ProvidedContext)
231
+
222
232
  RegionDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: regionDisabledMessage, location_name: "message"))
223
233
  RegionDisabledException.struct_class = Types::RegionDisabledException
224
234
 
@@ -287,6 +287,10 @@ module Aws::STS
287
287
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html
288
288
  # @return [String]
289
289
  #
290
+ # @!attribute [rw] provided_contexts
291
+ # Reserved for future use.
292
+ # @return [Array<Types::ProvidedContext>]
293
+ #
290
294
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest AWS API Documentation
291
295
  #
292
296
  class AssumeRoleRequest < Struct.new(
@@ -300,7 +304,8 @@ module Aws::STS
300
304
  :external_id,
301
305
  :serial_number,
302
306
  :token_code,
303
- :source_identity)
307
+ :source_identity,
308
+ :provided_contexts)
304
309
  SENSITIVE = []
305
310
  include Aws::Structure
306
311
  end
@@ -652,7 +657,8 @@ module Aws::STS
652
657
  # provided by the identity provider. Your application must get this
653
658
  # token by authenticating the user who is using your application with
654
659
  # a web identity provider before the application makes an
655
- # `AssumeRoleWithWebIdentity` call.
660
+ # `AssumeRoleWithWebIdentity` call. Only tokens with RSA algorithms
661
+ # (RS256) are supported.
656
662
  # @return [String]
657
663
  #
658
664
  # @!attribute [rw] provider_id
@@ -1497,6 +1503,25 @@ module Aws::STS
1497
1503
  include Aws::Structure
1498
1504
  end
1499
1505
 
1506
+ # Reserved for future use.
1507
+ #
1508
+ # @!attribute [rw] provider_arn
1509
+ # Reserved for future use.
1510
+ # @return [String]
1511
+ #
1512
+ # @!attribute [rw] context_assertion
1513
+ # Reserved for future use.
1514
+ # @return [String]
1515
+ #
1516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/ProvidedContext AWS API Documentation
1517
+ #
1518
+ class ProvidedContext < Struct.new(
1519
+ :provider_arn,
1520
+ :context_assertion)
1521
+ SENSITIVE = []
1522
+ include Aws::Structure
1523
+ end
1524
+
1500
1525
  # STS is not activated in the requested region for the account that is
1501
1526
  # being asked to generate credentials. The account administrator must
1502
1527
  # use the IAM console to activate STS in that region. For more
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.178.0'
57
+ GEM_VERSION = '3.180.0'
58
58
 
59
59
  end
@@ -30,6 +30,12 @@ module Seahorse
30
30
  # @return [StandardError, nil]
31
31
  attr_accessor :error
32
32
 
33
+ # @return [String, nil] returns the algorithm used to validate
34
+ # the response checksum. Returns nil if no verification was done.
35
+ def checksum_validated
36
+ context[:http_checksum][:validated] if context[:http_checksum]
37
+ end
38
+
33
39
  # @overload on(status_code, &block)
34
40
  # @param [Integer] status_code The block will be
35
41
  # triggered only for responses with the given status code.
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.178.0
4
+ version: 3.180.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-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath