@aws-sdk/client-sso-oidc 3.987.0 → 3.989.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.
@@ -66,13 +66,13 @@ const _rTT = "requestedTokenType";
66
66
  const _rU = "redirectUri";
67
67
  const _rUe = "redirectUris";
68
68
  const _re = "region";
69
- const _s = "scope";
69
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
70
70
  const _sT = "subjectToken";
71
71
  const _sTT = "subjectTokenType";
72
72
  const _sU = "startUrl";
73
- const _sc = "scopes";
73
+ const _sc = "scope";
74
+ const _sco = "scopes";
74
75
  const _se = "server";
75
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
76
76
  const _tE = "tokenEndpoint";
77
77
  const _tT = "tokenType";
78
78
  const _uC = "userCode";
@@ -82,107 +82,133 @@ const n0 = "com.amazonaws.ssooidc";
82
82
  import { TypeRegistry } from "@smithy/core/schema";
83
83
  import { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidClientMetadataException, InvalidGrantException, InvalidRedirectUriException, InvalidRequestException, InvalidRequestRegionException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from "../models/errors";
84
84
  import { SSOOIDCServiceException } from "../models/SSOOIDCServiceException";
85
- var AccessToken = [0, n0, _AT, 8, 0];
86
- var Assertion = [0, n0, _A, 8, 0];
87
- var ClientSecret = [0, n0, _CS, 8, 0];
88
- var CodeVerifier = [0, n0, _CV, 8, 0];
89
- var IdToken = [0, n0, _IT, 8, 0];
90
- var RefreshToken = [0, n0, _RT, 8, 0];
91
- var SubjectToken = [0, n0, _ST, 8, 0];
85
+ const _s_registry = TypeRegistry.for(_s);
86
+ export var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
87
+ _s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
88
+ const n0_registry = TypeRegistry.for(n0);
92
89
  export var AccessDeniedException$ = [-3, n0, _ADE,
93
90
  { [_e]: _c, [_hE]: 400 },
94
91
  [_e, _r, _ed],
95
92
  [0, 0, 0]
96
93
  ];
97
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
94
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
98
95
  export var AuthorizationPendingException$ = [-3, n0, _APE,
99
96
  { [_e]: _c, [_hE]: 400 },
100
97
  [_e, _ed],
101
98
  [0, 0]
102
99
  ];
103
- TypeRegistry.for(n0).registerError(AuthorizationPendingException$, AuthorizationPendingException);
104
- export var AwsAdditionalDetails$ = [3, n0, _AAD,
105
- 0,
106
- [_iC],
107
- [0]
108
- ];
109
- export var CreateTokenRequest$ = [3, n0, _CTR,
110
- 0,
111
- [_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
112
- [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
113
- ];
114
- export var CreateTokenResponse$ = [3, n0, _CTRr,
115
- 0,
116
- [_aT, _tT, _eI, _rT, _iT],
117
- [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
118
- ];
119
- export var CreateTokenWithIAMRequest$ = [3, n0, _CTWIAMR,
120
- 0,
121
- [_cI, _gT, _co, _rT, _a, _s, _rU, _sT, _sTT, _rTT, _cV],
122
- [0, 0, 0, [() => RefreshToken, 0], [() => Assertion, 0], 64 | 0, 0, [() => SubjectToken, 0], 0, 0, [() => CodeVerifier, 0]], 2
123
- ];
124
- export var CreateTokenWithIAMResponse$ = [3, n0, _CTWIAMRr,
125
- 0,
126
- [_aT, _tT, _eI, _rT, _iT, _iTT, _s, _aAD],
127
- [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails$]
128
- ];
100
+ n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
129
101
  export var ExpiredTokenException$ = [-3, n0, _ETE,
130
102
  { [_e]: _c, [_hE]: 400 },
131
103
  [_e, _ed],
132
104
  [0, 0]
133
105
  ];
134
- TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
106
+ n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
135
107
  export var InternalServerException$ = [-3, n0, _ISE,
136
108
  { [_e]: _se, [_hE]: 500 },
137
109
  [_e, _ed],
138
110
  [0, 0]
139
111
  ];
140
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
112
+ n0_registry.registerError(InternalServerException$, InternalServerException);
141
113
  export var InvalidClientException$ = [-3, n0, _ICE,
142
114
  { [_e]: _c, [_hE]: 401 },
143
115
  [_e, _ed],
144
116
  [0, 0]
145
117
  ];
146
- TypeRegistry.for(n0).registerError(InvalidClientException$, InvalidClientException);
118
+ n0_registry.registerError(InvalidClientException$, InvalidClientException);
147
119
  export var InvalidClientMetadataException$ = [-3, n0, _ICME,
148
120
  { [_e]: _c, [_hE]: 400 },
149
121
  [_e, _ed],
150
122
  [0, 0]
151
123
  ];
152
- TypeRegistry.for(n0).registerError(InvalidClientMetadataException$, InvalidClientMetadataException);
124
+ n0_registry.registerError(InvalidClientMetadataException$, InvalidClientMetadataException);
153
125
  export var InvalidGrantException$ = [-3, n0, _IGE,
154
126
  { [_e]: _c, [_hE]: 400 },
155
127
  [_e, _ed],
156
128
  [0, 0]
157
129
  ];
158
- TypeRegistry.for(n0).registerError(InvalidGrantException$, InvalidGrantException);
130
+ n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
159
131
  export var InvalidRedirectUriException$ = [-3, n0, _IRUE,
160
132
  { [_e]: _c, [_hE]: 400 },
161
133
  [_e, _ed],
162
134
  [0, 0]
163
135
  ];
164
- TypeRegistry.for(n0).registerError(InvalidRedirectUriException$, InvalidRedirectUriException);
136
+ n0_registry.registerError(InvalidRedirectUriException$, InvalidRedirectUriException);
165
137
  export var InvalidRequestException$ = [-3, n0, _IRE,
166
138
  { [_e]: _c, [_hE]: 400 },
167
139
  [_e, _r, _ed],
168
140
  [0, 0, 0]
169
141
  ];
170
- TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
142
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
171
143
  export var InvalidRequestRegionException$ = [-3, n0, _IRRE,
172
144
  { [_e]: _c, [_hE]: 400 },
173
145
  [_e, _ed, _en, _re],
174
146
  [0, 0, 0, 0]
175
147
  ];
176
- TypeRegistry.for(n0).registerError(InvalidRequestRegionException$, InvalidRequestRegionException);
148
+ n0_registry.registerError(InvalidRequestRegionException$, InvalidRequestRegionException);
177
149
  export var InvalidScopeException$ = [-3, n0, _ISEn,
178
150
  { [_e]: _c, [_hE]: 400 },
179
151
  [_e, _ed],
180
152
  [0, 0]
181
153
  ];
182
- TypeRegistry.for(n0).registerError(InvalidScopeException$, InvalidScopeException);
154
+ n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
155
+ export var SlowDownException$ = [-3, n0, _SDE,
156
+ { [_e]: _c, [_hE]: 400 },
157
+ [_e, _ed],
158
+ [0, 0]
159
+ ];
160
+ n0_registry.registerError(SlowDownException$, SlowDownException);
161
+ export var UnauthorizedClientException$ = [-3, n0, _UCE,
162
+ { [_e]: _c, [_hE]: 400 },
163
+ [_e, _ed],
164
+ [0, 0]
165
+ ];
166
+ n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
167
+ export var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
168
+ { [_e]: _c, [_hE]: 400 },
169
+ [_e, _ed],
170
+ [0, 0]
171
+ ];
172
+ n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
173
+ export const errorTypeRegistries = [
174
+ _s_registry,
175
+ n0_registry,
176
+ ];
177
+ var AccessToken = [0, n0, _AT, 8, 0];
178
+ var Assertion = [0, n0, _A, 8, 0];
179
+ var ClientSecret = [0, n0, _CS, 8, 0];
180
+ var CodeVerifier = [0, n0, _CV, 8, 0];
181
+ var IdToken = [0, n0, _IT, 8, 0];
182
+ var RefreshToken = [0, n0, _RT, 8, 0];
183
+ var SubjectToken = [0, n0, _ST, 8, 0];
184
+ export var AwsAdditionalDetails$ = [3, n0, _AAD,
185
+ 0,
186
+ [_iC],
187
+ [0]
188
+ ];
189
+ export var CreateTokenRequest$ = [3, n0, _CTR,
190
+ 0,
191
+ [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
192
+ [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
193
+ ];
194
+ export var CreateTokenResponse$ = [3, n0, _CTRr,
195
+ 0,
196
+ [_aT, _tT, _eI, _rT, _iT],
197
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
198
+ ];
199
+ export var CreateTokenWithIAMRequest$ = [3, n0, _CTWIAMR,
200
+ 0,
201
+ [_cI, _gT, _co, _rT, _a, _sc, _rU, _sT, _sTT, _rTT, _cV],
202
+ [0, 0, 0, [() => RefreshToken, 0], [() => Assertion, 0], 64 | 0, 0, [() => SubjectToken, 0], 0, 0, [() => CodeVerifier, 0]], 2
203
+ ];
204
+ export var CreateTokenWithIAMResponse$ = [3, n0, _CTWIAMRr,
205
+ 0,
206
+ [_aT, _tT, _eI, _rT, _iT, _iTT, _sc, _aAD],
207
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails$]
208
+ ];
183
209
  export var RegisterClientRequest$ = [3, n0, _RCR,
184
210
  0,
185
- [_cN, _cT, _sc, _rUe, _gTr, _iU, _eAA],
211
+ [_cN, _cT, _sco, _rUe, _gTr, _iU, _eAA],
186
212
  [0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0], 2
187
213
  ];
188
214
  export var RegisterClientResponse$ = [3, n0, _RCRe,
@@ -190,12 +216,6 @@ export var RegisterClientResponse$ = [3, n0, _RCRe,
190
216
  [_cI, _cS, _cIIA, _cSEA, _aE, _tE],
191
217
  [0, [() => ClientSecret, 0], 1, 1, 0, 0]
192
218
  ];
193
- export var SlowDownException$ = [-3, n0, _SDE,
194
- { [_e]: _c, [_hE]: 400 },
195
- [_e, _ed],
196
- [0, 0]
197
- ];
198
- TypeRegistry.for(n0).registerError(SlowDownException$, SlowDownException);
199
219
  export var StartDeviceAuthorizationRequest$ = [3, n0, _SDAR,
200
220
  0,
201
221
  [_cI, _cS, _sU],
@@ -206,20 +226,6 @@ export var StartDeviceAuthorizationResponse$ = [3, n0, _SDARt,
206
226
  [_dC, _uC, _vU, _vUC, _eI, _i],
207
227
  [0, 0, 0, 0, 1, 1]
208
228
  ];
209
- export var UnauthorizedClientException$ = [-3, n0, _UCE,
210
- { [_e]: _c, [_hE]: 400 },
211
- [_e, _ed],
212
- [0, 0]
213
- ];
214
- TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);
215
- export var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
216
- { [_e]: _c, [_hE]: 400 },
217
- [_e, _ed],
218
- [0, 0]
219
- ];
220
- TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
221
- export var SSOOIDCServiceException$ = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
222
- TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
223
229
  var GrantTypes = 64 | 0;
224
230
  var RedirectUris = 64 | 0;
225
231
  var Scopes = 64 | 0;
@@ -1,11 +1,8 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var SSOOIDCServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
3
5
  export declare var AuthorizationPendingException$: StaticErrorSchema;
4
- export declare var AwsAdditionalDetails$: StaticStructureSchema;
5
- export declare var CreateTokenRequest$: StaticStructureSchema;
6
- export declare var CreateTokenResponse$: StaticStructureSchema;
7
- export declare var CreateTokenWithIAMRequest$: StaticStructureSchema;
8
- export declare var CreateTokenWithIAMResponse$: StaticStructureSchema;
9
6
  export declare var ExpiredTokenException$: StaticErrorSchema;
10
7
  export declare var InternalServerException$: StaticErrorSchema;
11
8
  export declare var InvalidClientException$: StaticErrorSchema;
@@ -15,14 +12,24 @@ export declare var InvalidRedirectUriException$: StaticErrorSchema;
15
12
  export declare var InvalidRequestException$: StaticErrorSchema;
16
13
  export declare var InvalidRequestRegionException$: StaticErrorSchema;
17
14
  export declare var InvalidScopeException$: StaticErrorSchema;
15
+ export declare var SlowDownException$: StaticErrorSchema;
16
+ export declare var UnauthorizedClientException$: StaticErrorSchema;
17
+ export declare var UnsupportedGrantTypeException$: StaticErrorSchema;
18
+ /**
19
+ * TypeRegistry instances containing modeled errors.
20
+ * @internal
21
+ *
22
+ */
23
+ export declare const errorTypeRegistries: TypeRegistry[];
24
+ export declare var AwsAdditionalDetails$: StaticStructureSchema;
25
+ export declare var CreateTokenRequest$: StaticStructureSchema;
26
+ export declare var CreateTokenResponse$: StaticStructureSchema;
27
+ export declare var CreateTokenWithIAMRequest$: StaticStructureSchema;
28
+ export declare var CreateTokenWithIAMResponse$: StaticStructureSchema;
18
29
  export declare var RegisterClientRequest$: StaticStructureSchema;
19
30
  export declare var RegisterClientResponse$: StaticStructureSchema;
20
- export declare var SlowDownException$: StaticErrorSchema;
21
31
  export declare var StartDeviceAuthorizationRequest$: StaticStructureSchema;
22
32
  export declare var StartDeviceAuthorizationResponse$: StaticStructureSchema;
23
- export declare var UnauthorizedClientException$: StaticErrorSchema;
24
- export declare var UnsupportedGrantTypeException$: StaticErrorSchema;
25
- export declare var SSOOIDCServiceException$: StaticErrorSchema;
26
33
  export declare var CreateToken$: StaticOperationSchema;
27
34
  export declare var CreateTokenWithIAM$: StaticOperationSchema;
28
35
  export declare var RegisterClient$: StaticOperationSchema;
@@ -1,15 +1,12 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var SSOOIDCServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
7
9
  export declare var AuthorizationPendingException$: StaticErrorSchema;
8
- export declare var AwsAdditionalDetails$: StaticStructureSchema;
9
- export declare var CreateTokenRequest$: StaticStructureSchema;
10
- export declare var CreateTokenResponse$: StaticStructureSchema;
11
- export declare var CreateTokenWithIAMRequest$: StaticStructureSchema;
12
- export declare var CreateTokenWithIAMResponse$: StaticStructureSchema;
13
10
  export declare var ExpiredTokenException$: StaticErrorSchema;
14
11
  export declare var InternalServerException$: StaticErrorSchema;
15
12
  export declare var InvalidClientException$: StaticErrorSchema;
@@ -19,14 +16,19 @@ export declare var InvalidRedirectUriException$: StaticErrorSchema;
19
16
  export declare var InvalidRequestException$: StaticErrorSchema;
20
17
  export declare var InvalidRequestRegionException$: StaticErrorSchema;
21
18
  export declare var InvalidScopeException$: StaticErrorSchema;
19
+ export declare var SlowDownException$: StaticErrorSchema;
20
+ export declare var UnauthorizedClientException$: StaticErrorSchema;
21
+ export declare var UnsupportedGrantTypeException$: StaticErrorSchema;
22
+ export declare const errorTypeRegistries: TypeRegistry[];
23
+ export declare var AwsAdditionalDetails$: StaticStructureSchema;
24
+ export declare var CreateTokenRequest$: StaticStructureSchema;
25
+ export declare var CreateTokenResponse$: StaticStructureSchema;
26
+ export declare var CreateTokenWithIAMRequest$: StaticStructureSchema;
27
+ export declare var CreateTokenWithIAMResponse$: StaticStructureSchema;
22
28
  export declare var RegisterClientRequest$: StaticStructureSchema;
23
29
  export declare var RegisterClientResponse$: StaticStructureSchema;
24
- export declare var SlowDownException$: StaticErrorSchema;
25
30
  export declare var StartDeviceAuthorizationRequest$: StaticStructureSchema;
26
31
  export declare var StartDeviceAuthorizationResponse$: StaticStructureSchema;
27
- export declare var UnauthorizedClientException$: StaticErrorSchema;
28
- export declare var UnsupportedGrantTypeException$: StaticErrorSchema;
29
- export declare var SSOOIDCServiceException$: StaticErrorSchema;
30
32
  export declare var CreateToken$: StaticOperationSchema;
31
33
  export declare var CreateTokenWithIAM$: StaticOperationSchema;
32
34
  export declare var RegisterClient$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",