@aws-sdk/client-sso 3.33.0 → 3.36.1
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 +47 -0
- package/{dist/cjs → dist-cjs}/SSO.js +1 -20
- package/dist-cjs/SSOClient.js +32 -0
- package/{dist/cjs → dist-cjs}/commands/GetRoleCredentialsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAccountRolesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAccountsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/LogoutCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -43
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAccountRolesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListAccountsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +4 -10
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/SSO.js +2 -21
- package/{dist/es → dist-es}/SSOClient.js +2 -26
- package/{dist/es → dist-es}/commands/GetRoleCredentialsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListAccountRolesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAccountsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/LogoutCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -43
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAccountRolesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListAccountsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +96 -102
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/SSO.d.ts +2 -2
- package/{dist/types → dist-types}/SSOClient.d.ts +5 -5
- package/{dist/types → dist-types}/commands/GetRoleCredentialsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAccountRolesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAccountsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/LogoutCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccountRolesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccountsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/SSO.d.ts +7 -35
- package/dist-types/ts3.4/SSOClient.d.ts +68 -0
- package/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/LogoutCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccountRolesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccountsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +49 -46
- package/SSO.ts +0 -160
- package/SSOClient.ts +0 -245
- package/commands/GetRoleCredentialsCommand.ts +0 -95
- package/commands/ListAccountRolesCommand.ts +0 -94
- package/commands/ListAccountsCommand.ts +0 -96
- package/commands/LogoutCommand.ts +0 -87
- package/dist/cjs/SSO.js.map +0 -1
- package/dist/cjs/SSOClient.js +0 -56
- package/dist/cjs/SSOClient.js.map +0 -1
- package/dist/cjs/commands/GetRoleCredentialsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccountRolesCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccountsCommand.js.map +0 -1
- package/dist/cjs/commands/LogoutCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -88
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAccountRolesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAccountsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SSO.js.map +0 -1
- package/dist/es/SSOClient.js.map +0 -1
- package/dist/es/commands/GetRoleCredentialsCommand.js.map +0 -1
- package/dist/es/commands/ListAccountRolesCommand.js.map +0 -1
- package/dist/es/commands/ListAccountsCommand.js.map +0 -1
- package/dist/es/commands/LogoutCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -11
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -88
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAccountRolesPaginator.js.map +0 -1
- package/dist/es/pagination/ListAccountsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/SSOClient.d.ts +0 -145
- package/dist/types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAccountsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/LogoutCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -255
- package/endpoints.ts +0 -94
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -334
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAccountRolesPaginator.ts +0 -58
- package/pagination/ListAccountsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -621
- package/runtimeConfig.browser.ts +0 -38
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -41
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { SSOClient } from "./SSOClient";
|
|
3
2
|
import { GetRoleCredentialsCommand, } from "./commands/GetRoleCredentialsCommand";
|
|
4
3
|
import { ListAccountRolesCommand, } from "./commands/ListAccountRolesCommand";
|
|
5
4
|
import { ListAccountsCommand, } from "./commands/ListAccountsCommand";
|
|
6
5
|
import { LogoutCommand } from "./commands/LogoutCommand";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* access to AWS SSO resources such as the user portal. Users can get AWS account applications
|
|
10
|
-
* and roles assigned to them and get federated into the application.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>For general information about AWS SSO, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is AWS
|
|
13
|
-
* Single Sign-On?</a> in the <i>AWS SSO User Guide</i>.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>This API reference guide describes the AWS SSO Portal operations that you can call
|
|
16
|
-
* programatically and includes detailed information on data types and errors.</p>
|
|
17
|
-
*
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
20
|
-
* languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
21
|
-
* convenient way to create programmatic access to AWS SSO and other AWS services. For more
|
|
22
|
-
* information about the AWS SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
23
|
-
* </note>
|
|
24
|
-
*/
|
|
25
|
-
var SSO = /** @class */ (function (_super) {
|
|
6
|
+
import { SSOClient } from "./SSOClient";
|
|
7
|
+
var SSO = (function (_super) {
|
|
26
8
|
__extends(SSO, _super);
|
|
27
9
|
function SSO() {
|
|
28
10
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -86,4 +68,3 @@ var SSO = /** @class */ (function (_super) {
|
|
|
86
68
|
return SSO;
|
|
87
69
|
}(SSOClient));
|
|
88
70
|
export { SSO };
|
|
89
|
-
//# sourceMappingURL=SSO.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -7,25 +6,8 @@ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
|
7
6
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
8
7
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
8
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* access to AWS SSO resources such as the user portal. Users can get AWS account applications
|
|
13
|
-
* and roles assigned to them and get federated into the application.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>For general information about AWS SSO, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is AWS
|
|
16
|
-
* Single Sign-On?</a> in the <i>AWS SSO User Guide</i>.</p>
|
|
17
|
-
*
|
|
18
|
-
* <p>This API reference guide describes the AWS SSO Portal operations that you can call
|
|
19
|
-
* programatically and includes detailed information on data types and errors.</p>
|
|
20
|
-
*
|
|
21
|
-
* <note>
|
|
22
|
-
* <p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
23
|
-
* languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
24
|
-
* convenient way to create programmatic access to AWS SSO and other AWS services. For more
|
|
25
|
-
* information about the AWS SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
26
|
-
* </note>
|
|
27
|
-
*/
|
|
28
|
-
var SSOClient = /** @class */ (function (_super) {
|
|
9
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
10
|
+
var SSOClient = (function (_super) {
|
|
29
11
|
__extends(SSOClient, _super);
|
|
30
12
|
function SSOClient(configuration) {
|
|
31
13
|
var _this = this;
|
|
@@ -44,15 +26,9 @@ var SSOClient = /** @class */ (function (_super) {
|
|
|
44
26
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
45
27
|
return _this;
|
|
46
28
|
}
|
|
47
|
-
/**
|
|
48
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
49
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
50
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
51
|
-
*/
|
|
52
29
|
SSOClient.prototype.destroy = function () {
|
|
53
30
|
_super.prototype.destroy.call(this);
|
|
54
31
|
};
|
|
55
32
|
return SSOClient;
|
|
56
33
|
}(__Client));
|
|
57
34
|
export { SSOClient };
|
|
58
|
-
//# sourceMappingURL=SSOClient.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetRoleCredentialsCommand, serializeAws_restJson1GetRoleCredentialsCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { SSOClient, GetRoleCredentialsCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
13
|
-
* // const { SSOClient, GetRoleCredentialsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
14
|
-
* const client = new SSOClient(config);
|
|
15
|
-
* const command = new GetRoleCredentialsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link GetRoleCredentialsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link GetRoleCredentialsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var GetRoleCredentialsCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetRoleCredentialsCommand, serializeAws_restJson1GetRoleCredentialsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetRoleCredentialsCommand = (function (_super) {
|
|
25
7
|
__extends(GetRoleCredentialsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function GetRoleCredentialsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
GetRoleCredentialsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var GetRoleCredentialsCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return GetRoleCredentialsCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { GetRoleCredentialsCommand };
|
|
66
|
-
//# sourceMappingURL=GetRoleCredentialsCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_restJson1ListAccountRolesCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { SSOClient, ListAccountRolesCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
12
|
-
* // const { SSOClient, ListAccountRolesCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
13
|
-
* const client = new SSOClient(config);
|
|
14
|
-
* const command = new ListAccountRolesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link ListAccountRolesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link ListAccountRolesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var ListAccountRolesCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_restJson1ListAccountRolesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListAccountRolesCommand = (function (_super) {
|
|
24
7
|
__extends(ListAccountRolesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function ListAccountRolesCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
ListAccountRolesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var ListAccountRolesCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return ListAccountRolesCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { ListAccountRolesCommand };
|
|
65
|
-
//# sourceMappingURL=ListAccountRolesCommand.js.map
|
|
@@ -1,42 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListAccountsCommand, serializeAws_restJson1ListAccountsCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* returns a paginated response.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SSOClient, ListAccountsCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
14
|
-
* // const { SSOClient, ListAccountsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
15
|
-
* const client = new SSOClient(config);
|
|
16
|
-
* const command = new ListAccountsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListAccountsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListAccountsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var ListAccountsCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAccountsCommand, serializeAws_restJson1ListAccountsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListAccountsCommand = (function (_super) {
|
|
26
7
|
__extends(ListAccountsCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function ListAccountsCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
ListAccountsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +37,3 @@ var ListAccountsCommand = /** @class */ (function (_super) {
|
|
|
64
37
|
return ListAccountsCommand;
|
|
65
38
|
}($Command));
|
|
66
39
|
export { ListAccountsCommand };
|
|
67
|
-
//# sourceMappingURL=ListAccountsCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { LogoutRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { SSOClient, LogoutCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
12
|
-
* // const { SSOClient, LogoutCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
13
|
-
* const client = new SSOClient(config);
|
|
14
|
-
* const command = new LogoutCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link LogoutCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link LogoutCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var LogoutCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { LogoutRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
var LogoutCommand = (function (_super) {
|
|
24
7
|
__extends(LogoutCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function LogoutCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
LogoutCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var LogoutCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return LogoutCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { LogoutCommand };
|
|
65
|
-
//# sourceMappingURL=LogoutCommand.js.map
|
|
@@ -84,7 +84,6 @@ var partitionHash = {
|
|
|
84
84
|
};
|
|
85
85
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
86
86
|
return __generator(this, function (_a) {
|
|
87
|
-
return [2
|
|
87
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "awsssoportal", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
88
88
|
});
|
|
89
89
|
}); };
|
|
90
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -2,100 +2,57 @@ import { __assign } from "tslib";
|
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
3
|
export var AccountInfo;
|
|
4
4
|
(function (AccountInfo) {
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
5
|
AccountInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
6
|
})(AccountInfo || (AccountInfo = {}));
|
|
10
7
|
export var GetRoleCredentialsRequest;
|
|
11
8
|
(function (GetRoleCredentialsRequest) {
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
9
|
GetRoleCredentialsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.accessToken && { accessToken: SENSITIVE_STRING }))); };
|
|
16
10
|
})(GetRoleCredentialsRequest || (GetRoleCredentialsRequest = {}));
|
|
17
11
|
export var RoleCredentials;
|
|
18
12
|
(function (RoleCredentials) {
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
13
|
RoleCredentials.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.secretAccessKey && { secretAccessKey: SENSITIVE_STRING })), (obj.sessionToken && { sessionToken: SENSITIVE_STRING }))); };
|
|
23
14
|
})(RoleCredentials || (RoleCredentials = {}));
|
|
24
15
|
export var GetRoleCredentialsResponse;
|
|
25
16
|
(function (GetRoleCredentialsResponse) {
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
29
17
|
GetRoleCredentialsResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.roleCredentials && { roleCredentials: RoleCredentials.filterSensitiveLog(obj.roleCredentials) }))); };
|
|
30
18
|
})(GetRoleCredentialsResponse || (GetRoleCredentialsResponse = {}));
|
|
31
19
|
export var InvalidRequestException;
|
|
32
20
|
(function (InvalidRequestException) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
21
|
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
22
|
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
38
23
|
export var ResourceNotFoundException;
|
|
39
24
|
(function (ResourceNotFoundException) {
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
25
|
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
44
26
|
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
45
27
|
export var TooManyRequestsException;
|
|
46
28
|
(function (TooManyRequestsException) {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
29
|
TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
30
|
})(TooManyRequestsException || (TooManyRequestsException = {}));
|
|
52
31
|
export var UnauthorizedException;
|
|
53
32
|
(function (UnauthorizedException) {
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
33
|
UnauthorizedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
34
|
})(UnauthorizedException || (UnauthorizedException = {}));
|
|
59
35
|
export var ListAccountRolesRequest;
|
|
60
36
|
(function (ListAccountRolesRequest) {
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
37
|
ListAccountRolesRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.accessToken && { accessToken: SENSITIVE_STRING }))); };
|
|
65
38
|
})(ListAccountRolesRequest || (ListAccountRolesRequest = {}));
|
|
66
39
|
export var RoleInfo;
|
|
67
40
|
(function (RoleInfo) {
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
41
|
RoleInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
72
42
|
})(RoleInfo || (RoleInfo = {}));
|
|
73
43
|
export var ListAccountRolesResponse;
|
|
74
44
|
(function (ListAccountRolesResponse) {
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
45
|
ListAccountRolesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
46
|
})(ListAccountRolesResponse || (ListAccountRolesResponse = {}));
|
|
80
47
|
export var ListAccountsRequest;
|
|
81
48
|
(function (ListAccountsRequest) {
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
49
|
ListAccountsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.accessToken && { accessToken: SENSITIVE_STRING }))); };
|
|
86
50
|
})(ListAccountsRequest || (ListAccountsRequest = {}));
|
|
87
51
|
export var ListAccountsResponse;
|
|
88
52
|
(function (ListAccountsResponse) {
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
53
|
ListAccountsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
54
|
})(ListAccountsResponse || (ListAccountsResponse = {}));
|
|
94
55
|
export var LogoutRequest;
|
|
95
56
|
(function (LogoutRequest) {
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
57
|
LogoutRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.accessToken && { accessToken: SENSITIVE_STRING }))); };
|
|
100
58
|
})(LogoutRequest || (LogoutRequest = {}));
|
|
101
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAccountRolesCommand, } from "../commands/ListAccountRolesCommand";
|
|
2
3
|
import { SSO } from "../SSO";
|
|
3
4
|
import { SSOClient } from "../SSOClient";
|
|
4
|
-
import { ListAccountRolesCommand, } from "../commands/ListAccountRolesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountRolesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAccountRoles.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAccountRoles(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SSO)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SSO)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SSOClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SSOClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SSO | SSOClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAccountRolesPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAccountsCommand, } from "../commands/ListAccountsCommand";
|
|
2
3
|
import { SSO } from "../SSO";
|
|
3
4
|
import { SSOClient } from "../SSOClient";
|
|
4
|
-
import { ListAccountsCommand, } from "../commands/ListAccountsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAccounts.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAccounts(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof SSO)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof SSO)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof SSOClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof SSOClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected SSO | SSOClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAccountsPaginator.js.map
|