@aws-sdk/client-grafana 3.696.0 → 3.709.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 CHANGED
@@ -726,7 +726,7 @@ var se_CreateWorkspaceCommand = /* @__PURE__ */ __name(async (input, context) =>
726
726
  accountAccessType: [],
727
727
  authenticationProviders: (_) => (0, import_smithy_client._json)(_),
728
728
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
729
- configuration: (_) => import_smithy_client.LazyJsonString.fromObject(_),
729
+ configuration: (_) => import_smithy_client.LazyJsonString.from(_),
730
730
  grafanaVersion: [],
731
731
  networkAccessControl: (_) => (0, import_smithy_client._json)(_),
732
732
  organizationRoleName: [],
@@ -1052,7 +1052,7 @@ var se_UpdateWorkspaceConfigurationCommand = /* @__PURE__ */ __name(async (input
1052
1052
  let body;
1053
1053
  body = JSON.stringify(
1054
1054
  (0, import_smithy_client.take)(input, {
1055
- configuration: (_) => import_smithy_client.LazyJsonString.fromObject(_),
1055
+ configuration: (_) => import_smithy_client.LazyJsonString.from(_),
1056
1056
  grafanaVersion: []
1057
1057
  })
1058
1058
  );
@@ -1233,7 +1233,7 @@ var de_DescribeWorkspaceConfigurationCommand = /* @__PURE__ */ __name(async (out
1233
1233
  });
1234
1234
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1235
1235
  const doc = (0, import_smithy_client.take)(data, {
1236
- configuration: (_) => new import_smithy_client.LazyJsonString(_),
1236
+ configuration: import_smithy_client.LazyJsonString.from,
1237
1237
  grafanaVersion: import_smithy_client.expectString
1238
1238
  });
1239
1239
  Object.assign(contents, doc);
@@ -27,7 +27,7 @@ export const se_CreateWorkspaceCommand = async (input, context) => {
27
27
  accountAccessType: [],
28
28
  authenticationProviders: (_) => _json(_),
29
29
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
30
- configuration: (_) => __LazyJsonString.fromObject(_),
30
+ configuration: (_) => __LazyJsonString.from(_),
31
31
  grafanaVersion: [],
32
32
  networkAccessControl: (_) => _json(_),
33
33
  organizationRoleName: [],
@@ -337,7 +337,7 @@ export const se_UpdateWorkspaceConfigurationCommand = async (input, context) =>
337
337
  b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
338
338
  let body;
339
339
  body = JSON.stringify(take(input, {
340
- configuration: (_) => __LazyJsonString.fromObject(_),
340
+ configuration: (_) => __LazyJsonString.from(_),
341
341
  grafanaVersion: [],
342
342
  }));
343
343
  b.m("PUT").h(headers).b(body);
@@ -517,7 +517,7 @@ export const de_DescribeWorkspaceConfigurationCommand = async (output, context)
517
517
  });
518
518
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
519
519
  const doc = take(data, {
520
- configuration: (_) => new __LazyJsonString(_),
520
+ configuration: __LazyJsonString.from,
521
521
  grafanaVersion: __expectString,
522
522
  });
523
523
  Object.assign(contents, doc);
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
1
+ import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
3
3
  /**
4
4
  * <p>You do not have sufficient permissions to perform this action. </p>
@@ -1066,7 +1066,7 @@ export interface DescribeWorkspaceConfigurationResponse {
1066
1066
  * workspace</a>.</p>
1067
1067
  * @public
1068
1068
  */
1069
- configuration: __LazyJsonString | string | undefined;
1069
+ configuration: __AutomaticJsonStringConversion | string | undefined;
1070
1070
  /**
1071
1071
  * <p>The supported Grafana version for the workspace.</p>
1072
1072
  * @public
@@ -1083,7 +1083,7 @@ export interface UpdateWorkspaceConfigurationRequest {
1083
1083
  * workspace</a>.</p>
1084
1084
  * @public
1085
1085
  */
1086
- configuration: __LazyJsonString | string | undefined;
1086
+ configuration: __AutomaticJsonStringConversion | string | undefined;
1087
1087
  /**
1088
1088
  * <p>The ID of the workspace to update.</p>
1089
1089
  * @public
@@ -1911,7 +1911,7 @@ export interface CreateWorkspaceRequest {
1911
1911
  * workspace</a>.</p>
1912
1912
  * @public
1913
1913
  */
1914
- configuration?: __LazyJsonString | string | undefined;
1914
+ configuration?: __AutomaticJsonStringConversion | string | undefined;
1915
1915
  /**
1916
1916
  * <p>Configuration for network access to your workspace.</p>
1917
1917
  * <p>When this is configured, only listed IP addresses and VPC endpoints will be able to
@@ -1,6 +1,6 @@
1
1
  import {
2
+ AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
2
3
  ExceptionOptionType as __ExceptionOptionType,
3
- LazyJsonString as __LazyJsonString,
4
4
  } from "@smithy/smithy-client";
5
5
  import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
6
6
  export declare class AccessDeniedException extends __BaseException {
@@ -284,11 +284,11 @@ export interface DescribeWorkspaceConfigurationRequest {
284
284
  workspaceId: string | undefined;
285
285
  }
286
286
  export interface DescribeWorkspaceConfigurationResponse {
287
- configuration: __LazyJsonString | string | undefined;
287
+ configuration: __AutomaticJsonStringConversion | string | undefined;
288
288
  grafanaVersion?: string | undefined;
289
289
  }
290
290
  export interface UpdateWorkspaceConfigurationRequest {
291
- configuration: __LazyJsonString | string | undefined;
291
+ configuration: __AutomaticJsonStringConversion | string | undefined;
292
292
  workspaceId: string | undefined;
293
293
  grafanaVersion?: string | undefined;
294
294
  }
@@ -473,7 +473,7 @@ export interface CreateWorkspaceRequest {
473
473
  authenticationProviders: AuthenticationProviderTypes[] | undefined;
474
474
  tags?: Record<string, string> | undefined;
475
475
  vpcConfiguration?: VpcConfiguration | undefined;
476
- configuration?: __LazyJsonString | string | undefined;
476
+ configuration?: __AutomaticJsonStringConversion | string | undefined;
477
477
  networkAccessControl?: NetworkAccessConfiguration | undefined;
478
478
  grafanaVersion?: string | undefined;
479
479
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-grafana",
3
3
  "description": "AWS SDK for JavaScript Grafana Client for Node.js, Browser and React Native",
4
- "version": "3.696.0",
4
+ "version": "3.709.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-grafana",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.696.0",
24
- "@aws-sdk/client-sts": "3.696.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.696.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",