@aws-sdk/client-sso-oidc 3.952.0 → 3.954.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 +136 -101
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateTokenCommand.js +2 -2
- package/dist-es/commands/CreateTokenWithIAMCommand.js +2 -2
- package/dist-es/commands/RegisterClientCommand.js +2 -2
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +71 -64
- package/dist-types/SSOOIDCClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +29 -39
- package/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -39
- package/package.json +34 -34
|
@@ -80,16 +80,16 @@ const _vU = "verificationUri";
|
|
|
80
80
|
const _vUC = "verificationUriComplete";
|
|
81
81
|
const n0 = "com.amazonaws.ssooidc";
|
|
82
82
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
83
|
-
import { AccessDeniedException
|
|
84
|
-
import { SSOOIDCServiceException
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export var AccessDeniedException = [
|
|
83
|
+
import { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidClientMetadataException, InvalidGrantException, InvalidRedirectUriException, InvalidRequestException, InvalidRequestRegionException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from "../models/errors";
|
|
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];
|
|
92
|
+
export var AccessDeniedException$ = [
|
|
93
93
|
-3,
|
|
94
94
|
n0,
|
|
95
95
|
_ADE,
|
|
@@ -97,8 +97,8 @@ export var AccessDeniedException = [
|
|
|
97
97
|
[_e, _r, _ed],
|
|
98
98
|
[0, 0, 0],
|
|
99
99
|
];
|
|
100
|
-
TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
101
|
-
export var AuthorizationPendingException = [
|
|
100
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
101
|
+
export var AuthorizationPendingException$ = [
|
|
102
102
|
-3,
|
|
103
103
|
n0,
|
|
104
104
|
_APE,
|
|
@@ -106,9 +106,9 @@ export var AuthorizationPendingException = [
|
|
|
106
106
|
[_e, _ed],
|
|
107
107
|
[0, 0],
|
|
108
108
|
];
|
|
109
|
-
TypeRegistry.for(n0).registerError(AuthorizationPendingException
|
|
110
|
-
export var AwsAdditionalDetails = [3, n0, _AAD, 0, [_iC], [0]];
|
|
111
|
-
export var CreateTokenRequest = [
|
|
109
|
+
TypeRegistry.for(n0).registerError(AuthorizationPendingException$, AuthorizationPendingException);
|
|
110
|
+
export var AwsAdditionalDetails$ = [3, n0, _AAD, 0, [_iC], [0]];
|
|
111
|
+
export var CreateTokenRequest$ = [
|
|
112
112
|
3,
|
|
113
113
|
n0,
|
|
114
114
|
_CTR,
|
|
@@ -116,7 +116,7 @@ export var CreateTokenRequest = [
|
|
|
116
116
|
[_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
|
|
117
117
|
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
|
|
118
118
|
];
|
|
119
|
-
export var CreateTokenResponse = [
|
|
119
|
+
export var CreateTokenResponse$ = [
|
|
120
120
|
3,
|
|
121
121
|
n0,
|
|
122
122
|
_CTRr,
|
|
@@ -124,7 +124,7 @@ export var CreateTokenResponse = [
|
|
|
124
124
|
[_aT, _tT, _eI, _rT, _iT],
|
|
125
125
|
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
|
|
126
126
|
];
|
|
127
|
-
export var CreateTokenWithIAMRequest = [
|
|
127
|
+
export var CreateTokenWithIAMRequest$ = [
|
|
128
128
|
3,
|
|
129
129
|
n0,
|
|
130
130
|
_CTWIAMR,
|
|
@@ -144,21 +144,21 @@ export var CreateTokenWithIAMRequest = [
|
|
|
144
144
|
[() => CodeVerifier, 0],
|
|
145
145
|
],
|
|
146
146
|
];
|
|
147
|
-
export var CreateTokenWithIAMResponse = [
|
|
147
|
+
export var CreateTokenWithIAMResponse$ = [
|
|
148
148
|
3,
|
|
149
149
|
n0,
|
|
150
150
|
_CTWIAMRr,
|
|
151
151
|
0,
|
|
152
152
|
[_aT, _tT, _eI, _rT, _iT, _iTT, _s, _aAD],
|
|
153
|
-
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails],
|
|
153
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails$],
|
|
154
154
|
];
|
|
155
|
-
export var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
156
|
-
TypeRegistry.for(n0).registerError(ExpiredTokenException
|
|
157
|
-
export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
|
|
158
|
-
TypeRegistry.for(n0).registerError(InternalServerException
|
|
159
|
-
export var InvalidClientException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
|
|
160
|
-
TypeRegistry.for(n0).registerError(InvalidClientException
|
|
161
|
-
export var InvalidClientMetadataException = [
|
|
155
|
+
export var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
156
|
+
TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
157
|
+
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
|
|
158
|
+
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
159
|
+
export var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
|
|
160
|
+
TypeRegistry.for(n0).registerError(InvalidClientException$, InvalidClientException);
|
|
161
|
+
export var InvalidClientMetadataException$ = [
|
|
162
162
|
-3,
|
|
163
163
|
n0,
|
|
164
164
|
_ICME,
|
|
@@ -166,10 +166,10 @@ export var InvalidClientMetadataException = [
|
|
|
166
166
|
[_e, _ed],
|
|
167
167
|
[0, 0],
|
|
168
168
|
];
|
|
169
|
-
TypeRegistry.for(n0).registerError(InvalidClientMetadataException
|
|
170
|
-
export var InvalidGrantException = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
171
|
-
TypeRegistry.for(n0).registerError(InvalidGrantException
|
|
172
|
-
export var InvalidRedirectUriException = [
|
|
169
|
+
TypeRegistry.for(n0).registerError(InvalidClientMetadataException$, InvalidClientMetadataException);
|
|
170
|
+
export var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
171
|
+
TypeRegistry.for(n0).registerError(InvalidGrantException$, InvalidGrantException);
|
|
172
|
+
export var InvalidRedirectUriException$ = [
|
|
173
173
|
-3,
|
|
174
174
|
n0,
|
|
175
175
|
_IRUE,
|
|
@@ -177,8 +177,8 @@ export var InvalidRedirectUriException = [
|
|
|
177
177
|
[_e, _ed],
|
|
178
178
|
[0, 0],
|
|
179
179
|
];
|
|
180
|
-
TypeRegistry.for(n0).registerError(InvalidRedirectUriException
|
|
181
|
-
export var InvalidRequestException = [
|
|
180
|
+
TypeRegistry.for(n0).registerError(InvalidRedirectUriException$, InvalidRedirectUriException);
|
|
181
|
+
export var InvalidRequestException$ = [
|
|
182
182
|
-3,
|
|
183
183
|
n0,
|
|
184
184
|
_IRE,
|
|
@@ -186,8 +186,8 @@ export var InvalidRequestException = [
|
|
|
186
186
|
[_e, _r, _ed],
|
|
187
187
|
[0, 0, 0],
|
|
188
188
|
];
|
|
189
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
190
|
-
export var InvalidRequestRegionException = [
|
|
189
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
190
|
+
export var InvalidRequestRegionException$ = [
|
|
191
191
|
-3,
|
|
192
192
|
n0,
|
|
193
193
|
_IRRE,
|
|
@@ -195,10 +195,10 @@ export var InvalidRequestRegionException = [
|
|
|
195
195
|
[_e, _ed, _en, _re],
|
|
196
196
|
[0, 0, 0, 0],
|
|
197
197
|
];
|
|
198
|
-
TypeRegistry.for(n0).registerError(InvalidRequestRegionException
|
|
199
|
-
export var InvalidScopeException = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
200
|
-
TypeRegistry.for(n0).registerError(InvalidScopeException
|
|
201
|
-
export var RegisterClientRequest = [
|
|
198
|
+
TypeRegistry.for(n0).registerError(InvalidRequestRegionException$, InvalidRequestRegionException);
|
|
199
|
+
export var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
200
|
+
TypeRegistry.for(n0).registerError(InvalidScopeException$, InvalidScopeException);
|
|
201
|
+
export var RegisterClientRequest$ = [
|
|
202
202
|
3,
|
|
203
203
|
n0,
|
|
204
204
|
_RCR,
|
|
@@ -206,7 +206,7 @@ export var RegisterClientRequest = [
|
|
|
206
206
|
[_cN, _cT, _sc, _rUe, _gTr, _iU, _eAA],
|
|
207
207
|
[0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0],
|
|
208
208
|
];
|
|
209
|
-
export var RegisterClientResponse = [
|
|
209
|
+
export var RegisterClientResponse$ = [
|
|
210
210
|
3,
|
|
211
211
|
n0,
|
|
212
212
|
_RCRe,
|
|
@@ -214,9 +214,9 @@ export var RegisterClientResponse = [
|
|
|
214
214
|
[_cI, _cS, _cIIA, _cSEA, _aE, _tE],
|
|
215
215
|
[0, [() => ClientSecret, 0], 1, 1, 0, 0],
|
|
216
216
|
];
|
|
217
|
-
export var SlowDownException = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
218
|
-
TypeRegistry.for(n0).registerError(SlowDownException
|
|
219
|
-
export var StartDeviceAuthorizationRequest = [
|
|
217
|
+
export var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
218
|
+
TypeRegistry.for(n0).registerError(SlowDownException$, SlowDownException);
|
|
219
|
+
export var StartDeviceAuthorizationRequest$ = [
|
|
220
220
|
3,
|
|
221
221
|
n0,
|
|
222
222
|
_SDAR,
|
|
@@ -224,7 +224,7 @@ export var StartDeviceAuthorizationRequest = [
|
|
|
224
224
|
[_cI, _cS, _sU],
|
|
225
225
|
[0, [() => ClientSecret, 0], 0],
|
|
226
226
|
];
|
|
227
|
-
export var StartDeviceAuthorizationResponse = [
|
|
227
|
+
export var StartDeviceAuthorizationResponse$ = [
|
|
228
228
|
3,
|
|
229
229
|
n0,
|
|
230
230
|
_SDARt,
|
|
@@ -232,9 +232,16 @@ export var StartDeviceAuthorizationResponse = [
|
|
|
232
232
|
[_dC, _uC, _vU, _vUC, _eI, _i],
|
|
233
233
|
[0, 0, 0, 0, 1, 1],
|
|
234
234
|
];
|
|
235
|
-
export var UnauthorizedClientException = [
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
export var UnauthorizedClientException$ = [
|
|
236
|
+
-3,
|
|
237
|
+
n0,
|
|
238
|
+
_UCE,
|
|
239
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
240
|
+
[_e, _ed],
|
|
241
|
+
[0, 0],
|
|
242
|
+
];
|
|
243
|
+
TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
244
|
+
export var UnsupportedGrantTypeException$ = [
|
|
238
245
|
-3,
|
|
239
246
|
n0,
|
|
240
247
|
_UGTE,
|
|
@@ -242,41 +249,41 @@ export var UnsupportedGrantTypeException = [
|
|
|
242
249
|
[_e, _ed],
|
|
243
250
|
[0, 0],
|
|
244
251
|
];
|
|
245
|
-
TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException
|
|
246
|
-
export var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
|
|
247
|
-
TypeRegistry.for(_sm).registerError(SSOOIDCServiceException
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
export var CreateToken = [
|
|
252
|
+
TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
|
|
253
|
+
export var SSOOIDCServiceException$ = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
|
|
254
|
+
TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
|
|
255
|
+
var GrantTypes = 64 | 0;
|
|
256
|
+
var RedirectUris = 64 | 0;
|
|
257
|
+
var Scopes = 64 | 0;
|
|
258
|
+
export var CreateToken$ = [
|
|
252
259
|
9,
|
|
253
260
|
n0,
|
|
254
261
|
_CT,
|
|
255
262
|
{ [_h]: ["POST", "/token", 200] },
|
|
256
|
-
() => CreateTokenRequest
|
|
257
|
-
() => CreateTokenResponse
|
|
263
|
+
() => CreateTokenRequest$,
|
|
264
|
+
() => CreateTokenResponse$,
|
|
258
265
|
];
|
|
259
|
-
export var CreateTokenWithIAM = [
|
|
266
|
+
export var CreateTokenWithIAM$ = [
|
|
260
267
|
9,
|
|
261
268
|
n0,
|
|
262
269
|
_CTWIAM,
|
|
263
270
|
{ [_h]: ["POST", "/token?aws_iam=t", 200] },
|
|
264
|
-
() => CreateTokenWithIAMRequest
|
|
265
|
-
() => CreateTokenWithIAMResponse
|
|
271
|
+
() => CreateTokenWithIAMRequest$,
|
|
272
|
+
() => CreateTokenWithIAMResponse$,
|
|
266
273
|
];
|
|
267
|
-
export var RegisterClient = [
|
|
274
|
+
export var RegisterClient$ = [
|
|
268
275
|
9,
|
|
269
276
|
n0,
|
|
270
277
|
_RC,
|
|
271
278
|
{ [_h]: ["POST", "/client/register", 200] },
|
|
272
|
-
() => RegisterClientRequest
|
|
273
|
-
() => RegisterClientResponse
|
|
279
|
+
() => RegisterClientRequest$,
|
|
280
|
+
() => RegisterClientResponse$,
|
|
274
281
|
];
|
|
275
|
-
export var StartDeviceAuthorization = [
|
|
282
|
+
export var StartDeviceAuthorization$ = [
|
|
276
283
|
9,
|
|
277
284
|
n0,
|
|
278
285
|
_SDA,
|
|
279
286
|
{ [_h]: ["POST", "/device_authorization", 200] },
|
|
280
|
-
() => StartDeviceAuthorizationRequest
|
|
281
|
-
() => StartDeviceAuthorizationResponse
|
|
287
|
+
() => StartDeviceAuthorizationRequest$,
|
|
288
|
+
() => StartDeviceAuthorizationResponse$,
|
|
282
289
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
11
11
|
import { CreateTokenWithIAMCommandInput, CreateTokenWithIAMCommandOutput } from "./commands/CreateTokenWithIAMCommand";
|
|
@@ -145,15 +145,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
145
145
|
* Optional extensions
|
|
146
146
|
*/
|
|
147
147
|
extensions?: RuntimeExtension[];
|
|
148
|
-
/**
|
|
149
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
150
|
-
* may be overridden. A default will always be set by the client.
|
|
151
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
152
|
-
* the client.
|
|
153
|
-
* @alpha
|
|
154
|
-
*
|
|
155
|
-
*/
|
|
156
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
157
148
|
/**
|
|
158
149
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
159
150
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
47
47
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
48
48
|
export type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
|
|
49
49
|
export * from "./commands";
|
|
50
|
+
export * from "./schemas/schemas_0";
|
|
50
51
|
export * from "./models/enums";
|
|
51
52
|
export * from "./models/errors";
|
|
52
53
|
export type * from "./models/models_0";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
4
|
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
5
|
import type { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
@@ -25,7 +26,11 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
25
26
|
signer: NoAuthSigner;
|
|
26
27
|
})[];
|
|
27
28
|
logger: import("@smithy/types").Logger;
|
|
28
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
29
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
30
|
+
protocolSettings: {
|
|
31
|
+
[setting: string]: unknown;
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
};
|
|
29
34
|
serviceId: string;
|
|
30
35
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
36
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,39 +1,29 @@
|
|
|
1
|
-
import type { StaticErrorSchema, StaticOperationSchema,
|
|
2
|
-
export declare var
|
|
3
|
-
export declare var
|
|
4
|
-
export declare var
|
|
5
|
-
export declare var
|
|
6
|
-
export declare var
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var
|
|
25
|
-
export declare var
|
|
26
|
-
export declare var
|
|
27
|
-
export declare var
|
|
28
|
-
export declare var
|
|
29
|
-
export declare var
|
|
30
|
-
export declare var UnauthorizedClientException: StaticErrorSchema;
|
|
31
|
-
export declare var UnsupportedGrantTypeException: StaticErrorSchema;
|
|
32
|
-
export declare var SSOOIDCServiceException: StaticErrorSchema;
|
|
33
|
-
export declare var GrantTypes: number;
|
|
34
|
-
export declare var RedirectUris: number;
|
|
35
|
-
export declare var Scopes: number;
|
|
36
|
-
export declare var CreateToken: StaticOperationSchema;
|
|
37
|
-
export declare var CreateTokenWithIAM: StaticOperationSchema;
|
|
38
|
-
export declare var RegisterClient: StaticOperationSchema;
|
|
39
|
-
export declare var StartDeviceAuthorization: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
|
+
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
|
+
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var InvalidClientException$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidClientMetadataException$: StaticErrorSchema;
|
|
13
|
+
export declare var InvalidGrantException$: StaticErrorSchema;
|
|
14
|
+
export declare var InvalidRedirectUriException$: StaticErrorSchema;
|
|
15
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
16
|
+
export declare var InvalidRequestRegionException$: StaticErrorSchema;
|
|
17
|
+
export declare var InvalidScopeException$: StaticErrorSchema;
|
|
18
|
+
export declare var RegisterClientRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var RegisterClientResponse$: StaticStructureSchema;
|
|
20
|
+
export declare var SlowDownException$: StaticErrorSchema;
|
|
21
|
+
export declare var StartDeviceAuthorizationRequest$: StaticStructureSchema;
|
|
22
|
+
export declare var StartDeviceAuthorizationResponse$: StaticStructureSchema;
|
|
23
|
+
export declare var UnauthorizedClientException$: StaticErrorSchema;
|
|
24
|
+
export declare var UnsupportedGrantTypeException$: StaticErrorSchema;
|
|
25
|
+
export declare var SSOOIDCServiceException$: StaticErrorSchema;
|
|
26
|
+
export declare var CreateToken$: StaticOperationSchema;
|
|
27
|
+
export declare var CreateTokenWithIAM$: StaticOperationSchema;
|
|
28
|
+
export declare var RegisterClient$: StaticOperationSchema;
|
|
29
|
+
export declare var StartDeviceAuthorization$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -105,7 +102,6 @@ export interface ClientDefaults
|
|
|
105
102
|
retryMode?: string | __Provider<string>;
|
|
106
103
|
logger?: __Logger;
|
|
107
104
|
extensions?: RuntimeExtension[];
|
|
108
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
109
105
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
110
106
|
}
|
|
111
107
|
export type SSOOIDCClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
userAgentAppId?:
|
|
47
51
|
| string
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
retryStrategy?:
|
|
47
51
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
4
|
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
5
|
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
@@ -42,10 +43,14 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
42
43
|
}
|
|
43
44
|
)[];
|
|
44
45
|
logger: import("@smithy/types").Logger;
|
|
45
|
-
protocol:
|
|
46
|
-
import("@smithy/types").
|
|
47
|
-
import("@smithy/types").
|
|
48
|
-
|
|
46
|
+
protocol:
|
|
47
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
48
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
49
|
+
| typeof AwsRestJsonProtocol;
|
|
50
|
+
protocolSettings: {
|
|
51
|
+
[setting: string]: unknown;
|
|
52
|
+
defaultNamespace?: string;
|
|
53
|
+
};
|
|
49
54
|
serviceId: string;
|
|
50
55
|
urlParser: import("@smithy/types").UrlParser;
|
|
51
56
|
utf8Decoder: import("@smithy/types").Decoder;
|