@aws-sdk/client-sso-admin 3.453.0 → 3.454.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.
@@ -134,6 +134,10 @@ var Grant;
134
134
  return visitor.AuthorizationCode(value.AuthorizationCode);
135
135
  if (value.JwtBearer !== undefined)
136
136
  return visitor.JwtBearer(value.JwtBearer);
137
+ if (value.RefreshToken !== undefined)
138
+ return visitor.RefreshToken(value.RefreshToken);
139
+ if (value.TokenExchange !== undefined)
140
+ return visitor.TokenExchange(value.TokenExchange);
137
141
  return visitor._(value.$unknown[0], value.$unknown[1]);
138
142
  };
139
143
  })(Grant = exports.Grant || (exports.Grant = {}));
@@ -125,6 +125,10 @@ export var Grant;
125
125
  return visitor.AuthorizationCode(value.AuthorizationCode);
126
126
  if (value.JwtBearer !== undefined)
127
127
  return visitor.JwtBearer(value.JwtBearer);
128
+ if (value.RefreshToken !== undefined)
129
+ return visitor.RefreshToken(value.RefreshToken);
130
+ if (value.TokenExchange !== undefined)
131
+ return visitor.TokenExchange(value.TokenExchange);
128
132
  return visitor._(value.$unknown[0], value.$unknown[1]);
129
133
  };
130
134
  })(Grant || (Grant = {}));
@@ -53,6 +53,8 @@ export interface GetApplicationGrantCommandOutput extends GetApplicationGrantRes
53
53
  * // },
54
54
  * // ],
55
55
  * // },
56
+ * // RefreshToken: {},
57
+ * // TokenExchange: {},
56
58
  * // },
57
59
  * // };
58
60
  *
@@ -56,6 +56,8 @@ export interface ListApplicationGrantsCommandOutput extends ListApplicationGrant
56
56
  * // },
57
57
  * // ],
58
58
  * // },
59
+ * // RefreshToken: {},
60
+ * // TokenExchange: {},
59
61
  * // },
60
62
  * // },
61
63
  * // ],
@@ -49,6 +49,8 @@ export interface PutApplicationGrantCommandOutput extends __MetadataBearer {
49
49
  * },
50
50
  * ],
51
51
  * },
52
+ * RefreshToken: {},
53
+ * TokenExchange: {},
52
54
  * },
53
55
  * };
54
56
  * const command = new PutApplicationGrantCommand(input);
@@ -828,12 +828,12 @@ export interface GetApplicationGrantRequest {
828
828
  }
829
829
  /**
830
830
  * @public
831
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
831
+ * <p>A structure that defines configuration settings for an application that supports the OAuth 2.0 Authorization Code Grant.</p>
832
832
  */
833
833
  export interface AuthorizationCodeGrant {
834
834
  /**
835
835
  * @public
836
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
836
+ * <p>A list of URIs that are valid locations to redirect a user's browser after the user is authorized.</p>
837
837
  */
838
838
  RedirectUris?: string[];
839
839
  }
@@ -857,40 +857,78 @@ export interface AuthorizedTokenIssuer {
857
857
  }
858
858
  /**
859
859
  * @public
860
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
860
+ * <p>A structure that defines configuration settings for an application that supports the JWT Bearer Token Authorization Grant.</p>
861
861
  */
862
862
  export interface JwtBearerGrant {
863
863
  /**
864
864
  * @public
865
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
865
+ * <p>A list of allowed token issuers trusted by the Identity Center instances for this application.</p>
866
866
  */
867
867
  AuthorizedTokenIssuers?: AuthorizedTokenIssuer[];
868
868
  }
869
869
  /**
870
870
  * @public
871
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
871
+ * <p>A structure that defines configuration settings for an application that supports the OAuth 2.0 Refresh Token Grant.</p>
872
872
  */
873
- export type Grant = Grant.AuthorizationCodeMember | Grant.JwtBearerMember | Grant.$UnknownMember;
873
+ export interface RefreshTokenGrant {
874
+ }
875
+ /**
876
+ * @public
877
+ * <p>A structure that defines configuration settings for an application that supports the OAuth 2.0 Token Exchange Grant.</p>
878
+ */
879
+ export interface TokenExchangeGrant {
880
+ }
881
+ /**
882
+ * @public
883
+ * <p>The Grant union represents the set of possible configuration options for the selected grant type. Exactly one member of the union must be specified, and must match the grant type selected.</p>
884
+ */
885
+ export type Grant = Grant.AuthorizationCodeMember | Grant.JwtBearerMember | Grant.RefreshTokenMember | Grant.TokenExchangeMember | Grant.$UnknownMember;
874
886
  /**
875
887
  * @public
876
888
  */
877
889
  export declare namespace Grant {
878
890
  /**
879
891
  * @public
880
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
892
+ * <p>Configuration options for the <code>authorization_code</code> grant type.</p>
881
893
  */
882
894
  interface AuthorizationCodeMember {
883
895
  AuthorizationCode: AuthorizationCodeGrant;
884
896
  JwtBearer?: never;
897
+ RefreshToken?: never;
898
+ TokenExchange?: never;
885
899
  $unknown?: never;
886
900
  }
887
901
  /**
888
902
  * @public
889
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
903
+ * <p>Configuration options for the <code>urn:ietf:params:oauth:grant-type:jwt-bearer</code> grant type.</p>
890
904
  */
891
905
  interface JwtBearerMember {
892
906
  AuthorizationCode?: never;
893
907
  JwtBearer: JwtBearerGrant;
908
+ RefreshToken?: never;
909
+ TokenExchange?: never;
910
+ $unknown?: never;
911
+ }
912
+ /**
913
+ * @public
914
+ * <p>Configuration options for the <code>refresh_token</code> grant type.</p>
915
+ */
916
+ interface RefreshTokenMember {
917
+ AuthorizationCode?: never;
918
+ JwtBearer?: never;
919
+ RefreshToken: RefreshTokenGrant;
920
+ TokenExchange?: never;
921
+ $unknown?: never;
922
+ }
923
+ /**
924
+ * @public
925
+ * <p>Configuration options for the <code>urn:ietf:params:oauth:grant-type:token-exchange</code> grant type.</p>
926
+ */
927
+ interface TokenExchangeMember {
928
+ AuthorizationCode?: never;
929
+ JwtBearer?: never;
930
+ RefreshToken?: never;
931
+ TokenExchange: TokenExchangeGrant;
894
932
  $unknown?: never;
895
933
  }
896
934
  /**
@@ -899,11 +937,15 @@ export declare namespace Grant {
899
937
  interface $UnknownMember {
900
938
  AuthorizationCode?: never;
901
939
  JwtBearer?: never;
940
+ RefreshToken?: never;
941
+ TokenExchange?: never;
902
942
  $unknown: [string, any];
903
943
  }
904
944
  interface Visitor<T> {
905
945
  AuthorizationCode: (value: AuthorizationCodeGrant) => T;
906
946
  JwtBearer: (value: JwtBearerGrant) => T;
947
+ RefreshToken: (value: RefreshTokenGrant) => T;
948
+ TokenExchange: (value: TokenExchangeGrant) => T;
907
949
  _: (name: string, value: any) => T;
908
950
  }
909
951
  const visit: <T>(value: Grant, visitor: Visitor<T>) => T;
@@ -939,17 +981,17 @@ export interface ListApplicationGrantsRequest {
939
981
  }
940
982
  /**
941
983
  * @public
942
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
984
+ * <p>A structure that defines a single grant and its configuration.</p>
943
985
  */
944
986
  export interface GrantItem {
945
987
  /**
946
988
  * @public
947
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
989
+ * <p>The type of the selected grant.</p>
948
990
  */
949
991
  GrantType: GrantType | undefined;
950
992
  /**
951
993
  * @public
952
- * <p>~~~[ TODO: ADD DESCRIPTION HERE ]~~~</p>
994
+ * <p>The configuration structure for the selected grant.</p>
953
995
  */
954
996
  Grant: Grant | undefined;
955
997
  }
@@ -3583,7 +3625,7 @@ export interface UntagResourceResponse {
3583
3625
  }
3584
3626
  /**
3585
3627
  * @public
3586
- * <p/>
3628
+ * <p>A structure that describes the options for the access portal associated with an application that can be updated.</p>
3587
3629
  */
3588
3630
  export interface UpdateApplicationPortalOptions {
3589
3631
  /**
@@ -252,29 +252,55 @@ export interface AuthorizedTokenIssuer {
252
252
  export interface JwtBearerGrant {
253
253
  AuthorizedTokenIssuers?: AuthorizedTokenIssuer[];
254
254
  }
255
+ export interface RefreshTokenGrant {}
256
+ export interface TokenExchangeGrant {}
255
257
  export type Grant =
256
258
  | Grant.AuthorizationCodeMember
257
259
  | Grant.JwtBearerMember
260
+ | Grant.RefreshTokenMember
261
+ | Grant.TokenExchangeMember
258
262
  | Grant.$UnknownMember;
259
263
  export declare namespace Grant {
260
264
  interface AuthorizationCodeMember {
261
265
  AuthorizationCode: AuthorizationCodeGrant;
262
266
  JwtBearer?: never;
267
+ RefreshToken?: never;
268
+ TokenExchange?: never;
263
269
  $unknown?: never;
264
270
  }
265
271
  interface JwtBearerMember {
266
272
  AuthorizationCode?: never;
267
273
  JwtBearer: JwtBearerGrant;
274
+ RefreshToken?: never;
275
+ TokenExchange?: never;
276
+ $unknown?: never;
277
+ }
278
+ interface RefreshTokenMember {
279
+ AuthorizationCode?: never;
280
+ JwtBearer?: never;
281
+ RefreshToken: RefreshTokenGrant;
282
+ TokenExchange?: never;
283
+ $unknown?: never;
284
+ }
285
+ interface TokenExchangeMember {
286
+ AuthorizationCode?: never;
287
+ JwtBearer?: never;
288
+ RefreshToken?: never;
289
+ TokenExchange: TokenExchangeGrant;
268
290
  $unknown?: never;
269
291
  }
270
292
  interface $UnknownMember {
271
293
  AuthorizationCode?: never;
272
294
  JwtBearer?: never;
295
+ RefreshToken?: never;
296
+ TokenExchange?: never;
273
297
  $unknown: [string, any];
274
298
  }
275
299
  interface Visitor<T> {
276
300
  AuthorizationCode: (value: AuthorizationCodeGrant) => T;
277
301
  JwtBearer: (value: JwtBearerGrant) => T;
302
+ RefreshToken: (value: RefreshTokenGrant) => T;
303
+ TokenExchange: (value: TokenExchangeGrant) => T;
278
304
  _: (name: string, value: any) => T;
279
305
  }
280
306
  const visit: <T>(value: Grant, visitor: Visitor<T>) => T;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-admin",
3
3
  "description": "AWS SDK for JavaScript Sso Admin Client for Node.js, Browser and React Native",
4
- "version": "3.453.0",
4
+ "version": "3.454.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.454.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
26
  "@aws-sdk/credential-provider-node": "3.451.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",