aws-sdk-ssoadmin 1.31.0 → 1.32.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: 8489e2cd54ab28efe5e87cab0d501e1b0f9eeff10e488ee40c532ad4dfbc5e5a
4
- data.tar.gz: e2cbce393f56879bf5ccab062dafd91a8efb2dcb663c24c5b4b9ff6c3db9cc1c
3
+ metadata.gz: f8f00736bc8b4a4ed66f680db76cd410bc4db666a19c0fb57b66e4998d2a9cac
4
+ data.tar.gz: af1e7c6f429ee7fcbd6ca770df75d5453dc7afc82f478ba8ace6eda40a8b862d
5
5
  SHA512:
6
- metadata.gz: '0258e58b2342c83bb2c05b9bf968249bc4d5c2e66e28cec9e710ea94919909ef7a57a19b81f975c0c83fc12bbe29566cee41715b4d2237a0c6a2573bacdbc370'
7
- data.tar.gz: 9d17162c500cac1e106f4271bef04d2233fa693e465e22fb81c821dc3a05c843b5c7660a86d1f1cf0ffcf967661b6f9eb57848446e37b3acb9a7da26bf90089b
6
+ metadata.gz: b9ab1abcbc97e71ee10d0596838195ffa9784e8ce551f345e94cec47a02062963aec567a173a8f65c7d17496cf4f3e7b9c10dfc834364de2f0d3cffcb76a3838
7
+ data.tar.gz: dc4bdc27849f8031202707f5595593a8aa643e20260b7639afb19278c193f50e3dc16ea225eb5cd442b5135c8b60dfde2c97a89fdbaca3612b333ba053f9382e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2023-11-17)
5
+ ------------------
6
+
7
+ * Feature - Improves support for configuring RefreshToken and TokenExchange grants on applications.
8
+
4
9
  1.31.0 (2023-11-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.32.0
@@ -3410,6 +3410,10 @@ module Aws::SSOAdmin
3410
3410
  # },
3411
3411
  # ],
3412
3412
  # },
3413
+ # refresh_token: {
3414
+ # },
3415
+ # token_exchange: {
3416
+ # },
3413
3417
  # },
3414
3418
  # grant_type: "authorization_code", # required, accepts authorization_code, refresh_token, urn:ietf:params:oauth:grant-type:jwt-bearer, urn:ietf:params:oauth:grant-type:token-exchange
3415
3419
  # })
@@ -3804,7 +3808,7 @@ module Aws::SSOAdmin
3804
3808
  params: params,
3805
3809
  config: config)
3806
3810
  context[:gem_name] = 'aws-sdk-ssoadmin'
3807
- context[:gem_version] = '1.31.0'
3811
+ context[:gem_version] = '1.32.0'
3808
3812
  Seahorse::Client::Request.new(handlers, context)
3809
3813
  end
3810
3814
 
@@ -240,6 +240,7 @@ module Aws::SSOAdmin
240
240
  PutPermissionsBoundaryToPermissionSetResponse = Shapes::StructureShape.new(name: 'PutPermissionsBoundaryToPermissionSetResponse')
241
241
  Reason = Shapes::StringShape.new(name: 'Reason')
242
242
  RedirectUris = Shapes::ListShape.new(name: 'RedirectUris')
243
+ RefreshTokenGrant = Shapes::StructureShape.new(name: 'RefreshTokenGrant')
243
244
  RelayState = Shapes::StringShape.new(name: 'RelayState')
244
245
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
245
246
  ResourceNotFoundMessage = Shapes::StringShape.new(name: 'ResourceNotFoundMessage')
@@ -270,6 +271,7 @@ module Aws::SSOAdmin
270
271
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
271
272
  ThrottlingExceptionMessage = Shapes::StringShape.new(name: 'ThrottlingExceptionMessage')
272
273
  Token = Shapes::StringShape.new(name: 'Token')
274
+ TokenExchangeGrant = Shapes::StructureShape.new(name: 'TokenExchangeGrant')
273
275
  TokenIssuerAudience = Shapes::StringShape.new(name: 'TokenIssuerAudience')
274
276
  TokenIssuerAudiences = Shapes::ListShape.new(name: 'TokenIssuerAudiences')
275
277
  TrustedTokenIssuerArn = Shapes::StringShape.new(name: 'TrustedTokenIssuerArn')
@@ -720,9 +722,13 @@ module Aws::SSOAdmin
720
722
 
721
723
  Grant.add_member(:authorization_code, Shapes::ShapeRef.new(shape: AuthorizationCodeGrant, location_name: "AuthorizationCode"))
722
724
  Grant.add_member(:jwt_bearer, Shapes::ShapeRef.new(shape: JwtBearerGrant, location_name: "JwtBearer"))
725
+ Grant.add_member(:refresh_token, Shapes::ShapeRef.new(shape: RefreshTokenGrant, location_name: "RefreshToken"))
726
+ Grant.add_member(:token_exchange, Shapes::ShapeRef.new(shape: TokenExchangeGrant, location_name: "TokenExchange"))
723
727
  Grant.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
724
728
  Grant.add_member_subclass(:authorization_code, Types::Grant::AuthorizationCode)
725
729
  Grant.add_member_subclass(:jwt_bearer, Types::Grant::JwtBearer)
730
+ Grant.add_member_subclass(:refresh_token, Types::Grant::RefreshToken)
731
+ Grant.add_member_subclass(:token_exchange, Types::Grant::TokenExchange)
726
732
  Grant.add_member_subclass(:unknown, Types::Grant::Unknown)
727
733
  Grant.struct_class = Types::Grant
728
734
 
@@ -1051,6 +1057,8 @@ module Aws::SSOAdmin
1051
1057
 
1052
1058
  RedirectUris.member = Shapes::ShapeRef.new(shape: URI)
1053
1059
 
1060
+ RefreshTokenGrant.struct_class = Types::RefreshTokenGrant
1061
+
1054
1062
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ResourceNotFoundMessage, location_name: "Message"))
1055
1063
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1056
1064
 
@@ -1097,6 +1105,8 @@ module Aws::SSOAdmin
1097
1105
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ThrottlingExceptionMessage, location_name: "Message"))
1098
1106
  ThrottlingException.struct_class = Types::ThrottlingException
1099
1107
 
1108
+ TokenExchangeGrant.struct_class = Types::TokenExchangeGrant
1109
+
1100
1110
  TokenIssuerAudiences.member = Shapes::ShapeRef.new(shape: TokenIssuerAudience)
1101
1111
 
1102
1112
  TrustedTokenIssuerConfiguration.add_member(:oidc_jwt_configuration, Shapes::ShapeRef.new(shape: OidcJwtConfiguration, location_name: "OidcJwtConfiguration"))
@@ -510,10 +510,12 @@ module Aws::SSOAdmin
510
510
  include Aws::Structure
511
511
  end
512
512
 
513
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
513
+ # A structure that defines configuration settings for an application
514
+ # that supports the OAuth 2.0 Authorization Code Grant.
514
515
  #
515
516
  # @!attribute [rw] redirect_uris
516
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
517
+ # A list of URIs that are valid locations to redirect a user's
518
+ # browser after the user is authorized.
517
519
  # @return [Array<String>]
518
520
  #
519
521
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AuthorizationCodeGrant AWS API Documentation
@@ -1999,25 +2001,39 @@ module Aws::SSOAdmin
1999
2001
  include Aws::Structure
2000
2002
  end
2001
2003
 
2002
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2004
+ # The Grant union represents the set of possible configuration options
2005
+ # for the selected grant type. Exactly one member of the union must be
2006
+ # specified, and must match the grant type selected.
2003
2007
  #
2004
2008
  # @note Grant is a union - when making an API calls you must set exactly one of the members.
2005
2009
  #
2006
2010
  # @note Grant is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Grant corresponding to the set member.
2007
2011
  #
2008
2012
  # @!attribute [rw] authorization_code
2009
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2013
+ # Configuration options for the `authorization_code` grant type.
2010
2014
  # @return [Types::AuthorizationCodeGrant]
2011
2015
  #
2012
2016
  # @!attribute [rw] jwt_bearer
2013
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2017
+ # Configuration options for the
2018
+ # `urn:ietf:params:oauth:grant-type:jwt-bearer` grant type.
2014
2019
  # @return [Types::JwtBearerGrant]
2015
2020
  #
2021
+ # @!attribute [rw] refresh_token
2022
+ # Configuration options for the `refresh_token` grant type.
2023
+ # @return [Types::RefreshTokenGrant]
2024
+ #
2025
+ # @!attribute [rw] token_exchange
2026
+ # Configuration options for the
2027
+ # `urn:ietf:params:oauth:grant-type:token-exchange` grant type.
2028
+ # @return [Types::TokenExchangeGrant]
2029
+ #
2016
2030
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/Grant AWS API Documentation
2017
2031
  #
2018
2032
  class Grant < Struct.new(
2019
2033
  :authorization_code,
2020
2034
  :jwt_bearer,
2035
+ :refresh_token,
2036
+ :token_exchange,
2021
2037
  :unknown)
2022
2038
  SENSITIVE = []
2023
2039
  include Aws::Structure
@@ -2025,17 +2041,19 @@ module Aws::SSOAdmin
2025
2041
 
2026
2042
  class AuthorizationCode < Grant; end
2027
2043
  class JwtBearer < Grant; end
2044
+ class RefreshToken < Grant; end
2045
+ class TokenExchange < Grant; end
2028
2046
  class Unknown < Grant; end
2029
2047
  end
2030
2048
 
2031
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2049
+ # A structure that defines a single grant and its configuration.
2032
2050
  #
2033
2051
  # @!attribute [rw] grant
2034
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2052
+ # The configuration structure for the selected grant.
2035
2053
  # @return [Types::Grant]
2036
2054
  #
2037
2055
  # @!attribute [rw] grant_type
2038
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2056
+ # The type of the selected grant.
2039
2057
  # @return [String]
2040
2058
  #
2041
2059
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GrantItem AWS API Documentation
@@ -2136,10 +2154,12 @@ module Aws::SSOAdmin
2136
2154
  include Aws::Structure
2137
2155
  end
2138
2156
 
2139
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2157
+ # A structure that defines configuration settings for an application
2158
+ # that supports the JWT Bearer Token Authorization Grant.
2140
2159
  #
2141
2160
  # @!attribute [rw] authorized_token_issuers
2142
- # ~~~\[ TODO: ADD DESCRIPTION HERE \]~~~
2161
+ # A list of allowed token issuers trusted by the Identity Center
2162
+ # instances for this application.
2143
2163
  # @return [Array<Types::AuthorizedTokenIssuer>]
2144
2164
  #
2145
2165
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/JwtBearerGrant AWS API Documentation
@@ -3739,6 +3759,15 @@ module Aws::SSOAdmin
3739
3759
  #
3740
3760
  class PutPermissionsBoundaryToPermissionSetResponse < Aws::EmptyStructure; end
3741
3761
 
3762
+ # A structure that defines configuration settings for an application
3763
+ # that supports the OAuth 2.0 Refresh Token Grant.
3764
+ #
3765
+ # @api private
3766
+ #
3767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/RefreshTokenGrant AWS API Documentation
3768
+ #
3769
+ class RefreshTokenGrant < Aws::EmptyStructure; end
3770
+
3742
3771
  # Indicates that a requested resource is not found.
3743
3772
  #
3744
3773
  # @!attribute [rw] message
@@ -3917,6 +3946,15 @@ module Aws::SSOAdmin
3917
3946
  include Aws::Structure
3918
3947
  end
3919
3948
 
3949
+ # A structure that defines configuration settings for an application
3950
+ # that supports the OAuth 2.0 Token Exchange Grant.
3951
+ #
3952
+ # @api private
3953
+ #
3954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TokenExchangeGrant AWS API Documentation
3955
+ #
3956
+ class TokenExchangeGrant < Aws::EmptyStructure; end
3957
+
3920
3958
  # A structure that describes the configuration of a trusted token
3921
3959
  # issuer. The structure and available settings are determined by the
3922
3960
  # type of the trusted token issuer.
@@ -4025,6 +4063,9 @@ module Aws::SSOAdmin
4025
4063
  #
4026
4064
  class UntagResourceResponse < Aws::EmptyStructure; end
4027
4065
 
4066
+ # A structure that describes the options for the access portal
4067
+ # associated with an application that can be updated.
4068
+ #
4028
4069
  # @!attribute [rw] sign_in_options
4029
4070
  # A structure that describes the sign-in options for an application
4030
4071
  # portal.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ssoadmin/customizations'
52
52
  # @!group service
53
53
  module Aws::SSOAdmin
54
54
 
55
- GEM_VERSION = '1.31.0'
55
+ GEM_VERSION = '1.32.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssoadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.32.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-11-16 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core