aws-sdk-core 3.256.0 → 3.257.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6b85006460b91003a05c218c29cbc889bfbc95278c36cba844f34aa5537f33f
4
- data.tar.gz: d742439c2bba64032c84f6916105734502edcde353826dc2d1a6f73d36b31982
3
+ metadata.gz: 645b4cf51bdbd1caea40a95ef787ee6e25c221a79a14387382bb7b3573e50b51
4
+ data.tar.gz: 3bf3895885beab2d6e0997098a670190aa41e717c686ac77841878627bca7f8a
5
5
  SHA512:
6
- metadata.gz: beab5a6c7ca0cd058ef2f24deea3cb633e7b9f2966acf9a9862cbfacdb276ea551cd0cd17a96437677d5a10b40293fb851d59caf9331b6742790d7e22e1adfbd
7
- data.tar.gz: 37b88fb8abbbc386ea4aff3234f126f38bfeefb8b9f430d877b0a4c9d014d2a421b45472207747538881513cb00e6217b882e49a7c2c24bb2e32a32ad72aee1a
6
+ metadata.gz: be11f00d1aed112e0721dc127af5d0bbfdae42158b75be7bd74a44df75bfedb2ce61b96f5ea0a9a394d3f886364dcd62782d3538ebcdf04f2f9473b173ccdef5
7
+ data.tar.gz: bc1d1b585f4602f83fe7e6b1523c7168d36d4c6ed64a61294ae243c2bbcd52c4b1777d2d093db3aa80a608b73bce7900ef559575a51754e7535049348956e07a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.257.0 (2026-09-14)
5
+ ------------------
6
+
7
+ * Feature - Updated Aws::STS::Client with the latest API changes.
8
+
9
+ * Feature - Increases the maximum session token size to 4,096 bytes and removes the packed policy size limit. Adds SessionTokenSize and SessionTokenUtilization fields and a new MinimumSessionTokenSize parameter. PackedPolicySize is deprecated.
10
+
4
11
  3.256.0 (2026-09-11)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.256.0
1
+ 3.257.0
@@ -983,7 +983,7 @@ module Aws::Signin
983
983
  tracer: tracer
984
984
  )
985
985
  context[:gem_name] = 'aws-sdk-core'
986
- context[:gem_version] = '3.256.0'
986
+ context[:gem_version] = '3.257.0'
987
987
  Seahorse::Client::Request.new(handlers, context)
988
988
  end
989
989
 
@@ -56,7 +56,7 @@ module Aws::Signin
56
56
  autoload :EndpointProvider, 'aws-sdk-signin/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-signin/endpoints'
58
58
 
59
- GEM_VERSION = '3.256.0'
59
+ GEM_VERSION = '3.257.0'
60
60
 
61
61
  end
62
62
 
@@ -696,7 +696,7 @@ module Aws::SSO
696
696
  tracer: tracer
697
697
  )
698
698
  context[:gem_name] = 'aws-sdk-core'
699
- context[:gem_version] = '3.256.0'
699
+ context[:gem_version] = '3.257.0'
700
700
  Seahorse::Client::Request.new(handlers, context)
701
701
  end
702
702
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -56,7 +56,7 @@ module Aws::SSO
56
56
  autoload :EndpointProvider, 'aws-sdk-sso/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-sso/endpoints'
58
58
 
59
- GEM_VERSION = '3.256.0'
59
+ GEM_VERSION = '3.257.0'
60
60
 
61
61
  end
62
62
 
@@ -1079,7 +1079,7 @@ module Aws::SSOOIDC
1079
1079
  tracer: tracer
1080
1080
  )
1081
1081
  context[:gem_name] = 'aws-sdk-core'
1082
- context[:gem_version] = '3.256.0'
1082
+ context[:gem_version] = '3.257.0'
1083
1083
  Seahorse::Client::Request.new(handlers, context)
1084
1084
  end
1085
1085
 
@@ -56,7 +56,7 @@ module Aws::SSOOIDC
56
56
  autoload :EndpointProvider, 'aws-sdk-ssooidc/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-ssooidc/endpoints'
58
58
 
59
- GEM_VERSION = '3.256.0'
59
+ GEM_VERSION = '3.257.0'
60
60
 
61
61
  end
62
62
 
@@ -878,12 +878,21 @@ module Aws::STS
878
878
  #
879
879
  # `[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]`
880
880
  #
881
+ # @option params [Integer] :minimum_session_token_size
882
+ # The minimum size, in bytes, of the session token that STS issues for
883
+ # the request. STS increases the session token to at least this size,
884
+ # regardless of its actual content. The value must not exceed 4,096
885
+ # bytes. When set to 0 or not specified, the session token size is
886
+ # unchanged.
887
+ #
881
888
  # @return [Types::AssumeRoleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
882
889
  #
883
890
  # * {Types::AssumeRoleResponse#credentials #credentials} => Types::Credentials
884
891
  # * {Types::AssumeRoleResponse#assumed_role_user #assumed_role_user} => Types::AssumedRoleUser
885
892
  # * {Types::AssumeRoleResponse#packed_policy_size #packed_policy_size} => Integer
886
893
  # * {Types::AssumeRoleResponse#source_identity #source_identity} => String
894
+ # * {Types::AssumeRoleResponse#session_token_utilization #session_token_utilization} => Integer
895
+ # * {Types::AssumeRoleResponse#session_token_size #session_token_size} => Integer
887
896
  #
888
897
  #
889
898
  # @example Example: To assume a role
@@ -957,6 +966,7 @@ module Aws::STS
957
966
  # context_assertion: "contextAssertionType",
958
967
  # },
959
968
  # ],
969
+ # minimum_session_token_size: 1,
960
970
  # })
961
971
  #
962
972
  # @example Response structure
@@ -969,6 +979,8 @@ module Aws::STS
969
979
  # resp.assumed_role_user.arn #=> String
970
980
  # resp.packed_policy_size #=> Integer
971
981
  # resp.source_identity #=> String
982
+ # resp.session_token_utilization #=> Integer
983
+ # resp.session_token_size #=> Integer
972
984
  #
973
985
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole AWS API Documentation
974
986
  #
@@ -1257,6 +1269,13 @@ module Aws::STS
1257
1269
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session
1258
1270
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
1259
1271
  #
1272
+ # @option params [Integer] :minimum_session_token_size
1273
+ # The minimum size, in bytes, of the session token that STS issues for
1274
+ # the request. STS increases the session token to at least this size,
1275
+ # regardless of its actual content. The value must not exceed 4,096
1276
+ # bytes. When set to 0 or not specified, the session token size is
1277
+ # unchanged.
1278
+ #
1260
1279
  # @return [Types::AssumeRoleWithSAMLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1261
1280
  #
1262
1281
  # * {Types::AssumeRoleWithSAMLResponse#credentials #credentials} => Types::Credentials
@@ -1268,6 +1287,8 @@ module Aws::STS
1268
1287
  # * {Types::AssumeRoleWithSAMLResponse#audience #audience} => String
1269
1288
  # * {Types::AssumeRoleWithSAMLResponse#name_qualifier #name_qualifier} => String
1270
1289
  # * {Types::AssumeRoleWithSAMLResponse#source_identity #source_identity} => String
1290
+ # * {Types::AssumeRoleWithSAMLResponse#session_token_utilization #session_token_utilization} => Integer
1291
+ # * {Types::AssumeRoleWithSAMLResponse#session_token_size #session_token_size} => Integer
1271
1292
  #
1272
1293
  #
1273
1294
  # @example Example: To assume a role using a SAML assertion
@@ -1312,6 +1333,7 @@ module Aws::STS
1312
1333
  # ],
1313
1334
  # policy: "sessionPolicyDocumentType",
1314
1335
  # duration_seconds: 1,
1336
+ # minimum_session_token_size: 1,
1315
1337
  # })
1316
1338
  #
1317
1339
  # @example Response structure
@@ -1329,6 +1351,8 @@ module Aws::STS
1329
1351
  # resp.audience #=> String
1330
1352
  # resp.name_qualifier #=> String
1331
1353
  # resp.source_identity #=> String
1354
+ # resp.session_token_utilization #=> Integer
1355
+ # resp.session_token_size #=> Integer
1332
1356
  #
1333
1357
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML AWS API Documentation
1334
1358
  #
@@ -1662,6 +1686,13 @@ module Aws::STS
1662
1686
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session
1663
1687
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
1664
1688
  #
1689
+ # @option params [Integer] :minimum_session_token_size
1690
+ # The minimum size, in bytes, of the session token that STS issues for
1691
+ # the request. STS increases the session token to at least this size,
1692
+ # regardless of its actual content. The value must not exceed 4,096
1693
+ # bytes. When set to 0 or not specified, the session token size is
1694
+ # unchanged.
1695
+ #
1665
1696
  # @return [Types::AssumeRoleWithWebIdentityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1666
1697
  #
1667
1698
  # * {Types::AssumeRoleWithWebIdentityResponse#credentials #credentials} => Types::Credentials
@@ -1671,6 +1702,8 @@ module Aws::STS
1671
1702
  # * {Types::AssumeRoleWithWebIdentityResponse#provider #provider} => String
1672
1703
  # * {Types::AssumeRoleWithWebIdentityResponse#audience #audience} => String
1673
1704
  # * {Types::AssumeRoleWithWebIdentityResponse#source_identity #source_identity} => String
1705
+ # * {Types::AssumeRoleWithWebIdentityResponse#session_token_utilization #session_token_utilization} => Integer
1706
+ # * {Types::AssumeRoleWithWebIdentityResponse#session_token_size #session_token_size} => Integer
1674
1707
  #
1675
1708
  #
1676
1709
  # @example Example: To assume a role as an OpenID Connect-federated user
@@ -1716,6 +1749,7 @@ module Aws::STS
1716
1749
  # ],
1717
1750
  # policy: "sessionPolicyDocumentType",
1718
1751
  # duration_seconds: 1,
1752
+ # minimum_session_token_size: 1,
1719
1753
  # })
1720
1754
  #
1721
1755
  # @example Response structure
@@ -1731,6 +1765,8 @@ module Aws::STS
1731
1765
  # resp.provider #=> String
1732
1766
  # resp.audience #=> String
1733
1767
  # resp.source_identity #=> String
1768
+ # resp.session_token_utilization #=> Integer
1769
+ # resp.session_token_size #=> Integer
1734
1770
  #
1735
1771
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity AWS API Documentation
1736
1772
  #
@@ -1812,10 +1848,19 @@ module Aws::STS
1812
1848
  #
1813
1849
  # By default, the value is set to `900` seconds.
1814
1850
  #
1851
+ # @option params [Integer] :minimum_session_token_size
1852
+ # The minimum size, in bytes, of the session token that STS issues for
1853
+ # the request. STS increases the session token to at least this size,
1854
+ # regardless of its actual content. The value must not exceed 4,096
1855
+ # bytes. When set to 0 or not specified, the session token size is
1856
+ # unchanged.
1857
+ #
1815
1858
  # @return [Types::AssumeRootResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1816
1859
  #
1817
1860
  # * {Types::AssumeRootResponse#credentials #credentials} => Types::Credentials
1818
1861
  # * {Types::AssumeRootResponse#source_identity #source_identity} => String
1862
+ # * {Types::AssumeRootResponse#session_token_utilization #session_token_utilization} => Integer
1863
+ # * {Types::AssumeRootResponse#session_token_size #session_token_size} => Integer
1819
1864
  #
1820
1865
  #
1821
1866
  # @example Example: To launch a privileged session
@@ -1850,6 +1895,7 @@ module Aws::STS
1850
1895
  # arn: "arnType",
1851
1896
  # },
1852
1897
  # duration_seconds: 1,
1898
+ # minimum_session_token_size: 1,
1853
1899
  # })
1854
1900
  #
1855
1901
  # @example Response structure
@@ -1859,6 +1905,8 @@ module Aws::STS
1859
1905
  # resp.credentials.session_token #=> String
1860
1906
  # resp.credentials.expiration #=> Time
1861
1907
  # resp.source_identity #=> String
1908
+ # resp.session_token_utilization #=> Integer
1909
+ # resp.session_token_size #=> Integer
1862
1910
  #
1863
1911
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoot AWS API Documentation
1864
1912
  #
@@ -2405,11 +2453,20 @@ module Aws::STS
2405
2453
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html
2406
2454
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length
2407
2455
  #
2456
+ # @option params [Integer] :minimum_session_token_size
2457
+ # The minimum size, in bytes, of the session token that STS issues for
2458
+ # the request. STS increases the session token to at least this size,
2459
+ # regardless of its actual content. The value must not exceed 4,096
2460
+ # bytes. When set to 0 or not specified, the session token size is
2461
+ # unchanged.
2462
+ #
2408
2463
  # @return [Types::GetFederationTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2409
2464
  #
2410
2465
  # * {Types::GetFederationTokenResponse#credentials #credentials} => Types::Credentials
2411
2466
  # * {Types::GetFederationTokenResponse#federated_user #federated_user} => Types::FederatedUser
2412
2467
  # * {Types::GetFederationTokenResponse#packed_policy_size #packed_policy_size} => Integer
2468
+ # * {Types::GetFederationTokenResponse#session_token_utilization #session_token_utilization} => Integer
2469
+ # * {Types::GetFederationTokenResponse#session_token_size #session_token_size} => Integer
2413
2470
  #
2414
2471
  #
2415
2472
  # @example Example: To get temporary credentials for a role by using GetFederationToken
@@ -2462,6 +2519,7 @@ module Aws::STS
2462
2519
  # value: "tagValueType", # required
2463
2520
  # },
2464
2521
  # ],
2522
+ # minimum_session_token_size: 1,
2465
2523
  # })
2466
2524
  #
2467
2525
  # @example Response structure
@@ -2473,6 +2531,8 @@ module Aws::STS
2473
2531
  # resp.federated_user.federated_user_id #=> String
2474
2532
  # resp.federated_user.arn #=> String
2475
2533
  # resp.packed_policy_size #=> Integer
2534
+ # resp.session_token_utilization #=> Integer
2535
+ # resp.session_token_size #=> Integer
2476
2536
  #
2477
2537
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken AWS API Documentation
2478
2538
  #
@@ -2593,9 +2653,18 @@ module Aws::STS
2593
2653
  # The format for this parameter, as described by its regex pattern, is a
2594
2654
  # sequence of six numeric digits.
2595
2655
  #
2656
+ # @option params [Integer] :minimum_session_token_size
2657
+ # The minimum size, in bytes, of the session token that STS issues for
2658
+ # the request. STS increases the session token to at least this size,
2659
+ # regardless of its actual content. The value must not exceed 4,096
2660
+ # bytes. When set to 0 or not specified, the session token size is
2661
+ # unchanged.
2662
+ #
2596
2663
  # @return [Types::GetSessionTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2597
2664
  #
2598
2665
  # * {Types::GetSessionTokenResponse#credentials #credentials} => Types::Credentials
2666
+ # * {Types::GetSessionTokenResponse#session_token_utilization #session_token_utilization} => Integer
2667
+ # * {Types::GetSessionTokenResponse#session_token_size #session_token_size} => Integer
2599
2668
  #
2600
2669
  #
2601
2670
  # @example Example: To get temporary credentials for an IAM user or an AWS account
@@ -2622,6 +2691,7 @@ module Aws::STS
2622
2691
  # duration_seconds: 1,
2623
2692
  # serial_number: "serialNumberType",
2624
2693
  # token_code: "tokenCodeType",
2694
+ # minimum_session_token_size: 1,
2625
2695
  # })
2626
2696
  #
2627
2697
  # @example Response structure
@@ -2630,6 +2700,8 @@ module Aws::STS
2630
2700
  # resp.credentials.secret_access_key #=> String
2631
2701
  # resp.credentials.session_token #=> String
2632
2702
  # resp.credentials.expiration #=> Time
2703
+ # resp.session_token_utilization #=> Integer
2704
+ # resp.session_token_size #=> Integer
2633
2705
  #
2634
2706
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken AWS API Documentation
2635
2707
  #
@@ -2647,6 +2719,11 @@ module Aws::STS
2647
2719
  # verified using the verification keys published at the issuer's JWKS
2648
2720
  # endpoint.
2649
2721
  #
2722
+ # <note markdown="1"> The `GetWebIdentityToken` API is not available on the STS Global
2723
+ # endpoint.
2724
+ #
2725
+ # </note>
2726
+ #
2650
2727
  # @option params [required, Array<String>] :audience
2651
2728
  # The intended recipient of the web identity token. This value populates
2652
2729
  # the `aud` claim in the JWT and should identify the service or
@@ -2723,7 +2800,7 @@ module Aws::STS
2723
2800
  tracer: tracer
2724
2801
  )
2725
2802
  context[:gem_name] = 'aws-sdk-core'
2726
- context[:gem_version] = '3.256.0'
2803
+ context[:gem_version] = '3.257.0'
2727
2804
  Seahorse::Client::Request.new(handlers, context)
2728
2805
  end
2729
2806
 
@@ -85,6 +85,7 @@ module Aws::STS
85
85
  jwtAlgorithmType = Shapes::StringShape.new(name: 'jwtAlgorithmType')
86
86
  jwtPayloadSizeExceededException = Shapes::StringShape.new(name: 'jwtPayloadSizeExceededException')
87
87
  malformedPolicyDocumentMessage = Shapes::StringShape.new(name: 'malformedPolicyDocumentMessage')
88
+ minimumSessionTokenSizeType = Shapes::IntegerShape.new(name: 'minimumSessionTokenSizeType')
88
89
  nonNegativeIntegerType = Shapes::IntegerShape.new(name: 'nonNegativeIntegerType')
89
90
  outboundWebIdentityFederationDisabledException = Shapes::StringShape.new(name: 'outboundWebIdentityFederationDisabledException')
90
91
  packedPolicyTooLargeMessage = Shapes::StringShape.new(name: 'packedPolicyTooLargeMessage')
@@ -95,6 +96,8 @@ module Aws::STS
95
96
  serialNumberType = Shapes::StringShape.new(name: 'serialNumberType')
96
97
  sessionDurationEscalationException = Shapes::StringShape.new(name: 'sessionDurationEscalationException')
97
98
  sessionPolicyDocumentType = Shapes::StringShape.new(name: 'sessionPolicyDocumentType')
99
+ sessionTokenSizeType = Shapes::IntegerShape.new(name: 'sessionTokenSizeType')
100
+ sessionTokenUtilizationType = Shapes::IntegerShape.new(name: 'sessionTokenUtilizationType')
98
101
  sourceIdentityType = Shapes::StringShape.new(name: 'sourceIdentityType')
99
102
  tagKeyListType = Shapes::ListShape.new(name: 'tagKeyListType')
100
103
  tagKeyType = Shapes::StringShape.new(name: 'tagKeyType')
@@ -125,12 +128,15 @@ module Aws::STS
125
128
  AssumeRoleRequest.add_member(:token_code, Shapes::ShapeRef.new(shape: tokenCodeType, location_name: "TokenCode"))
126
129
  AssumeRoleRequest.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
127
130
  AssumeRoleRequest.add_member(:provided_contexts, Shapes::ShapeRef.new(shape: ProvidedContextsListType, location_name: "ProvidedContexts"))
131
+ AssumeRoleRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
128
132
  AssumeRoleRequest.struct_class = Types::AssumeRoleRequest
129
133
 
130
134
  AssumeRoleResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
131
135
  AssumeRoleResponse.add_member(:assumed_role_user, Shapes::ShapeRef.new(shape: AssumedRoleUser, location_name: "AssumedRoleUser"))
132
- AssumeRoleResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, location_name: "PackedPolicySize"))
136
+ AssumeRoleResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, deprecated: true, location_name: "PackedPolicySize", metadata: {"deprecatedMessage" => "Deprecated. Replaced by SessionTokenUtilization.", "deprecatedSince" => "2026-06-17"}))
133
137
  AssumeRoleResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
138
+ AssumeRoleResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
139
+ AssumeRoleResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
134
140
  AssumeRoleResponse.struct_class = Types::AssumeRoleResponse
135
141
 
136
142
  AssumeRoleWithSAMLRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "RoleArn"))
@@ -139,17 +145,20 @@ module Aws::STS
139
145
  AssumeRoleWithSAMLRequest.add_member(:policy_arns, Shapes::ShapeRef.new(shape: policyDescriptorListType, location_name: "PolicyArns"))
140
146
  AssumeRoleWithSAMLRequest.add_member(:policy, Shapes::ShapeRef.new(shape: sessionPolicyDocumentType, location_name: "Policy"))
141
147
  AssumeRoleWithSAMLRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: roleDurationSecondsType, location_name: "DurationSeconds"))
148
+ AssumeRoleWithSAMLRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
142
149
  AssumeRoleWithSAMLRequest.struct_class = Types::AssumeRoleWithSAMLRequest
143
150
 
144
151
  AssumeRoleWithSAMLResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
145
152
  AssumeRoleWithSAMLResponse.add_member(:assumed_role_user, Shapes::ShapeRef.new(shape: AssumedRoleUser, location_name: "AssumedRoleUser"))
146
- AssumeRoleWithSAMLResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, location_name: "PackedPolicySize"))
153
+ AssumeRoleWithSAMLResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, deprecated: true, location_name: "PackedPolicySize", metadata: {"deprecatedMessage" => "Deprecated. Replaced by SessionTokenUtilization.", "deprecatedSince" => "2026-06-17"}))
147
154
  AssumeRoleWithSAMLResponse.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, location_name: "Subject"))
148
155
  AssumeRoleWithSAMLResponse.add_member(:subject_type, Shapes::ShapeRef.new(shape: SubjectType, location_name: "SubjectType"))
149
156
  AssumeRoleWithSAMLResponse.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, location_name: "Issuer"))
150
157
  AssumeRoleWithSAMLResponse.add_member(:audience, Shapes::ShapeRef.new(shape: Audience, location_name: "Audience"))
151
158
  AssumeRoleWithSAMLResponse.add_member(:name_qualifier, Shapes::ShapeRef.new(shape: NameQualifier, location_name: "NameQualifier"))
152
159
  AssumeRoleWithSAMLResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
160
+ AssumeRoleWithSAMLResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
161
+ AssumeRoleWithSAMLResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
153
162
  AssumeRoleWithSAMLResponse.struct_class = Types::AssumeRoleWithSAMLResponse
154
163
 
155
164
  AssumeRoleWithWebIdentityRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "RoleArn"))
@@ -159,24 +168,30 @@ module Aws::STS
159
168
  AssumeRoleWithWebIdentityRequest.add_member(:policy_arns, Shapes::ShapeRef.new(shape: policyDescriptorListType, location_name: "PolicyArns"))
160
169
  AssumeRoleWithWebIdentityRequest.add_member(:policy, Shapes::ShapeRef.new(shape: sessionPolicyDocumentType, location_name: "Policy"))
161
170
  AssumeRoleWithWebIdentityRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: roleDurationSecondsType, location_name: "DurationSeconds"))
171
+ AssumeRoleWithWebIdentityRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
162
172
  AssumeRoleWithWebIdentityRequest.struct_class = Types::AssumeRoleWithWebIdentityRequest
163
173
 
164
174
  AssumeRoleWithWebIdentityResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
165
175
  AssumeRoleWithWebIdentityResponse.add_member(:subject_from_web_identity_token, Shapes::ShapeRef.new(shape: webIdentitySubjectType, location_name: "SubjectFromWebIdentityToken"))
166
176
  AssumeRoleWithWebIdentityResponse.add_member(:assumed_role_user, Shapes::ShapeRef.new(shape: AssumedRoleUser, location_name: "AssumedRoleUser"))
167
- AssumeRoleWithWebIdentityResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, location_name: "PackedPolicySize"))
177
+ AssumeRoleWithWebIdentityResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, deprecated: true, location_name: "PackedPolicySize", metadata: {"deprecatedMessage" => "Deprecated. Replaced by SessionTokenUtilization.", "deprecatedSince" => "2026-06-17"}))
168
178
  AssumeRoleWithWebIdentityResponse.add_member(:provider, Shapes::ShapeRef.new(shape: Issuer, location_name: "Provider"))
169
179
  AssumeRoleWithWebIdentityResponse.add_member(:audience, Shapes::ShapeRef.new(shape: Audience, location_name: "Audience"))
170
180
  AssumeRoleWithWebIdentityResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
181
+ AssumeRoleWithWebIdentityResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
182
+ AssumeRoleWithWebIdentityResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
171
183
  AssumeRoleWithWebIdentityResponse.struct_class = Types::AssumeRoleWithWebIdentityResponse
172
184
 
173
185
  AssumeRootRequest.add_member(:target_principal, Shapes::ShapeRef.new(shape: TargetPrincipalType, required: true, location_name: "TargetPrincipal"))
174
186
  AssumeRootRequest.add_member(:task_policy_arn, Shapes::ShapeRef.new(shape: PolicyDescriptorType, required: true, location_name: "TaskPolicyArn"))
175
187
  AssumeRootRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: RootDurationSecondsType, location_name: "DurationSeconds"))
188
+ AssumeRootRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
176
189
  AssumeRootRequest.struct_class = Types::AssumeRootRequest
177
190
 
178
191
  AssumeRootResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
179
192
  AssumeRootResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
193
+ AssumeRootResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
194
+ AssumeRootResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
180
195
  AssumeRootResponse.struct_class = Types::AssumeRootResponse
181
196
 
182
197
  AssumedRoleUser.add_member(:assumed_role_id, Shapes::ShapeRef.new(shape: assumedRoleIdType, required: true, location_name: "AssumedRoleId"))
@@ -222,7 +237,7 @@ module Aws::STS
222
237
  GetDelegatedAccessTokenRequest.struct_class = Types::GetDelegatedAccessTokenRequest
223
238
 
224
239
  GetDelegatedAccessTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
225
- GetDelegatedAccessTokenResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, location_name: "PackedPolicySize"))
240
+ GetDelegatedAccessTokenResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, deprecated: true, location_name: "PackedPolicySize", metadata: {"deprecatedMessage" => "Deprecated. This field is not populated for GetDelegatedAccessToken.", "deprecatedSince" => "2026-06-17"}))
226
241
  GetDelegatedAccessTokenResponse.add_member(:assumed_principal, Shapes::ShapeRef.new(shape: arnType, location_name: "AssumedPrincipal"))
227
242
  GetDelegatedAccessTokenResponse.struct_class = Types::GetDelegatedAccessTokenResponse
228
243
 
@@ -231,19 +246,25 @@ module Aws::STS
231
246
  GetFederationTokenRequest.add_member(:policy_arns, Shapes::ShapeRef.new(shape: policyDescriptorListType, location_name: "PolicyArns"))
232
247
  GetFederationTokenRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: durationSecondsType, location_name: "DurationSeconds"))
233
248
  GetFederationTokenRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
249
+ GetFederationTokenRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
234
250
  GetFederationTokenRequest.struct_class = Types::GetFederationTokenRequest
235
251
 
236
252
  GetFederationTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
237
253
  GetFederationTokenResponse.add_member(:federated_user, Shapes::ShapeRef.new(shape: FederatedUser, location_name: "FederatedUser"))
238
- GetFederationTokenResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, location_name: "PackedPolicySize"))
254
+ GetFederationTokenResponse.add_member(:packed_policy_size, Shapes::ShapeRef.new(shape: nonNegativeIntegerType, deprecated: true, location_name: "PackedPolicySize", metadata: {"deprecatedMessage" => "Deprecated. Replaced by SessionTokenUtilization.", "deprecatedSince" => "2026-06-17"}))
255
+ GetFederationTokenResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
256
+ GetFederationTokenResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
239
257
  GetFederationTokenResponse.struct_class = Types::GetFederationTokenResponse
240
258
 
241
259
  GetSessionTokenRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: durationSecondsType, location_name: "DurationSeconds"))
242
260
  GetSessionTokenRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, location_name: "SerialNumber"))
243
261
  GetSessionTokenRequest.add_member(:token_code, Shapes::ShapeRef.new(shape: tokenCodeType, location_name: "TokenCode"))
262
+ GetSessionTokenRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
244
263
  GetSessionTokenRequest.struct_class = Types::GetSessionTokenRequest
245
264
 
246
265
  GetSessionTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
266
+ GetSessionTokenResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
267
+ GetSessionTokenResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
247
268
  GetSessionTokenResponse.struct_class = Types::GetSessionTokenResponse
248
269
 
249
270
  GetWebIdentityTokenRequest.add_member(:audience, Shapes::ShapeRef.new(shape: webIdentityTokenAudienceListType, required: true, location_name: "Audience"))
@@ -315,6 +315,14 @@ module Aws::STS
315
315
  # `[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]`
316
316
  # @return [Array<Types::ProvidedContext>]
317
317
  #
318
+ # @!attribute [rw] minimum_session_token_size
319
+ # The minimum size, in bytes, of the session token that STS issues for
320
+ # the request. STS increases the session token to at least this size,
321
+ # regardless of its actual content. The value must not exceed 4,096
322
+ # bytes. When set to 0 or not specified, the session token size is
323
+ # unchanged.
324
+ # @return [Integer]
325
+ #
318
326
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest AWS API Documentation
319
327
  #
320
328
  class AssumeRoleRequest < Struct.new(
@@ -329,7 +337,8 @@ module Aws::STS
329
337
  :serial_number,
330
338
  :token_code,
331
339
  :source_identity,
332
- :provided_contexts)
340
+ :provided_contexts,
341
+ :minimum_session_token_size)
333
342
  SENSITIVE = []
334
343
  include Aws::Structure
335
344
  end
@@ -389,13 +398,25 @@ module Aws::STS
389
398
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html
390
399
  # @return [String]
391
400
  #
401
+ # @!attribute [rw] session_token_utilization
402
+ # The percentage (0-100) of the maximum allowed session token size
403
+ # that the returned session token consumes.
404
+ # @return [Integer]
405
+ #
406
+ # @!attribute [rw] session_token_size
407
+ # The size, in bytes, of the session token returned in the Credentials
408
+ # for this response.
409
+ # @return [Integer]
410
+ #
392
411
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse AWS API Documentation
393
412
  #
394
413
  class AssumeRoleResponse < Struct.new(
395
414
  :credentials,
396
415
  :assumed_role_user,
397
416
  :packed_policy_size,
398
- :source_identity)
417
+ :source_identity,
418
+ :session_token_utilization,
419
+ :session_token_size)
399
420
  SENSITIVE = []
400
421
  include Aws::Structure
401
422
  end
@@ -531,6 +552,14 @@ module Aws::STS
531
552
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
532
553
  # @return [Integer]
533
554
  #
555
+ # @!attribute [rw] minimum_session_token_size
556
+ # The minimum size, in bytes, of the session token that STS issues for
557
+ # the request. STS increases the session token to at least this size,
558
+ # regardless of its actual content. The value must not exceed 4,096
559
+ # bytes. When set to 0 or not specified, the session token size is
560
+ # unchanged.
561
+ # @return [Integer]
562
+ #
534
563
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest AWS API Documentation
535
564
  #
536
565
  class AssumeRoleWithSAMLRequest < Struct.new(
@@ -539,7 +568,8 @@ module Aws::STS
539
568
  :saml_assertion,
540
569
  :policy_arns,
541
570
  :policy,
542
- :duration_seconds)
571
+ :duration_seconds,
572
+ :minimum_session_token_size)
543
573
  SENSITIVE = [:saml_assertion]
544
574
  include Aws::Structure
545
575
  end
@@ -647,6 +677,16 @@ module Aws::STS
647
677
  # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html
648
678
  # @return [String]
649
679
  #
680
+ # @!attribute [rw] session_token_utilization
681
+ # The percentage (0-100) of the maximum allowed session token size
682
+ # that the returned session token consumes.
683
+ # @return [Integer]
684
+ #
685
+ # @!attribute [rw] session_token_size
686
+ # The size, in bytes, of the session token returned in the Credentials
687
+ # for this response.
688
+ # @return [Integer]
689
+ #
650
690
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse AWS API Documentation
651
691
  #
652
692
  class AssumeRoleWithSAMLResponse < Struct.new(
@@ -658,7 +698,9 @@ module Aws::STS
658
698
  :issuer,
659
699
  :audience,
660
700
  :name_qualifier,
661
- :source_identity)
701
+ :source_identity,
702
+ :session_token_utilization,
703
+ :session_token_size)
662
704
  SENSITIVE = []
663
705
  include Aws::Structure
664
706
  end
@@ -840,6 +882,14 @@ module Aws::STS
840
882
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html
841
883
  # @return [Integer]
842
884
  #
885
+ # @!attribute [rw] minimum_session_token_size
886
+ # The minimum size, in bytes, of the session token that STS issues for
887
+ # the request. STS increases the session token to at least this size,
888
+ # regardless of its actual content. The value must not exceed 4,096
889
+ # bytes. When set to 0 or not specified, the session token size is
890
+ # unchanged.
891
+ # @return [Integer]
892
+ #
843
893
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest AWS API Documentation
844
894
  #
845
895
  class AssumeRoleWithWebIdentityRequest < Struct.new(
@@ -849,7 +899,8 @@ module Aws::STS
849
899
  :provider_id,
850
900
  :policy_arns,
851
901
  :policy,
852
- :duration_seconds)
902
+ :duration_seconds,
903
+ :minimum_session_token_size)
853
904
  SENSITIVE = [:web_identity_token]
854
905
  include Aws::Structure
855
906
  end
@@ -941,6 +992,16 @@ module Aws::STS
941
992
  # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html
942
993
  # @return [String]
943
994
  #
995
+ # @!attribute [rw] session_token_utilization
996
+ # The percentage (0-100) of the maximum allowed session token size
997
+ # that the returned session token consumes.
998
+ # @return [Integer]
999
+ #
1000
+ # @!attribute [rw] session_token_size
1001
+ # The size, in bytes, of the session token returned in the Credentials
1002
+ # for this response.
1003
+ # @return [Integer]
1004
+ #
944
1005
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse AWS API Documentation
945
1006
  #
946
1007
  class AssumeRoleWithWebIdentityResponse < Struct.new(
@@ -950,7 +1011,9 @@ module Aws::STS
950
1011
  :packed_policy_size,
951
1012
  :provider,
952
1013
  :audience,
953
- :source_identity)
1014
+ :source_identity,
1015
+ :session_token_utilization,
1016
+ :session_token_size)
954
1017
  SENSITIVE = []
955
1018
  include Aws::Structure
956
1019
  end
@@ -992,12 +1055,21 @@ module Aws::STS
992
1055
  # By default, the value is set to `900` seconds.
993
1056
  # @return [Integer]
994
1057
  #
1058
+ # @!attribute [rw] minimum_session_token_size
1059
+ # The minimum size, in bytes, of the session token that STS issues for
1060
+ # the request. STS increases the session token to at least this size,
1061
+ # regardless of its actual content. The value must not exceed 4,096
1062
+ # bytes. When set to 0 or not specified, the session token size is
1063
+ # unchanged.
1064
+ # @return [Integer]
1065
+ #
995
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRootRequest AWS API Documentation
996
1067
  #
997
1068
  class AssumeRootRequest < Struct.new(
998
1069
  :target_principal,
999
1070
  :task_policy_arn,
1000
- :duration_seconds)
1071
+ :duration_seconds,
1072
+ :minimum_session_token_size)
1001
1073
  SENSITIVE = []
1002
1074
  include Aws::Structure
1003
1075
  end
@@ -1032,11 +1104,23 @@ module Aws::STS
1032
1104
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html
1033
1105
  # @return [String]
1034
1106
  #
1107
+ # @!attribute [rw] session_token_utilization
1108
+ # The percentage (0-100) of the maximum allowed session token size
1109
+ # that the returned session token consumes.
1110
+ # @return [Integer]
1111
+ #
1112
+ # @!attribute [rw] session_token_size
1113
+ # The size, in bytes, of the session token returned in the Credentials
1114
+ # for this response.
1115
+ # @return [Integer]
1116
+ #
1035
1117
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRootResponse AWS API Documentation
1036
1118
  #
1037
1119
  class AssumeRootResponse < Struct.new(
1038
1120
  :credentials,
1039
- :source_identity)
1121
+ :source_identity,
1122
+ :session_token_utilization,
1123
+ :session_token_size)
1040
1124
  SENSITIVE = []
1041
1125
  include Aws::Structure
1042
1126
  end
@@ -1456,6 +1540,14 @@ module Aws::STS
1456
1540
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length
1457
1541
  # @return [Array<Types::Tag>]
1458
1542
  #
1543
+ # @!attribute [rw] minimum_session_token_size
1544
+ # The minimum size, in bytes, of the session token that STS issues for
1545
+ # the request. STS increases the session token to at least this size,
1546
+ # regardless of its actual content. The value must not exceed 4,096
1547
+ # bytes. When set to 0 or not specified, the session token size is
1548
+ # unchanged.
1549
+ # @return [Integer]
1550
+ #
1459
1551
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest AWS API Documentation
1460
1552
  #
1461
1553
  class GetFederationTokenRequest < Struct.new(
@@ -1463,7 +1555,8 @@ module Aws::STS
1463
1555
  :policy,
1464
1556
  :policy_arns,
1465
1557
  :duration_seconds,
1466
- :tags)
1558
+ :tags,
1559
+ :minimum_session_token_size)
1467
1560
  SENSITIVE = []
1468
1561
  include Aws::Structure
1469
1562
  end
@@ -1497,12 +1590,24 @@ module Aws::STS
1497
1590
  # means the policies and tags exceeded the allowed space.
1498
1591
  # @return [Integer]
1499
1592
  #
1593
+ # @!attribute [rw] session_token_utilization
1594
+ # The percentage (0-100) of the maximum allowed session token size
1595
+ # that the returned session token consumes.
1596
+ # @return [Integer]
1597
+ #
1598
+ # @!attribute [rw] session_token_size
1599
+ # The size, in bytes, of the session token returned in the Credentials
1600
+ # for this response.
1601
+ # @return [Integer]
1602
+ #
1500
1603
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse AWS API Documentation
1501
1604
  #
1502
1605
  class GetFederationTokenResponse < Struct.new(
1503
1606
  :credentials,
1504
1607
  :federated_user,
1505
- :packed_policy_size)
1608
+ :packed_policy_size,
1609
+ :session_token_utilization,
1610
+ :session_token_size)
1506
1611
  SENSITIVE = []
1507
1612
  include Aws::Structure
1508
1613
  end
@@ -1545,12 +1650,21 @@ module Aws::STS
1545
1650
  # a sequence of six numeric digits.
1546
1651
  # @return [String]
1547
1652
  #
1653
+ # @!attribute [rw] minimum_session_token_size
1654
+ # The minimum size, in bytes, of the session token that STS issues for
1655
+ # the request. STS increases the session token to at least this size,
1656
+ # regardless of its actual content. The value must not exceed 4,096
1657
+ # bytes. When set to 0 or not specified, the session token size is
1658
+ # unchanged.
1659
+ # @return [Integer]
1660
+ #
1548
1661
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest AWS API Documentation
1549
1662
  #
1550
1663
  class GetSessionTokenRequest < Struct.new(
1551
1664
  :duration_seconds,
1552
1665
  :serial_number,
1553
- :token_code)
1666
+ :token_code,
1667
+ :minimum_session_token_size)
1554
1668
  SENSITIVE = []
1555
1669
  include Aws::Structure
1556
1670
  end
@@ -1570,10 +1684,22 @@ module Aws::STS
1570
1684
  # </note>
1571
1685
  # @return [Types::Credentials]
1572
1686
  #
1687
+ # @!attribute [rw] session_token_utilization
1688
+ # The percentage (0-100) of the maximum allowed session token size
1689
+ # that the returned session token consumes.
1690
+ # @return [Integer]
1691
+ #
1692
+ # @!attribute [rw] session_token_size
1693
+ # The size, in bytes, of the session token returned in the Credentials
1694
+ # for this response.
1695
+ # @return [Integer]
1696
+ #
1573
1697
  # @see http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse AWS API Documentation
1574
1698
  #
1575
1699
  class GetSessionTokenResponse < Struct.new(
1576
- :credentials)
1700
+ :credentials,
1701
+ :session_token_utilization,
1702
+ :session_token_size)
1577
1703
  SENSITIVE = []
1578
1704
  include Aws::Structure
1579
1705
  end
data/lib/aws-sdk-sts.rb CHANGED
@@ -56,7 +56,7 @@ module Aws::STS
56
56
  autoload :EndpointProvider, 'aws-sdk-sts/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-sts/endpoints'
58
58
 
59
- GEM_VERSION = '3.256.0'
59
+ GEM_VERSION = '3.257.0'
60
60
 
61
61
  end
62
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.256.0
4
+ version: 3.257.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services