@aws-sdk/client-sso 3.478.0 → 3.484.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/GetRoleCredentialsCommand.js +18 -41
- package/dist-cjs/commands/ListAccountRolesCommand.js +18 -41
- package/dist-cjs/commands/ListAccountsCommand.js +18 -41
- package/dist-cjs/commands/LogoutCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/GetRoleCredentialsCommand.js +18 -41
- package/dist-es/commands/ListAccountRolesCommand.js +18 -41
- package/dist-es/commands/ListAccountsCommand.js +18 -41
- package/dist-es/commands/LogoutCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/GetRoleCredentialsCommand.d.ts +6 -21
- package/dist-types/commands/ListAccountRolesCommand.d.ts +6 -21
- package/dist-types/commands/ListAccountsCommand.d.ts +6 -21
- package/dist-types/commands/LogoutCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class GetRoleCredentialsCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SSOClient";
|
|
30
|
-
const commandName = "GetRoleCredentialsCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.GetRoleCredentialsRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.GetRoleCredentialsResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "SWBPortalService",
|
|
39
|
-
operation: "GetRoleCredentials",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_GetRoleCredentialsCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_GetRoleCredentialsCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class GetRoleCredentialsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("SWBPortalService", "GetRoleCredentials", {})
|
|
23
|
+
.n("SSOClient", "GetRoleCredentialsCommand")
|
|
24
|
+
.f(models_0_1.GetRoleCredentialsRequestFilterSensitiveLog, models_0_1.GetRoleCredentialsResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_GetRoleCredentialsCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_GetRoleCredentialsCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class ListAccountRolesCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SSOClient";
|
|
30
|
-
const commandName = "ListAccountRolesCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.ListAccountRolesRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "SWBPortalService",
|
|
39
|
-
operation: "ListAccountRoles",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_ListAccountRolesCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_ListAccountRolesCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListAccountRolesCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("SWBPortalService", "ListAccountRoles", {})
|
|
23
|
+
.n("SSOClient", "ListAccountRolesCommand")
|
|
24
|
+
.f(models_0_1.ListAccountRolesRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_ListAccountRolesCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_ListAccountRolesCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListAccountRolesCommand = ListAccountRolesCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class ListAccountsCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SSOClient";
|
|
30
|
-
const commandName = "ListAccountsCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.ListAccountsRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "SWBPortalService",
|
|
39
|
-
operation: "ListAccounts",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_ListAccountsCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_ListAccountsCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListAccountsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("SWBPortalService", "ListAccounts", {})
|
|
23
|
+
.n("SSOClient", "ListAccountsCommand")
|
|
24
|
+
.f(models_0_1.ListAccountsRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_ListAccountsCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_ListAccountsCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListAccountsCommand = ListAccountsCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class LogoutCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SSOClient";
|
|
30
|
-
const commandName = "LogoutCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.LogoutRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "SWBPortalService",
|
|
39
|
-
operation: "Logout",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_LogoutCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_LogoutCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class LogoutCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("SWBPortalService", "Logout", {})
|
|
23
|
+
.n("SSOClient", "LogoutCommand")
|
|
24
|
+
.f(models_0_1.LogoutRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_LogoutCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_LogoutCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.LogoutCommand = LogoutCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetRoleCredentialsCommand, se_GetRoleCredentialsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetRoleCredentialsCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "SSOClient";
|
|
27
|
-
const commandName = "GetRoleCredentialsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetRoleCredentialsRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetRoleCredentialsResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "SWBPortalService",
|
|
36
|
-
operation: "GetRoleCredentials",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetRoleCredentialsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetRoleCredentialsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetRoleCredentialsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("SWBPortalService", "GetRoleCredentials", {})
|
|
20
|
+
.n("SSOClient", "GetRoleCredentialsCommand")
|
|
21
|
+
.f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetRoleCredentialsCommand)
|
|
23
|
+
.de(de_GetRoleCredentialsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ListAccountRolesRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListAccountRolesCommand, se_ListAccountRolesCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListAccountRolesCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "SSOClient";
|
|
27
|
-
const commandName = "ListAccountRolesCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ListAccountRolesRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "SWBPortalService",
|
|
36
|
-
operation: "ListAccountRoles",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListAccountRolesCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListAccountRolesCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListAccountRolesCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("SWBPortalService", "ListAccountRoles", {})
|
|
20
|
+
.n("SSOClient", "ListAccountRolesCommand")
|
|
21
|
+
.f(ListAccountRolesRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_ListAccountRolesCommand)
|
|
23
|
+
.de(de_ListAccountRolesCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ListAccountsRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListAccountsCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "SSOClient";
|
|
27
|
-
const commandName = "ListAccountsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ListAccountsRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "SWBPortalService",
|
|
36
|
-
operation: "ListAccounts",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListAccountsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListAccountsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListAccountsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("SWBPortalService", "ListAccounts", {})
|
|
20
|
+
.n("SSOClient", "ListAccountsCommand")
|
|
21
|
+
.f(ListAccountsRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_ListAccountsCommand)
|
|
23
|
+
.de(de_ListAccountsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { LogoutRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_LogoutCommand, se_LogoutCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class LogoutCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "SSOClient";
|
|
27
|
-
const commandName = "LogoutCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: LogoutRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "SWBPortalService",
|
|
36
|
-
operation: "Logout",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_LogoutCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_LogoutCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class LogoutCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("SWBPortalService", "Logout", {})
|
|
20
|
+
.n("SSOClient", "LogoutCommand")
|
|
21
|
+
.f(LogoutRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_LogoutCommand)
|
|
23
|
+
.de(de_LogoutCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "awsssoportal",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsReques
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetRoleCredentialsCommand_base: {
|
|
24
|
+
new (input: GetRoleCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns the STS short-term credentials for a given role name that is assigned to the
|
|
@@ -74,23 +77,5 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
|
|
|
74
77
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
75
78
|
*
|
|
76
79
|
*/
|
|
77
|
-
export declare class GetRoleCredentialsCommand extends
|
|
78
|
-
readonly input: GetRoleCredentialsCommandInput;
|
|
79
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
-
/**
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
constructor(input: GetRoleCredentialsCommandInput);
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput>;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private serialize;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private deserialize;
|
|
80
|
+
export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base {
|
|
96
81
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListAccountRolesCommand_base: {
|
|
24
|
+
new (input: ListAccountRolesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Lists all roles that are assigned to the user for a given AWS account.</p>
|
|
@@ -75,23 +78,5 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
|
|
|
75
78
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
76
79
|
*
|
|
77
80
|
*/
|
|
78
|
-
export declare class ListAccountRolesCommand extends
|
|
79
|
-
readonly input: ListAccountRolesCommandInput;
|
|
80
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
constructor(input: ListAccountRolesCommandInput);
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccountRolesCommandInput, ListAccountRolesCommandOutput>;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private serialize;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
private deserialize;
|
|
81
|
+
export declare class ListAccountRolesCommand extends ListAccountRolesCommand_base {
|
|
97
82
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListAccountsCommandInput extends ListAccountsRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListAccountsCommand_base: {
|
|
24
|
+
new (input: ListAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
|
|
@@ -77,23 +80,5 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
77
80
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
78
81
|
*
|
|
79
82
|
*/
|
|
80
|
-
export declare class ListAccountsCommand extends
|
|
81
|
-
readonly input: ListAccountsCommandInput;
|
|
82
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
constructor(input: ListAccountsCommandInput);
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccountsCommandInput, ListAccountsCommandOutput>;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private serialize;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private deserialize;
|
|
83
|
+
export declare class ListAccountsCommand extends ListAccountsCommand_base {
|
|
99
84
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { LogoutRequest } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface LogoutCommandInput extends LogoutRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface LogoutCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const LogoutCommand_base: {
|
|
24
|
+
new (input: LogoutCommandInput): import("@smithy/smithy-client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Removes the locally stored SSO tokens from the client-side cache and sends an API call to
|
|
@@ -74,23 +77,5 @@ export interface LogoutCommandOutput extends __MetadataBearer {
|
|
|
74
77
|
* <p>Base exception class for all service exceptions from SSO service.</p>
|
|
75
78
|
*
|
|
76
79
|
*/
|
|
77
|
-
export declare class LogoutCommand extends
|
|
78
|
-
readonly input: LogoutCommandInput;
|
|
79
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
-
/**
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
constructor(input: LogoutCommandInput);
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<LogoutCommandInput, LogoutCommandOutput>;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private serialize;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private deserialize;
|
|
80
|
+
export declare class LogoutCommand extends LogoutCommand_base {
|
|
96
81
|
}
|
|
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
15
|
defaultSigningName: string;
|
|
16
16
|
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
17
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
18
36
|
Region?: string;
|
|
19
37
|
UseDualStack?: boolean;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
GetRoleCredentialsRequest,
|
|
11
5
|
GetRoleCredentialsResponse,
|
|
@@ -21,19 +15,16 @@ export interface GetRoleCredentialsCommandInput
|
|
|
21
15
|
export interface GetRoleCredentialsCommandOutput
|
|
22
16
|
extends GetRoleCredentialsResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
private serialize;
|
|
38
|
-
private deserialize;
|
|
39
|
-
}
|
|
18
|
+
declare const GetRoleCredentialsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetRoleCredentialsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetRoleCredentialsCommandInput,
|
|
23
|
+
GetRoleCredentialsCommandOutput,
|
|
24
|
+
SSOClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
ListAccountRolesRequest,
|
|
11
5
|
ListAccountRolesResponse,
|
|
@@ -20,19 +14,16 @@ export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {}
|
|
|
20
14
|
export interface ListAccountRolesCommandOutput
|
|
21
15
|
extends ListAccountRolesResponse,
|
|
22
16
|
__MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
private serialize;
|
|
37
|
-
private deserialize;
|
|
38
|
-
}
|
|
17
|
+
declare const ListAccountRolesCommand_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: ListAccountRolesCommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
ListAccountRolesCommandInput,
|
|
22
|
+
ListAccountRolesCommandOutput,
|
|
23
|
+
SSOClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
export declare class ListAccountRolesCommand extends ListAccountRolesCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
10
4
|
import {
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -17,19 +11,16 @@ export interface ListAccountsCommandInput extends ListAccountsRequest {}
|
|
|
17
11
|
export interface ListAccountsCommandOutput
|
|
18
12
|
extends ListAccountsResponse,
|
|
19
13
|
__MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
private serialize;
|
|
34
|
-
private deserialize;
|
|
35
|
-
}
|
|
14
|
+
declare const ListAccountsCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: ListAccountsCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
ListAccountsCommandInput,
|
|
19
|
+
ListAccountsCommandOutput,
|
|
20
|
+
SSOClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class ListAccountsCommand extends ListAccountsCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import { LogoutRequest } from "../models/models_0";
|
|
10
4
|
import {
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -15,19 +9,14 @@ import {
|
|
|
15
9
|
export { __MetadataBearer, $Command };
|
|
16
10
|
export interface LogoutCommandInput extends LogoutRequest {}
|
|
17
11
|
export interface LogoutCommandOutput extends __MetadataBearer {}
|
|
18
|
-
|
|
19
|
-
LogoutCommandInput
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
options?: __HttpHandlerOptions
|
|
30
|
-
): Handler<LogoutCommandInput, LogoutCommandOutput>;
|
|
31
|
-
private serialize;
|
|
32
|
-
private deserialize;
|
|
33
|
-
}
|
|
12
|
+
declare const LogoutCommand_base: {
|
|
13
|
+
new (input: LogoutCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
14
|
+
LogoutCommandInput,
|
|
15
|
+
LogoutCommandOutput,
|
|
16
|
+
SSOClientResolvedConfig,
|
|
17
|
+
ServiceInputTypes,
|
|
18
|
+
ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
21
|
+
};
|
|
22
|
+
export declare class LogoutCommand extends LogoutCommand_base {}
|
|
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
ClientInputEndpointParameters & {
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
28
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
47
|
Region?: string;
|
|
30
48
|
UseDualStack?: boolean;
|
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.484.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
23
|
+
"@aws-sdk/core": "3.481.0",
|
|
24
24
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.484.0",
|
|
29
29
|
"@aws-sdk/types": "3.468.0",
|
|
30
30
|
"@aws-sdk/util-endpoints": "3.478.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
33
|
-
"@smithy/config-resolver": "^2.0.
|
|
34
|
-
"@smithy/core": "^1.2.
|
|
33
|
+
"@smithy/config-resolver": "^2.0.22",
|
|
34
|
+
"@smithy/core": "^1.2.1",
|
|
35
35
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
36
36
|
"@smithy/hash-node": "^2.0.17",
|
|
37
37
|
"@smithy/invalid-dependency": "^2.0.15",
|
|
38
38
|
"@smithy/middleware-content-length": "^2.0.17",
|
|
39
39
|
"@smithy/middleware-endpoint": "^2.2.3",
|
|
40
|
-
"@smithy/middleware-retry": "^2.0.
|
|
40
|
+
"@smithy/middleware-retry": "^2.0.25",
|
|
41
41
|
"@smithy/middleware-serde": "^2.0.15",
|
|
42
42
|
"@smithy/middleware-stack": "^2.0.9",
|
|
43
43
|
"@smithy/node-config-provider": "^2.1.8",
|
|
44
44
|
"@smithy/node-http-handler": "^2.2.1",
|
|
45
45
|
"@smithy/protocol-http": "^3.0.11",
|
|
46
|
-
"@smithy/smithy-client": "^2.
|
|
46
|
+
"@smithy/smithy-client": "^2.2.0",
|
|
47
47
|
"@smithy/types": "^2.7.0",
|
|
48
48
|
"@smithy/url-parser": "^2.0.15",
|
|
49
49
|
"@smithy/util-base64": "^2.0.1",
|
|
50
50
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
51
51
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^2.0.31",
|
|
54
54
|
"@smithy/util-endpoints": "^1.0.7",
|
|
55
55
|
"@smithy/util-retry": "^2.0.8",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.2",
|