@aws-sdk/client-grafana 3.1075.0 → 3.1076.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/index.js +1164 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/GrafanaServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -115
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -842
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
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");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultGrafanaHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "grafana",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultGrafanaHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1007 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://grafana-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://grafana-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://grafana.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://grafana.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class GrafanaServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, GrafanaServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends GrafanaServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "AccessDeniedException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class ConflictException extends GrafanaServiceException {
|
|
152
|
+
name = "ConflictException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
resourceId;
|
|
155
|
+
resourceType;
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "ConflictException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
163
|
+
this.resourceId = opts.resourceId;
|
|
164
|
+
this.resourceType = opts.resourceType;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class InternalServerException extends GrafanaServiceException {
|
|
168
|
+
name = "InternalServerException";
|
|
169
|
+
$fault = "server";
|
|
170
|
+
$retryable = {};
|
|
171
|
+
retryAfterSeconds;
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "InternalServerException",
|
|
175
|
+
$fault: "server",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
179
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
class ResourceNotFoundException extends GrafanaServiceException {
|
|
183
|
+
name = "ResourceNotFoundException";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
resourceId;
|
|
186
|
+
resourceType;
|
|
187
|
+
constructor(opts) {
|
|
188
|
+
super({
|
|
189
|
+
name: "ResourceNotFoundException",
|
|
190
|
+
$fault: "client",
|
|
191
|
+
...opts,
|
|
192
|
+
});
|
|
193
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
194
|
+
this.resourceId = opts.resourceId;
|
|
195
|
+
this.resourceType = opts.resourceType;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
class ServiceQuotaExceededException extends GrafanaServiceException {
|
|
199
|
+
name = "ServiceQuotaExceededException";
|
|
200
|
+
$fault = "client";
|
|
201
|
+
resourceId;
|
|
202
|
+
resourceType;
|
|
203
|
+
serviceCode;
|
|
204
|
+
quotaCode;
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "ServiceQuotaExceededException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
212
|
+
this.resourceId = opts.resourceId;
|
|
213
|
+
this.resourceType = opts.resourceType;
|
|
214
|
+
this.serviceCode = opts.serviceCode;
|
|
215
|
+
this.quotaCode = opts.quotaCode;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
class ThrottlingException extends GrafanaServiceException {
|
|
219
|
+
name = "ThrottlingException";
|
|
220
|
+
$fault = "client";
|
|
221
|
+
$retryable = {};
|
|
222
|
+
serviceCode;
|
|
223
|
+
quotaCode;
|
|
224
|
+
retryAfterSeconds;
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "ThrottlingException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
232
|
+
this.serviceCode = opts.serviceCode;
|
|
233
|
+
this.quotaCode = opts.quotaCode;
|
|
234
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
class ValidationException extends GrafanaServiceException {
|
|
238
|
+
name = "ValidationException";
|
|
239
|
+
$fault = "client";
|
|
240
|
+
reason;
|
|
241
|
+
fieldList;
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "ValidationException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts,
|
|
247
|
+
});
|
|
248
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
249
|
+
this.reason = opts.reason;
|
|
250
|
+
this.fieldList = opts.fieldList;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
const _AA = "AssertionAttributes";
|
|
255
|
+
const _AD = "AuthenticationDescription";
|
|
256
|
+
const _ADE = "AccessDeniedException";
|
|
257
|
+
const _AKT = "ApiKeyToken";
|
|
258
|
+
const _AL = "AssociateLicense";
|
|
259
|
+
const _ALR = "AssociateLicenseRequest";
|
|
260
|
+
const _ALRs = "AssociateLicenseResponse";
|
|
261
|
+
const _AS = "AuthenticationSummary";
|
|
262
|
+
const _ASA = "AwsSsoAuthentication";
|
|
263
|
+
const _CE = "ConflictException";
|
|
264
|
+
const _CW = "CreateWorkspace";
|
|
265
|
+
const _CWAK = "CreateWorkspaceApiKey";
|
|
266
|
+
const _CWAKR = "CreateWorkspaceApiKeyRequest";
|
|
267
|
+
const _CWAKRr = "CreateWorkspaceApiKeyResponse";
|
|
268
|
+
const _CWR = "CreateWorkspaceRequest";
|
|
269
|
+
const _CWRr = "CreateWorkspaceResponse";
|
|
270
|
+
const _CWSA = "CreateWorkspaceServiceAccount";
|
|
271
|
+
const _CWSAR = "CreateWorkspaceServiceAccountRequest";
|
|
272
|
+
const _CWSARr = "CreateWorkspaceServiceAccountResponse";
|
|
273
|
+
const _CWSAT = "CreateWorkspaceServiceAccountToken";
|
|
274
|
+
const _CWSATR = "CreateWorkspaceServiceAccountTokenRequest";
|
|
275
|
+
const _CWSATRr = "CreateWorkspaceServiceAccountTokenResponse";
|
|
276
|
+
const _D = "Description";
|
|
277
|
+
const _DL = "DisassociateLicense";
|
|
278
|
+
const _DLR = "DisassociateLicenseRequest";
|
|
279
|
+
const _DLRi = "DisassociateLicenseResponse";
|
|
280
|
+
const _DW = "DeleteWorkspace";
|
|
281
|
+
const _DWA = "DescribeWorkspaceAuthentication";
|
|
282
|
+
const _DWAK = "DeleteWorkspaceApiKey";
|
|
283
|
+
const _DWAKR = "DeleteWorkspaceApiKeyRequest";
|
|
284
|
+
const _DWAKRe = "DeleteWorkspaceApiKeyResponse";
|
|
285
|
+
const _DWAR = "DescribeWorkspaceAuthenticationRequest";
|
|
286
|
+
const _DWARe = "DescribeWorkspaceAuthenticationResponse";
|
|
287
|
+
const _DWC = "DescribeWorkspaceConfiguration";
|
|
288
|
+
const _DWCR = "DescribeWorkspaceConfigurationRequest";
|
|
289
|
+
const _DWCRe = "DescribeWorkspaceConfigurationResponse";
|
|
290
|
+
const _DWR = "DeleteWorkspaceRequest";
|
|
291
|
+
const _DWRe = "DeleteWorkspaceResponse";
|
|
292
|
+
const _DWRes = "DescribeWorkspaceRequest";
|
|
293
|
+
const _DWResc = "DescribeWorkspaceResponse";
|
|
294
|
+
const _DWSA = "DeleteWorkspaceServiceAccount";
|
|
295
|
+
const _DWSAR = "DeleteWorkspaceServiceAccountRequest";
|
|
296
|
+
const _DWSARe = "DeleteWorkspaceServiceAccountResponse";
|
|
297
|
+
const _DWSAT = "DeleteWorkspaceServiceAccountToken";
|
|
298
|
+
const _DWSATR = "DeleteWorkspaceServiceAccountTokenRequest";
|
|
299
|
+
const _DWSATRe = "DeleteWorkspaceServiceAccountTokenResponse";
|
|
300
|
+
const _DWe = "DescribeWorkspace";
|
|
301
|
+
const _GT = "Grafana-Token";
|
|
302
|
+
const _IM = "IdpMetadata";
|
|
303
|
+
const _IRA = "IamRoleArn";
|
|
304
|
+
const _ISE = "InternalServerException";
|
|
305
|
+
const _LP = "ListPermissions";
|
|
306
|
+
const _LPR = "ListPermissionsRequest";
|
|
307
|
+
const _LPRi = "ListPermissionsResponse";
|
|
308
|
+
const _LTFR = "ListTagsForResource";
|
|
309
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
310
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
311
|
+
const _LV = "ListVersions";
|
|
312
|
+
const _LVR = "ListVersionsRequest";
|
|
313
|
+
const _LVRi = "ListVersionsResponse";
|
|
314
|
+
const _LW = "ListWorkspaces";
|
|
315
|
+
const _LWR = "ListWorkspacesRequest";
|
|
316
|
+
const _LWRi = "ListWorkspacesResponse";
|
|
317
|
+
const _LWSA = "ListWorkspaceServiceAccounts";
|
|
318
|
+
const _LWSAR = "ListWorkspaceServiceAccountsRequest";
|
|
319
|
+
const _LWSARi = "ListWorkspaceServiceAccountsResponse";
|
|
320
|
+
const _LWSAT = "ListWorkspaceServiceAccountTokens";
|
|
321
|
+
const _LWSATR = "ListWorkspaceServiceAccountTokensRequest";
|
|
322
|
+
const _LWSATRi = "ListWorkspaceServiceAccountTokensResponse";
|
|
323
|
+
const _NAC = "NetworkAccessConfiguration";
|
|
324
|
+
const _OCJ = "OverridableConfigurationJson";
|
|
325
|
+
const _ORN = "OrganizationRoleName";
|
|
326
|
+
const _OUL = "OrganizationalUnitList";
|
|
327
|
+
const _PE = "PermissionEntry";
|
|
328
|
+
const _PEL = "PermissionEntryList";
|
|
329
|
+
const _RA = "Retry-After";
|
|
330
|
+
const _RNFE = "ResourceNotFoundException";
|
|
331
|
+
const _RV = "RoleValues";
|
|
332
|
+
const _RVL = "RoleValueList";
|
|
333
|
+
const _SA = "SamlAuthentication";
|
|
334
|
+
const _SAL = "ServiceAccountList";
|
|
335
|
+
const _SAS = "ServiceAccountSummary";
|
|
336
|
+
const _SATK = "ServiceAccountTokenKey";
|
|
337
|
+
const _SATL = "ServiceAccountTokenList";
|
|
338
|
+
const _SATS = "ServiceAccountTokenSummary";
|
|
339
|
+
const _SATSWK = "ServiceAccountTokenSummaryWithKey";
|
|
340
|
+
const _SC = "SamlConfiguration";
|
|
341
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
342
|
+
const _TE = "ThrottlingException";
|
|
343
|
+
const _TR = "TagResource";
|
|
344
|
+
const _TRR = "TagResourceRequest";
|
|
345
|
+
const _TRRa = "TagResourceResponse";
|
|
346
|
+
const _U = "User";
|
|
347
|
+
const _UE = "UpdateError";
|
|
348
|
+
const _UEL = "UpdateErrorList";
|
|
349
|
+
const _UI = "UpdateInstruction";
|
|
350
|
+
const _UIB = "UpdateInstructionBatch";
|
|
351
|
+
const _UL = "UserList";
|
|
352
|
+
const _UP = "UpdatePermissions";
|
|
353
|
+
const _UPR = "UpdatePermissionsRequest";
|
|
354
|
+
const _UPRp = "UpdatePermissionsResponse";
|
|
355
|
+
const _UR = "UntagResource";
|
|
356
|
+
const _URR = "UntagResourceRequest";
|
|
357
|
+
const _URRn = "UntagResourceResponse";
|
|
358
|
+
const _UW = "UpdateWorkspace";
|
|
359
|
+
const _UWA = "UpdateWorkspaceAuthentication";
|
|
360
|
+
const _UWAR = "UpdateWorkspaceAuthenticationRequest";
|
|
361
|
+
const _UWARp = "UpdateWorkspaceAuthenticationResponse";
|
|
362
|
+
const _UWC = "UpdateWorkspaceConfiguration";
|
|
363
|
+
const _UWCR = "UpdateWorkspaceConfigurationRequest";
|
|
364
|
+
const _UWCRp = "UpdateWorkspaceConfigurationResponse";
|
|
365
|
+
const _UWR = "UpdateWorkspaceRequest";
|
|
366
|
+
const _UWRp = "UpdateWorkspaceResponse";
|
|
367
|
+
const _VC = "VpcConfiguration";
|
|
368
|
+
const _VE = "ValidationException";
|
|
369
|
+
const _VEF = "ValidationExceptionField";
|
|
370
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
371
|
+
const _WD = "WorkspaceDescription";
|
|
372
|
+
const _WL = "WorkspaceList";
|
|
373
|
+
const _WN = "WorkspaceName";
|
|
374
|
+
const _WS = "WorkspaceSummary";
|
|
375
|
+
const _a = "application/json";
|
|
376
|
+
const _aA = "assertionAttributes";
|
|
377
|
+
const _aAT = "accountAccessType";
|
|
378
|
+
const _aO = "allowedOrganizations";
|
|
379
|
+
const _aP = "authenticationProviders";
|
|
380
|
+
const _aS = "awsSso";
|
|
381
|
+
const _ac = "action";
|
|
382
|
+
const _ad = "admin";
|
|
383
|
+
const _au = "authentication";
|
|
384
|
+
const _c = "client";
|
|
385
|
+
const _cA = "createdAt";
|
|
386
|
+
const _cB = "causedBy";
|
|
387
|
+
const _cT = "clientToken";
|
|
388
|
+
const _co = "configuration";
|
|
389
|
+
const _cod = "code";
|
|
390
|
+
const _cr = "created";
|
|
391
|
+
const _d = "description";
|
|
392
|
+
const _dS = "dataSources";
|
|
393
|
+
const _dWR = "degradedWorkspaceReason";
|
|
394
|
+
const _e = "error";
|
|
395
|
+
const _eA = "expiresAt";
|
|
396
|
+
const _ed = "editor";
|
|
397
|
+
const _em = "email";
|
|
398
|
+
const _en = "endpoint";
|
|
399
|
+
const _er = "errors";
|
|
400
|
+
const _fL = "fieldList";
|
|
401
|
+
const _fTC = "freeTrialConsumed";
|
|
402
|
+
const _fTE = "freeTrialExpiration";
|
|
403
|
+
const _g = "groups";
|
|
404
|
+
const _gI = "groupId";
|
|
405
|
+
const _gR = "grafanaRole";
|
|
406
|
+
const _gT = "grafanaToken";
|
|
407
|
+
const _gV = "grafanaVersion";
|
|
408
|
+
const _gVr = "grafanaVersions";
|
|
409
|
+
const _h = "http";
|
|
410
|
+
const _hE = "httpError";
|
|
411
|
+
const _hH = "httpHeader";
|
|
412
|
+
const _hQ = "httpQuery";
|
|
413
|
+
const _i = "id";
|
|
414
|
+
const _iAT = "ipAddressType";
|
|
415
|
+
const _iD = "isDisabled";
|
|
416
|
+
const _iM = "idpMetadata";
|
|
417
|
+
const _k = "key";
|
|
418
|
+
const _kKI = "kmsKeyId";
|
|
419
|
+
const _kN = "keyName";
|
|
420
|
+
const _kR = "keyRole";
|
|
421
|
+
const _l = "login";
|
|
422
|
+
const _lE = "licenseExpiration";
|
|
423
|
+
const _lT = "licenseType";
|
|
424
|
+
const _lUA = "lastUsedAt";
|
|
425
|
+
const _lVD = "loginValidityDuration";
|
|
426
|
+
const _m = "message";
|
|
427
|
+
const _mR = "maxResults";
|
|
428
|
+
const _mT = "mediaType";
|
|
429
|
+
const _mo = "modified";
|
|
430
|
+
const _n = "name";
|
|
431
|
+
const _nAC = "networkAccessControl";
|
|
432
|
+
const _nD = "notificationDestinations";
|
|
433
|
+
const _nT = "nextToken";
|
|
434
|
+
const _o = "org";
|
|
435
|
+
const _oRN = "organizationRoleName";
|
|
436
|
+
const _oU = "organizationalUnits";
|
|
437
|
+
const _p = "providers";
|
|
438
|
+
const _pLI = "prefixListIds";
|
|
439
|
+
const _pT = "permissionType";
|
|
440
|
+
const _pe = "permissions";
|
|
441
|
+
const _qC = "quotaCode";
|
|
442
|
+
const _r = "reason";
|
|
443
|
+
const _rA = "resourceArn";
|
|
444
|
+
const _rAS = "retryAfterSeconds";
|
|
445
|
+
const _rI = "resourceId";
|
|
446
|
+
const _rNAC = "removeNetworkAccessConfiguration";
|
|
447
|
+
const _rT = "resourceType";
|
|
448
|
+
const _rV = "roleValues";
|
|
449
|
+
const _rVC = "removeVpcConfiguration";
|
|
450
|
+
const _ro = "role";
|
|
451
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.grafana";
|
|
452
|
+
const _sA = "serviceAccounts";
|
|
453
|
+
const _sAI = "serviceAccountId";
|
|
454
|
+
const _sAT = "serviceAccountToken";
|
|
455
|
+
const _sATe = "serviceAccountTokens";
|
|
456
|
+
const _sC = "serviceCode";
|
|
457
|
+
const _sCI = "ssoClientId";
|
|
458
|
+
const _sCS = "samlConfigurationStatus";
|
|
459
|
+
const _sCa = "samlConfiguration";
|
|
460
|
+
const _sGI = "securityGroupIds";
|
|
461
|
+
const _sI = "subnetIds";
|
|
462
|
+
const _sSN = "stackSetName";
|
|
463
|
+
const _sTL = "secondsToLive";
|
|
464
|
+
const _sa = "saml";
|
|
465
|
+
const _se = "server";
|
|
466
|
+
const _st = "status";
|
|
467
|
+
const _t = "tags";
|
|
468
|
+
const _tI = "tokenId";
|
|
469
|
+
const _tK = "tagKeys";
|
|
470
|
+
const _ty = "type";
|
|
471
|
+
const _u = "user";
|
|
472
|
+
const _uI = "userId";
|
|
473
|
+
const _uIB = "updateInstructionBatch";
|
|
474
|
+
const _uT = "userType";
|
|
475
|
+
const _ur = "url";
|
|
476
|
+
const _us = "users";
|
|
477
|
+
const _vC = "vpcConfiguration";
|
|
478
|
+
const _vI = "vpceIds";
|
|
479
|
+
const _w = "workspace";
|
|
480
|
+
const _wD = "workspaceDescription";
|
|
481
|
+
const _wDS = "workspaceDataSources";
|
|
482
|
+
const _wI = "workspaceId";
|
|
483
|
+
const _wN = "workspaceName";
|
|
484
|
+
const _wND = "workspaceNotificationDestinations";
|
|
485
|
+
const _wOU = "workspaceOrganizationalUnits";
|
|
486
|
+
const _wRA = "workspaceRoleArn";
|
|
487
|
+
const _wi = "workspace-id";
|
|
488
|
+
const _wo = "workspaces";
|
|
489
|
+
const _x = "xml";
|
|
490
|
+
const n0 = "com.amazonaws.grafana";
|
|
491
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
492
|
+
var GrafanaServiceException$ = [-3, _s, "GrafanaServiceException", 0, [], []];
|
|
493
|
+
_s_registry.registerError(GrafanaServiceException$, GrafanaServiceException);
|
|
494
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
495
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
496
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
497
|
+
[_m],
|
|
498
|
+
[0], 1
|
|
499
|
+
];
|
|
500
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
501
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
502
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
503
|
+
[_m, _rI, _rT],
|
|
504
|
+
[0, 0, 0], 3
|
|
505
|
+
];
|
|
506
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
507
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
508
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
509
|
+
[_m, _rAS],
|
|
510
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
511
|
+
];
|
|
512
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
513
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
514
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
515
|
+
[_m, _rI, _rT],
|
|
516
|
+
[0, 0, 0], 3
|
|
517
|
+
];
|
|
518
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
519
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
520
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
521
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
522
|
+
[0, 0, 0, 0, 0], 5
|
|
523
|
+
];
|
|
524
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
525
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
526
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
527
|
+
[_m, _sC, _qC, _rAS],
|
|
528
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
529
|
+
];
|
|
530
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
531
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
532
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
533
|
+
[_m, _r, _fL],
|
|
534
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
535
|
+
];
|
|
536
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
537
|
+
const errorTypeRegistries = [
|
|
538
|
+
_s_registry,
|
|
539
|
+
n0_registry,
|
|
540
|
+
];
|
|
541
|
+
var ApiKeyToken = [0, n0, _AKT, 8, 0];
|
|
542
|
+
var Description = [0, n0, _D, 8, 0];
|
|
543
|
+
var IamRoleArn = [0, n0, _IRA, 8, 0];
|
|
544
|
+
var OrganizationRoleName = [0, n0, _ORN, 8, 0];
|
|
545
|
+
var OverridableConfigurationJson = [0, n0, _OCJ, { [_mT]: _a }, 0];
|
|
546
|
+
var ServiceAccountTokenKey = [0, n0, _SATK, 8, 0];
|
|
547
|
+
var WorkspaceName = [0, n0, _WN, 8, 0];
|
|
548
|
+
var AssertionAttributes$ = [3, n0, _AA,
|
|
549
|
+
0,
|
|
550
|
+
[_n, _l, _em, _g, _ro, _o],
|
|
551
|
+
[0, 0, 0, 0, 0, 0]
|
|
552
|
+
];
|
|
553
|
+
var AssociateLicenseRequest$ = [3, n0, _ALR,
|
|
554
|
+
0,
|
|
555
|
+
[_wI, _lT, _gT],
|
|
556
|
+
[[0, 1], [0, 1], [0, { [_hH]: _GT }]], 2
|
|
557
|
+
];
|
|
558
|
+
var AssociateLicenseResponse$ = [3, n0, _ALRs,
|
|
559
|
+
0,
|
|
560
|
+
[_w],
|
|
561
|
+
[[() => WorkspaceDescription$, 0]], 1
|
|
562
|
+
];
|
|
563
|
+
var AuthenticationDescription$ = [3, n0, _AD,
|
|
564
|
+
0,
|
|
565
|
+
[_p, _sa, _aS],
|
|
566
|
+
[64 | 0, [() => SamlAuthentication$, 0], () => AwsSsoAuthentication$], 1
|
|
567
|
+
];
|
|
568
|
+
var AuthenticationSummary$ = [3, n0, _AS,
|
|
569
|
+
0,
|
|
570
|
+
[_p, _sCS],
|
|
571
|
+
[64 | 0, 0], 1
|
|
572
|
+
];
|
|
573
|
+
var AwsSsoAuthentication$ = [3, n0, _ASA,
|
|
574
|
+
0,
|
|
575
|
+
[_sCI],
|
|
576
|
+
[0]
|
|
577
|
+
];
|
|
578
|
+
var CreateWorkspaceApiKeyRequest$ = [3, n0, _CWAKR,
|
|
579
|
+
0,
|
|
580
|
+
[_kN, _kR, _sTL, _wI],
|
|
581
|
+
[0, 0, 1, [0, 1]], 4
|
|
582
|
+
];
|
|
583
|
+
var CreateWorkspaceApiKeyResponse$ = [3, n0, _CWAKRr,
|
|
584
|
+
0,
|
|
585
|
+
[_kN, _k, _wI],
|
|
586
|
+
[0, [() => ApiKeyToken, 0], 0], 3
|
|
587
|
+
];
|
|
588
|
+
var CreateWorkspaceRequest$ = [3, n0, _CWR,
|
|
589
|
+
0,
|
|
590
|
+
[_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _iAT, _kKI],
|
|
591
|
+
[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
|
|
592
|
+
];
|
|
593
|
+
var CreateWorkspaceResponse$ = [3, n0, _CWRr,
|
|
594
|
+
0,
|
|
595
|
+
[_w],
|
|
596
|
+
[[() => WorkspaceDescription$, 0]], 1
|
|
597
|
+
];
|
|
598
|
+
var CreateWorkspaceServiceAccountRequest$ = [3, n0, _CWSAR,
|
|
599
|
+
0,
|
|
600
|
+
[_n, _gR, _wI],
|
|
601
|
+
[0, 0, [0, 1]], 3
|
|
602
|
+
];
|
|
603
|
+
var CreateWorkspaceServiceAccountResponse$ = [3, n0, _CWSARr,
|
|
604
|
+
0,
|
|
605
|
+
[_i, _n, _gR, _wI],
|
|
606
|
+
[0, 0, 0, 0], 4
|
|
607
|
+
];
|
|
608
|
+
var CreateWorkspaceServiceAccountTokenRequest$ = [3, n0, _CWSATR,
|
|
609
|
+
0,
|
|
610
|
+
[_n, _sTL, _sAI, _wI],
|
|
611
|
+
[0, 1, [0, 1], [0, 1]], 4
|
|
612
|
+
];
|
|
613
|
+
var CreateWorkspaceServiceAccountTokenResponse$ = [3, n0, _CWSATRr,
|
|
614
|
+
0,
|
|
615
|
+
[_sAT, _sAI, _wI],
|
|
616
|
+
[[() => ServiceAccountTokenSummaryWithKey$, 0], 0, 0], 3
|
|
617
|
+
];
|
|
618
|
+
var DeleteWorkspaceApiKeyRequest$ = [3, n0, _DWAKR,
|
|
619
|
+
0,
|
|
620
|
+
[_kN, _wI],
|
|
621
|
+
[[0, 1], [0, 1]], 2
|
|
622
|
+
];
|
|
623
|
+
var DeleteWorkspaceApiKeyResponse$ = [3, n0, _DWAKRe,
|
|
624
|
+
0,
|
|
625
|
+
[_kN, _wI],
|
|
626
|
+
[0, 0], 2
|
|
627
|
+
];
|
|
628
|
+
var DeleteWorkspaceRequest$ = [3, n0, _DWR,
|
|
629
|
+
0,
|
|
630
|
+
[_wI],
|
|
631
|
+
[[0, 1]], 1
|
|
632
|
+
];
|
|
633
|
+
var DeleteWorkspaceResponse$ = [3, n0, _DWRe,
|
|
634
|
+
0,
|
|
635
|
+
[_w],
|
|
636
|
+
[[() => WorkspaceDescription$, 0]], 1
|
|
637
|
+
];
|
|
638
|
+
var DeleteWorkspaceServiceAccountRequest$ = [3, n0, _DWSAR,
|
|
639
|
+
0,
|
|
640
|
+
[_sAI, _wI],
|
|
641
|
+
[[0, 1], [0, 1]], 2
|
|
642
|
+
];
|
|
643
|
+
var DeleteWorkspaceServiceAccountResponse$ = [3, n0, _DWSARe,
|
|
644
|
+
0,
|
|
645
|
+
[_sAI, _wI],
|
|
646
|
+
[0, 0], 2
|
|
647
|
+
];
|
|
648
|
+
var DeleteWorkspaceServiceAccountTokenRequest$ = [3, n0, _DWSATR,
|
|
649
|
+
0,
|
|
650
|
+
[_tI, _sAI, _wI],
|
|
651
|
+
[[0, 1], [0, 1], [0, 1]], 3
|
|
652
|
+
];
|
|
653
|
+
var DeleteWorkspaceServiceAccountTokenResponse$ = [3, n0, _DWSATRe,
|
|
654
|
+
0,
|
|
655
|
+
[_tI, _sAI, _wI],
|
|
656
|
+
[0, 0, 0], 3
|
|
657
|
+
];
|
|
658
|
+
var DescribeWorkspaceAuthenticationRequest$ = [3, n0, _DWAR,
|
|
659
|
+
0,
|
|
660
|
+
[_wI],
|
|
661
|
+
[[0, 1]], 1
|
|
662
|
+
];
|
|
663
|
+
var DescribeWorkspaceAuthenticationResponse$ = [3, n0, _DWARe,
|
|
664
|
+
0,
|
|
665
|
+
[_au],
|
|
666
|
+
[[() => AuthenticationDescription$, 0]], 1
|
|
667
|
+
];
|
|
668
|
+
var DescribeWorkspaceConfigurationRequest$ = [3, n0, _DWCR,
|
|
669
|
+
0,
|
|
670
|
+
[_wI],
|
|
671
|
+
[[0, 1]], 1
|
|
672
|
+
];
|
|
673
|
+
var DescribeWorkspaceConfigurationResponse$ = [3, n0, _DWCRe,
|
|
674
|
+
0,
|
|
675
|
+
[_co, _gV],
|
|
676
|
+
[[() => OverridableConfigurationJson, 0], 0], 1
|
|
677
|
+
];
|
|
678
|
+
var DescribeWorkspaceRequest$ = [3, n0, _DWRes,
|
|
679
|
+
0,
|
|
680
|
+
[_wI],
|
|
681
|
+
[[0, 1]], 1
|
|
682
|
+
];
|
|
683
|
+
var DescribeWorkspaceResponse$ = [3, n0, _DWResc,
|
|
684
|
+
0,
|
|
685
|
+
[_w],
|
|
686
|
+
[[() => WorkspaceDescription$, 0]], 1
|
|
687
|
+
];
|
|
688
|
+
var DisassociateLicenseRequest$ = [3, n0, _DLR,
|
|
689
|
+
0,
|
|
690
|
+
[_wI, _lT],
|
|
691
|
+
[[0, 1], [0, 1]], 2
|
|
692
|
+
];
|
|
693
|
+
var DisassociateLicenseResponse$ = [3, n0, _DLRi,
|
|
694
|
+
0,
|
|
695
|
+
[_w],
|
|
696
|
+
[[() => WorkspaceDescription$, 0]], 1
|
|
697
|
+
];
|
|
698
|
+
var ListPermissionsRequest$ = [3, n0, _LPR,
|
|
699
|
+
0,
|
|
700
|
+
[_wI, _mR, _nT, _uT, _uI, _gI],
|
|
701
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _uT }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _gI }]], 1
|
|
702
|
+
];
|
|
703
|
+
var ListPermissionsResponse$ = [3, n0, _LPRi,
|
|
704
|
+
0,
|
|
705
|
+
[_pe, _nT],
|
|
706
|
+
[() => PermissionEntryList, 0], 1
|
|
707
|
+
];
|
|
708
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
709
|
+
0,
|
|
710
|
+
[_rA],
|
|
711
|
+
[[0, 1]], 1
|
|
712
|
+
];
|
|
713
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
714
|
+
0,
|
|
715
|
+
[_t],
|
|
716
|
+
[128 | 0]
|
|
717
|
+
];
|
|
718
|
+
var ListVersionsRequest$ = [3, n0, _LVR,
|
|
719
|
+
0,
|
|
720
|
+
[_mR, _nT, _wI],
|
|
721
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _wi }]]
|
|
722
|
+
];
|
|
723
|
+
var ListVersionsResponse$ = [3, n0, _LVRi,
|
|
724
|
+
0,
|
|
725
|
+
[_nT, _gVr],
|
|
726
|
+
[0, 64 | 0]
|
|
727
|
+
];
|
|
728
|
+
var ListWorkspaceServiceAccountsRequest$ = [3, n0, _LWSAR,
|
|
729
|
+
0,
|
|
730
|
+
[_wI, _mR, _nT],
|
|
731
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
732
|
+
];
|
|
733
|
+
var ListWorkspaceServiceAccountsResponse$ = [3, n0, _LWSARi,
|
|
734
|
+
0,
|
|
735
|
+
[_sA, _wI, _nT],
|
|
736
|
+
[() => ServiceAccountList, 0, 0], 2
|
|
737
|
+
];
|
|
738
|
+
var ListWorkspaceServiceAccountTokensRequest$ = [3, n0, _LWSATR,
|
|
739
|
+
0,
|
|
740
|
+
[_sAI, _wI, _mR, _nT],
|
|
741
|
+
[[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
|
|
742
|
+
];
|
|
743
|
+
var ListWorkspaceServiceAccountTokensResponse$ = [3, n0, _LWSATRi,
|
|
744
|
+
0,
|
|
745
|
+
[_sATe, _sAI, _wI, _nT],
|
|
746
|
+
[() => ServiceAccountTokenList, 0, 0, 0], 3
|
|
747
|
+
];
|
|
748
|
+
var ListWorkspacesRequest$ = [3, n0, _LWR,
|
|
749
|
+
0,
|
|
750
|
+
[_mR, _nT],
|
|
751
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
752
|
+
];
|
|
753
|
+
var ListWorkspacesResponse$ = [3, n0, _LWRi,
|
|
754
|
+
0,
|
|
755
|
+
[_wo, _nT],
|
|
756
|
+
[[() => WorkspaceList, 0], 0], 1
|
|
757
|
+
];
|
|
758
|
+
var NetworkAccessConfiguration$ = [3, n0, _NAC,
|
|
759
|
+
0,
|
|
760
|
+
[_pLI, _vI],
|
|
761
|
+
[64 | 0, 64 | 0], 2
|
|
762
|
+
];
|
|
763
|
+
var PermissionEntry$ = [3, n0, _PE,
|
|
764
|
+
0,
|
|
765
|
+
[_u, _ro],
|
|
766
|
+
[() => User$, 0], 2
|
|
767
|
+
];
|
|
768
|
+
var RoleValues$ = [3, n0, _RV,
|
|
769
|
+
0,
|
|
770
|
+
[_ed, _ad],
|
|
771
|
+
[[() => RoleValueList, 0], [() => RoleValueList, 0]]
|
|
772
|
+
];
|
|
773
|
+
var SamlAuthentication$ = [3, n0, _SA,
|
|
774
|
+
0,
|
|
775
|
+
[_st, _co],
|
|
776
|
+
[0, [() => SamlConfiguration$, 0]], 1
|
|
777
|
+
];
|
|
778
|
+
var SamlConfiguration$ = [3, n0, _SC,
|
|
779
|
+
0,
|
|
780
|
+
[_iM, _aA, _rV, _aO, _lVD],
|
|
781
|
+
[() => IdpMetadata$, () => AssertionAttributes$, [() => RoleValues$, 0], 64 | 0, 1], 1
|
|
782
|
+
];
|
|
783
|
+
var ServiceAccountSummary$ = [3, n0, _SAS,
|
|
784
|
+
0,
|
|
785
|
+
[_i, _n, _iD, _gR],
|
|
786
|
+
[0, 0, 0, 0], 4
|
|
787
|
+
];
|
|
788
|
+
var ServiceAccountTokenSummary$ = [3, n0, _SATS,
|
|
789
|
+
0,
|
|
790
|
+
[_i, _n, _cA, _eA, _lUA],
|
|
791
|
+
[0, 0, 4, 4, 4], 4
|
|
792
|
+
];
|
|
793
|
+
var ServiceAccountTokenSummaryWithKey$ = [3, n0, _SATSWK,
|
|
794
|
+
0,
|
|
795
|
+
[_i, _n, _k],
|
|
796
|
+
[0, 0, [() => ServiceAccountTokenKey, 0]], 3
|
|
797
|
+
];
|
|
798
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
799
|
+
0,
|
|
800
|
+
[_rA, _t],
|
|
801
|
+
[[0, 1], 128 | 0], 2
|
|
802
|
+
];
|
|
803
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
804
|
+
0,
|
|
805
|
+
[],
|
|
806
|
+
[]
|
|
807
|
+
];
|
|
808
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
809
|
+
0,
|
|
810
|
+
[_rA, _tK],
|
|
811
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
812
|
+
];
|
|
813
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
814
|
+
0,
|
|
815
|
+
[],
|
|
816
|
+
[]
|
|
817
|
+
];
|
|
818
|
+
var UpdateError$ = [3, n0, _UE,
|
|
819
|
+
0,
|
|
820
|
+
[_cod, _m, _cB],
|
|
821
|
+
[1, 0, () => UpdateInstruction$], 3
|
|
822
|
+
];
|
|
823
|
+
var UpdateInstruction$ = [3, n0, _UI,
|
|
824
|
+
0,
|
|
825
|
+
[_ac, _ro, _us],
|
|
826
|
+
[0, 0, () => UserList], 3
|
|
827
|
+
];
|
|
828
|
+
var UpdatePermissionsRequest$ = [3, n0, _UPR,
|
|
829
|
+
0,
|
|
830
|
+
[_uIB, _wI],
|
|
831
|
+
[() => UpdateInstructionBatch, [0, 1]], 2
|
|
832
|
+
];
|
|
833
|
+
var UpdatePermissionsResponse$ = [3, n0, _UPRp,
|
|
834
|
+
0,
|
|
835
|
+
[_er],
|
|
836
|
+
[() => UpdateErrorList], 1
|
|
837
|
+
];
|
|
838
|
+
var UpdateWorkspaceAuthenticationRequest$ = [3, n0, _UWAR,
|
|
839
|
+
0,
|
|
840
|
+
[_wI, _aP, _sCa],
|
|
841
|
+
[[0, 1], 64 | 0, [() => SamlConfiguration$, 0]], 2
|
|
842
|
+
];
|
|
843
|
+
var UpdateWorkspaceAuthenticationResponse$ = [3, n0, _UWARp,
|
|
844
|
+
0,
|
|
845
|
+
[_au],
|
|
846
|
+
[[() => AuthenticationDescription$, 0]], 1
|
|
847
|
+
];
|
|
848
|
+
var UpdateWorkspaceConfigurationRequest$ = [3, n0, _UWCR,
|
|
849
|
+
0,
|
|
850
|
+
[_co, _wI, _gV],
|
|
851
|
+
[[() => OverridableConfigurationJson, 0], [0, 1], 0], 2
|
|
852
|
+
];
|
|
853
|
+
var UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp,
|
|
854
|
+
0,
|
|
855
|
+
[],
|
|
856
|
+
[]
|
|
857
|
+
];
|
|
858
|
+
var UpdateWorkspaceRequest$ = [3, n0, _UWR,
|
|
859
|
+
0,
|
|
860
|
+
[_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC, _iAT],
|
|
861
|
+
[[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
|
|
862
|
+
];
|
|
863
|
+
var UpdateWorkspaceResponse$ = [3, n0, _UWRp,
|
|
864
|
+
0,
|
|
865
|
+
[_w],
|
|
866
|
+
[[() => WorkspaceDescription$, 0]], 1
|
|
867
|
+
];
|
|
868
|
+
var User$ = [3, n0, _U,
|
|
869
|
+
0,
|
|
870
|
+
[_i, _ty],
|
|
871
|
+
[0, 0], 2
|
|
872
|
+
];
|
|
873
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
874
|
+
0,
|
|
875
|
+
[_n, _m],
|
|
876
|
+
[0, 0], 2
|
|
877
|
+
];
|
|
878
|
+
var VpcConfiguration$ = [3, n0, _VC,
|
|
879
|
+
0,
|
|
880
|
+
[_sGI, _sI],
|
|
881
|
+
[64 | 0, 64 | 0], 2
|
|
882
|
+
];
|
|
883
|
+
var WorkspaceDescription$ = [3, n0, _WD,
|
|
884
|
+
0,
|
|
885
|
+
[_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],
|
|
886
|
+
[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
|
|
887
|
+
];
|
|
888
|
+
var WorkspaceSummary$ = [3, n0, _WS,
|
|
889
|
+
0,
|
|
890
|
+
[_cr, _en, _gV, _i, _mo, _st, _au, _d, _n, _nD, _t, _lT, _gT],
|
|
891
|
+
[4, 0, 0, 0, 4, 0, () => AuthenticationSummary$, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, 128 | 0, 0, 0], 7
|
|
892
|
+
];
|
|
893
|
+
var OrganizationalUnitList = [1, n0, _OUL,
|
|
894
|
+
8, 0
|
|
895
|
+
];
|
|
896
|
+
var PermissionEntryList = [1, n0, _PEL,
|
|
897
|
+
0, () => PermissionEntry$
|
|
898
|
+
];
|
|
899
|
+
var RoleValueList = [1, n0, _RVL,
|
|
900
|
+
8, 0
|
|
901
|
+
];
|
|
902
|
+
var ServiceAccountList = [1, n0, _SAL,
|
|
903
|
+
0, () => ServiceAccountSummary$
|
|
904
|
+
];
|
|
905
|
+
var ServiceAccountTokenList = [1, n0, _SATL,
|
|
906
|
+
0, () => ServiceAccountTokenSummary$
|
|
907
|
+
];
|
|
908
|
+
var UpdateErrorList = [1, n0, _UEL,
|
|
909
|
+
0, () => UpdateError$
|
|
910
|
+
];
|
|
911
|
+
var UpdateInstructionBatch = [1, n0, _UIB,
|
|
912
|
+
0, () => UpdateInstruction$
|
|
913
|
+
];
|
|
914
|
+
var UserList = [1, n0, _UL,
|
|
915
|
+
0, () => User$
|
|
916
|
+
];
|
|
917
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
918
|
+
0, () => ValidationExceptionField$
|
|
919
|
+
];
|
|
920
|
+
var WorkspaceList = [1, n0, _WL,
|
|
921
|
+
0, [() => WorkspaceSummary$,
|
|
922
|
+
0]
|
|
923
|
+
];
|
|
924
|
+
var IdpMetadata$ = [4, n0, _IM,
|
|
925
|
+
0,
|
|
926
|
+
[_ur, _x],
|
|
927
|
+
[0, 0]
|
|
928
|
+
];
|
|
929
|
+
var AssociateLicense$ = [9, n0, _AL,
|
|
930
|
+
{ [_h]: ["POST", "/workspaces/{workspaceId}/licenses/{licenseType}", 202] }, () => AssociateLicenseRequest$, () => AssociateLicenseResponse$
|
|
931
|
+
];
|
|
932
|
+
var CreateWorkspace$ = [9, n0, _CW,
|
|
933
|
+
{ [_h]: ["POST", "/workspaces", 202] }, () => CreateWorkspaceRequest$, () => CreateWorkspaceResponse$
|
|
934
|
+
];
|
|
935
|
+
var CreateWorkspaceApiKey$ = [9, n0, _CWAK,
|
|
936
|
+
{ [_h]: ["POST", "/workspaces/{workspaceId}/apikeys", 200] }, () => CreateWorkspaceApiKeyRequest$, () => CreateWorkspaceApiKeyResponse$
|
|
937
|
+
];
|
|
938
|
+
var CreateWorkspaceServiceAccount$ = [9, n0, _CWSA,
|
|
939
|
+
{ [_h]: ["POST", "/workspaces/{workspaceId}/serviceaccounts", 200] }, () => CreateWorkspaceServiceAccountRequest$, () => CreateWorkspaceServiceAccountResponse$
|
|
940
|
+
];
|
|
941
|
+
var CreateWorkspaceServiceAccountToken$ = [9, n0, _CWSAT,
|
|
942
|
+
{ [_h]: ["POST", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", 200] }, () => CreateWorkspaceServiceAccountTokenRequest$, () => CreateWorkspaceServiceAccountTokenResponse$
|
|
943
|
+
];
|
|
944
|
+
var DeleteWorkspace$ = [9, n0, _DW,
|
|
945
|
+
{ [_h]: ["DELETE", "/workspaces/{workspaceId}", 202] }, () => DeleteWorkspaceRequest$, () => DeleteWorkspaceResponse$
|
|
946
|
+
];
|
|
947
|
+
var DeleteWorkspaceApiKey$ = [9, n0, _DWAK,
|
|
948
|
+
{ [_h]: ["DELETE", "/workspaces/{workspaceId}/apikeys/{keyName}", 200] }, () => DeleteWorkspaceApiKeyRequest$, () => DeleteWorkspaceApiKeyResponse$
|
|
949
|
+
];
|
|
950
|
+
var DeleteWorkspaceServiceAccount$ = [9, n0, _DWSA,
|
|
951
|
+
{ [_h]: ["DELETE", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}", 200] }, () => DeleteWorkspaceServiceAccountRequest$, () => DeleteWorkspaceServiceAccountResponse$
|
|
952
|
+
];
|
|
953
|
+
var DeleteWorkspaceServiceAccountToken$ = [9, n0, _DWSAT,
|
|
954
|
+
{ [_h]: ["DELETE", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}", 200] }, () => DeleteWorkspaceServiceAccountTokenRequest$, () => DeleteWorkspaceServiceAccountTokenResponse$
|
|
955
|
+
];
|
|
956
|
+
var DescribeWorkspace$ = [9, n0, _DWe,
|
|
957
|
+
{ [_h]: ["GET", "/workspaces/{workspaceId}", 200] }, () => DescribeWorkspaceRequest$, () => DescribeWorkspaceResponse$
|
|
958
|
+
];
|
|
959
|
+
var DescribeWorkspaceAuthentication$ = [9, n0, _DWA,
|
|
960
|
+
{ [_h]: ["GET", "/workspaces/{workspaceId}/authentication", 200] }, () => DescribeWorkspaceAuthenticationRequest$, () => DescribeWorkspaceAuthenticationResponse$
|
|
961
|
+
];
|
|
962
|
+
var DescribeWorkspaceConfiguration$ = [9, n0, _DWC,
|
|
963
|
+
{ [_h]: ["GET", "/workspaces/{workspaceId}/configuration", 200] }, () => DescribeWorkspaceConfigurationRequest$, () => DescribeWorkspaceConfigurationResponse$
|
|
964
|
+
];
|
|
965
|
+
var DisassociateLicense$ = [9, n0, _DL,
|
|
966
|
+
{ [_h]: ["DELETE", "/workspaces/{workspaceId}/licenses/{licenseType}", 202] }, () => DisassociateLicenseRequest$, () => DisassociateLicenseResponse$
|
|
967
|
+
];
|
|
968
|
+
var ListPermissions$ = [9, n0, _LP,
|
|
969
|
+
{ [_h]: ["GET", "/workspaces/{workspaceId}/permissions", 200] }, () => ListPermissionsRequest$, () => ListPermissionsResponse$
|
|
970
|
+
];
|
|
971
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
972
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
973
|
+
];
|
|
974
|
+
var ListVersions$ = [9, n0, _LV,
|
|
975
|
+
{ [_h]: ["GET", "/versions", 200] }, () => ListVersionsRequest$, () => ListVersionsResponse$
|
|
976
|
+
];
|
|
977
|
+
var ListWorkspaces$ = [9, n0, _LW,
|
|
978
|
+
{ [_h]: ["GET", "/workspaces", 200] }, () => ListWorkspacesRequest$, () => ListWorkspacesResponse$
|
|
979
|
+
];
|
|
980
|
+
var ListWorkspaceServiceAccounts$ = [9, n0, _LWSA,
|
|
981
|
+
{ [_h]: ["GET", "/workspaces/{workspaceId}/serviceaccounts", 200] }, () => ListWorkspaceServiceAccountsRequest$, () => ListWorkspaceServiceAccountsResponse$
|
|
982
|
+
];
|
|
983
|
+
var ListWorkspaceServiceAccountTokens$ = [9, n0, _LWSAT,
|
|
984
|
+
{ [_h]: ["GET", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", 200] }, () => ListWorkspaceServiceAccountTokensRequest$, () => ListWorkspaceServiceAccountTokensResponse$
|
|
985
|
+
];
|
|
986
|
+
var TagResource$ = [9, n0, _TR,
|
|
987
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
988
|
+
];
|
|
989
|
+
var UntagResource$ = [9, n0, _UR,
|
|
990
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
991
|
+
];
|
|
992
|
+
var UpdatePermissions$ = [9, n0, _UP,
|
|
993
|
+
{ [_h]: ["PATCH", "/workspaces/{workspaceId}/permissions", 200] }, () => UpdatePermissionsRequest$, () => UpdatePermissionsResponse$
|
|
994
|
+
];
|
|
995
|
+
var UpdateWorkspace$ = [9, n0, _UW,
|
|
996
|
+
{ [_h]: ["PUT", "/workspaces/{workspaceId}", 202] }, () => UpdateWorkspaceRequest$, () => UpdateWorkspaceResponse$
|
|
997
|
+
];
|
|
998
|
+
var UpdateWorkspaceAuthentication$ = [9, n0, _UWA,
|
|
999
|
+
{ [_h]: ["POST", "/workspaces/{workspaceId}/authentication", 200] }, () => UpdateWorkspaceAuthenticationRequest$, () => UpdateWorkspaceAuthenticationResponse$
|
|
1000
|
+
];
|
|
1001
|
+
var UpdateWorkspaceConfiguration$ = [9, n0, _UWC,
|
|
1002
|
+
{ [_h]: ["PUT", "/workspaces/{workspaceId}/configuration", 202] }, () => UpdateWorkspaceConfigurationRequest$, () => UpdateWorkspaceConfigurationResponse$
|
|
1003
|
+
];
|
|
1004
|
+
|
|
1005
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1006
|
+
return {
|
|
1007
|
+
apiVersion: "2020-08-18",
|
|
1008
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1009
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1010
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1011
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1012
|
+
extensions: config?.extensions ?? [],
|
|
1013
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultGrafanaHttpAuthSchemeProvider,
|
|
1014
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1015
|
+
{
|
|
1016
|
+
schemeId: "aws.auth#sigv4",
|
|
1017
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1018
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1019
|
+
},
|
|
1020
|
+
],
|
|
1021
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1022
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
1023
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1024
|
+
defaultNamespace: "com.amazonaws.grafana",
|
|
1025
|
+
errorTypeRegistries,
|
|
1026
|
+
version: "2020-08-18",
|
|
1027
|
+
serviceTarget: "AWSGrafanaControlPlane",
|
|
1028
|
+
},
|
|
1029
|
+
serviceId: config?.serviceId ?? "grafana",
|
|
1030
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1031
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1032
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
const getRuntimeConfig = (config) => {
|
|
1037
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1038
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1039
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1040
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1041
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1042
|
+
const loaderConfig = {
|
|
1043
|
+
profile: config?.profile,
|
|
1044
|
+
logger: clientSharedValues.logger,
|
|
1045
|
+
};
|
|
1046
|
+
return {
|
|
1047
|
+
...clientSharedValues,
|
|
1048
|
+
...config,
|
|
1049
|
+
runtime: "node",
|
|
1050
|
+
defaultsMode,
|
|
1051
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1052
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1053
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1054
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1055
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1056
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1057
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1058
|
+
retryMode: config?.retryMode ??
|
|
1059
|
+
loadConfig({
|
|
1060
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1061
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1062
|
+
}, config),
|
|
1063
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1064
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1065
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1066
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1067
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
|
|
34
1071
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1072
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1073
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -533,46 +1570,158 @@ const UpdateAction = {
|
|
|
533
1570
|
REVOKE: "REVOKE",
|
|
534
1571
|
};
|
|
535
1572
|
|
|
1573
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1574
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
536
1575
|
exports.AccountAccessType = AccountAccessType;
|
|
1576
|
+
exports.AssertionAttributes$ = AssertionAttributes$;
|
|
1577
|
+
exports.AssociateLicense$ = AssociateLicense$;
|
|
537
1578
|
exports.AssociateLicenseCommand = AssociateLicenseCommand;
|
|
1579
|
+
exports.AssociateLicenseRequest$ = AssociateLicenseRequest$;
|
|
1580
|
+
exports.AssociateLicenseResponse$ = AssociateLicenseResponse$;
|
|
1581
|
+
exports.AuthenticationDescription$ = AuthenticationDescription$;
|
|
538
1582
|
exports.AuthenticationProviderTypes = AuthenticationProviderTypes;
|
|
1583
|
+
exports.AuthenticationSummary$ = AuthenticationSummary$;
|
|
1584
|
+
exports.AwsSsoAuthentication$ = AwsSsoAuthentication$;
|
|
1585
|
+
exports.ConflictException = ConflictException;
|
|
1586
|
+
exports.ConflictException$ = ConflictException$;
|
|
1587
|
+
exports.CreateWorkspace$ = CreateWorkspace$;
|
|
1588
|
+
exports.CreateWorkspaceApiKey$ = CreateWorkspaceApiKey$;
|
|
539
1589
|
exports.CreateWorkspaceApiKeyCommand = CreateWorkspaceApiKeyCommand;
|
|
1590
|
+
exports.CreateWorkspaceApiKeyRequest$ = CreateWorkspaceApiKeyRequest$;
|
|
1591
|
+
exports.CreateWorkspaceApiKeyResponse$ = CreateWorkspaceApiKeyResponse$;
|
|
540
1592
|
exports.CreateWorkspaceCommand = CreateWorkspaceCommand;
|
|
1593
|
+
exports.CreateWorkspaceRequest$ = CreateWorkspaceRequest$;
|
|
1594
|
+
exports.CreateWorkspaceResponse$ = CreateWorkspaceResponse$;
|
|
1595
|
+
exports.CreateWorkspaceServiceAccount$ = CreateWorkspaceServiceAccount$;
|
|
541
1596
|
exports.CreateWorkspaceServiceAccountCommand = CreateWorkspaceServiceAccountCommand;
|
|
1597
|
+
exports.CreateWorkspaceServiceAccountRequest$ = CreateWorkspaceServiceAccountRequest$;
|
|
1598
|
+
exports.CreateWorkspaceServiceAccountResponse$ = CreateWorkspaceServiceAccountResponse$;
|
|
1599
|
+
exports.CreateWorkspaceServiceAccountToken$ = CreateWorkspaceServiceAccountToken$;
|
|
542
1600
|
exports.CreateWorkspaceServiceAccountTokenCommand = CreateWorkspaceServiceAccountTokenCommand;
|
|
1601
|
+
exports.CreateWorkspaceServiceAccountTokenRequest$ = CreateWorkspaceServiceAccountTokenRequest$;
|
|
1602
|
+
exports.CreateWorkspaceServiceAccountTokenResponse$ = CreateWorkspaceServiceAccountTokenResponse$;
|
|
543
1603
|
exports.DataSourceType = DataSourceType;
|
|
1604
|
+
exports.DeleteWorkspace$ = DeleteWorkspace$;
|
|
1605
|
+
exports.DeleteWorkspaceApiKey$ = DeleteWorkspaceApiKey$;
|
|
544
1606
|
exports.DeleteWorkspaceApiKeyCommand = DeleteWorkspaceApiKeyCommand;
|
|
1607
|
+
exports.DeleteWorkspaceApiKeyRequest$ = DeleteWorkspaceApiKeyRequest$;
|
|
1608
|
+
exports.DeleteWorkspaceApiKeyResponse$ = DeleteWorkspaceApiKeyResponse$;
|
|
545
1609
|
exports.DeleteWorkspaceCommand = DeleteWorkspaceCommand;
|
|
1610
|
+
exports.DeleteWorkspaceRequest$ = DeleteWorkspaceRequest$;
|
|
1611
|
+
exports.DeleteWorkspaceResponse$ = DeleteWorkspaceResponse$;
|
|
1612
|
+
exports.DeleteWorkspaceServiceAccount$ = DeleteWorkspaceServiceAccount$;
|
|
546
1613
|
exports.DeleteWorkspaceServiceAccountCommand = DeleteWorkspaceServiceAccountCommand;
|
|
1614
|
+
exports.DeleteWorkspaceServiceAccountRequest$ = DeleteWorkspaceServiceAccountRequest$;
|
|
1615
|
+
exports.DeleteWorkspaceServiceAccountResponse$ = DeleteWorkspaceServiceAccountResponse$;
|
|
1616
|
+
exports.DeleteWorkspaceServiceAccountToken$ = DeleteWorkspaceServiceAccountToken$;
|
|
547
1617
|
exports.DeleteWorkspaceServiceAccountTokenCommand = DeleteWorkspaceServiceAccountTokenCommand;
|
|
1618
|
+
exports.DeleteWorkspaceServiceAccountTokenRequest$ = DeleteWorkspaceServiceAccountTokenRequest$;
|
|
1619
|
+
exports.DeleteWorkspaceServiceAccountTokenResponse$ = DeleteWorkspaceServiceAccountTokenResponse$;
|
|
1620
|
+
exports.DescribeWorkspace$ = DescribeWorkspace$;
|
|
1621
|
+
exports.DescribeWorkspaceAuthentication$ = DescribeWorkspaceAuthentication$;
|
|
548
1622
|
exports.DescribeWorkspaceAuthenticationCommand = DescribeWorkspaceAuthenticationCommand;
|
|
1623
|
+
exports.DescribeWorkspaceAuthenticationRequest$ = DescribeWorkspaceAuthenticationRequest$;
|
|
1624
|
+
exports.DescribeWorkspaceAuthenticationResponse$ = DescribeWorkspaceAuthenticationResponse$;
|
|
549
1625
|
exports.DescribeWorkspaceCommand = DescribeWorkspaceCommand;
|
|
1626
|
+
exports.DescribeWorkspaceConfiguration$ = DescribeWorkspaceConfiguration$;
|
|
550
1627
|
exports.DescribeWorkspaceConfigurationCommand = DescribeWorkspaceConfigurationCommand;
|
|
1628
|
+
exports.DescribeWorkspaceConfigurationRequest$ = DescribeWorkspaceConfigurationRequest$;
|
|
1629
|
+
exports.DescribeWorkspaceConfigurationResponse$ = DescribeWorkspaceConfigurationResponse$;
|
|
1630
|
+
exports.DescribeWorkspaceRequest$ = DescribeWorkspaceRequest$;
|
|
1631
|
+
exports.DescribeWorkspaceResponse$ = DescribeWorkspaceResponse$;
|
|
1632
|
+
exports.DisassociateLicense$ = DisassociateLicense$;
|
|
551
1633
|
exports.DisassociateLicenseCommand = DisassociateLicenseCommand;
|
|
1634
|
+
exports.DisassociateLicenseRequest$ = DisassociateLicenseRequest$;
|
|
1635
|
+
exports.DisassociateLicenseResponse$ = DisassociateLicenseResponse$;
|
|
552
1636
|
exports.Grafana = Grafana;
|
|
553
1637
|
exports.GrafanaClient = GrafanaClient;
|
|
1638
|
+
exports.GrafanaServiceException = GrafanaServiceException;
|
|
1639
|
+
exports.GrafanaServiceException$ = GrafanaServiceException$;
|
|
554
1640
|
exports.IPAddressType = IPAddressType;
|
|
1641
|
+
exports.IdpMetadata$ = IdpMetadata$;
|
|
1642
|
+
exports.InternalServerException = InternalServerException;
|
|
1643
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
555
1644
|
exports.LicenseType = LicenseType;
|
|
1645
|
+
exports.ListPermissions$ = ListPermissions$;
|
|
556
1646
|
exports.ListPermissionsCommand = ListPermissionsCommand;
|
|
1647
|
+
exports.ListPermissionsRequest$ = ListPermissionsRequest$;
|
|
1648
|
+
exports.ListPermissionsResponse$ = ListPermissionsResponse$;
|
|
1649
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
557
1650
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1651
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1652
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1653
|
+
exports.ListVersions$ = ListVersions$;
|
|
558
1654
|
exports.ListVersionsCommand = ListVersionsCommand;
|
|
1655
|
+
exports.ListVersionsRequest$ = ListVersionsRequest$;
|
|
1656
|
+
exports.ListVersionsResponse$ = ListVersionsResponse$;
|
|
1657
|
+
exports.ListWorkspaceServiceAccountTokens$ = ListWorkspaceServiceAccountTokens$;
|
|
559
1658
|
exports.ListWorkspaceServiceAccountTokensCommand = ListWorkspaceServiceAccountTokensCommand;
|
|
1659
|
+
exports.ListWorkspaceServiceAccountTokensRequest$ = ListWorkspaceServiceAccountTokensRequest$;
|
|
1660
|
+
exports.ListWorkspaceServiceAccountTokensResponse$ = ListWorkspaceServiceAccountTokensResponse$;
|
|
1661
|
+
exports.ListWorkspaceServiceAccounts$ = ListWorkspaceServiceAccounts$;
|
|
560
1662
|
exports.ListWorkspaceServiceAccountsCommand = ListWorkspaceServiceAccountsCommand;
|
|
1663
|
+
exports.ListWorkspaceServiceAccountsRequest$ = ListWorkspaceServiceAccountsRequest$;
|
|
1664
|
+
exports.ListWorkspaceServiceAccountsResponse$ = ListWorkspaceServiceAccountsResponse$;
|
|
1665
|
+
exports.ListWorkspaces$ = ListWorkspaces$;
|
|
561
1666
|
exports.ListWorkspacesCommand = ListWorkspacesCommand;
|
|
1667
|
+
exports.ListWorkspacesRequest$ = ListWorkspacesRequest$;
|
|
1668
|
+
exports.ListWorkspacesResponse$ = ListWorkspacesResponse$;
|
|
1669
|
+
exports.NetworkAccessConfiguration$ = NetworkAccessConfiguration$;
|
|
562
1670
|
exports.NotificationDestinationType = NotificationDestinationType;
|
|
1671
|
+
exports.PermissionEntry$ = PermissionEntry$;
|
|
563
1672
|
exports.PermissionType = PermissionType;
|
|
1673
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1674
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
564
1675
|
exports.Role = Role;
|
|
1676
|
+
exports.RoleValues$ = RoleValues$;
|
|
1677
|
+
exports.SamlAuthentication$ = SamlAuthentication$;
|
|
1678
|
+
exports.SamlConfiguration$ = SamlConfiguration$;
|
|
565
1679
|
exports.SamlConfigurationStatus = SamlConfigurationStatus;
|
|
1680
|
+
exports.ServiceAccountSummary$ = ServiceAccountSummary$;
|
|
1681
|
+
exports.ServiceAccountTokenSummary$ = ServiceAccountTokenSummary$;
|
|
1682
|
+
exports.ServiceAccountTokenSummaryWithKey$ = ServiceAccountTokenSummaryWithKey$;
|
|
1683
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1684
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1685
|
+
exports.TagResource$ = TagResource$;
|
|
566
1686
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1687
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1688
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1689
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1690
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1691
|
+
exports.UntagResource$ = UntagResource$;
|
|
567
1692
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1693
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1694
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
568
1695
|
exports.UpdateAction = UpdateAction;
|
|
1696
|
+
exports.UpdateError$ = UpdateError$;
|
|
1697
|
+
exports.UpdateInstruction$ = UpdateInstruction$;
|
|
1698
|
+
exports.UpdatePermissions$ = UpdatePermissions$;
|
|
569
1699
|
exports.UpdatePermissionsCommand = UpdatePermissionsCommand;
|
|
1700
|
+
exports.UpdatePermissionsRequest$ = UpdatePermissionsRequest$;
|
|
1701
|
+
exports.UpdatePermissionsResponse$ = UpdatePermissionsResponse$;
|
|
1702
|
+
exports.UpdateWorkspace$ = UpdateWorkspace$;
|
|
1703
|
+
exports.UpdateWorkspaceAuthentication$ = UpdateWorkspaceAuthentication$;
|
|
570
1704
|
exports.UpdateWorkspaceAuthenticationCommand = UpdateWorkspaceAuthenticationCommand;
|
|
1705
|
+
exports.UpdateWorkspaceAuthenticationRequest$ = UpdateWorkspaceAuthenticationRequest$;
|
|
1706
|
+
exports.UpdateWorkspaceAuthenticationResponse$ = UpdateWorkspaceAuthenticationResponse$;
|
|
571
1707
|
exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
|
|
1708
|
+
exports.UpdateWorkspaceConfiguration$ = UpdateWorkspaceConfiguration$;
|
|
572
1709
|
exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
|
|
1710
|
+
exports.UpdateWorkspaceConfigurationRequest$ = UpdateWorkspaceConfigurationRequest$;
|
|
1711
|
+
exports.UpdateWorkspaceConfigurationResponse$ = UpdateWorkspaceConfigurationResponse$;
|
|
1712
|
+
exports.UpdateWorkspaceRequest$ = UpdateWorkspaceRequest$;
|
|
1713
|
+
exports.UpdateWorkspaceResponse$ = UpdateWorkspaceResponse$;
|
|
1714
|
+
exports.User$ = User$;
|
|
573
1715
|
exports.UserType = UserType;
|
|
1716
|
+
exports.ValidationException = ValidationException;
|
|
1717
|
+
exports.ValidationException$ = ValidationException$;
|
|
1718
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
574
1719
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1720
|
+
exports.VpcConfiguration$ = VpcConfiguration$;
|
|
1721
|
+
exports.WorkspaceDescription$ = WorkspaceDescription$;
|
|
575
1722
|
exports.WorkspaceStatus = WorkspaceStatus;
|
|
1723
|
+
exports.WorkspaceSummary$ = WorkspaceSummary$;
|
|
1724
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
576
1725
|
exports.paginateListPermissions = paginateListPermissions;
|
|
577
1726
|
exports.paginateListVersions = paginateListVersions;
|
|
578
1727
|
exports.paginateListWorkspaceServiceAccountTokens = paginateListWorkspaceServiceAccountTokens;
|