@aws-sdk/client-sso-admin 3.929.0 → 3.931.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.
package/dist-cjs/index.js CHANGED
@@ -250,34 +250,12 @@ let ValidationException$1 = class ValidationException extends SSOAdminServiceExc
250
250
  const AuthenticationMethodType = {
251
251
  IAM: "IAM",
252
252
  };
253
- exports.AuthenticationMethod = void 0;
254
- (function (AuthenticationMethod) {
255
- AuthenticationMethod.visit = (value, visitor) => {
256
- if (value.Iam !== undefined)
257
- return visitor.Iam(value.Iam);
258
- return visitor._(value.$unknown[0], value.$unknown[1]);
259
- };
260
- })(exports.AuthenticationMethod || (exports.AuthenticationMethod = {}));
261
253
  const GrantType = {
262
254
  AUTHORIZATION_CODE: "authorization_code",
263
255
  JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
264
256
  REFRESH_TOKEN: "refresh_token",
265
257
  TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange",
266
258
  };
267
- exports.Grant = void 0;
268
- (function (Grant) {
269
- Grant.visit = (value, visitor) => {
270
- if (value.AuthorizationCode !== undefined)
271
- return visitor.AuthorizationCode(value.AuthorizationCode);
272
- if (value.JwtBearer !== undefined)
273
- return visitor.JwtBearer(value.JwtBearer);
274
- if (value.RefreshToken !== undefined)
275
- return visitor.RefreshToken(value.RefreshToken);
276
- if (value.TokenExchange !== undefined)
277
- return visitor.TokenExchange(value.TokenExchange);
278
- return visitor._(value.$unknown[0], value.$unknown[1]);
279
- };
280
- })(exports.Grant || (exports.Grant = {}));
281
259
  const FederationProtocol = {
282
260
  OAUTH: "OAUTH",
283
261
  SAML: "SAML",
@@ -299,14 +277,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
299
277
  const JwksRetrievalOption = {
300
278
  OPEN_ID_DISCOVERY: "OPEN_ID_DISCOVERY",
301
279
  };
302
- exports.TrustedTokenIssuerConfiguration = void 0;
303
- (function (TrustedTokenIssuerConfiguration) {
304
- TrustedTokenIssuerConfiguration.visit = (value, visitor) => {
305
- if (value.OidcJwtConfiguration !== undefined)
306
- return visitor.OidcJwtConfiguration(value.OidcJwtConfiguration);
307
- return visitor._(value.$unknown[0], value.$unknown[1]);
308
- };
309
- })(exports.TrustedTokenIssuerConfiguration || (exports.TrustedTokenIssuerConfiguration = {}));
310
280
  const TrustedTokenIssuerType = {
311
281
  OIDC_JWT: "OIDC_JWT",
312
282
  };
@@ -342,14 +312,6 @@ const ProvisionTargetType = {
342
312
  ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS",
343
313
  AWS_ACCOUNT: "AWS_ACCOUNT",
344
314
  };
345
- exports.TrustedTokenIssuerUpdateConfiguration = void 0;
346
- (function (TrustedTokenIssuerUpdateConfiguration) {
347
- TrustedTokenIssuerUpdateConfiguration.visit = (value, visitor) => {
348
- if (value.OidcJwtConfiguration !== undefined)
349
- return visitor.OidcJwtConfiguration(value.OidcJwtConfiguration);
350
- return visitor._(value.$unknown[0], value.$unknown[1]);
351
- };
352
- })(exports.TrustedTokenIssuerUpdateConfiguration || (exports.TrustedTokenIssuerUpdateConfiguration = {}));
353
315
 
354
316
  const _A = "Application";
355
317
  const _AA = "AccountAssignment";
@@ -132,34 +132,12 @@ export class ValidationException extends __BaseException {
132
132
  export const AuthenticationMethodType = {
133
133
  IAM: "IAM",
134
134
  };
135
- export var AuthenticationMethod;
136
- (function (AuthenticationMethod) {
137
- AuthenticationMethod.visit = (value, visitor) => {
138
- if (value.Iam !== undefined)
139
- return visitor.Iam(value.Iam);
140
- return visitor._(value.$unknown[0], value.$unknown[1]);
141
- };
142
- })(AuthenticationMethod || (AuthenticationMethod = {}));
143
135
  export const GrantType = {
144
136
  AUTHORIZATION_CODE: "authorization_code",
145
137
  JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
146
138
  REFRESH_TOKEN: "refresh_token",
147
139
  TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange",
148
140
  };
149
- export var Grant;
150
- (function (Grant) {
151
- Grant.visit = (value, visitor) => {
152
- if (value.AuthorizationCode !== undefined)
153
- return visitor.AuthorizationCode(value.AuthorizationCode);
154
- if (value.JwtBearer !== undefined)
155
- return visitor.JwtBearer(value.JwtBearer);
156
- if (value.RefreshToken !== undefined)
157
- return visitor.RefreshToken(value.RefreshToken);
158
- if (value.TokenExchange !== undefined)
159
- return visitor.TokenExchange(value.TokenExchange);
160
- return visitor._(value.$unknown[0], value.$unknown[1]);
161
- };
162
- })(Grant || (Grant = {}));
163
141
  export const FederationProtocol = {
164
142
  OAUTH: "OAUTH",
165
143
  SAML: "SAML",
@@ -181,14 +159,6 @@ export class ServiceQuotaExceededException extends __BaseException {
181
159
  export const JwksRetrievalOption = {
182
160
  OPEN_ID_DISCOVERY: "OPEN_ID_DISCOVERY",
183
161
  };
184
- export var TrustedTokenIssuerConfiguration;
185
- (function (TrustedTokenIssuerConfiguration) {
186
- TrustedTokenIssuerConfiguration.visit = (value, visitor) => {
187
- if (value.OidcJwtConfiguration !== undefined)
188
- return visitor.OidcJwtConfiguration(value.OidcJwtConfiguration);
189
- return visitor._(value.$unknown[0], value.$unknown[1]);
190
- };
191
- })(TrustedTokenIssuerConfiguration || (TrustedTokenIssuerConfiguration = {}));
192
162
  export const TrustedTokenIssuerType = {
193
163
  OIDC_JWT: "OIDC_JWT",
194
164
  };
@@ -224,11 +194,3 @@ export const ProvisionTargetType = {
224
194
  ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS",
225
195
  AWS_ACCOUNT: "AWS_ACCOUNT",
226
196
  };
227
- export var TrustedTokenIssuerUpdateConfiguration;
228
- (function (TrustedTokenIssuerUpdateConfiguration) {
229
- TrustedTokenIssuerUpdateConfiguration.visit = (value, visitor) => {
230
- if (value.OidcJwtConfiguration !== undefined)
231
- return visitor.OidcJwtConfiguration(value.OidcJwtConfiguration);
232
- return visitor._(value.$unknown[0], value.$unknown[1]);
233
- };
234
- })(TrustedTokenIssuerUpdateConfiguration || (TrustedTokenIssuerUpdateConfiguration = {}));
@@ -685,11 +685,14 @@ export declare namespace AuthenticationMethod {
685
685
  Iam?: never;
686
686
  $unknown: [string, any];
687
687
  }
688
+ /**
689
+ * @deprecated unused in schema-serde mode.
690
+ *
691
+ */
688
692
  interface Visitor<T> {
689
693
  Iam: (value: IamAuthenticationMethod) => T;
690
694
  _: (name: string, value: any) => T;
691
695
  }
692
- const visit: <T>(value: AuthenticationMethod, visitor: Visitor<T>) => T;
693
696
  }
694
697
  /**
695
698
  * @public
@@ -924,6 +927,10 @@ export declare namespace Grant {
924
927
  TokenExchange?: never;
925
928
  $unknown: [string, any];
926
929
  }
930
+ /**
931
+ * @deprecated unused in schema-serde mode.
932
+ *
933
+ */
927
934
  interface Visitor<T> {
928
935
  AuthorizationCode: (value: AuthorizationCodeGrant) => T;
929
936
  JwtBearer: (value: JwtBearerGrant) => T;
@@ -931,7 +938,6 @@ export declare namespace Grant {
931
938
  TokenExchange: (value: TokenExchangeGrant) => T;
932
939
  _: (name: string, value: any) => T;
933
940
  }
934
- const visit: <T>(value: Grant, visitor: Visitor<T>) => T;
935
941
  }
936
942
  /**
937
943
  * @public
@@ -1534,11 +1540,14 @@ export declare namespace TrustedTokenIssuerConfiguration {
1534
1540
  OidcJwtConfiguration?: never;
1535
1541
  $unknown: [string, any];
1536
1542
  }
1543
+ /**
1544
+ * @deprecated unused in schema-serde mode.
1545
+ *
1546
+ */
1537
1547
  interface Visitor<T> {
1538
1548
  OidcJwtConfiguration: (value: OidcJwtConfiguration) => T;
1539
1549
  _: (name: string, value: any) => T;
1540
1550
  }
1541
- const visit: <T>(value: TrustedTokenIssuerConfiguration, visitor: Visitor<T>) => T;
1542
1551
  }
1543
1552
  /**
1544
1553
  * @public
@@ -3616,11 +3625,14 @@ export declare namespace TrustedTokenIssuerUpdateConfiguration {
3616
3625
  OidcJwtConfiguration?: never;
3617
3626
  $unknown: [string, any];
3618
3627
  }
3628
+ /**
3629
+ * @deprecated unused in schema-serde mode.
3630
+ *
3631
+ */
3619
3632
  interface Visitor<T> {
3620
3633
  OidcJwtConfiguration: (value: OidcJwtUpdateConfiguration) => T;
3621
3634
  _: (name: string, value: any) => T;
3622
3635
  }
3623
- const visit: <T>(value: TrustedTokenIssuerUpdateConfiguration, visitor: Visitor<T>) => T;
3624
3636
  }
3625
3637
  /**
3626
3638
  * @public
@@ -231,7 +231,6 @@ export declare namespace AuthenticationMethod {
231
231
  Iam: (value: IamAuthenticationMethod) => T;
232
232
  _: (name: string, value: any) => T;
233
233
  }
234
- const visit: <T>(value: AuthenticationMethod, visitor: Visitor<T>) => T;
235
234
  }
236
235
  export interface GetApplicationAuthenticationMethodResponse {
237
236
  AuthenticationMethod?: AuthenticationMethod | undefined;
@@ -329,7 +328,6 @@ export declare namespace Grant {
329
328
  TokenExchange: (value: TokenExchangeGrant) => T;
330
329
  _: (name: string, value: any) => T;
331
330
  }
332
- const visit: <T>(value: Grant, visitor: Visitor<T>) => T;
333
331
  }
334
332
  export interface GetApplicationGrantResponse {
335
333
  Grant: Grant | undefined;
@@ -503,10 +501,6 @@ export declare namespace TrustedTokenIssuerConfiguration {
503
501
  OidcJwtConfiguration: (value: OidcJwtConfiguration) => T;
504
502
  _: (name: string, value: any) => T;
505
503
  }
506
- const visit: <T>(
507
- value: TrustedTokenIssuerConfiguration,
508
- visitor: Visitor<T>
509
- ) => T;
510
504
  }
511
505
  export declare const TrustedTokenIssuerType: {
512
506
  readonly OIDC_JWT: "OIDC_JWT";
@@ -1084,10 +1078,6 @@ export declare namespace TrustedTokenIssuerUpdateConfiguration {
1084
1078
  OidcJwtConfiguration: (value: OidcJwtUpdateConfiguration) => T;
1085
1079
  _: (name: string, value: any) => T;
1086
1080
  }
1087
- const visit: <T>(
1088
- value: TrustedTokenIssuerUpdateConfiguration,
1089
- visitor: Visitor<T>
1090
- ) => T;
1091
1081
  }
1092
1082
  export interface UpdateTrustedTokenIssuerRequest {
1093
1083
  TrustedTokenIssuerArn: string | undefined;
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.929.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso-admin",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },