@aws-sdk/client-sso 3.30.0 → 3.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/cjs/SSOClient.js +11 -11
- package/dist/cjs/SSOClient.js.map +1 -1
- package/dist/cjs/commands/GetRoleCredentialsCommand.js +3 -3
- package/dist/cjs/commands/GetRoleCredentialsCommand.js.map +1 -1
- package/dist/cjs/commands/ListAccountRolesCommand.js +3 -3
- package/dist/cjs/commands/ListAccountRolesCommand.js.map +1 -1
- package/dist/cjs/commands/ListAccountsCommand.js +3 -3
- package/dist/cjs/commands/ListAccountsCommand.js.map +1 -1
- package/dist/cjs/commands/LogoutCommand.js +3 -3
- package/dist/cjs/commands/LogoutCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +36 -36
- package/dist/cjs/protocols/Aws_restJson1.js +18 -18
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +7 -7
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/SSO.js +1 -19
- package/dist/es/SSO.js.map +1 -1
- package/dist/es/SSOClient.js +1 -24
- package/dist/es/SSOClient.js.map +1 -1
- package/dist/es/commands/GetRoleCredentialsCommand.js +2 -28
- package/dist/es/commands/GetRoleCredentialsCommand.js.map +1 -1
- package/dist/es/commands/ListAccountRolesCommand.js +2 -27
- package/dist/es/commands/ListAccountRolesCommand.js.map +1 -1
- package/dist/es/commands/ListAccountsCommand.js +2 -29
- package/dist/es/commands/ListAccountsCommand.js.map +1 -1
- package/dist/es/commands/LogoutCommand.js +2 -27
- package/dist/es/commands/LogoutCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -42
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +36 -36
- package/dist/es/pagination/ListAccountRolesPaginator.js +16 -28
- package/dist/es/pagination/ListAccountRolesPaginator.js.map +1 -1
- package/dist/es/pagination/ListAccountsPaginator.js +16 -28
- package/dist/es/pagination/ListAccountsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +96 -101
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +36 -36
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.browser.js","sourceRoot":"","sources":["../../runtimeConfig.browser.ts"],"names":[],"mappings":";;;;AAAA
|
|
1
|
+
{"version":3,"file":"runtimeConfig.browser.js","sourceRoot":"","sources":["../../runtimeConfig.browser.ts"],"names":[],"mappings":";;;;AAAA,0EAAyC;AAEzC,+DAAoD;AACpD,oEAAgF;AAChF,oEAA8D;AAC9D,gEAAqF;AACrF,sEAAoE;AACpE,gFAAwE;AACxE,8EAAoE;AACpE,kEAA8D;AAE9D,iEAAoF;AAEpF;;GAEG;AACI,MAAM,gBAAgB,GAAG,CAAC,MAAuB,EAAE,EAAE;;IAC1D,MAAM,kBAA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AAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,0BAAM;KAC3C,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,gBAAgB,oBAqB3B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 =
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("./package.json"));
|
|
6
6
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
7
|
const hash_node_1 = require("@aws-sdk/hash-node");
|
|
8
8
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -19,8 +19,8 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
*/
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
22
|
-
|
|
23
|
-
const clientSharedValues =
|
|
22
|
+
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
23
|
+
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
24
|
return {
|
|
25
25
|
...clientSharedValues,
|
|
26
26
|
...config,
|
|
@@ -28,11 +28,11 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
31
|
-
defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d :
|
|
32
|
-
maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e :
|
|
33
|
-
region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f :
|
|
31
|
+
defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
|
+
region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
34
|
requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h :
|
|
35
|
+
retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : node_http_handler_1.streamCollector,
|
|
38
38
|
utf8Decoder: (_l = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _l !== void 0 ? _l : util_utf8_node_1.fromUtf8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.js","sourceRoot":"","sources":["../../runtimeConfig.ts"],"names":[],"mappings":";;;;AAAA
|
|
1
|
+
{"version":3,"file":"runtimeConfig.js","sourceRoot":"","sources":["../../runtimeConfig.ts"],"names":[],"mappings":";;;;AAAA,0EAAyC;AAEzC,8DAAuG;AACvG,kDAA0C;AAC1C,gEAA4G;AAC5G,wEAA6E;AAC7E,kEAA8E;AAC9E,gEAAiE;AACjE,0EAAqE;AACrE,wEAAiE;AACjE,4DAA2D;AAE3D,iEAAoF;AACpF,0DAAyE;AAEzE;;GAEG;AACI,MAAM,gBAAgB,GAAG,CAAC,MAAuB,EAAE,EAAE;;IAC1D,+CAA+B,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,kBAAkB,GAAG,uCAAsB,CAAC,MAAM,CAAC,CAAC;IAC1D,OAAO;QACL,GAAG,kBAAkB;QACrB,GAAG,MAAM;QACT,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,mCAAI,6BAAU;QAClD,aAAa,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,mCAAI,2BAAQ;QAChD,iBAAiB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,iBAAiB,mCAAI,2CAAmB;QACnE,wBAAwB,EACtB,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,wBAAwB,mCAChC,uCAAgB,CAAC,EAAE,SAAS,EAAE,kBAAkB,CAAC,SAAS,EAAE,aAAa,EAAE,sBAAW,CAAC,OAAO,EAAE,CAAC;QACnG,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,iCAAc,CAAC,kDAA+B,CAAC;QACnF,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAI,iCAAc,CAAC,4CAA0B,EAAE,iDAA+B,CAAC;QACrG,cAAc,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,cAAc,mCAAI,IAAI,mCAAe,EAAE;QAC/D,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,iCAAc,CAAC,iDAA8B,CAAC;QAC9E,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAI,gBAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;QACnD,eAAe,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,eAAe,mCAAI,mCAAe;QAC3D,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,yBAAQ;QAC5C,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,uBAAM;KAC3C,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,gBAAgB,oBAsB3B"}
|
|
@@ -8,7 +8,7 @@ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
|
8
8
|
*/
|
|
9
9
|
const getRuntimeConfig = (config) => {
|
|
10
10
|
var _a;
|
|
11
|
-
const browserDefaults =
|
|
11
|
+
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
12
12
|
return {
|
|
13
13
|
...browserDefaults,
|
|
14
14
|
...config,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeConfig.native.js","sourceRoot":"","sources":["../../runtimeConfig.native.ts"],"names":[],"mappings":";;;AAAA,qDAA+C;AAE/C,mEAAsF;AAEtF;;GAEG;AACI,MAAM,gBAAgB,GAAG,CAAC,MAAuB,EAAE,EAAE;;IAC1D,MAAM,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"runtimeConfig.native.js","sourceRoot":"","sources":["../../runtimeConfig.native.ts"],"names":[],"mappings":";;;AAAA,qDAA+C;AAE/C,mEAAsF;AAEtF;;GAEG;AACI,MAAM,gBAAgB,GAAG,CAAC,MAAuB,EAAE,EAAE;;IAC1D,MAAM,eAAe,GAAG,wCAAuB,CAAC,MAAM,CAAC,CAAC;IACxD,OAAO;QACL,GAAG,eAAe;QAClB,GAAG,MAAM;QACT,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAI,kBAAM;KACjC,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,gBAAgB,oBAQ3B"}
|
package/dist/es/SSO.js
CHANGED
|
@@ -4,25 +4,7 @@ import { GetRoleCredentialsCommand, } from "./commands/GetRoleCredentialsCommand
|
|
|
4
4
|
import { ListAccountRolesCommand, } from "./commands/ListAccountRolesCommand";
|
|
5
5
|
import { ListAccountsCommand, } from "./commands/ListAccountsCommand";
|
|
6
6
|
import { LogoutCommand } from "./commands/LogoutCommand";
|
|
7
|
-
|
|
8
|
-
* <p>AWS Single Sign-On Portal is a web service that makes it easy for you to assign user
|
|
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) {
|
|
7
|
+
var SSO = (function (_super) {
|
|
26
8
|
__extends(SSO, _super);
|
|
27
9
|
function SSO() {
|
|
28
10
|
return _super !== null && _super.apply(this, arguments) || this;
|
package/dist/es/SSO.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSO.js","sourceRoot":"","sources":["../../SSO.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,yBAAyB,GAG1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,uBAAuB,GAGxB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,mBAAmB,GAGpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,aAAa,EAA2C,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"SSO.js","sourceRoot":"","sources":["../../SSO.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,yBAAyB,GAG1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,uBAAuB,GAGxB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,mBAAmB,GAGpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,aAAa,EAA2C,MAAM,0BAA0B,CAAC;AAqBlG;IAAyB,uBAAS;IAAlC;;IA0HA,CAAC;IAxGQ,gCAAkB,GAAzB,UACE,IAAoC,EACpC,WAAiG,EACjG,EAA+D;QAE/D,IAAM,OAAO,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAA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AAE,MAAM,IAAI,KAAK,CAAC,iCAA+B,OAAO,WAAa,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IAYM,oBAAM,GAAb,UACE,IAAwB,EACxB,WAAqF,EACrF,EAAmD;QAEnD,IAAM,OAAO,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACxC,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,iCAA+B,OAAO,WAAa,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IACH,UAAC;AAAD,CAAC,AA1HD,CAAyB,SAAS,GA0HjC"}
|
package/dist/es/SSOClient.js
CHANGED
|
@@ -7,25 +7,7 @@ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
|
7
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
-
|
|
11
|
-
* <p>AWS Single Sign-On Portal is a web service that makes it easy for you to assign user
|
|
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) {
|
|
10
|
+
var SSOClient = (function (_super) {
|
|
29
11
|
__extends(SSOClient, _super);
|
|
30
12
|
function SSOClient(configuration) {
|
|
31
13
|
var _this = this;
|
|
@@ -44,11 +26,6 @@ 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
|
};
|
package/dist/es/SSOClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSOClient.js","sourceRoot":"","sources":["../../SSOClient.ts"],"names":[],"m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,mBAAmB,CAAC,SAAS,CAAC,CAAC;QAC/C,IAAI,SAAS,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAC9C,IAAI,SAAS,GAAG,uBAAuB,CAAC,SAAS,CAAC,CAAC;QACnD,IAAI,SAAS,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;QAClD,QAAA,kBAAM,SAAS,CAAC,SAAC;QACjB,KAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,sBAAsB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mBAAmB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,eAAe,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kBAAkB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;;IAC5D,CAAC;IAOD,2BAAO,GAAP;QACE,iBAAM,OAAO,WAAE,CAAC;IAClB,CAAC;IACH,gBAAC;AAAD,CAAC,AAnCD,CAA+B,QAAQ,GAmCtC"}
|
|
@@ -3,39 +3,13 @@ import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models
|
|
|
3
3
|
import { deserializeAws_restJson1GetRoleCredentialsCommand, serializeAws_restJson1GetRoleCredentialsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns the STS short-term credentials for a given role name that is assigned to the
|
|
8
|
-
* user.</p>
|
|
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) {
|
|
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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetRoleCredentialsCommand.js","sourceRoot":"","sources":["../../../commands/GetRoleCredentialsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetRoleCredentialsCommand.js","sourceRoot":"","sources":["../../../commands/GetRoleCredentialsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgC7D;IAA+C,6CAI9C;IAIC,mCAAqB,KAAqC;QAA1D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;IAI1D,CAAC;IAKD,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,38 +3,13 @@ import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_restJson1ListAccountRolesCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists all roles that are assigned to the user for a given AWS account.</p>
|
|
8
|
-
* @example
|
|
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) {
|
|
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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListAccountRolesCommand.js","sourceRoot":"","sources":["../../../commands/ListAccountRolesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListAccountRolesCommand.js","sourceRoot":"","sources":["../../../commands/ListAccountRolesCommand.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AC5E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,40 +3,13 @@ import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1ListAccountsCommand, serializeAws_restJson1ListAccountsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
|
|
8
|
-
* administrator of the account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers">Assign User Access</a> in the <i>AWS SSO User Guide</i>. This operation
|
|
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) {
|
|
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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListAccountsCommand.js","sourceRoot":"","sources":["../../../commands/ListAccountsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListAccountsCommand.js","sourceRoot":"","sources":["../../../commands/ListAccountsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB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13 @@ import { LogoutRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Removes the client- and server-side session that is associated with the user.</p>
|
|
8
|
-
* @example
|
|
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) {
|
|
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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoutCommand.js","sourceRoot":"","sources":["../../../commands/LogoutCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,qCAAqC,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"LogoutCommand.js","sourceRoot":"","sources":["../../../commands/LogoutCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,qCAAqC,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAmC,iCAA0E;IAI3G,uBAAqB,KAAyB;QAA9C,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoB;;IAI9C,CAAC;IAKD,yCAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,eAAe,CAAC;QACpC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,aAAa,CAAC,kBAAkB;YACzD,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iCAAS,GAAjB,UAAkB,KAAyB,EAAE,OAAuB;QAClE,OAAO,mCAAmC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAEO,mCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qCAAqC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAIH,oBAAC;AAAD,CAAC,AAlDD,CAAmC,QAAQ,GAkD1C"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -84,7 +84,7 @@ 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
90
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,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YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,mCAAmC;KAC9C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,sCAAsC;KACjD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,gCAAgC;KAC3C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,mCAAmC;KAC9C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,mCAAmC;KAC9C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,WAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,cAAc,EAC9B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
|
@@ -2,100 +2,58 @@ 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
59
|
//# sourceMappingURL=models_0.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../../models/models_0.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAuB1D,MAAM,KAAW,WAAW,CAO3B;AAPD,WAAiB,WAAW;
|
|
1
|
+
{"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../../models/models_0.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAuB1D,MAAM,KAAW,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAIb,8BAAkB,GAAG,UAAC,GAAgB,IAAU,OAAA,cACxD,GAAG,EACN,EAF2D,CAE3D,CAAC;AACL,CAAC,EAPgB,WAAW,KAAX,WAAW,QAO3B;AAoBD,MAAM,KAAW,yBAAyB,CAQzC;AARD,WAAiB,yBAAyB;IAI3B,4CAAkB,GAAG,UAAC,GAA8B,IAAU,OAAA,uBACtE,GAAG,GACH,CAAC,GAAG,CAAC,WAAW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B,uCAAkB,GAAG,UAAC,GAAyB,IAAU,OAAA,cACjE,GAAG,EACN,EAFoE,CAEpE,CAAC;AACL,CAAC,EAPgB,oBAAoB,KAApB,oBAAoB,QAOpC;AAUD,MAAM,KAAW,aAAa,CAQ7B;AARD,WAAiB,aAAa;IAIf,gCAAkB,GAAG,UAAC,GAAkB,IAAU,OAAA,uBAC1D,GAAG,GACH,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,EACzD,EAH6D,CAG7D,CAAC;AACL,CAAC,EARgB,aAAa,KAAb,aAAa,QAQ7B"}
|
package/dist/es/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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.34.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"types": "./dist/types/index.d.ts",
|
|
@@ -27,42 +27,42 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/config-resolver": "3.
|
|
31
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
32
|
-
"@aws-sdk/hash-node": "3.
|
|
33
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
36
|
-
"@aws-sdk/middleware-logger": "3.
|
|
37
|
-
"@aws-sdk/middleware-retry": "3.
|
|
38
|
-
"@aws-sdk/middleware-serde": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/protocol-http": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
47
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
48
|
-
"@aws-sdk/util-base64-node": "3.
|
|
49
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
50
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/config-resolver": "3.34.0",
|
|
31
|
+
"@aws-sdk/fetch-http-handler": "3.34.0",
|
|
32
|
+
"@aws-sdk/hash-node": "3.34.0",
|
|
33
|
+
"@aws-sdk/invalid-dependency": "3.34.0",
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.34.0",
|
|
35
|
+
"@aws-sdk/middleware-host-header": "3.34.0",
|
|
36
|
+
"@aws-sdk/middleware-logger": "3.34.0",
|
|
37
|
+
"@aws-sdk/middleware-retry": "3.34.0",
|
|
38
|
+
"@aws-sdk/middleware-serde": "3.34.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.34.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.34.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.34.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.34.0",
|
|
43
|
+
"@aws-sdk/protocol-http": "3.34.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.34.0",
|
|
45
|
+
"@aws-sdk/types": "3.34.0",
|
|
46
|
+
"@aws-sdk/url-parser": "3.34.0",
|
|
47
|
+
"@aws-sdk/util-base64-browser": "3.34.0",
|
|
48
|
+
"@aws-sdk/util-base64-node": "3.34.0",
|
|
49
|
+
"@aws-sdk/util-body-length-browser": "3.34.0",
|
|
50
|
+
"@aws-sdk/util-body-length-node": "3.34.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.34.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.34.0",
|
|
53
|
+
"@aws-sdk/util-utf8-browser": "3.34.0",
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.34.0",
|
|
55
55
|
"tslib": "^2.3.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/client-documentation-generator": "3.34.0",
|
|
59
59
|
"@types/node": "^12.7.5",
|
|
60
60
|
"downlevel-dts": "0.7.0",
|
|
61
61
|
"jest": "^26.1.0",
|
|
62
62
|
"rimraf": "^3.0.0",
|
|
63
63
|
"ts-jest": "^26.4.1",
|
|
64
64
|
"typedoc": "^0.19.2",
|
|
65
|
-
"typescript": "~4.
|
|
65
|
+
"typescript": "~4.3.5"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=10.0.0"
|