@aws-sdk/client-sso 3.54.1 → 3.55.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/CHANGELOG.md +8 -0
- package/dist-cjs/SSOClient.js +11 -11
- package/dist-cjs/commands/GetRoleCredentialsCommand.js +3 -3
- package/dist-cjs/commands/ListAccountRolesCommand.js +3 -3
- package/dist-cjs/commands/ListAccountsCommand.js +3 -3
- package/dist-cjs/commands/LogoutCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +26 -26
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +8 -8
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/SSO.js +4 -4
- package/dist-es/pagination/ListAccountRolesPaginator.js +4 -4
- package/dist-es/pagination/ListAccountsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +31 -31
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sso
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-sso
|
package/dist-cjs/SSOClient.js
CHANGED
|
@@ -11,19 +11,19 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
11
11
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
12
12
|
class SSOClient extends smithy_client_1.Client {
|
|
13
13
|
constructor(configuration) {
|
|
14
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
15
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
16
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
17
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
18
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
19
|
-
const _config_5 = middleware_user_agent_1.resolveUserAgentConfig(_config_4);
|
|
14
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
15
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
16
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
17
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
18
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
19
|
+
const _config_5 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_4);
|
|
20
20
|
super(_config_5);
|
|
21
21
|
this.config = _config_5;
|
|
22
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
23
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
24
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
22
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
23
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
27
27
|
}
|
|
28
28
|
destroy() {
|
|
29
29
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class GetRoleCredentialsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SSOClient";
|
|
@@ -27,10 +27,10 @@ class GetRoleCredentialsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetRoleCredentialsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetRoleCredentialsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetRoleCredentialsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetRoleCredentialsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;
|
|
@@ -11,7 +11,7 @@ class ListAccountRolesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SSOClient";
|
|
@@ -27,10 +27,10 @@ class ListAccountRolesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListAccountRolesCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListAccountRolesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListAccountRolesCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListAccountRolesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListAccountRolesCommand = ListAccountRolesCommand;
|
|
@@ -11,7 +11,7 @@ class ListAccountsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SSOClient";
|
|
@@ -27,10 +27,10 @@ class ListAccountsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListAccountsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListAccountsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListAccountsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListAccountsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListAccountsCommand = ListAccountsCommand;
|
|
@@ -11,7 +11,7 @@ class LogoutCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SSOClient";
|
|
@@ -27,10 +27,10 @@ class LogoutCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1LogoutCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1LogoutCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1LogoutCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1LogoutCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.LogoutCommand = LogoutCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -276,7 +276,7 @@ const partitionHash = {
|
|
|
276
276
|
],
|
|
277
277
|
},
|
|
278
278
|
};
|
|
279
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
279
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
280
280
|
...options,
|
|
281
281
|
signingService: "awsssoportal",
|
|
282
282
|
regionHash,
|
|
@@ -101,7 +101,7 @@ const deserializeAws_restJson1GetRoleCredentialsCommand = async (output, context
|
|
|
101
101
|
$metadata: deserializeMetadata(output),
|
|
102
102
|
roleCredentials: undefined,
|
|
103
103
|
};
|
|
104
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
104
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
105
105
|
if (data.roleCredentials !== undefined && data.roleCredentials !== null) {
|
|
106
106
|
contents.roleCredentials = deserializeAws_restJson1RoleCredentials(data.roleCredentials, context);
|
|
107
107
|
}
|
|
@@ -136,7 +136,7 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
|
|
|
136
136
|
$fault: "client",
|
|
137
137
|
$metadata: deserializeMetadata(output),
|
|
138
138
|
});
|
|
139
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
139
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
const deserializeAws_restJson1ListAccountRolesCommand = async (output, context) => {
|
|
@@ -148,9 +148,9 @@ const deserializeAws_restJson1ListAccountRolesCommand = async (output, context)
|
|
|
148
148
|
nextToken: undefined,
|
|
149
149
|
roleList: undefined,
|
|
150
150
|
};
|
|
151
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
151
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
152
152
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
153
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
153
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
154
154
|
}
|
|
155
155
|
if (data.roleList !== undefined && data.roleList !== null) {
|
|
156
156
|
contents.roleList = deserializeAws_restJson1RoleListType(data.roleList, context);
|
|
@@ -186,7 +186,7 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
|
|
|
186
186
|
$fault: "client",
|
|
187
187
|
$metadata: deserializeMetadata(output),
|
|
188
188
|
});
|
|
189
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
189
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
192
|
const deserializeAws_restJson1ListAccountsCommand = async (output, context) => {
|
|
@@ -198,12 +198,12 @@ const deserializeAws_restJson1ListAccountsCommand = async (output, context) => {
|
|
|
198
198
|
accountList: undefined,
|
|
199
199
|
nextToken: undefined,
|
|
200
200
|
};
|
|
201
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
201
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
202
202
|
if (data.accountList !== undefined && data.accountList !== null) {
|
|
203
203
|
contents.accountList = deserializeAws_restJson1AccountListType(data.accountList, context);
|
|
204
204
|
}
|
|
205
205
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
206
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
206
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
207
207
|
}
|
|
208
208
|
return Promise.resolve(contents);
|
|
209
209
|
};
|
|
@@ -236,7 +236,7 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
|
|
|
236
236
|
$fault: "client",
|
|
237
237
|
$metadata: deserializeMetadata(output),
|
|
238
238
|
});
|
|
239
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
239
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
const deserializeAws_restJson1LogoutCommand = async (output, context) => {
|
|
@@ -275,62 +275,62 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
|
|
|
275
275
|
$fault: "client",
|
|
276
276
|
$metadata: deserializeMetadata(output),
|
|
277
277
|
});
|
|
278
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
278
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
282
282
|
const contents = {};
|
|
283
283
|
const data = parsedOutput.body;
|
|
284
284
|
if (data.message !== undefined && data.message !== null) {
|
|
285
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
285
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
286
286
|
}
|
|
287
287
|
const exception = new models_0_1.InvalidRequestException({
|
|
288
288
|
$metadata: deserializeMetadata(parsedOutput),
|
|
289
289
|
...contents,
|
|
290
290
|
});
|
|
291
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
291
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
292
292
|
};
|
|
293
293
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
294
294
|
const contents = {};
|
|
295
295
|
const data = parsedOutput.body;
|
|
296
296
|
if (data.message !== undefined && data.message !== null) {
|
|
297
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
297
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
298
298
|
}
|
|
299
299
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
300
300
|
$metadata: deserializeMetadata(parsedOutput),
|
|
301
301
|
...contents,
|
|
302
302
|
});
|
|
303
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
303
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
304
304
|
};
|
|
305
305
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
306
306
|
const contents = {};
|
|
307
307
|
const data = parsedOutput.body;
|
|
308
308
|
if (data.message !== undefined && data.message !== null) {
|
|
309
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
309
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
310
310
|
}
|
|
311
311
|
const exception = new models_0_1.TooManyRequestsException({
|
|
312
312
|
$metadata: deserializeMetadata(parsedOutput),
|
|
313
313
|
...contents,
|
|
314
314
|
});
|
|
315
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
315
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
316
316
|
};
|
|
317
317
|
const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
318
318
|
const contents = {};
|
|
319
319
|
const data = parsedOutput.body;
|
|
320
320
|
if (data.message !== undefined && data.message !== null) {
|
|
321
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
321
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
322
322
|
}
|
|
323
323
|
const exception = new models_0_1.UnauthorizedException({
|
|
324
324
|
$metadata: deserializeMetadata(parsedOutput),
|
|
325
325
|
...contents,
|
|
326
326
|
});
|
|
327
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
327
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
328
328
|
};
|
|
329
329
|
const deserializeAws_restJson1AccountInfo = (output, context) => {
|
|
330
330
|
return {
|
|
331
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
332
|
-
accountName: smithy_client_1.expectString(output.accountName),
|
|
333
|
-
emailAddress: smithy_client_1.expectString(output.emailAddress),
|
|
331
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
332
|
+
accountName: (0, smithy_client_1.expectString)(output.accountName),
|
|
333
|
+
emailAddress: (0, smithy_client_1.expectString)(output.emailAddress),
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
const deserializeAws_restJson1AccountListType = (output, context) => {
|
|
@@ -346,16 +346,16 @@ const deserializeAws_restJson1AccountListType = (output, context) => {
|
|
|
346
346
|
};
|
|
347
347
|
const deserializeAws_restJson1RoleCredentials = (output, context) => {
|
|
348
348
|
return {
|
|
349
|
-
accessKeyId: smithy_client_1.expectString(output.accessKeyId),
|
|
350
|
-
expiration: smithy_client_1.expectLong(output.expiration),
|
|
351
|
-
secretAccessKey: smithy_client_1.expectString(output.secretAccessKey),
|
|
352
|
-
sessionToken: smithy_client_1.expectString(output.sessionToken),
|
|
349
|
+
accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
|
|
350
|
+
expiration: (0, smithy_client_1.expectLong)(output.expiration),
|
|
351
|
+
secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey),
|
|
352
|
+
sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
const deserializeAws_restJson1RoleInfo = (output, context) => {
|
|
356
356
|
return {
|
|
357
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
358
|
-
roleName: smithy_client_1.expectString(output.roleName),
|
|
357
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
358
|
+
roleName: (0, smithy_client_1.expectString)(output.roleName),
|
|
359
359
|
};
|
|
360
360
|
};
|
|
361
361
|
const deserializeAws_restJson1RoleListType = (output, context) => {
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -28,9 +28,9 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
|
-
defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
31
|
+
defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
32
|
maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
33
|
-
region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
33
|
+
region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
34
34
|
requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
35
35
|
retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
36
36
|
sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : sha256_browser_1.Sha256,
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
20
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -28,18 +28,18 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
31
|
-
defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
-
maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
|
-
region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
31
|
+
defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
|
+
region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
34
|
requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
35
|
-
retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig({
|
|
35
|
+
retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)({
|
|
36
36
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
37
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
38
38
|
}),
|
|
39
39
|
sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : hash_node_1.Hash.bind(null, "sha256"),
|
|
40
40
|
streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : node_http_handler_1.streamCollector,
|
|
41
|
-
useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
-
useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
41
|
+
useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
43
|
utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.fromUtf8,
|
|
44
44
|
utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.toUtf8,
|
|
45
45
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
package/dist-es/SSO.js
CHANGED
|
@@ -16,7 +16,7 @@ var SSO = (function (_super) {
|
|
|
16
16
|
}
|
|
17
17
|
else if (typeof cb === "function") {
|
|
18
18
|
if (typeof optionsOrCb !== "object")
|
|
19
|
-
throw new Error("Expect http options but get "
|
|
19
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
20
20
|
this.send(command, optionsOrCb || {}, cb);
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
@@ -30,7 +30,7 @@ var SSO = (function (_super) {
|
|
|
30
30
|
}
|
|
31
31
|
else if (typeof cb === "function") {
|
|
32
32
|
if (typeof optionsOrCb !== "object")
|
|
33
|
-
throw new Error("Expect http options but get "
|
|
33
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
34
34
|
this.send(command, optionsOrCb || {}, cb);
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
@@ -44,7 +44,7 @@ var SSO = (function (_super) {
|
|
|
44
44
|
}
|
|
45
45
|
else if (typeof cb === "function") {
|
|
46
46
|
if (typeof optionsOrCb !== "object")
|
|
47
|
-
throw new Error("Expect http options but get "
|
|
47
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
48
48
|
this.send(command, optionsOrCb || {}, cb);
|
|
49
49
|
}
|
|
50
50
|
else {
|
|
@@ -58,7 +58,7 @@ var SSO = (function (_super) {
|
|
|
58
58
|
}
|
|
59
59
|
else if (typeof cb === "function") {
|
|
60
60
|
if (typeof optionsOrCb !== "object")
|
|
61
|
-
throw new Error("Expect http options but get "
|
|
61
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
62
62
|
this.send(command, optionsOrCb || {}, cb);
|
|
63
63
|
}
|
|
64
64
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountRolesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountRolesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listAccountRoles.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAccountRoles.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListAccountRoles(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof SSO)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof SSOClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listAccounts.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAccounts.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListAccounts(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof SSO)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof SSOClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -11,7 +11,7 @@ export var serializeAws_restJson1GetRoleCredentialsCommand = function (input, co
|
|
|
11
11
|
case 1:
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = __assign({}, (isSerializableHeaderValue(input.accessToken) && { "x-amz-sso_bearer_token": input.accessToken }));
|
|
14
|
-
resolvedPath = ""
|
|
14
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/federation/credentials";
|
|
15
15
|
query = __assign(__assign({}, (input.roleName !== undefined && { role_name: input.roleName })), (input.accountId !== undefined && { account_id: input.accountId }));
|
|
16
16
|
return [2, new __HttpRequest({
|
|
17
17
|
protocol: protocol,
|
|
@@ -34,7 +34,7 @@ export var serializeAws_restJson1ListAccountRolesCommand = function (input, cont
|
|
|
34
34
|
case 1:
|
|
35
35
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
36
36
|
headers = __assign({}, (isSerializableHeaderValue(input.accessToken) && { "x-amz-sso_bearer_token": input.accessToken }));
|
|
37
|
-
resolvedPath = ""
|
|
37
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assignment/roles";
|
|
38
38
|
query = __assign(__assign(__assign({}, (input.nextToken !== undefined && { next_token: input.nextToken })), (input.maxResults !== undefined && { max_result: input.maxResults.toString() })), (input.accountId !== undefined && { account_id: input.accountId }));
|
|
39
39
|
return [2, new __HttpRequest({
|
|
40
40
|
protocol: protocol,
|
|
@@ -57,7 +57,7 @@ export var serializeAws_restJson1ListAccountsCommand = function (input, context)
|
|
|
57
57
|
case 1:
|
|
58
58
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
59
59
|
headers = __assign({}, (isSerializableHeaderValue(input.accessToken) && { "x-amz-sso_bearer_token": input.accessToken }));
|
|
60
|
-
resolvedPath = ""
|
|
60
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assignment/accounts";
|
|
61
61
|
query = __assign(__assign({}, (input.nextToken !== undefined && { next_token: input.nextToken })), (input.maxResults !== undefined && { max_result: input.maxResults.toString() }));
|
|
62
62
|
return [2, new __HttpRequest({
|
|
63
63
|
protocol: protocol,
|
|
@@ -80,7 +80,7 @@ export var serializeAws_restJson1LogoutCommand = function (input, context) { ret
|
|
|
80
80
|
case 1:
|
|
81
81
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
82
82
|
headers = __assign({}, (isSerializableHeaderValue(input.accessToken) && { "x-amz-sso_bearer_token": input.accessToken }));
|
|
83
|
-
resolvedPath = ""
|
|
83
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/logout";
|
|
84
84
|
return [2, new __HttpRequest({
|
|
85
85
|
protocol: protocol,
|
|
86
86
|
hostname: hostname,
|
|
@@ -21,10 +21,10 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
26
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
27
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
28
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
29
|
tls?: boolean | undefined;
|
|
30
30
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,10 +19,10 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
24
24
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
25
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
25
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
26
26
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
27
|
tls?: boolean | undefined;
|
|
28
28
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.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",
|
|
@@ -18,44 +18,44 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/config-resolver": "3.
|
|
22
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
-
"@aws-sdk/hash-node": "3.
|
|
24
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
25
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-retry": "3.
|
|
29
|
-
"@aws-sdk/middleware-serde": "3.
|
|
30
|
-
"@aws-sdk/middleware-stack": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/node-config-provider": "3.
|
|
33
|
-
"@aws-sdk/node-http-handler": "3.
|
|
34
|
-
"@aws-sdk/protocol-http": "3.
|
|
35
|
-
"@aws-sdk/smithy-client": "3.
|
|
36
|
-
"@aws-sdk/types": "3.
|
|
37
|
-
"@aws-sdk/url-parser": "3.
|
|
38
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
39
|
-
"@aws-sdk/util-base64-node": "3.
|
|
40
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
41
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
42
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
43
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
44
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
45
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
47
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
48
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
22
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
23
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
25
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
32
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
33
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
34
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
35
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
36
|
+
"@aws-sdk/types": "3.55.0",
|
|
37
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
38
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
39
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
40
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
48
|
+
"tslib": "^2.3.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
51
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
52
52
|
"@tsconfig/recommended": "1.0.1",
|
|
53
53
|
"@types/node": "^12.7.5",
|
|
54
54
|
"concurrently": "7.0.0",
|
|
55
55
|
"downlevel-dts": "0.7.0",
|
|
56
56
|
"rimraf": "3.0.2",
|
|
57
57
|
"typedoc": "0.19.2",
|
|
58
|
-
"typescript": "~4.
|
|
58
|
+
"typescript": "~4.6.2"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=12.0.0"
|