"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Iam = void 0;
const iamGetGroup_js_1 = require("../funcs/iamGetGroup.js");
const iamGetPolicy_js_1 = require("../funcs/iamGetPolicy.js");
const iamGetRole_js_1 = require("../funcs/iamGetRole.js");
const iamGetUser_js_1 = require("../funcs/iamGetUser.js");
const iamListGroups_js_1 = require("../funcs/iamListGroups.js");
const iamListPolicies_js_1 = require("../funcs/iamListPolicies.js");
const iamListRoles_js_1 = require("../funcs/iamListRoles.js");
const iamListUsers_js_1 = require("../funcs/iamListUsers.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("./types/fp.js");
class Iam extends sdks_js_1.ClientSDK {
    /**
     * Get Group
     */
    async getGroup(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamGetGroup_js_1.iamGetGroup)(this, request, options));
    }
    /**
     * Get Policy
     */
    async getPolicy(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamGetPolicy_js_1.iamGetPolicy)(this, request, options));
    }
    /**
     * Get Role
     */
    async getRole(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamGetRole_js_1.iamGetRole)(this, request, options));
    }
    /**
     * Get User
     */
    async getUser(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamGetUser_js_1.iamGetUser)(this, request, options));
    }
    /**
     * List Groups
     */
    async listGroups(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamListGroups_js_1.iamListGroups)(this, request, options));
    }
    /**
     * List Policies
     */
    async listPolicies(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamListPolicies_js_1.iamListPolicies)(this, request, options));
    }
    /**
     * List Roles
     */
    async listRoles(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamListRoles_js_1.iamListRoles)(this, request, options));
    }
    /**
     * List Users
     */
    async listUsers(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, iamListUsers_js_1.iamListUsers)(this, request, options));
    }
}
exports.Iam = Iam;
//# sourceMappingURL=iam.js.map