@aws-sdk/client-sso 3.297.0 → 3.299.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/commands/ListAccountRolesCommand.js +1 -1
- package/dist-cjs/commands/ListAccountsCommand.js +1 -1
- package/dist-cjs/commands/LogoutCommand.js +1 -1
- package/dist-cjs/models/models_0.js +1 -17
- package/dist-es/commands/ListAccountRolesCommand.js +2 -2
- package/dist-es/commands/ListAccountsCommand.js +2 -2
- package/dist-es/commands/LogoutCommand.js +1 -1
- package/dist-es/models/models_0.js +0 -12
- package/dist-types/models/models_0.d.ts +0 -16
- package/dist-types/ts3.4/models/models_0.d.ts +0 -8
- package/package.json +8 -7
|
@@ -31,7 +31,7 @@ class ListAccountRolesCommand extends smithy_client_1.Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: models_0_1.ListAccountRolesRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -31,7 +31,7 @@ class ListAccountsCommand extends smithy_client_1.Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: models_0_1.ListAccountsRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -31,7 +31,7 @@ class LogoutCommand extends smithy_client_1.Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: models_0_1.LogoutRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog: (
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogoutRequestFilterSensitiveLog = exports.
|
|
3
|
+
exports.LogoutRequestFilterSensitiveLog = exports.ListAccountsRequestFilterSensitiveLog = exports.ListAccountRolesRequestFilterSensitiveLog = exports.GetRoleCredentialsResponseFilterSensitiveLog = exports.RoleCredentialsFilterSensitiveLog = exports.GetRoleCredentialsRequestFilterSensitiveLog = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const SSOServiceException_1 = require("./SSOServiceException");
|
|
6
6
|
class InvalidRequestException extends SSOServiceException_1.SSOServiceException {
|
|
@@ -55,10 +55,6 @@ class UnauthorizedException extends SSOServiceException_1.SSOServiceException {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
exports.UnauthorizedException = UnauthorizedException;
|
|
58
|
-
const AccountInfoFilterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
});
|
|
61
|
-
exports.AccountInfoFilterSensitiveLog = AccountInfoFilterSensitiveLog;
|
|
62
58
|
const GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({
|
|
63
59
|
...obj,
|
|
64
60
|
...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -80,23 +76,11 @@ const ListAccountRolesRequestFilterSensitiveLog = (obj) => ({
|
|
|
80
76
|
...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
81
77
|
});
|
|
82
78
|
exports.ListAccountRolesRequestFilterSensitiveLog = ListAccountRolesRequestFilterSensitiveLog;
|
|
83
|
-
const RoleInfoFilterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
});
|
|
86
|
-
exports.RoleInfoFilterSensitiveLog = RoleInfoFilterSensitiveLog;
|
|
87
|
-
const ListAccountRolesResponseFilterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
});
|
|
90
|
-
exports.ListAccountRolesResponseFilterSensitiveLog = ListAccountRolesResponseFilterSensitiveLog;
|
|
91
79
|
const ListAccountsRequestFilterSensitiveLog = (obj) => ({
|
|
92
80
|
...obj,
|
|
93
81
|
...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
94
82
|
});
|
|
95
83
|
exports.ListAccountsRequestFilterSensitiveLog = ListAccountsRequestFilterSensitiveLog;
|
|
96
|
-
const ListAccountsResponseFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
exports.ListAccountsResponseFilterSensitiveLog = ListAccountsResponseFilterSensitiveLog;
|
|
100
84
|
const LogoutRequestFilterSensitiveLog = (obj) => ({
|
|
101
85
|
...obj,
|
|
102
86
|
...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListAccountRolesRequestFilterSensitiveLog,
|
|
4
|
+
import { ListAccountRolesRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_restJson1ListAccountRolesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListAccountRolesCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -28,7 +28,7 @@ export class ListAccountRolesCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: ListAccountRolesRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListAccountsRequestFilterSensitiveLog
|
|
4
|
+
import { ListAccountsRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListAccountsCommand, serializeAws_restJson1ListAccountsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListAccountsCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -28,7 +28,7 @@ export class ListAccountsCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: ListAccountsRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -28,7 +28,7 @@ export class LogoutCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: LogoutRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -48,9 +48,6 @@ export class UnauthorizedException extends __BaseException {
|
|
|
48
48
|
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
export const AccountInfoFilterSensitiveLog = (obj) => ({
|
|
52
|
-
...obj,
|
|
53
|
-
});
|
|
54
51
|
export const GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({
|
|
55
52
|
...obj,
|
|
56
53
|
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
@@ -68,19 +65,10 @@ export const ListAccountRolesRequestFilterSensitiveLog = (obj) => ({
|
|
|
68
65
|
...obj,
|
|
69
66
|
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
70
67
|
});
|
|
71
|
-
export const RoleInfoFilterSensitiveLog = (obj) => ({
|
|
72
|
-
...obj,
|
|
73
|
-
});
|
|
74
|
-
export const ListAccountRolesResponseFilterSensitiveLog = (obj) => ({
|
|
75
|
-
...obj,
|
|
76
|
-
});
|
|
77
68
|
export const ListAccountsRequestFilterSensitiveLog = (obj) => ({
|
|
78
69
|
...obj,
|
|
79
70
|
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
80
71
|
});
|
|
81
|
-
export const ListAccountsResponseFilterSensitiveLog = (obj) => ({
|
|
82
|
-
...obj,
|
|
83
|
-
});
|
|
84
72
|
export const LogoutRequestFilterSensitiveLog = (obj) => ({
|
|
85
73
|
...obj,
|
|
86
74
|
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
@@ -215,10 +215,6 @@ export interface LogoutRequest {
|
|
|
215
215
|
*/
|
|
216
216
|
accessToken: string | undefined;
|
|
217
217
|
}
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
export declare const AccountInfoFilterSensitiveLog: (obj: AccountInfo) => any;
|
|
222
218
|
/**
|
|
223
219
|
* @internal
|
|
224
220
|
*/
|
|
@@ -235,22 +231,10 @@ export declare const GetRoleCredentialsResponseFilterSensitiveLog: (obj: GetRole
|
|
|
235
231
|
* @internal
|
|
236
232
|
*/
|
|
237
233
|
export declare const ListAccountRolesRequestFilterSensitiveLog: (obj: ListAccountRolesRequest) => any;
|
|
238
|
-
/**
|
|
239
|
-
* @internal
|
|
240
|
-
*/
|
|
241
|
-
export declare const RoleInfoFilterSensitiveLog: (obj: RoleInfo) => any;
|
|
242
|
-
/**
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
245
|
-
export declare const ListAccountRolesResponseFilterSensitiveLog: (obj: ListAccountRolesResponse) => any;
|
|
246
234
|
/**
|
|
247
235
|
* @internal
|
|
248
236
|
*/
|
|
249
237
|
export declare const ListAccountsRequestFilterSensitiveLog: (obj: ListAccountsRequest) => any;
|
|
250
|
-
/**
|
|
251
|
-
* @internal
|
|
252
|
-
*/
|
|
253
|
-
export declare const ListAccountsResponseFilterSensitiveLog: (obj: ListAccountsResponse) => any;
|
|
254
238
|
/**
|
|
255
239
|
* @internal
|
|
256
240
|
*/
|
|
@@ -73,7 +73,6 @@ export interface ListAccountsResponse {
|
|
|
73
73
|
export interface LogoutRequest {
|
|
74
74
|
accessToken: string | undefined;
|
|
75
75
|
}
|
|
76
|
-
export declare const AccountInfoFilterSensitiveLog: (obj: AccountInfo) => any;
|
|
77
76
|
export declare const GetRoleCredentialsRequestFilterSensitiveLog: (
|
|
78
77
|
obj: GetRoleCredentialsRequest
|
|
79
78
|
) => any;
|
|
@@ -86,16 +85,9 @@ export declare const GetRoleCredentialsResponseFilterSensitiveLog: (
|
|
|
86
85
|
export declare const ListAccountRolesRequestFilterSensitiveLog: (
|
|
87
86
|
obj: ListAccountRolesRequest
|
|
88
87
|
) => any;
|
|
89
|
-
export declare const RoleInfoFilterSensitiveLog: (obj: RoleInfo) => any;
|
|
90
|
-
export declare const ListAccountRolesResponseFilterSensitiveLog: (
|
|
91
|
-
obj: ListAccountRolesResponse
|
|
92
|
-
) => any;
|
|
93
88
|
export declare const ListAccountsRequestFilterSensitiveLog: (
|
|
94
89
|
obj: ListAccountsRequest
|
|
95
90
|
) => any;
|
|
96
|
-
export declare const ListAccountsResponseFilterSensitiveLog: (
|
|
97
|
-
obj: ListAccountsResponse
|
|
98
|
-
) => any;
|
|
99
91
|
export declare const LogoutRequestFilterSensitiveLog: (
|
|
100
92
|
obj: LogoutRequest
|
|
101
93
|
) => any;
|
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.299.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo sso"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,19 +21,19 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.299.0",
|
|
24
25
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
25
26
|
"@aws-sdk/hash-node": "3.296.0",
|
|
26
27
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
27
28
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
28
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
29
30
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
30
31
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
31
32
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
32
33
|
"@aws-sdk/middleware-retry": "3.296.0",
|
|
33
34
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
34
35
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
36
37
|
"@aws-sdk/node-config-provider": "3.296.0",
|
|
37
38
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
38
39
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
@@ -43,11 +44,11 @@
|
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
45
46
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.299.0",
|
|
47
48
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
48
49
|
"@aws-sdk/util-retry": "3.296.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.299.0",
|
|
51
52
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
52
53
|
"tslib": "^2.5.0"
|
|
53
54
|
},
|