@aws-sdk/client-grafana 3.1045.0 → 3.1047.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/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +71 -67
- package/dist-cjs/models/GrafanaServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +7 -6
- package/dist-es/Grafana.js +1 -1
- package/dist-es/GrafanaClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AssociateLicenseCommand.js +2 -2
- package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +2 -2
- package/dist-es/commands/CreateWorkspaceCommand.js +2 -2
- package/dist-es/commands/CreateWorkspaceServiceAccountCommand.js +2 -2
- package/dist-es/commands/CreateWorkspaceServiceAccountTokenCommand.js +2 -2
- package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +2 -2
- package/dist-es/commands/DeleteWorkspaceCommand.js +2 -2
- package/dist-es/commands/DeleteWorkspaceServiceAccountCommand.js +2 -2
- package/dist-es/commands/DeleteWorkspaceServiceAccountTokenCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -2
- package/dist-es/commands/DisassociateLicenseCommand.js +2 -2
- package/dist-es/commands/ListPermissionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListVersionsCommand.js +2 -2
- package/dist-es/commands/ListWorkspaceServiceAccountTokensCommand.js +2 -2
- package/dist-es/commands/ListWorkspaceServiceAccountsCommand.js +2 -2
- package/dist-es/commands/ListWorkspacesCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdatePermissionsCommand.js +2 -2
- package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +2 -2
- package/dist-es/commands/UpdateWorkspaceCommand.js +2 -2
- package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/GrafanaServiceException.js +1 -1
- package/dist-es/models/enums.js +4 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +7 -6
- package/dist-types/GrafanaClient.d.ts +5 -5
- package/dist-types/commands/AssociateLicenseCommand.d.ts +7 -4
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +6 -4
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +8 -4
- package/dist-types/commands/CreateWorkspaceServiceAccountCommand.d.ts +6 -4
- package/dist-types/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +7 -4
- package/dist-types/commands/DeleteWorkspaceServiceAccountCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +6 -4
- package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +6 -4
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +7 -4
- package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateLicenseCommand.d.ts +7 -4
- package/dist-types/commands/ListPermissionsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListVersionsCommand.d.ts +6 -4
- package/dist-types/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +6 -4
- package/dist-types/commands/ListWorkspaceServiceAccountsCommand.d.ts +6 -4
- package/dist-types/commands/ListWorkspacesCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePermissionsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +8 -4
- package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/GrafanaServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +17 -2
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/GrafanaClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AssociateLicenseCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWorkspaceApiKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWorkspaceApiKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeWorkspaceAuthenticationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateLicenseCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePermissionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateWorkspaceAuthenticationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/GrafanaServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -3,18 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
8
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
9
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
12
|
const getRuntimeConfig = (config) => {
|
|
14
13
|
return {
|
|
15
14
|
apiVersion: "2020-08-18",
|
|
16
|
-
base64Decoder: config?.base64Decoder ??
|
|
17
|
-
base64Encoder: config?.base64Encoder ??
|
|
15
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
18
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
18
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
19
|
extensions: config?.extensions ?? [],
|
|
@@ -26,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
26
25
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
26
|
},
|
|
28
27
|
],
|
|
29
|
-
logger: config?.logger ?? new
|
|
28
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
30
29
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
30
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
31
|
defaultNamespace: "com.amazonaws.grafana",
|
|
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
serviceTarget: "AWSGrafanaControlPlane",
|
|
36
35
|
},
|
|
37
36
|
serviceId: config?.serviceId ?? "grafana",
|
|
38
|
-
urlParser: config?.urlParser ??
|
|
39
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
40
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
37
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
38
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
39
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -162,6 +162,7 @@ const _hE = "httpError";
|
|
|
162
162
|
const _hH = "httpHeader";
|
|
163
163
|
const _hQ = "httpQuery";
|
|
164
164
|
const _i = "id";
|
|
165
|
+
const _iAT = "ipAddressType";
|
|
165
166
|
const _iD = "isDisabled";
|
|
166
167
|
const _iM = "idpMetadata";
|
|
167
168
|
const _k = "key";
|
|
@@ -340,8 +341,8 @@ exports.CreateWorkspaceApiKeyResponse$ = [3, n0, _CWAKRr,
|
|
|
340
341
|
];
|
|
341
342
|
exports.CreateWorkspaceRequest$ = [3, n0, _CWR,
|
|
342
343
|
0,
|
|
343
|
-
[_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _kKI],
|
|
344
|
-
[0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => exports.VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => exports.NetworkAccessConfiguration$, 0, 0], 3
|
|
344
|
+
[_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _iAT, _kKI],
|
|
345
|
+
[0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => exports.VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => exports.NetworkAccessConfiguration$, 0, 0, 0], 3
|
|
345
346
|
];
|
|
346
347
|
exports.CreateWorkspaceResponse$ = [3, n0, _CWRr,
|
|
347
348
|
0,
|
|
@@ -610,8 +611,8 @@ exports.UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp,
|
|
|
610
611
|
];
|
|
611
612
|
exports.UpdateWorkspaceRequest$ = [3, n0, _UWR,
|
|
612
613
|
0,
|
|
613
|
-
[_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC],
|
|
614
|
-
[[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => exports.VpcConfiguration$, 2, () => exports.NetworkAccessConfiguration$, 2], 1
|
|
614
|
+
[_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC, _iAT],
|
|
615
|
+
[[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => exports.VpcConfiguration$, 2, () => exports.NetworkAccessConfiguration$, 2, 0], 1
|
|
615
616
|
];
|
|
616
617
|
exports.UpdateWorkspaceResponse$ = [3, n0, _UWRp,
|
|
617
618
|
0,
|
|
@@ -635,8 +636,8 @@ exports.VpcConfiguration$ = [3, n0, _VC,
|
|
|
635
636
|
];
|
|
636
637
|
exports.WorkspaceDescription$ = [3, n0, _WD,
|
|
637
638
|
0,
|
|
638
|
-
[_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, _kKI],
|
|
639
|
-
[4, 64 | 0, 0, 0, 0, 4, 0, () => exports.AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => exports.VpcConfiguration$, () => exports.NetworkAccessConfiguration$, 0, 0], 8
|
|
639
|
+
[_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],
|
|
640
|
+
[4, 64 | 0, 0, 0, 0, 4, 0, () => exports.AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => exports.VpcConfiguration$, () => exports.NetworkAccessConfiguration$, 0, 0, 0], 8
|
|
640
641
|
];
|
|
641
642
|
exports.WorkspaceSummary$ = [3, n0, _WS,
|
|
642
643
|
0,
|
package/dist-es/Grafana.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AssociateLicenseCommand, } from "./commands/AssociateLicenseCommand";
|
|
3
3
|
import { CreateWorkspaceApiKeyCommand, } from "./commands/CreateWorkspaceApiKeyCommand";
|
|
4
4
|
import { CreateWorkspaceCommand, } from "./commands/CreateWorkspaceCommand";
|
package/dist-es/GrafanaClient.js
CHANGED
|
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
2
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
5
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
7
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
9
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
7
11
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultGrafanaHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
14
14
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultGrafanaHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { AssociateLicense$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWorkspaceApiKey$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWorkspace$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWorkspaceServiceAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateWorkspaceServiceAccountToken$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteWorkspaceApiKey$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteWorkspace$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteWorkspaceServiceAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteWorkspaceServiceAccountToken$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeWorkspaceAuthentication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeWorkspace$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeWorkspaceConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DisassociateLicense$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListPermissions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListVersions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListWorkspaceServiceAccountTokens$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListWorkspaceServiceAccounts$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListWorkspaces$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdatePermissions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateWorkspaceAuthentication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateWorkspace$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateWorkspaceConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const k = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class GrafanaServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
4
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
5
8
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
8
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
10
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
11
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
10
|
export const getRuntimeConfig = (config) => {
|
|
13
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
9
|
-
import {
|
|
6
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
14
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
15
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
12
|
export const getRuntimeConfig = (config) => {
|
|
17
13
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
7
6
|
import { defaultGrafanaHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -157,6 +157,7 @@ const _hE = "httpError";
|
|
|
157
157
|
const _hH = "httpHeader";
|
|
158
158
|
const _hQ = "httpQuery";
|
|
159
159
|
const _i = "id";
|
|
160
|
+
const _iAT = "ipAddressType";
|
|
160
161
|
const _iD = "isDisabled";
|
|
161
162
|
const _iM = "idpMetadata";
|
|
162
163
|
const _k = "key";
|
|
@@ -335,8 +336,8 @@ export var CreateWorkspaceApiKeyResponse$ = [3, n0, _CWAKRr,
|
|
|
335
336
|
];
|
|
336
337
|
export var CreateWorkspaceRequest$ = [3, n0, _CWR,
|
|
337
338
|
0,
|
|
338
|
-
[_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _kKI],
|
|
339
|
-
[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], 3
|
|
339
|
+
[_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _iAT, _kKI],
|
|
340
|
+
[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
|
|
340
341
|
];
|
|
341
342
|
export var CreateWorkspaceResponse$ = [3, n0, _CWRr,
|
|
342
343
|
0,
|
|
@@ -605,8 +606,8 @@ export var UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp,
|
|
|
605
606
|
];
|
|
606
607
|
export var UpdateWorkspaceRequest$ = [3, n0, _UWR,
|
|
607
608
|
0,
|
|
608
|
-
[_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC],
|
|
609
|
-
[[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => VpcConfiguration$, 2, () => NetworkAccessConfiguration$, 2], 1
|
|
609
|
+
[_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC, _iAT],
|
|
610
|
+
[[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
|
|
610
611
|
];
|
|
611
612
|
export var UpdateWorkspaceResponse$ = [3, n0, _UWRp,
|
|
612
613
|
0,
|
|
@@ -630,8 +631,8 @@ export var VpcConfiguration$ = [3, n0, _VC,
|
|
|
630
631
|
];
|
|
631
632
|
export var WorkspaceDescription$ = [3, n0, _WD,
|
|
632
633
|
0,
|
|
633
|
-
[_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, _kKI],
|
|
634
|
-
[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], 8
|
|
634
|
+
[_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],
|
|
635
|
+
[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], 8
|
|
635
636
|
];
|
|
636
637
|
export var WorkspaceSummary$ = [3, n0, _WS,
|
|
637
638
|
0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AssociateLicenseCommandInput, AssociateLicenseCommandOutput } from "./commands/AssociateLicenseCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
4
4
|
import type { AssociateLicenseRequest, AssociateLicenseResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface AssociateLicenseCommandInput extends AssociateLicenseRequest {
|
|
|
22
22
|
export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const AssociateLicenseCommand_base: {
|
|
25
|
-
new (input: AssociateLicenseCommandInput): import("@smithy/
|
|
26
|
-
new (input: AssociateLicenseCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: AssociateLicenseCommandInput): import("@smithy/core/client").CommandImpl<AssociateLicenseCommandInput, AssociateLicenseCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateLicenseCommandInput): import("@smithy/core/client").CommandImpl<AssociateLicenseCommandInput, AssociateLicenseCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Assigns a Grafana Enterprise license to a workspace. To upgrade, you must use <code>ENTERPRISE</code> for the <code>licenseType</code>, and pass in a valid Grafana Labs token for the <code>grafanaToken</code>. Upgrading to Grafana Enterprise incurs additional fees. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html">Upgrade a workspace to Grafana Enterprise</a>.</p>
|
|
@@ -97,6 +99,7 @@ declare const AssociateLicenseCommand_base: {
|
|
|
97
99
|
* // ],
|
|
98
100
|
* // },
|
|
99
101
|
* // grafanaToken: "STRING_VALUE",
|
|
102
|
+
* // ipAddressType: "STRING_VALUE",
|
|
100
103
|
* // kmsKeyId: "STRING_VALUE",
|
|
101
104
|
* // },
|
|
102
105
|
* // };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
4
4
|
import type { CreateWorkspaceApiKeyRequest, CreateWorkspaceApiKeyResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateWorkspaceApiKeyCommandInput extends CreateWorkspaceApiKey
|
|
|
22
22
|
export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKeyResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateWorkspaceApiKeyCommand_base: {
|
|
25
|
-
new (input: CreateWorkspaceApiKeyCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateWorkspaceApiKeyCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateWorkspaceApiKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWorkspaceApiKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a Grafana API key for the workspace. This key can be used to authenticate requests sent to the workspace's HTTP API. See <a href="https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html">https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html</a> for available APIs and example requests.</p> <note> <p>In workspaces compatible with Grafana version 9 or above, use workspace service accounts instead of API keys. API keys will be removed in a future release.</p> </note>
|