/proc/self/root/proc/4/root/var/runtime/node_modules/@aws-sdk/client-grafana/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultGrafanaHttpAuthSchemeParametersProvider = async (config, context, input) => { return { operation: getSmithyContext(context).operation, region: await normalizeProvider(config.region)() || (() => { throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); })(), };};function createAwsAuthSigv4HttpAuthOption(authParameters) { return { schemeId: "aws.auth#sigv4", signingProperties: { name: "grafana", region: authParameters.region, }, propertiesExtractor: (config, context) => ({ signingProperties: { config, context, }, }), };}const defaultGrafanaHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } } return options;};const resolveHttpAuthSchemeConfig = (config) => { const config_0 = resolveAwsSdkSigV4Config(config); return Object.assign(config_0, { authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), });}; const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "grafana", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = { version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = { conditions: [ [c, [g]], [c, j], ["aws.partition", j, d], [e, [{ [k]: "UseFIPS" }, b]], [e, [{ [k]: "UseDualStack" }, b]], [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]] ], results: [ [a], [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], [g, i], ["https://grafana-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], ["https://grafana-fips.{Region}.{PartitionResult#dnsSuffix}", i], [a, "FIPS is enabled but this partition does not support FIPS"], ["https://grafana.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "DualStack is enabled but this partition does not support DualStack"], ["https://grafana.{Region}.{PartitionResult#dnsSuffix}", i], [a, "Invalid Configuration: Missing Region"] ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([ -1, 1, -1, 0, 12, 3, 1, 4, r + 11, 2, 5, r + 11, 3, 8, 6, 4, 7, r + 10, 5, r + 8, r + 9, 4, 10, 9, 6, r + 6, r + 7, 5, 11, r + 5, 6, r + 4, r + 5, 3, r + 1, 13, 4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({ size: 50, params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => { return cache.get(endpointParams, () => decideEndpoint(bdd, { endpointParams: endpointParams, logger: context.logger, }));};customEndpointFunctions.aws = awsEndpointFunctions; class GrafanaServiceException extends ServiceException { constructor(options) { super(options); Object.setPrototypeOf(this, GrafanaServiceException.prototype); }} class AccessDeniedException extends GrafanaServiceException { name = "AccessDeniedException"; $fault = "client"; constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, AccessDeniedException.prototype); }}class ConflictException extends GrafanaServiceException { name = "ConflictException"; $fault = "client"; resourceId; resourceType; constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ConflictException.prototype); this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; }}class InternalServerException extends GrafanaServiceException { name = "InternalServerException"; $fault = "server"; $retryable = {}; retryAfterSeconds; constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InternalServerException.prototype); this.retryAfterSeconds = opts.retryAfterSeconds; }}class ResourceNotFoundException extends GrafanaServiceException { name = "ResourceNotFoundException"; $fault = "client"; resourceId; resourceType; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; }}class ServiceQuotaExceededException extends GrafanaServiceException { name = "ServiceQuotaExceededException"; $fault = "client"; resourceId; resourceType; serviceCode; quotaCode; constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype); this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; this.serviceCode = opts.serviceCode; this.quotaCode = opts.quotaCode; }}class ThrottlingException extends GrafanaServiceException { name = "ThrottlingException"; $fault = "client"; $retryable = {}; serviceCode; quotaCode; retryAfterSeconds; constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ThrottlingException.prototype); this.serviceCode = opts.serviceCode; this.quotaCode = opts.quotaCode; this.retryAfterSeconds = opts.retryAfterSeconds; }}class ValidationException extends GrafanaServiceException { name = "ValidationException"; $fault = "client"; reason; fieldList; constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ValidationException.prototype); this.reason = opts.reason; this.fieldList = opts.fieldList; }} const _AA = "AssertionAttributes";const _AD = "AuthenticationDescription";const _ADE = "AccessDeniedException";const _AKT = "ApiKeyToken";const _AL = "AssociateLicense";const _ALR = "AssociateLicenseRequest";const _ALRs = "AssociateLicenseResponse";const _AS = "AuthenticationSummary";const _ASA = "AwsSsoAuthentication";const _CE = "ConflictException";const _CW = "CreateWorkspace";const _CWAK = "CreateWorkspaceApiKey";const _CWAKR = "CreateWorkspaceApiKeyRequest";const _CWAKRr = "CreateWorkspaceApiKeyResponse";const _CWR = "CreateWorkspaceRequest";const _CWRr = "CreateWorkspaceResponse";const _CWSA = "CreateWorkspaceServiceAccount";const _CWSAR = "CreateWorkspaceServiceAccountRequest";const _CWSARr = "CreateWorkspaceServiceAccountResponse";const _CWSAT = "CreateWorkspaceServiceAccountToken";const _CWSATR = "CreateWorkspaceServiceAccountTokenRequest";const _CWSATRr = "CreateWorkspaceServiceAccountTokenResponse";const _D = "Description";const _DL = "DisassociateLicense";const _DLR = "DisassociateLicenseRequest";const _DLRi = "DisassociateLicenseResponse";const _DW = "DeleteWorkspace";const _DWA = "DescribeWorkspaceAuthentication";const _DWAK = "DeleteWorkspaceApiKey";const _DWAKR = "DeleteWorkspaceApiKeyRequest";const _DWAKRe = "DeleteWorkspaceApiKeyResponse";const _DWAR = "DescribeWorkspaceAuthenticationRequest";const _DWARe = "DescribeWorkspaceAuthenticationResponse";const _DWC = "DescribeWorkspaceConfiguration";const _DWCR = "DescribeWorkspaceConfigurationRequest";const _DWCRe = "DescribeWorkspaceConfigurationResponse";const _DWR = "DeleteWorkspaceRequest";const _DWRe = "DeleteWorkspaceResponse";const _DWRes = "DescribeWorkspaceRequest";const _DWResc = "DescribeWorkspaceResponse";const _DWSA = "DeleteWorkspaceServiceAccount";const _DWSAR = "DeleteWorkspaceServiceAccountRequest";const _DWSARe = "DeleteWorkspaceServiceAccountResponse";const _DWSAT = "DeleteWorkspaceServiceAccountToken";const _DWSATR = "DeleteWorkspaceServiceAccountTokenRequest";const _DWSATRe = "DeleteWorkspaceServiceAccountTokenResponse";const _DWe = "DescribeWorkspace";const _GT = "Grafana-Token";const _IM = "IdpMetadata";const _IRA = "IamRoleArn";const _ISE = "InternalServerException";const _LP = "ListPermissions";const _LPR = "ListPermissionsRequest";const _LPRi = "ListPermissionsResponse";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _LV = "ListVersions";const _LVR = "ListVersionsRequest";const _LVRi = "ListVersionsResponse";const _LW = "ListWorkspaces";const _LWR = "ListWorkspacesRequest";const _LWRi = "ListWorkspacesResponse";const _LWSA = "ListWorkspaceServiceAccounts";const _LWSAR = "ListWorkspaceServiceAccountsRequest";const _LWSARi = "ListWorkspaceServiceAccountsResponse";const _LWSAT = "ListWorkspaceServiceAccountTokens";const _LWSATR = "ListWorkspaceServiceAccountTokensRequest";const _LWSATRi = "ListWorkspaceServiceAccountTokensResponse";const _NAC = "NetworkAccessConfiguration";const _OCJ = "OverridableConfigurationJson";const _ORN = "OrganizationRoleName";const _OUL = "OrganizationalUnitList";const _PE = "PermissionEntry";const _PEL = "PermissionEntryList";const _RA = "Retry-After";const _RNFE = "ResourceNotFoundException";const _RV = "RoleValues";const _RVL = "RoleValueList";const _SA = "SamlAuthentication";const _SAL = "ServiceAccountList";const _SAS = "ServiceAccountSummary";const _SATK = "ServiceAccountTokenKey";const _SATL = "ServiceAccountTokenList";const _SATS = "ServiceAccountTokenSummary";const _SATSWK = "ServiceAccountTokenSummaryWithKey";const _SC = "SamlConfiguration";const _SQEE = "ServiceQuotaExceededException";const _TE = "ThrottlingException";const _TR = "TagResource";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _U = "User";const _UE = "UpdateError";const _UEL = "UpdateErrorList";const _UI = "UpdateInstruction";const _UIB = "UpdateInstructionBatch";const _UL = "UserList";const _UP = "UpdatePermissions";const _UPR = "UpdatePermissionsRequest";const _UPRp = "UpdatePermissionsResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _UW = "UpdateWorkspace";const _UWA = "UpdateWorkspaceAuthentication";const _UWAR = "UpdateWorkspaceAuthenticationRequest";const _UWARp = "UpdateWorkspaceAuthenticationResponse";const _UWC = "UpdateWorkspaceConfiguration";const _UWCR = "UpdateWorkspaceConfigurationRequest";const _UWCRp = "UpdateWorkspaceConfigurationResponse";const _UWR = "UpdateWorkspaceRequest";const _UWRp = "UpdateWorkspaceResponse";const _VC = "VpcConfiguration";const _VE = "ValidationException";const _VEF = "ValidationExceptionField";const _VEFL = "ValidationExceptionFieldList";const _WD = "WorkspaceDescription";const _WL = "WorkspaceList";const _WN = "WorkspaceName";const _WS = "WorkspaceSummary";const _a = "application/json";const _aA = "assertionAttributes";const _aAT = "accountAccessType";const _aO = "allowedOrganizations";const _aP = "authenticationProviders";const _aS = "awsSso";const _ac = "action";const _ad = "admin";const _au = "authentication";const _c = "client";const _cA = "createdAt";const _cB = "causedBy";const _cT = "clientToken";const _co = "configuration";const _cod = "code";const _cr = "created";const _d = "description";const _dS = "dataSources";const _dWR = "degradedWorkspaceReason";const _e = "error";const _eA = "expiresAt";const _ed = "editor";const _em = "email";const _en = "endpoint";const _er = "errors";const _fL = "fieldList";const _fTC = "freeTrialConsumed";const _fTE = "freeTrialExpiration";const _g = "groups";const _gI = "groupId";const _gR = "grafanaRole";const _gT = "grafanaToken";const _gV = "grafanaVersion";const _gVr = "grafanaVersions";const _h = "http";const _hE = "httpError";const _hH = "httpHeader";const _hQ = "httpQuery";const _i = "id";const _iAT = "ipAddressType";const _iD = "isDisabled";const _iM = "idpMetadata";const _k = "key";const _kKI = "kmsKeyId";const _kN = "keyName";const _kR = "keyRole";const _l = "login";const _lE = "licenseExpiration";const _lT = "licenseType";const _lUA = "lastUsedAt";const _lVD = "loginValidityDuration";const _m = "message";const _mR = "maxResults";const _mT = "mediaType";const _mo = "modified";const _n = "name";const _nAC = "networkAccessControl";const _nD = "notificationDestinations";const _nT = "nextToken";const _o = "org";const _oRN = "organizationRoleName";const _oU = "organizationalUnits";const _p = "providers";const _pLI = "prefixListIds";const _pT = "permissionType";const _pe = "permissions";const _qC = "quotaCode";const _r = "reason";const _rA = "resourceArn";const _rAS = "retryAfterSeconds";const _rI = "resourceId";const _rNAC = "removeNetworkAccessConfiguration";const _rT = "resourceType";const _rV = "roleValues";const _rVC = "removeVpcConfiguration";const _ro = "role";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.grafana";const _sA = "serviceAccounts";const _sAI = "serviceAccountId";const _sAT = "serviceAccountToken";const _sATe = "serviceAccountTokens";const _sC = "serviceCode";const _sCI = "ssoClientId";const _sCS = "samlConfigurationStatus";const _sCa = "samlConfiguration";const _sGI = "securityGroupIds";const _sI = "subnetIds";const _sSN = "stackSetName";const _sTL = "secondsToLive";const _sa = "saml";const _se = "server";const _st = "status";const _t = "tags";const _tI = "tokenId";const _tK = "tagKeys";const _ty = "type";const _u = "user";const _uI = "userId";const _uIB = "updateInstructionBatch";const _uT = "userType";const _ur = "url";const _us = "users";const _vC = "vpcConfiguration";const _vI = "vpceIds";const _w = "workspace";const _wD = "workspaceDescription";const _wDS = "workspaceDataSources";const _wI = "workspaceId";const _wN = "workspaceName";const _wND = "workspaceNotificationDestinations";const _wOU = "workspaceOrganizationalUnits";const _wRA = "workspaceRoleArn";const _wi = "workspace-id";const _wo = "workspaces";const _x = "xml";const n0 = "com.amazonaws.grafana";const _s_registry = TypeRegistry.for(_s);var GrafanaServiceException$ = [-3, _s, "GrafanaServiceException", 0, [], []];_s_registry.registerError(GrafanaServiceException$, GrafanaServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0], 3];n0_registry.registerError(ConflictException$, ConflictException);var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m, _rAS], [0, [1, { [_hH]: _RA }]], 1];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m, _rI, _rT], [0, 0, 0], 3];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m, _rI, _rT, _sC, _qC], [0, 0, 0, 0, 0], 5];n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m, _sC, _qC, _rAS], [0, 0, 0, [1, { [_hH]: _RA }]], 1];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m, _r, _fL], [0, 0, () => ValidationExceptionFieldList], 2];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [ _s_registry, n0_registry,];var ApiKeyToken = [0, n0, _AKT, 8, 0];var Description = [0, n0, _D, 8, 0];var IamRoleArn = [0, n0, _IRA, 8, 0];var OrganizationRoleName = [0, n0, _ORN, 8, 0];var OverridableConfigurationJson = [0, n0, _OCJ, { [_mT]: _a }, 0];var ServiceAccountTokenKey = [0, n0, _SATK, 8, 0];var WorkspaceName = [0, n0, _WN, 8, 0];var AssertionAttributes$ = [3, n0, _AA, 0, [_n, _l, _em, _g, _ro, _o], [0, 0, 0, 0, 0, 0]];var AssociateLicenseRequest$ = [3, n0, _ALR, 0, [_wI, _lT, _gT], [[0, 1], [0, 1], [0, { [_hH]: _GT }]], 2];var AssociateLicenseResponse$ = [3, n0, _ALRs, 0, [_w], [[() => WorkspaceDescription$, 0]], 1];var AuthenticationDescription$ = [3, n0, _AD, 0, [_p, _sa, _aS], [64 | 0, [() => SamlAuthentication$, 0], () => AwsSsoAuthentication$], 1];var AuthenticationSummary$ = [3, n0, _AS, 0, [_p, _sCS], [64 | 0, 0], 1];var AwsSsoAuthentication$ = [3, n0, _ASA, 0, [_sCI], [0]];var CreateWorkspaceApiKeyRequest$ = [3, n0, _CWAKR, 0, [_kN, _kR, _sTL, _wI], [0, 0, 1, [0, 1]], 4];var CreateWorkspaceApiKeyResponse$ = [3, n0, _CWAKRr, 0, [_kN, _k, _wI], [0, [() => ApiKeyToken, 0], 0], 3];var CreateWorkspaceRequest$ = [3, n0, _CWR, 0, [_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _iAT, _kKI], [0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => NetworkAccessConfiguration$, 0, 0, 0], 3];var CreateWorkspaceResponse$ = [3, n0, _CWRr, 0, [_w], [[() => WorkspaceDescription$, 0]], 1];var CreateWorkspaceServiceAccountRequest$ = [3, n0, _CWSAR, 0, [_n, _gR, _wI], [0, 0, [0, 1]], 3];var CreateWorkspaceServiceAccountResponse$ = [3, n0, _CWSARr, 0, [_i, _n, _gR, _wI], [0, 0, 0, 0], 4];var CreateWorkspaceServiceAccountTokenRequest$ = [3, n0, _CWSATR, 0, [_n, _sTL, _sAI, _wI], [0, 1, [0, 1], [0, 1]], 4];var CreateWorkspaceServiceAccountTokenResponse$ = [3, n0, _CWSATRr, 0, [_sAT, _sAI, _wI], [[() => ServiceAccountTokenSummaryWithKey$, 0], 0, 0], 3];var DeleteWorkspaceApiKeyRequest$ = [3, n0, _DWAKR, 0, [_kN, _wI], [[0, 1], [0, 1]], 2];var DeleteWorkspaceApiKeyResponse$ = [3, n0, _DWAKRe, 0, [_kN, _wI], [0, 0], 2];var DeleteWorkspaceRequest$ = [3, n0, _DWR, 0, [_wI], [[0, 1]], 1];var DeleteWorkspaceResponse$ = [3, n0, _DWRe, 0, [_w], [[() => WorkspaceDescription$, 0]], 1];var DeleteWorkspaceServiceAccountRequest$ = [3, n0, _DWSAR, 0, [_sAI, _wI], [[0, 1], [0, 1]], 2];var DeleteWorkspaceServiceAccountResponse$ = [3, n0, _DWSARe, 0, [_sAI, _wI], [0, 0], 2];var DeleteWorkspaceServiceAccountTokenRequest$ = [3, n0, _DWSATR, 0, [_tI, _sAI, _wI], [[0, 1], [0, 1], [0, 1]], 3];var DeleteWorkspaceServiceAccountTokenResponse$ = [3, n0, _DWSATRe, 0, [_tI, _sAI, _wI], [0, 0, 0], 3];var DescribeWorkspaceAuthenticationRequest$ = [3, n0, _DWAR, 0, [_wI], [[0, 1]], 1];var DescribeWorkspaceAuthenticationResponse$ = [3, n0, _DWARe, 0, [_au], [[() => AuthenticationDescription$, 0]], 1];var DescribeWorkspaceConfigurationRequest$ = [3, n0, _DWCR, 0, [_wI], [[0, 1]], 1];var DescribeWorkspaceConfigurationResponse$ = [3, n0, _DWCRe, 0, [_co, _gV], [[() => OverridableConfigurationJson, 0], 0], 1];var DescribeWorkspaceRequest$ = [3, n0, _DWRes, 0, [_wI], [[0, 1]], 1];var DescribeWorkspaceResponse$ = [3, n0, _DWResc, 0, [_w], [[() => WorkspaceDescription$, 0]], 1];var DisassociateLicenseRequest$ = [3, n0, _DLR, 0, [_wI, _lT], [[0, 1], [0, 1]], 2];var DisassociateLicenseResponse$ = [3, n0, _DLRi, 0, [_w], [[() => WorkspaceDescription$, 0]], 1];var ListPermissionsRequest$ = [3, n0, _LPR, 0, [_wI, _mR, _nT, _uT, _uI, _gI], [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _uT }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _gI }]], 1];var ListPermissionsResponse$ = [3, n0, _LPRi, 0, [_pe, _nT], [() => PermissionEntryList, 0], 1];var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rA], [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];var ListVersionsRequest$ = [3, n0, _LVR, 0, [_mR, _nT, _wI], [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _wi }]]];var ListVersionsResponse$ = [3, n0, _LVRi, 0, [_nT, _gVr], [0, 64 | 0]];var ListWorkspaceServiceAccountsRequest$ = [3, n0, _LWSAR, 0, [_wI, _mR, _nT], [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1];var ListWorkspaceServiceAccountsResponse$ = [3, n0, _LWSARi, 0, [_sA, _wI, _nT], [() => ServiceAccountList, 0, 0], 2];var ListWorkspaceServiceAccountTokensRequest$ = [3, n0, _LWSATR, 0, [_sAI, _wI, _mR, _nT], [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2];var ListWorkspaceServiceAccountTokensResponse$ = [3, n0, _LWSATRi, 0, [_sATe, _sAI, _wI, _nT], [() => ServiceAccountTokenList, 0, 0, 0], 3];var ListWorkspacesRequest$ = [3, n0, _LWR, 0, [_mR, _nT], [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]];var ListWorkspacesResponse$ = [3, n0, _LWRi, 0, [_wo, _nT], [[() => WorkspaceList, 0], 0], 1];var NetworkAccessConfiguration$ = [3, n0, _NAC, 0, [_pLI, _vI], [64 | 0, 64 | 0], 2];var PermissionEntry$ = [3, n0, _PE, 0, [_u, _ro], [() => User$, 0], 2];var RoleValues$ = [3, n0, _RV, 0, [_ed, _ad], [[() => RoleValueList, 0], [() => RoleValueList, 0]]];var SamlAuthentication$ = [3, n0, _SA, 0, [_st, _co], [0, [() => SamlConfiguration$, 0]], 1];var SamlConfiguration$ = [3, n0, _SC, 0, [_iM, _aA, _rV, _aO, _lVD], [() => IdpMetadata$, () => AssertionAttributes$, [() => RoleValues$, 0], 64 | 0, 1], 1];var ServiceAccountSummary$ = [3, n0, _SAS, 0, [_i, _n, _iD, _gR], [0, 0, 0, 0], 4];var ServiceAccountTokenSummary$ = [3, n0, _SATS, 0, [_i, _n, _cA, _eA, _lUA], [0, 0, 4, 4, 4], 4];var ServiceAccountTokenSummaryWithKey$ = [3, n0, _SATSWK, 0, [_i, _n, _k], [0, 0, [() => ServiceAccountTokenKey, 0]], 3];var TagResourceRequest$ = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0], 2];var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];var UntagResourceRequest$ = [3, n0, _URR, 0, [_rA, _tK], [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];var UpdateError$ = [3, n0, _UE, 0, [_cod, _m, _cB], [1, 0, () => UpdateInstruction$], 3];var UpdateInstruction$ = [3, n0, _UI, 0, [_ac, _ro, _us], [0, 0, () => UserList], 3];var UpdatePermissionsRequest$ = [3, n0, _UPR, 0, [_uIB, _wI], [() => UpdateInstructionBatch, [0, 1]], 2];var UpdatePermissionsResponse$ = [3, n0, _UPRp, 0, [_er], [() => UpdateErrorList], 1];var UpdateWorkspaceAuthenticationRequest$ = [3, n0, _UWAR, 0, [_wI, _aP, _sCa], [[0, 1], 64 | 0, [() => SamlConfiguration$, 0]], 2];var UpdateWorkspaceAuthenticationResponse$ = [3, n0, _UWARp, 0, [_au], [[() => AuthenticationDescription$, 0]], 1];var UpdateWorkspaceConfigurationRequest$ = [3, n0, _UWCR, 0, [_co, _wI, _gV], [[() => OverridableConfigurationJson, 0], [0, 1], 0], 2];var UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp, 0, [], []];var UpdateWorkspaceRequest$ = [3, n0, _UWR, 0, [_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC, _iAT], [[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => VpcConfiguration$, 2, () => NetworkAccessConfiguration$, 2, 0], 1];var UpdateWorkspaceResponse$ = [3, n0, _UWRp, 0, [_w], [[() => WorkspaceDescription$, 0]], 1];var User$ = [3, n0, _U, 0, [_i, _ty], [0, 0], 2];var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0], 2];var VpcConfiguration$ = [3, n0, _VC, 0, [_sGI, _sI], [64 | 0, 64 | 0], 2];var WorkspaceDescription$ = [3, n0, _WD, 0, [_cr, _dS, _en, _gV, _i, _mo, _st, _au, _aAT, _d, _n, _oRN, _nD, _oU, _pT, _sSN, _wRA, _lT, _fTC, _lE, _fTE, _t, _vC, _nAC, _gT, _iAT, _kKI, _dWR], [4, 64 | 0, 0, 0, 0, 4, 0, () => AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => VpcConfiguration$, () => NetworkAccessConfiguration$, 0, 0, 0, 0], 8];var WorkspaceSummary$ = [3, n0, _WS, 0, [_cr, _en, _gV, _i, _mo, _st, _au, _d, _n, _nD, _t, _lT, _gT], [4, 0, 0, 0, 4, 0, () => AuthenticationSummary$, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, 128 | 0, 0, 0], 7];var OrganizationalUnitList = [1, n0, _OUL, 8, 0];var PermissionEntryList = [1, n0, _PEL, 0, () => PermissionEntry$];var RoleValueList = [1, n0, _RVL, 8, 0];var ServiceAccountList = [1, n0, _SAL, 0, () => ServiceAccountSummary$];var ServiceAccountTokenList = [1, n0, _SATL, 0, () => ServiceAccountTokenSummary$];var UpdateErrorList = [1, n0, _UEL, 0, () => UpdateError$];var UpdateInstructionBatch = [1, n0, _UIB, 0, () => UpdateInstruction$];var UserList = [1, n0, _UL, 0, () => User$];var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];var WorkspaceList = [1, n0, _WL, 0, [() => WorkspaceSummary$, 0]];var IdpMetadata$ = [4, n0, _IM, 0, [_ur, _x], [0, 0]];var AssociateLicense$ = [9, n0, _AL, { [_h]: ["POST", "/workspaces/{workspaceId}/licenses/{licenseType}", 202] }, () => AssociateLicenseRequest$, () => AssociateLicenseResponse$];var CreateWorkspace$ = [9, n0, _CW, { [_h]: ["POST", "/workspaces", 202] }, () => CreateWorkspaceRequest$, () => CreateWorkspaceResponse$];var CreateWorkspaceApiKey$ = [9, n0, _CWAK, { [_h]: ["POST", "/workspaces/{workspaceId}/apikeys", 200] }, () => CreateWorkspaceApiKeyRequest$, () => CreateWorkspaceApiKeyResponse$];var CreateWorkspaceServiceAccount$ = [9, n0, _CWSA, { [_h]: ["POST", "/workspaces/{workspaceId}/serviceaccounts", 200] }, () => CreateWorkspaceServiceAccountRequest$, () => CreateWorkspaceServiceAccountResponse$];var CreateWorkspaceServiceAccountToken$ = [9, n0, _CWSAT, { [_h]: ["POST", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", 200] }, () => CreateWorkspaceServiceAccountTokenRequest$, () => CreateWorkspaceServiceAccountTokenResponse$];var DeleteWorkspace$ = [9, n0, _DW, { [_h]: ["DELETE", "/workspaces/{workspaceId}", 202] }, () => DeleteWorkspaceRequest$, () => DeleteWorkspaceResponse$];var DeleteWorkspaceApiKey$ = [9, n0, _DWAK, { [_h]: ["DELETE", "/workspaces/{workspaceId}/apikeys/{keyName}", 200] }, () => DeleteWorkspaceApiKeyRequest$, () => DeleteWorkspaceApiKeyResponse$];var DeleteWorkspaceServiceAccount$ = [9, n0, _DWSA, { [_h]: ["DELETE", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}", 200] }, () => DeleteWorkspaceServiceAccountRequest$, () => DeleteWorkspaceServiceAccountResponse$];var DeleteWorkspaceServiceAccountToken$ = [9, n0, _DWSAT, { [_h]: ["DELETE", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}", 200] }, () => DeleteWorkspaceServiceAccountTokenRequest$, () => DeleteWorkspaceServiceAccountTokenResponse$];var DescribeWorkspace$ = [9, n0, _DWe, { [_h]: ["GET", "/workspaces/{workspaceId}", 200] }, () => DescribeWorkspaceRequest$, () => DescribeWorkspaceResponse$];var DescribeWorkspaceAuthentication$ = [9, n0, _DWA, { [_h]: ["GET", "/workspaces/{workspaceId}/authentication", 200] }, () => DescribeWorkspaceAuthenticationRequest$, () => DescribeWorkspaceAuthenticationResponse$];var DescribeWorkspaceConfiguration$ = [9, n0, _DWC, { [_h]: ["GET", "/workspaces/{workspaceId}/configuration", 200] }, () => DescribeWorkspaceConfigurationRequest$, () => DescribeWorkspaceConfigurationResponse$];var DisassociateLicense$ = [9, n0, _DL, { [_h]: ["DELETE", "/workspaces/{workspaceId}/licenses/{licenseType}", 202] }, () => DisassociateLicenseRequest$, () => DisassociateLicenseResponse$];var ListPermissions$ = [9, n0, _LP, { [_h]: ["GET", "/workspaces/{workspaceId}/permissions", 200] }, () => ListPermissionsRequest$, () => ListPermissionsResponse$];var ListTagsForResource$ = [9, n0, _LTFR, { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var ListVersions$ = [9, n0, _LV, { [_h]: ["GET", "/versions", 200] }, () => ListVersionsRequest$, () => ListVersionsResponse$];var ListWorkspaces$ = [9, n0, _LW, { [_h]: ["GET", "/workspaces", 200] }, () => ListWorkspacesRequest$, () => ListWorkspacesResponse$];var ListWorkspaceServiceAccounts$ = [9, n0, _LWSA, { [_h]: ["GET", "/workspaces/{workspaceId}/serviceaccounts", 200] }, () => ListWorkspaceServiceAccountsRequest$, () => ListWorkspaceServiceAccountsResponse$];var ListWorkspaceServiceAccountTokens$ = [9, n0, _LWSAT, { [_h]: ["GET", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", 200] }, () => ListWorkspaceServiceAccountTokensRequest$, () => ListWorkspaceServiceAccountTokensResponse$];var TagResource$ = [9, n0, _TR, { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR, { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdatePermissions$ = [9, n0, _UP, { [_h]: ["PATCH", "/workspaces/{workspaceId}/permissions", 200] }, () => UpdatePermissionsRequest$, () => UpdatePermissionsResponse$];var UpdateWorkspace$ = [9, n0, _UW, { [_h]: ["PUT", "/workspaces/{workspaceId}", 202] }, () => UpdateWorkspaceRequest$, () => UpdateWorkspaceResponse$];var UpdateWorkspaceAuthentication$ = [9, n0, _UWA, { [_h]: ["POST", "/workspaces/{workspaceId}/authentication", 200] }, () => UpdateWorkspaceAuthenticationRequest$, () => UpdateWorkspaceAuthenticationResponse$];var UpdateWorkspaceConfiguration$ = [9, n0, _UWC, { [_h]: ["PUT", "/workspaces/{workspaceId}/configuration", 202] }, () => UpdateWorkspaceConfigurationRequest$, () => UpdateWorkspaceConfigurationResponse$]; const getRuntimeConfig$1 = (config) => { return { apiVersion: "2020-08-18", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultGrafanaHttpAuthSchemeProvider, httpAuthSchemes: config?.httpAuthSchemes ?? [ { schemeId: "aws.auth#sigv4", identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), signer: new AwsSdkSigV4Signer(), }, ], logger: config?.logger ?? new NoOpLogger(), protocol: config?.protocol ?? AwsRestJsonProtocol, protocolSettings: config?.protocolSettings ?? { defaultNamespace: "com.amazonaws.grafana", errorTypeRegistries, version: "2020-08-18", serviceTarget: "AWSGrafanaControlPlane", }, serviceId: config?.serviceId ?? "grafana", sha256: config?.sha256 ?? Sha256, urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, };}; const getRuntimeConfig = (config) => { emitWarningIfUnsupportedVersion(process.version); const defaultsMode = resolveDefaultsModeConfig(config); const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); const clientSharedValues = getRuntimeConfig$1(config); emitWarningIfUnsupportedVersion$1(process.version); const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger, }; return { ...clientSharedValues, ...config, runtime: "node", defaultsMode, authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? loadConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config), streamCollector: config?.streamCollector ?? streamCollector, useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), };}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class GrafanaClient extends Client { config; constructor(...[configuration]) { const _config_0 = getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = resolveUserAgentConfig(_config_1); const _config_3 = resolveRetryConfig(_config_2); const _config_4 = resolveRegionConfig(_config_3); const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveEndpointConfig(_config_5); const _config_7 = resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); this.middlewareStack.use(getLoggerPlugin(this.config)); this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: defaultGrafanaHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} const command = makeBuilder(commonParams, "AWSGrafanaControlPlane", "GrafanaClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class AssociateLicenseCommand extends command(_ep0, _mw0, "AssociateLicense", AssociateLicense$) {} class CreateWorkspaceApiKeyCommand extends command(_ep0, _mw0, "CreateWorkspaceApiKey", CreateWorkspaceApiKey$) {} class CreateWorkspaceCommand extends command(_ep0, _mw0, "CreateWorkspace", CreateWorkspace$) {} class CreateWorkspaceServiceAccountCommand extends command(_ep0, _mw0, "CreateWorkspaceServiceAccount", CreateWorkspaceServiceAccount$) {} class CreateWorkspaceServiceAccountTokenCommand extends command(_ep0, _mw0, "CreateWorkspaceServiceAccountToken", CreateWorkspaceServiceAccountToken$) {} class DeleteWorkspaceApiKeyCommand extends command(_ep0, _mw0, "DeleteWorkspaceApiKey", DeleteWorkspaceApiKey$) {} class DeleteWorkspaceCommand extends command(_ep0, _mw0, "DeleteWorkspace", DeleteWorkspace$) {} class DeleteWorkspaceServiceAccountCommand extends command(_ep0, _mw0, "DeleteWorkspaceServiceAccount", DeleteWorkspaceServiceAccount$) {} class DeleteWorkspaceServiceAccountTokenCommand extends command(_ep0, _mw0, "DeleteWorkspaceServiceAccountToken", DeleteWorkspaceServiceAccountToken$) {} class DescribeWorkspaceAuthenticationCommand extends command(_ep0, _mw0, "DescribeWorkspaceAuthentication", DescribeWorkspaceAuthentication$) {} class DescribeWorkspaceCommand extends command(_ep0, _mw0, "DescribeWorkspace", DescribeWorkspace$) {} class DescribeWorkspaceConfigurationCommand extends command(_ep0, _mw0, "DescribeWorkspaceConfiguration", DescribeWorkspaceConfiguration$) {} class DisassociateLicenseCommand extends command(_ep0, _mw0, "DisassociateLicense", DisassociateLicense$) {} class ListPermissionsCommand extends command(_ep0, _mw0, "ListPermissions", ListPermissions$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class ListVersionsCommand extends command(_ep0, _mw0, "ListVersions", ListVersions$) {} class ListWorkspacesCommand extends command(_ep0, _mw0, "ListWorkspaces", ListWorkspaces$) {} class ListWorkspaceServiceAccountsCommand extends command(_ep0, _mw0, "ListWorkspaceServiceAccounts", ListWorkspaceServiceAccounts$) {} class ListWorkspaceServiceAccountTokensCommand extends command(_ep0, _mw0, "ListWorkspaceServiceAccountTokens", ListWorkspaceServiceAccountTokens$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdatePermissionsCommand extends command(_ep0, _mw0, "UpdatePermissions", UpdatePermissions$) {} class UpdateWorkspaceAuthenticationCommand extends command(_ep0, _mw0, "UpdateWorkspaceAuthentication", UpdateWorkspaceAuthentication$) {} class UpdateWorkspaceCommand extends command(_ep0, _mw0, "UpdateWorkspace", UpdateWorkspace$) {} class UpdateWorkspaceConfigurationCommand extends command(_ep0, _mw0, "UpdateWorkspaceConfiguration", UpdateWorkspaceConfiguration$) {} const paginateListPermissions = createPaginator(GrafanaClient, ListPermissionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListVersions = createPaginator(GrafanaClient, ListVersionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkspaceServiceAccounts = createPaginator(GrafanaClient, ListWorkspaceServiceAccountsCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkspaceServiceAccountTokens = createPaginator(GrafanaClient, ListWorkspaceServiceAccountTokensCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkspaces = createPaginator(GrafanaClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults"); const commands = { AssociateLicenseCommand, CreateWorkspaceCommand, CreateWorkspaceApiKeyCommand, CreateWorkspaceServiceAccountCommand, CreateWorkspaceServiceAccountTokenCommand, DeleteWorkspaceCommand, DeleteWorkspaceApiKeyCommand, DeleteWorkspaceServiceAccountCommand, DeleteWorkspaceServiceAccountTokenCommand, DescribeWorkspaceCommand, DescribeWorkspaceAuthenticationCommand, DescribeWorkspaceConfigurationCommand, DisassociateLicenseCommand, ListPermissionsCommand, ListTagsForResourceCommand, ListVersionsCommand, ListWorkspacesCommand, ListWorkspaceServiceAccountsCommand, ListWorkspaceServiceAccountTokensCommand, TagResourceCommand, UntagResourceCommand, UpdatePermissionsCommand, UpdateWorkspaceCommand, UpdateWorkspaceAuthenticationCommand, UpdateWorkspaceConfigurationCommand,};const paginators = { paginateListPermissions, paginateListVersions, paginateListWorkspaces, paginateListWorkspaceServiceAccounts, paginateListWorkspaceServiceAccountTokens,};class Grafana extends GrafanaClient {}createAggregatedClient(commands, Grafana, { paginators }); const AccountAccessType = { CURRENT_ACCOUNT: "CURRENT_ACCOUNT", ORGANIZATION: "ORGANIZATION",};const ValidationExceptionReason = { CANNOT_PARSE: "CANNOT_PARSE", FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED", OTHER: "OTHER", UNKNOWN_OPERATION: "UNKNOWN_OPERATION",};const LicenseType = { ENTERPRISE: "ENTERPRISE", ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",};const AuthenticationProviderTypes = { AWS_SSO: "AWS_SSO", SAML: "SAML",};const SamlConfigurationStatus = { CONFIGURED: "CONFIGURED", NOT_CONFIGURED: "NOT_CONFIGURED",};const DataSourceType = { AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE", ATHENA: "ATHENA", CLOUDWATCH: "CLOUDWATCH", PROMETHEUS: "PROMETHEUS", REDSHIFT: "REDSHIFT", SITEWISE: "SITEWISE", TIMESTREAM: "TIMESTREAM", TWINMAKER: "TWINMAKER", XRAY: "XRAY",};const IPAddressType = { DUAL_STACK: "DualStack", IPV4: "IPv4",};const NotificationDestinationType = { SNS: "SNS",};const PermissionType = { CUSTOMER_MANAGED: "CUSTOMER_MANAGED", SERVICE_MANAGED: "SERVICE_MANAGED",};const WorkspaceStatus = { ACTIVE: "ACTIVE", CREATING: "CREATING", CREATION_FAILED: "CREATION_FAILED", DEGRADED: "DEGRADED", DELETING: "DELETING", DELETION_FAILED: "DELETION_FAILED", FAILED: "FAILED", LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING", UPGRADE_FAILED: "UPGRADE_FAILED", UPGRADING: "UPGRADING", VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED", VERSION_UPDATING: "VERSION_UPDATING",};const UserType = { SSO_GROUP: "SSO_GROUP", SSO_USER: "SSO_USER",};const Role = { ADMIN: "ADMIN", EDITOR: "EDITOR", VIEWER: "VIEWER",};const UpdateAction = { ADD: "ADD", REVOKE: "REVOKE",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.AccountAccessType = AccountAccessType;exports.AssertionAttributes$ = AssertionAttributes$;exports.AssociateLicense$ = AssociateLicense$;exports.AssociateLicenseCommand = AssociateLicenseCommand;exports.AssociateLicenseRequest$ = AssociateLicenseRequest$;exports.AssociateLicenseResponse$ = AssociateLicenseResponse$;exports.AuthenticationDescription$ = AuthenticationDescription$;exports.AuthenticationProviderTypes = AuthenticationProviderTypes;exports.AuthenticationSummary$ = AuthenticationSummary$;exports.AwsSsoAuthentication$ = AwsSsoAuthentication$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.CreateWorkspace$ = CreateWorkspace$;exports.CreateWorkspaceApiKey$ = CreateWorkspaceApiKey$;exports.CreateWorkspaceApiKeyCommand = CreateWorkspaceApiKeyCommand;exports.CreateWorkspaceApiKeyRequest$ = CreateWorkspaceApiKeyRequest$;exports.CreateWorkspaceApiKeyResponse$ = CreateWorkspaceApiKeyResponse$;exports.CreateWorkspaceCommand = CreateWorkspaceCommand;exports.CreateWorkspaceRequest$ = CreateWorkspaceRequest$;exports.CreateWorkspaceResponse$ = CreateWorkspaceResponse$;exports.CreateWorkspaceServiceAccount$ = CreateWorkspaceServiceAccount$;exports.CreateWorkspaceServiceAccountCommand = CreateWorkspaceServiceAccountCommand;exports.CreateWorkspaceServiceAccountRequest$ = CreateWorkspaceServiceAccountRequest$;exports.CreateWorkspaceServiceAccountResponse$ = CreateWorkspaceServiceAccountResponse$;exports.CreateWorkspaceServiceAccountToken$ = CreateWorkspaceServiceAccountToken$;exports.CreateWorkspaceServiceAccountTokenCommand = CreateWorkspaceServiceAccountTokenCommand;exports.CreateWorkspaceServiceAccountTokenRequest$ = CreateWorkspaceServiceAccountTokenRequest$;exports.CreateWorkspaceServiceAccountTokenResponse$ = CreateWorkspaceServiceAccountTokenResponse$;exports.DataSourceType = DataSourceType;exports.DeleteWorkspace$ = DeleteWorkspace$;exports.DeleteWorkspaceApiKey$ = DeleteWorkspaceApiKey$;exports.DeleteWorkspaceApiKeyCommand = DeleteWorkspaceApiKeyCommand;exports.DeleteWorkspaceApiKeyRequest$ = DeleteWorkspaceApiKeyRequest$;exports.DeleteWorkspaceApiKeyResponse$ = DeleteWorkspaceApiKeyResponse$;exports.DeleteWorkspaceCommand = DeleteWorkspaceCommand;exports.DeleteWorkspaceRequest$ = DeleteWorkspaceRequest$;exports.DeleteWorkspaceResponse$ = DeleteWorkspaceResponse$;exports.DeleteWorkspaceServiceAccount$ = DeleteWorkspaceServiceAccount$;exports.DeleteWorkspaceServiceAccountCommand = DeleteWorkspaceServiceAccountCommand;exports.DeleteWorkspaceServiceAccountRequest$ = DeleteWorkspaceServiceAccountRequest$;exports.DeleteWorkspaceServiceAccountResponse$ = DeleteWorkspaceServiceAccountResponse$;exports.DeleteWorkspaceServiceAccountToken$ = DeleteWorkspaceServiceAccountToken$;exports.DeleteWorkspaceServiceAccountTokenCommand = DeleteWorkspaceServiceAccountTokenCommand;exports.DeleteWorkspaceServiceAccountTokenRequest$ = DeleteWorkspaceServiceAccountTokenRequest$;exports.DeleteWorkspaceServiceAccountTokenResponse$ = DeleteWorkspaceServiceAccountTokenResponse$;exports.DescribeWorkspace$ = DescribeWorkspace$;exports.DescribeWorkspaceAuthentication$ = DescribeWorkspaceAuthentication$;exports.DescribeWorkspaceAuthenticationCommand = DescribeWorkspaceAuthenticationCommand;exports.DescribeWorkspaceAuthenticationRequest$ = DescribeWorkspaceAuthenticationRequest$;exports.DescribeWorkspaceAuthenticationResponse$ = DescribeWorkspaceAuthenticationResponse$;exports.DescribeWorkspaceCommand = DescribeWorkspaceCommand;exports.DescribeWorkspaceConfiguration$ = DescribeWorkspaceConfiguration$;exports.DescribeWorkspaceConfigurationCommand = DescribeWorkspaceConfigurationCommand;exports.DescribeWorkspaceConfigurationRequest$ = DescribeWorkspaceConfigurationRequest$;exports.DescribeWorkspaceConfigurationResponse$ = DescribeWorkspaceConfigurationResponse$;exports.DescribeWorkspaceRequest$ = DescribeWorkspaceRequest$;exports.DescribeWorkspaceResponse$ = DescribeWorkspaceResponse$;exports.DisassociateLicense$ = DisassociateLicense$;exports.DisassociateLicenseCommand = DisassociateLicenseCommand;exports.DisassociateLicenseRequest$ = DisassociateLicenseRequest$;exports.DisassociateLicenseResponse$ = DisassociateLicenseResponse$;exports.Grafana = Grafana;exports.GrafanaClient = GrafanaClient;exports.GrafanaServiceException = GrafanaServiceException;exports.GrafanaServiceException$ = GrafanaServiceException$;exports.IPAddressType = IPAddressType;exports.IdpMetadata$ = IdpMetadata$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.LicenseType = LicenseType;exports.ListPermissions$ = ListPermissions$;exports.ListPermissionsCommand = ListPermissionsCommand;exports.ListPermissionsRequest$ = ListPermissionsRequest$;exports.ListPermissionsResponse$ = ListPermissionsResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.ListVersions$ = ListVersions$;exports.ListVersionsCommand = ListVersionsCommand;exports.ListVersionsRequest$ = ListVersionsRequest$;exports.ListVersionsResponse$ = ListVersionsResponse$;exports.ListWorkspaceServiceAccountTokens$ = ListWorkspaceServiceAccountTokens$;exports.ListWorkspaceServiceAccountTokensCommand = ListWorkspaceServiceAccountTokensCommand;exports.ListWorkspaceServiceAccountTokensRequest$ = ListWorkspaceServiceAccountTokensRequest$;exports.ListWorkspaceServiceAccountTokensResponse$ = ListWorkspaceServiceAccountTokensResponse$;exports.ListWorkspaceServiceAccounts$ = ListWorkspaceServiceAccounts$;exports.ListWorkspaceServiceAccountsCommand = ListWorkspaceServiceAccountsCommand;exports.ListWorkspaceServiceAccountsRequest$ = ListWorkspaceServiceAccountsRequest$;exports.ListWorkspaceServiceAccountsResponse$ = ListWorkspaceServiceAccountsResponse$;exports.ListWorkspaces$ = ListWorkspaces$;exports.ListWorkspacesCommand = ListWorkspacesCommand;exports.ListWorkspacesRequest$ = ListWorkspacesRequest$;exports.ListWorkspacesResponse$ = ListWorkspacesResponse$;exports.NetworkAccessConfiguration$ = NetworkAccessConfiguration$;exports.NotificationDestinationType = NotificationDestinationType;exports.PermissionEntry$ = PermissionEntry$;exports.PermissionType = PermissionType;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.Role = Role;exports.RoleValues$ = RoleValues$;exports.SamlAuthentication$ = SamlAuthentication$;exports.SamlConfiguration$ = SamlConfiguration$;exports.SamlConfigurationStatus = SamlConfigurationStatus;exports.ServiceAccountSummary$ = ServiceAccountSummary$;exports.ServiceAccountTokenSummary$ = ServiceAccountTokenSummary$;exports.ServiceAccountTokenSummaryWithKey$ = ServiceAccountTokenSummaryWithKey$;exports.ServiceQuotaExceededException = ServiceQuotaExceededException;exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateAction = UpdateAction;exports.UpdateError$ = UpdateError$;exports.UpdateInstruction$ = UpdateInstruction$;exports.UpdatePermissions$ = UpdatePermissions$;exports.UpdatePermissionsCommand = UpdatePermissionsCommand;exports.UpdatePermissionsRequest$ = UpdatePermissionsRequest$;exports.UpdatePermissionsResponse$ = UpdatePermissionsResponse$;exports.UpdateWorkspace$ = UpdateWorkspace$;exports.UpdateWorkspaceAuthentication$ = UpdateWorkspaceAuthentication$;exports.UpdateWorkspaceAuthenticationCommand = UpdateWorkspaceAuthenticationCommand;exports.UpdateWorkspaceAuthenticationRequest$ = UpdateWorkspaceAuthenticationRequest$;exports.UpdateWorkspaceAuthenticationResponse$ = UpdateWorkspaceAuthenticationResponse$;exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;exports.UpdateWorkspaceConfiguration$ = UpdateWorkspaceConfiguration$;exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;exports.UpdateWorkspaceConfigurationRequest$ = UpdateWorkspaceConfigurationRequest$;exports.UpdateWorkspaceConfigurationResponse$ = UpdateWorkspaceConfigurationResponse$;exports.UpdateWorkspaceRequest$ = UpdateWorkspaceRequest$;exports.UpdateWorkspaceResponse$ = UpdateWorkspaceResponse$;exports.User$ = User$;exports.UserType = UserType;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.ValidationExceptionField$ = ValidationExceptionField$;exports.ValidationExceptionReason = ValidationExceptionReason;exports.VpcConfiguration$ = VpcConfiguration$;exports.WorkspaceDescription$ = WorkspaceDescription$;exports.WorkspaceStatus = WorkspaceStatus;exports.WorkspaceSummary$ = WorkspaceSummary$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateListPermissions = paginateListPermissions;exports.paginateListVersions = paginateListVersions;exports.paginateListWorkspaceServiceAccountTokens = paginateListWorkspaceServiceAccountTokens;exports.paginateListWorkspaceServiceAccounts = paginateListWorkspaceServiceAccounts;exports.paginateListWorkspaces = paginateListWorkspaces;