@aws-sdk/client-sso 3.658.0 → 3.662.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 +4 -5
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +32 -32
package/dist-cjs/index.js
CHANGED
|
@@ -307,7 +307,7 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
307
307
|
|
|
308
308
|
var se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
309
309
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
310
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
310
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
311
311
|
[_xasbt]: input[_aT]
|
|
312
312
|
});
|
|
313
313
|
b.bp("/federation/credentials");
|
|
@@ -321,7 +321,7 @@ var se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
321
321
|
}, "se_GetRoleCredentialsCommand");
|
|
322
322
|
var se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
323
323
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
324
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
324
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
325
325
|
[_xasbt]: input[_aT]
|
|
326
326
|
});
|
|
327
327
|
b.bp("/assignment/roles");
|
|
@@ -336,7 +336,7 @@ var se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
336
336
|
}, "se_ListAccountRolesCommand");
|
|
337
337
|
var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
338
338
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
339
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
339
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
340
340
|
[_xasbt]: input[_aT]
|
|
341
341
|
});
|
|
342
342
|
b.bp("/assignment/accounts");
|
|
@@ -350,7 +350,7 @@ var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
350
350
|
}, "se_ListAccountsCommand");
|
|
351
351
|
var se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
352
352
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
353
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
353
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
354
354
|
[_xasbt]: input[_aT]
|
|
355
355
|
});
|
|
356
356
|
b.bp("/logout");
|
|
@@ -499,7 +499,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
499
499
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
500
500
|
cfId: output.headers["x-amz-cf-id"]
|
|
501
501
|
}), "deserializeMetadata");
|
|
502
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
503
502
|
var _aI = "accountId";
|
|
504
503
|
var _aT = "accessToken";
|
|
505
504
|
var _ai = "account_id";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
|
|
5
5
|
import { SSOServiceException as __BaseException } from "../models/SSOServiceException";
|
|
6
6
|
export const se_GetRoleCredentialsCommand = async (input, context) => {
|
|
@@ -198,11 +198,6 @@ const deserializeMetadata = (output) => ({
|
|
|
198
198
|
cfId: output.headers["x-amz-cf-id"],
|
|
199
199
|
});
|
|
200
200
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
201
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
202
|
-
value !== null &&
|
|
203
|
-
value !== "" &&
|
|
204
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
205
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
206
201
|
const _aI = "accountId";
|
|
207
202
|
const _aT = "accessToken";
|
|
208
203
|
const _ai = "account_id";
|
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.662.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
-
"@smithy/config-resolver": "^3.0.
|
|
34
|
-
"@smithy/core": "^2.4.
|
|
35
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
36
|
-
"@smithy/hash-node": "^3.0.
|
|
37
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
38
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
39
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
40
|
-
"@smithy/middleware-retry": "^3.0.
|
|
41
|
-
"@smithy/middleware-serde": "^3.0.
|
|
42
|
-
"@smithy/middleware-stack": "^3.0.
|
|
43
|
-
"@smithy/node-config-provider": "^3.1.
|
|
44
|
-
"@smithy/node-http-handler": "^3.2.
|
|
45
|
-
"@smithy/protocol-http": "^4.1.
|
|
46
|
-
"@smithy/smithy-client": "^3.3.
|
|
47
|
-
"@smithy/types": "^3.
|
|
48
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/core": "3.662.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.662.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.662.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.662.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.662.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.662.0",
|
|
29
|
+
"@aws-sdk/types": "3.662.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.662.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.662.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.662.0",
|
|
33
|
+
"@smithy/config-resolver": "^3.0.9",
|
|
34
|
+
"@smithy/core": "^2.4.7",
|
|
35
|
+
"@smithy/fetch-http-handler": "^3.2.9",
|
|
36
|
+
"@smithy/hash-node": "^3.0.7",
|
|
37
|
+
"@smithy/invalid-dependency": "^3.0.7",
|
|
38
|
+
"@smithy/middleware-content-length": "^3.0.9",
|
|
39
|
+
"@smithy/middleware-endpoint": "^3.1.4",
|
|
40
|
+
"@smithy/middleware-retry": "^3.0.22",
|
|
41
|
+
"@smithy/middleware-serde": "^3.0.7",
|
|
42
|
+
"@smithy/middleware-stack": "^3.0.7",
|
|
43
|
+
"@smithy/node-config-provider": "^3.1.8",
|
|
44
|
+
"@smithy/node-http-handler": "^3.2.4",
|
|
45
|
+
"@smithy/protocol-http": "^4.1.4",
|
|
46
|
+
"@smithy/smithy-client": "^3.3.6",
|
|
47
|
+
"@smithy/types": "^3.5.0",
|
|
48
|
+
"@smithy/url-parser": "^3.0.7",
|
|
49
49
|
"@smithy/util-base64": "^3.0.0",
|
|
50
50
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
51
51
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
54
|
-
"@smithy/util-endpoints": "^2.1.
|
|
55
|
-
"@smithy/util-middleware": "^3.0.
|
|
56
|
-
"@smithy/util-retry": "^3.0.
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^3.0.22",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^3.0.22",
|
|
54
|
+
"@smithy/util-endpoints": "^2.1.3",
|
|
55
|
+
"@smithy/util-middleware": "^3.0.7",
|
|
56
|
+
"@smithy/util-retry": "^3.0.7",
|
|
57
57
|
"@smithy/util-utf8": "^3.0.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|