@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.
@@ -0,0 +1,250 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidRedirectUriException = exports.InvalidClientMetadataException = exports.InvalidRequestRegionException = exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0;
4
+ const SSOOIDCServiceException_1 = require("./SSOOIDCServiceException");
5
+ class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ error;
9
+ reason;
10
+ error_description;
11
+ constructor(opts) {
12
+ super({
13
+ name: "AccessDeniedException",
14
+ $fault: "client",
15
+ ...opts,
16
+ });
17
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
18
+ this.error = opts.error;
19
+ this.reason = opts.reason;
20
+ this.error_description = opts.error_description;
21
+ }
22
+ }
23
+ exports.AccessDeniedException = AccessDeniedException;
24
+ class AuthorizationPendingException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
25
+ name = "AuthorizationPendingException";
26
+ $fault = "client";
27
+ error;
28
+ error_description;
29
+ constructor(opts) {
30
+ super({
31
+ name: "AuthorizationPendingException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
36
+ this.error = opts.error;
37
+ this.error_description = opts.error_description;
38
+ }
39
+ }
40
+ exports.AuthorizationPendingException = AuthorizationPendingException;
41
+ class ExpiredTokenException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
42
+ name = "ExpiredTokenException";
43
+ $fault = "client";
44
+ error;
45
+ error_description;
46
+ constructor(opts) {
47
+ super({
48
+ name: "ExpiredTokenException",
49
+ $fault: "client",
50
+ ...opts,
51
+ });
52
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
53
+ this.error = opts.error;
54
+ this.error_description = opts.error_description;
55
+ }
56
+ }
57
+ exports.ExpiredTokenException = ExpiredTokenException;
58
+ class InternalServerException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
59
+ name = "InternalServerException";
60
+ $fault = "server";
61
+ error;
62
+ error_description;
63
+ constructor(opts) {
64
+ super({
65
+ name: "InternalServerException",
66
+ $fault: "server",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, InternalServerException.prototype);
70
+ this.error = opts.error;
71
+ this.error_description = opts.error_description;
72
+ }
73
+ }
74
+ exports.InternalServerException = InternalServerException;
75
+ class InvalidClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
76
+ name = "InvalidClientException";
77
+ $fault = "client";
78
+ error;
79
+ error_description;
80
+ constructor(opts) {
81
+ super({
82
+ name: "InvalidClientException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, InvalidClientException.prototype);
87
+ this.error = opts.error;
88
+ this.error_description = opts.error_description;
89
+ }
90
+ }
91
+ exports.InvalidClientException = InvalidClientException;
92
+ class InvalidGrantException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
93
+ name = "InvalidGrantException";
94
+ $fault = "client";
95
+ error;
96
+ error_description;
97
+ constructor(opts) {
98
+ super({
99
+ name: "InvalidGrantException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, InvalidGrantException.prototype);
104
+ this.error = opts.error;
105
+ this.error_description = opts.error_description;
106
+ }
107
+ }
108
+ exports.InvalidGrantException = InvalidGrantException;
109
+ class InvalidRequestException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
110
+ name = "InvalidRequestException";
111
+ $fault = "client";
112
+ error;
113
+ reason;
114
+ error_description;
115
+ constructor(opts) {
116
+ super({
117
+ name: "InvalidRequestException",
118
+ $fault: "client",
119
+ ...opts,
120
+ });
121
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
122
+ this.error = opts.error;
123
+ this.reason = opts.reason;
124
+ this.error_description = opts.error_description;
125
+ }
126
+ }
127
+ exports.InvalidRequestException = InvalidRequestException;
128
+ class InvalidScopeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
129
+ name = "InvalidScopeException";
130
+ $fault = "client";
131
+ error;
132
+ error_description;
133
+ constructor(opts) {
134
+ super({
135
+ name: "InvalidScopeException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, InvalidScopeException.prototype);
140
+ this.error = opts.error;
141
+ this.error_description = opts.error_description;
142
+ }
143
+ }
144
+ exports.InvalidScopeException = InvalidScopeException;
145
+ class SlowDownException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
146
+ name = "SlowDownException";
147
+ $fault = "client";
148
+ error;
149
+ error_description;
150
+ constructor(opts) {
151
+ super({
152
+ name: "SlowDownException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, SlowDownException.prototype);
157
+ this.error = opts.error;
158
+ this.error_description = opts.error_description;
159
+ }
160
+ }
161
+ exports.SlowDownException = SlowDownException;
162
+ class UnauthorizedClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
163
+ name = "UnauthorizedClientException";
164
+ $fault = "client";
165
+ error;
166
+ error_description;
167
+ constructor(opts) {
168
+ super({
169
+ name: "UnauthorizedClientException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
174
+ this.error = opts.error;
175
+ this.error_description = opts.error_description;
176
+ }
177
+ }
178
+ exports.UnauthorizedClientException = UnauthorizedClientException;
179
+ class UnsupportedGrantTypeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
180
+ name = "UnsupportedGrantTypeException";
181
+ $fault = "client";
182
+ error;
183
+ error_description;
184
+ constructor(opts) {
185
+ super({
186
+ name: "UnsupportedGrantTypeException",
187
+ $fault: "client",
188
+ ...opts,
189
+ });
190
+ Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
191
+ this.error = opts.error;
192
+ this.error_description = opts.error_description;
193
+ }
194
+ }
195
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
196
+ class InvalidRequestRegionException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
197
+ name = "InvalidRequestRegionException";
198
+ $fault = "client";
199
+ error;
200
+ error_description;
201
+ endpoint;
202
+ region;
203
+ constructor(opts) {
204
+ super({
205
+ name: "InvalidRequestRegionException",
206
+ $fault: "client",
207
+ ...opts,
208
+ });
209
+ Object.setPrototypeOf(this, InvalidRequestRegionException.prototype);
210
+ this.error = opts.error;
211
+ this.error_description = opts.error_description;
212
+ this.endpoint = opts.endpoint;
213
+ this.region = opts.region;
214
+ }
215
+ }
216
+ exports.InvalidRequestRegionException = InvalidRequestRegionException;
217
+ class InvalidClientMetadataException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
218
+ name = "InvalidClientMetadataException";
219
+ $fault = "client";
220
+ error;
221
+ error_description;
222
+ constructor(opts) {
223
+ super({
224
+ name: "InvalidClientMetadataException",
225
+ $fault: "client",
226
+ ...opts,
227
+ });
228
+ Object.setPrototypeOf(this, InvalidClientMetadataException.prototype);
229
+ this.error = opts.error;
230
+ this.error_description = opts.error_description;
231
+ }
232
+ }
233
+ exports.InvalidClientMetadataException = InvalidClientMetadataException;
234
+ class InvalidRedirectUriException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
235
+ name = "InvalidRedirectUriException";
236
+ $fault = "client";
237
+ error;
238
+ error_description;
239
+ constructor(opts) {
240
+ super({
241
+ name: "InvalidRedirectUriException",
242
+ $fault: "client",
243
+ ...opts,
244
+ });
245
+ Object.setPrototypeOf(this, InvalidRedirectUriException.prototype);
246
+ this.error = opts.error;
247
+ this.error_description = opts.error_description;
248
+ }
249
+ }
250
+ exports.InvalidRedirectUriException = InvalidRedirectUriException;
@@ -10,6 +10,7 @@ const util_base64_1 = require("@smithy/util-base64");
10
10
  const util_utf8_1 = require("@smithy/util-utf8");
11
11
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
12
12
  const endpointResolver_1 = require("./endpoint/endpointResolver");
13
+ const schemas_0_1 = require("./schemas/schemas_0");
13
14
  const getRuntimeConfig = (config) => {
14
15
  return {
15
16
  apiVersion: "2019-06-10",
@@ -35,6 +36,7 @@ const getRuntimeConfig = (config) => {
35
36
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
36
37
  protocolSettings: config?.protocolSettings ?? {
37
38
  defaultNamespace: "com.amazonaws.ssooidc",
39
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
38
40
  version: "2019-06-10",
39
41
  serviceTarget: "AWSSSOOIDCService",
40
42
  },
@@ -0,0 +1,246 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartDeviceAuthorization$ = exports.RegisterClient$ = exports.CreateTokenWithIAM$ = exports.CreateToken$ = exports.StartDeviceAuthorizationResponse$ = exports.StartDeviceAuthorizationRequest$ = exports.RegisterClientResponse$ = exports.RegisterClientRequest$ = exports.CreateTokenWithIAMResponse$ = exports.CreateTokenWithIAMRequest$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.AwsAdditionalDetails$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestRegionException$ = exports.InvalidRequestException$ = exports.InvalidRedirectUriException$ = exports.InvalidGrantException$ = exports.InvalidClientMetadataException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = void 0;
4
+ const _A = "Assertion";
5
+ const _AAD = "AwsAdditionalDetails";
6
+ const _ADE = "AccessDeniedException";
7
+ const _APE = "AuthorizationPendingException";
8
+ const _AT = "AccessToken";
9
+ const _CS = "ClientSecret";
10
+ const _CT = "CreateToken";
11
+ const _CTR = "CreateTokenRequest";
12
+ const _CTRr = "CreateTokenResponse";
13
+ const _CTWIAM = "CreateTokenWithIAM";
14
+ const _CTWIAMR = "CreateTokenWithIAMRequest";
15
+ const _CTWIAMRr = "CreateTokenWithIAMResponse";
16
+ const _CV = "CodeVerifier";
17
+ const _ETE = "ExpiredTokenException";
18
+ const _ICE = "InvalidClientException";
19
+ const _ICME = "InvalidClientMetadataException";
20
+ const _IGE = "InvalidGrantException";
21
+ const _IRE = "InvalidRequestException";
22
+ const _IRRE = "InvalidRequestRegionException";
23
+ const _IRUE = "InvalidRedirectUriException";
24
+ const _ISE = "InternalServerException";
25
+ const _ISEn = "InvalidScopeException";
26
+ const _IT = "IdToken";
27
+ const _RC = "RegisterClient";
28
+ const _RCR = "RegisterClientRequest";
29
+ const _RCRe = "RegisterClientResponse";
30
+ const _RT = "RefreshToken";
31
+ const _SDA = "StartDeviceAuthorization";
32
+ const _SDAR = "StartDeviceAuthorizationRequest";
33
+ const _SDARt = "StartDeviceAuthorizationResponse";
34
+ const _SDE = "SlowDownException";
35
+ const _ST = "SubjectToken";
36
+ const _UCE = "UnauthorizedClientException";
37
+ const _UGTE = "UnsupportedGrantTypeException";
38
+ const _a = "assertion";
39
+ const _aAD = "awsAdditionalDetails";
40
+ const _aE = "authorizationEndpoint";
41
+ const _aT = "accessToken";
42
+ const _c = "client";
43
+ const _cI = "clientId";
44
+ const _cIIA = "clientIdIssuedAt";
45
+ const _cN = "clientName";
46
+ const _cS = "clientSecret";
47
+ const _cSEA = "clientSecretExpiresAt";
48
+ const _cT = "clientType";
49
+ const _cV = "codeVerifier";
50
+ const _co = "code";
51
+ const _dC = "deviceCode";
52
+ const _e = "error";
53
+ const _eAA = "entitledApplicationArn";
54
+ const _eI = "expiresIn";
55
+ const _ed = "error_description";
56
+ const _en = "endpoint";
57
+ const _gT = "grantType";
58
+ const _gTr = "grantTypes";
59
+ const _h = "http";
60
+ const _hE = "httpError";
61
+ const _i = "interval";
62
+ const _iC = "identityContext";
63
+ const _iT = "idToken";
64
+ const _iTT = "issuedTokenType";
65
+ const _iU = "issuerUrl";
66
+ const _r = "reason";
67
+ const _rT = "refreshToken";
68
+ const _rTT = "requestedTokenType";
69
+ const _rU = "redirectUri";
70
+ const _rUe = "redirectUris";
71
+ const _re = "region";
72
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
73
+ const _sT = "subjectToken";
74
+ const _sTT = "subjectTokenType";
75
+ const _sU = "startUrl";
76
+ const _sc = "scope";
77
+ const _sco = "scopes";
78
+ const _se = "server";
79
+ const _tE = "tokenEndpoint";
80
+ const _tT = "tokenType";
81
+ const _uC = "userCode";
82
+ const _vU = "verificationUri";
83
+ const _vUC = "verificationUriComplete";
84
+ const n0 = "com.amazonaws.ssooidc";
85
+ const schema_1 = require("@smithy/core/schema");
86
+ const errors_1 = require("../models/errors");
87
+ const SSOOIDCServiceException_1 = require("../models/SSOOIDCServiceException");
88
+ const _s_registry = schema_1.TypeRegistry.for(_s);
89
+ exports.SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
90
+ _s_registry.registerError(exports.SSOOIDCServiceException$, SSOOIDCServiceException_1.SSOOIDCServiceException);
91
+ const n0_registry = schema_1.TypeRegistry.for(n0);
92
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
93
+ { [_e]: _c, [_hE]: 400 },
94
+ [_e, _r, _ed],
95
+ [0, 0, 0]
96
+ ];
97
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
98
+ exports.AuthorizationPendingException$ = [-3, n0, _APE,
99
+ { [_e]: _c, [_hE]: 400 },
100
+ [_e, _ed],
101
+ [0, 0]
102
+ ];
103
+ n0_registry.registerError(exports.AuthorizationPendingException$, errors_1.AuthorizationPendingException);
104
+ exports.ExpiredTokenException$ = [-3, n0, _ETE,
105
+ { [_e]: _c, [_hE]: 400 },
106
+ [_e, _ed],
107
+ [0, 0]
108
+ ];
109
+ n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
110
+ exports.InternalServerException$ = [-3, n0, _ISE,
111
+ { [_e]: _se, [_hE]: 500 },
112
+ [_e, _ed],
113
+ [0, 0]
114
+ ];
115
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
116
+ exports.InvalidClientException$ = [-3, n0, _ICE,
117
+ { [_e]: _c, [_hE]: 401 },
118
+ [_e, _ed],
119
+ [0, 0]
120
+ ];
121
+ n0_registry.registerError(exports.InvalidClientException$, errors_1.InvalidClientException);
122
+ exports.InvalidClientMetadataException$ = [-3, n0, _ICME,
123
+ { [_e]: _c, [_hE]: 400 },
124
+ [_e, _ed],
125
+ [0, 0]
126
+ ];
127
+ n0_registry.registerError(exports.InvalidClientMetadataException$, errors_1.InvalidClientMetadataException);
128
+ exports.InvalidGrantException$ = [-3, n0, _IGE,
129
+ { [_e]: _c, [_hE]: 400 },
130
+ [_e, _ed],
131
+ [0, 0]
132
+ ];
133
+ n0_registry.registerError(exports.InvalidGrantException$, errors_1.InvalidGrantException);
134
+ exports.InvalidRedirectUriException$ = [-3, n0, _IRUE,
135
+ { [_e]: _c, [_hE]: 400 },
136
+ [_e, _ed],
137
+ [0, 0]
138
+ ];
139
+ n0_registry.registerError(exports.InvalidRedirectUriException$, errors_1.InvalidRedirectUriException);
140
+ exports.InvalidRequestException$ = [-3, n0, _IRE,
141
+ { [_e]: _c, [_hE]: 400 },
142
+ [_e, _r, _ed],
143
+ [0, 0, 0]
144
+ ];
145
+ n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
146
+ exports.InvalidRequestRegionException$ = [-3, n0, _IRRE,
147
+ { [_e]: _c, [_hE]: 400 },
148
+ [_e, _ed, _en, _re],
149
+ [0, 0, 0, 0]
150
+ ];
151
+ n0_registry.registerError(exports.InvalidRequestRegionException$, errors_1.InvalidRequestRegionException);
152
+ exports.InvalidScopeException$ = [-3, n0, _ISEn,
153
+ { [_e]: _c, [_hE]: 400 },
154
+ [_e, _ed],
155
+ [0, 0]
156
+ ];
157
+ n0_registry.registerError(exports.InvalidScopeException$, errors_1.InvalidScopeException);
158
+ exports.SlowDownException$ = [-3, n0, _SDE,
159
+ { [_e]: _c, [_hE]: 400 },
160
+ [_e, _ed],
161
+ [0, 0]
162
+ ];
163
+ n0_registry.registerError(exports.SlowDownException$, errors_1.SlowDownException);
164
+ exports.UnauthorizedClientException$ = [-3, n0, _UCE,
165
+ { [_e]: _c, [_hE]: 400 },
166
+ [_e, _ed],
167
+ [0, 0]
168
+ ];
169
+ n0_registry.registerError(exports.UnauthorizedClientException$, errors_1.UnauthorizedClientException);
170
+ exports.UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
171
+ { [_e]: _c, [_hE]: 400 },
172
+ [_e, _ed],
173
+ [0, 0]
174
+ ];
175
+ n0_registry.registerError(exports.UnsupportedGrantTypeException$, errors_1.UnsupportedGrantTypeException);
176
+ exports.errorTypeRegistries = [
177
+ _s_registry,
178
+ n0_registry,
179
+ ];
180
+ var AccessToken = [0, n0, _AT, 8, 0];
181
+ var Assertion = [0, n0, _A, 8, 0];
182
+ var ClientSecret = [0, n0, _CS, 8, 0];
183
+ var CodeVerifier = [0, n0, _CV, 8, 0];
184
+ var IdToken = [0, n0, _IT, 8, 0];
185
+ var RefreshToken = [0, n0, _RT, 8, 0];
186
+ var SubjectToken = [0, n0, _ST, 8, 0];
187
+ exports.AwsAdditionalDetails$ = [3, n0, _AAD,
188
+ 0,
189
+ [_iC],
190
+ [0]
191
+ ];
192
+ exports.CreateTokenRequest$ = [3, n0, _CTR,
193
+ 0,
194
+ [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
195
+ [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
196
+ ];
197
+ exports.CreateTokenResponse$ = [3, n0, _CTRr,
198
+ 0,
199
+ [_aT, _tT, _eI, _rT, _iT],
200
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
201
+ ];
202
+ exports.CreateTokenWithIAMRequest$ = [3, n0, _CTWIAMR,
203
+ 0,
204
+ [_cI, _gT, _co, _rT, _a, _sc, _rU, _sT, _sTT, _rTT, _cV],
205
+ [0, 0, 0, [() => RefreshToken, 0], [() => Assertion, 0], 64 | 0, 0, [() => SubjectToken, 0], 0, 0, [() => CodeVerifier, 0]], 2
206
+ ];
207
+ exports.CreateTokenWithIAMResponse$ = [3, n0, _CTWIAMRr,
208
+ 0,
209
+ [_aT, _tT, _eI, _rT, _iT, _iTT, _sc, _aAD],
210
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => exports.AwsAdditionalDetails$]
211
+ ];
212
+ exports.RegisterClientRequest$ = [3, n0, _RCR,
213
+ 0,
214
+ [_cN, _cT, _sco, _rUe, _gTr, _iU, _eAA],
215
+ [0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0], 2
216
+ ];
217
+ exports.RegisterClientResponse$ = [3, n0, _RCRe,
218
+ 0,
219
+ [_cI, _cS, _cIIA, _cSEA, _aE, _tE],
220
+ [0, [() => ClientSecret, 0], 1, 1, 0, 0]
221
+ ];
222
+ exports.StartDeviceAuthorizationRequest$ = [3, n0, _SDAR,
223
+ 0,
224
+ [_cI, _cS, _sU],
225
+ [0, [() => ClientSecret, 0], 0], 3
226
+ ];
227
+ exports.StartDeviceAuthorizationResponse$ = [3, n0, _SDARt,
228
+ 0,
229
+ [_dC, _uC, _vU, _vUC, _eI, _i],
230
+ [0, 0, 0, 0, 1, 1]
231
+ ];
232
+ var GrantTypes = 64 | 0;
233
+ var RedirectUris = 64 | 0;
234
+ var Scopes = 64 | 0;
235
+ exports.CreateToken$ = [9, n0, _CT,
236
+ { [_h]: ["POST", "/token", 200] }, () => exports.CreateTokenRequest$, () => exports.CreateTokenResponse$
237
+ ];
238
+ exports.CreateTokenWithIAM$ = [9, n0, _CTWIAM,
239
+ { [_h]: ["POST", "/token?aws_iam=t", 200] }, () => exports.CreateTokenWithIAMRequest$, () => exports.CreateTokenWithIAMResponse$
240
+ ];
241
+ exports.RegisterClient$ = [9, n0, _RC,
242
+ { [_h]: ["POST", "/client/register", 200] }, () => exports.RegisterClientRequest$, () => exports.RegisterClientResponse$
243
+ ];
244
+ exports.StartDeviceAuthorization$ = [9, n0, _SDA,
245
+ { [_h]: ["POST", "/device_authorization", 200] }, () => exports.StartDeviceAuthorizationRequest$, () => exports.StartDeviceAuthorizationResponse$
246
+ ];
@@ -7,6 +7,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
7
7
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
8
8
  import { defaultSSOOIDCHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
11
  export const getRuntimeConfig = (config) => {
11
12
  return {
12
13
  apiVersion: "2019-06-10",
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
32
33
  protocol: config?.protocol ?? AwsRestJsonProtocol,
33
34
  protocolSettings: config?.protocolSettings ?? {
34
35
  defaultNamespace: "com.amazonaws.ssooidc",
36
+ errorTypeRegistries,
35
37
  version: "2019-06-10",
36
38
  serviceTarget: "AWSSSOOIDCService",
37
39
  },