@aws-sdk/client-grafana 3.395.0 → 3.404.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.
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeWorkspaceAuthenticationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -31,7 +32,7 @@ class DescribeWorkspaceAuthenticationCommand extends smithy_client_1.Command {
31
32
  clientName,
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: models_0_1.DescribeWorkspaceAuthenticationResponseFilterSensitiveLog,
35
36
  };
36
37
  const { requestHandler } = configuration;
37
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class UpdateWorkspaceAuthenticationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -30,8 +31,8 @@ class UpdateWorkspaceAuthenticationCommand extends smithy_client_1.Command {
30
31
  logger,
31
32
  clientName,
32
33
  commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
34
+ inputFilterSensitiveLog: models_0_1.UpdateWorkspaceAuthenticationRequestFilterSensitiveLog,
35
+ outputFilterSensitiveLog: models_0_1.UpdateWorkspaceAuthenticationResponseFilterSensitiveLog,
35
36
  };
36
37
  const { requestHandler } = configuration;
37
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const q = "required", r = "fn", s = "argv", t = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://grafana.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://grafana.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://grafana.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://grafana.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateWorkspaceResponseFilterSensitiveLog = exports.UpdateWorkspaceRequestFilterSensitiveLog = exports.ListWorkspacesResponseFilterSensitiveLog = exports.WorkspaceSummaryFilterSensitiveLog = exports.DescribeWorkspaceResponseFilterSensitiveLog = exports.DeleteWorkspaceResponseFilterSensitiveLog = exports.CreateWorkspaceResponseFilterSensitiveLog = exports.CreateWorkspaceRequestFilterSensitiveLog = exports.DisassociateLicenseResponseFilterSensitiveLog = exports.AssociateLicenseResponseFilterSensitiveLog = exports.WorkspaceDescriptionFilterSensitiveLog = exports.CreateWorkspaceApiKeyResponseFilterSensitiveLog = exports.UpdateAction = exports.Role = exports.UserType = exports.IdpMetadata = exports.WorkspaceStatus = exports.PermissionType = exports.NotificationDestinationType = exports.DataSourceType = exports.SamlConfigurationStatus = exports.AuthenticationProviderTypes = exports.LicenseType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccountAccessType = exports.AccessDeniedException = void 0;
3
+ exports.UpdateWorkspaceResponseFilterSensitiveLog = exports.UpdateWorkspaceRequestFilterSensitiveLog = exports.ListWorkspacesResponseFilterSensitiveLog = exports.WorkspaceSummaryFilterSensitiveLog = exports.DescribeWorkspaceResponseFilterSensitiveLog = exports.DeleteWorkspaceResponseFilterSensitiveLog = exports.CreateWorkspaceResponseFilterSensitiveLog = exports.CreateWorkspaceRequestFilterSensitiveLog = exports.DisassociateLicenseResponseFilterSensitiveLog = exports.UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = exports.UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = exports.DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = exports.AuthenticationDescriptionFilterSensitiveLog = exports.SamlAuthenticationFilterSensitiveLog = exports.SamlConfigurationFilterSensitiveLog = exports.RoleValuesFilterSensitiveLog = exports.AssociateLicenseResponseFilterSensitiveLog = exports.WorkspaceDescriptionFilterSensitiveLog = exports.CreateWorkspaceApiKeyResponseFilterSensitiveLog = exports.UpdateAction = exports.Role = exports.UserType = exports.IdpMetadata = exports.WorkspaceStatus = exports.PermissionType = exports.NotificationDestinationType = exports.DataSourceType = exports.SamlConfigurationStatus = exports.AuthenticationProviderTypes = exports.LicenseType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccountAccessType = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const GrafanaServiceException_1 = require("./GrafanaServiceException");
6
6
  class AccessDeniedException extends GrafanaServiceException_1.GrafanaServiceException {
@@ -207,6 +207,43 @@ const AssociateLicenseResponseFilterSensitiveLog = (obj) => ({
207
207
  ...(obj.workspace && { workspace: (0, exports.WorkspaceDescriptionFilterSensitiveLog)(obj.workspace) }),
208
208
  });
209
209
  exports.AssociateLicenseResponseFilterSensitiveLog = AssociateLicenseResponseFilterSensitiveLog;
210
+ const RoleValuesFilterSensitiveLog = (obj) => ({
211
+ ...obj,
212
+ ...(obj.editor && { editor: smithy_client_1.SENSITIVE_STRING }),
213
+ ...(obj.admin && { admin: smithy_client_1.SENSITIVE_STRING }),
214
+ });
215
+ exports.RoleValuesFilterSensitiveLog = RoleValuesFilterSensitiveLog;
216
+ const SamlConfigurationFilterSensitiveLog = (obj) => ({
217
+ ...obj,
218
+ ...(obj.idpMetadata && { idpMetadata: obj.idpMetadata }),
219
+ ...(obj.roleValues && { roleValues: (0, exports.RoleValuesFilterSensitiveLog)(obj.roleValues) }),
220
+ });
221
+ exports.SamlConfigurationFilterSensitiveLog = SamlConfigurationFilterSensitiveLog;
222
+ const SamlAuthenticationFilterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ ...(obj.configuration && { configuration: (0, exports.SamlConfigurationFilterSensitiveLog)(obj.configuration) }),
225
+ });
226
+ exports.SamlAuthenticationFilterSensitiveLog = SamlAuthenticationFilterSensitiveLog;
227
+ const AuthenticationDescriptionFilterSensitiveLog = (obj) => ({
228
+ ...obj,
229
+ ...(obj.saml && { saml: (0, exports.SamlAuthenticationFilterSensitiveLog)(obj.saml) }),
230
+ });
231
+ exports.AuthenticationDescriptionFilterSensitiveLog = AuthenticationDescriptionFilterSensitiveLog;
232
+ const DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
233
+ ...obj,
234
+ ...(obj.authentication && { authentication: (0, exports.AuthenticationDescriptionFilterSensitiveLog)(obj.authentication) }),
235
+ });
236
+ exports.DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = DescribeWorkspaceAuthenticationResponseFilterSensitiveLog;
237
+ const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = (obj) => ({
238
+ ...obj,
239
+ ...(obj.samlConfiguration && { samlConfiguration: (0, exports.SamlConfigurationFilterSensitiveLog)(obj.samlConfiguration) }),
240
+ });
241
+ exports.UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = UpdateWorkspaceAuthenticationRequestFilterSensitiveLog;
242
+ const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
243
+ ...obj,
244
+ ...(obj.authentication && { authentication: (0, exports.AuthenticationDescriptionFilterSensitiveLog)(obj.authentication) }),
245
+ });
246
+ exports.UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = UpdateWorkspaceAuthenticationResponseFilterSensitiveLog;
210
247
  const DisassociateLicenseResponseFilterSensitiveLog = (obj) => ({
211
248
  ...obj,
212
249
  ...(obj.workspace && { workspace: (0, exports.WorkspaceDescriptionFilterSensitiveLog)(obj.workspace) }),
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
- const types_1 = require("@smithy/types");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const asPartial = (t) => t;
6
6
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const clientConfiguration = {
8
- ...asPartial((0, types_1.getDefaultClientConfiguration)(runtimeConfig)),
7
+ const extensionConfiguration = {
8
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
9
9
  };
10
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
10
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
11
  return {
12
12
  ...runtimeConfig,
13
- ...(0, types_1.resolveDefaultRuntimeConfig)(clientConfiguration),
13
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
14
14
  };
15
15
  };
16
16
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { DescribeWorkspaceAuthenticationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { de_DescribeWorkspaceAuthenticationCommand, se_DescribeWorkspaceAuthenticationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DescribeWorkspaceAuthenticationCommand extends $Command {
@@ -28,7 +29,7 @@ export class DescribeWorkspaceAuthenticationCommand extends $Command {
28
29
  clientName,
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: DescribeWorkspaceAuthenticationResponseFilterSensitiveLog,
32
33
  };
33
34
  const { requestHandler } = configuration;
34
35
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { UpdateWorkspaceAuthenticationRequestFilterSensitiveLog, UpdateWorkspaceAuthenticationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { de_UpdateWorkspaceAuthenticationCommand, se_UpdateWorkspaceAuthenticationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateWorkspaceAuthenticationCommand extends $Command {
@@ -27,8 +28,8 @@ export class UpdateWorkspaceAuthenticationCommand extends $Command {
27
28
  logger,
28
29
  clientName,
29
30
  commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
31
+ inputFilterSensitiveLog: UpdateWorkspaceAuthenticationRequestFilterSensitiveLog,
32
+ outputFilterSensitiveLog: UpdateWorkspaceAuthenticationResponseFilterSensitiveLog,
32
33
  };
33
34
  const { requestHandler } = configuration;
34
35
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,4 +1,4 @@
1
1
  const q = "required", r = "fn", s = "argv", t = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://grafana.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://grafana.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://grafana-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://grafana.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://grafana.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -194,6 +194,36 @@ export const AssociateLicenseResponseFilterSensitiveLog = (obj) => ({
194
194
  ...obj,
195
195
  ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
196
196
  });
197
+ export const RoleValuesFilterSensitiveLog = (obj) => ({
198
+ ...obj,
199
+ ...(obj.editor && { editor: SENSITIVE_STRING }),
200
+ ...(obj.admin && { admin: SENSITIVE_STRING }),
201
+ });
202
+ export const SamlConfigurationFilterSensitiveLog = (obj) => ({
203
+ ...obj,
204
+ ...(obj.idpMetadata && { idpMetadata: obj.idpMetadata }),
205
+ ...(obj.roleValues && { roleValues: RoleValuesFilterSensitiveLog(obj.roleValues) }),
206
+ });
207
+ export const SamlAuthenticationFilterSensitiveLog = (obj) => ({
208
+ ...obj,
209
+ ...(obj.configuration && { configuration: SamlConfigurationFilterSensitiveLog(obj.configuration) }),
210
+ });
211
+ export const AuthenticationDescriptionFilterSensitiveLog = (obj) => ({
212
+ ...obj,
213
+ ...(obj.saml && { saml: SamlAuthenticationFilterSensitiveLog(obj.saml) }),
214
+ });
215
+ export const DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
216
+ ...obj,
217
+ ...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
218
+ });
219
+ export const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = (obj) => ({
220
+ ...obj,
221
+ ...(obj.samlConfiguration && { samlConfiguration: SamlConfigurationFilterSensitiveLog(obj.samlConfiguration) }),
222
+ });
223
+ export const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
224
+ ...obj,
225
+ ...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
226
+ });
197
227
  export const DisassociateLicenseResponseFilterSensitiveLog = (obj) => ({
198
228
  ...obj,
199
229
  ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
@@ -1,12 +1,12 @@
1
- import { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "@smithy/types";
1
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
2
  const asPartial = (t) => t;
3
3
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
- const clientConfiguration = {
5
- ...asPartial(getDefaultClientConfiguration(runtimeConfig)),
4
+ const extensionConfiguration = {
5
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
6
6
  };
7
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
7
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
8
  return {
9
9
  ...runtimeConfig,
10
- ...resolveDefaultRuntimeConfig(clientConfiguration),
10
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
11
11
  };
12
12
  };
@@ -0,0 +1,6 @@
1
+ import { DefaultExtensionConfiguration } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface GrafanaExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ }
@@ -1858,6 +1858,34 @@ export declare const WorkspaceDescriptionFilterSensitiveLog: (obj: WorkspaceDesc
1858
1858
  * @internal
1859
1859
  */
1860
1860
  export declare const AssociateLicenseResponseFilterSensitiveLog: (obj: AssociateLicenseResponse) => any;
1861
+ /**
1862
+ * @internal
1863
+ */
1864
+ export declare const RoleValuesFilterSensitiveLog: (obj: RoleValues) => any;
1865
+ /**
1866
+ * @internal
1867
+ */
1868
+ export declare const SamlConfigurationFilterSensitiveLog: (obj: SamlConfiguration) => any;
1869
+ /**
1870
+ * @internal
1871
+ */
1872
+ export declare const SamlAuthenticationFilterSensitiveLog: (obj: SamlAuthentication) => any;
1873
+ /**
1874
+ * @internal
1875
+ */
1876
+ export declare const AuthenticationDescriptionFilterSensitiveLog: (obj: AuthenticationDescription) => any;
1877
+ /**
1878
+ * @internal
1879
+ */
1880
+ export declare const DescribeWorkspaceAuthenticationResponseFilterSensitiveLog: (obj: DescribeWorkspaceAuthenticationResponse) => any;
1881
+ /**
1882
+ * @internal
1883
+ */
1884
+ export declare const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog: (obj: UpdateWorkspaceAuthenticationRequest) => any;
1885
+ /**
1886
+ * @internal
1887
+ */
1888
+ export declare const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog: (obj: UpdateWorkspaceAuthenticationResponse) => any;
1861
1889
  /**
1862
1890
  * @internal
1863
1891
  */
@@ -1,9 +1,9 @@
1
- import { GrafanaClientConfiguration } from "./clientConfiguration";
1
+ import { GrafanaExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configureClient(clientConfiguration: GrafanaClientConfiguration): void;
6
+ configure(clientConfiguration: GrafanaExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -0,0 +1,3 @@
1
+ import { DefaultExtensionConfiguration } from "@smithy/types";
2
+ export interface GrafanaExtensionConfiguration
3
+ extends DefaultExtensionConfiguration {}
@@ -460,6 +460,25 @@ export declare const WorkspaceDescriptionFilterSensitiveLog: (
460
460
  export declare const AssociateLicenseResponseFilterSensitiveLog: (
461
461
  obj: AssociateLicenseResponse
462
462
  ) => any;
463
+ export declare const RoleValuesFilterSensitiveLog: (obj: RoleValues) => any;
464
+ export declare const SamlConfigurationFilterSensitiveLog: (
465
+ obj: SamlConfiguration
466
+ ) => any;
467
+ export declare const SamlAuthenticationFilterSensitiveLog: (
468
+ obj: SamlAuthentication
469
+ ) => any;
470
+ export declare const AuthenticationDescriptionFilterSensitiveLog: (
471
+ obj: AuthenticationDescription
472
+ ) => any;
473
+ export declare const DescribeWorkspaceAuthenticationResponseFilterSensitiveLog: (
474
+ obj: DescribeWorkspaceAuthenticationResponse
475
+ ) => any;
476
+ export declare const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog: (
477
+ obj: UpdateWorkspaceAuthenticationRequest
478
+ ) => any;
479
+ export declare const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog: (
480
+ obj: UpdateWorkspaceAuthenticationResponse
481
+ ) => any;
463
482
  export declare const DisassociateLicenseResponseFilterSensitiveLog: (
464
483
  obj: DisassociateLicenseResponse
465
484
  ) => any;
@@ -1,6 +1,6 @@
1
- import { GrafanaClientConfiguration } from "./clientConfiguration";
1
+ import { GrafanaExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configureClient(clientConfiguration: GrafanaClientConfiguration): void;
3
+ configure(clientConfiguration: GrafanaExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
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.395.0",
4
+ "version": "3.404.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.395.0",
25
- "@aws-sdk/credential-provider-node": "3.395.0",
26
- "@aws-sdk/middleware-host-header": "3.391.0",
27
- "@aws-sdk/middleware-logger": "3.391.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.391.0",
29
- "@aws-sdk/middleware-signing": "3.391.0",
30
- "@aws-sdk/middleware-user-agent": "3.391.0",
31
- "@aws-sdk/types": "3.391.0",
32
- "@aws-sdk/util-endpoints": "3.391.0",
33
- "@aws-sdk/util-user-agent-browser": "3.391.0",
34
- "@aws-sdk/util-user-agent-node": "3.391.0",
35
- "@smithy/config-resolver": "^2.0.3",
36
- "@smithy/fetch-http-handler": "^2.0.3",
37
- "@smithy/hash-node": "^2.0.3",
38
- "@smithy/invalid-dependency": "^2.0.3",
39
- "@smithy/middleware-content-length": "^2.0.3",
40
- "@smithy/middleware-endpoint": "^2.0.3",
41
- "@smithy/middleware-retry": "^2.0.3",
42
- "@smithy/middleware-serde": "^2.0.3",
24
+ "@aws-sdk/client-sts": "3.398.0",
25
+ "@aws-sdk/credential-provider-node": "3.398.0",
26
+ "@aws-sdk/middleware-host-header": "3.398.0",
27
+ "@aws-sdk/middleware-logger": "3.398.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
+ "@aws-sdk/middleware-signing": "3.398.0",
30
+ "@aws-sdk/middleware-user-agent": "3.398.0",
31
+ "@aws-sdk/types": "3.398.0",
32
+ "@aws-sdk/util-endpoints": "3.398.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.398.0",
35
+ "@smithy/config-resolver": "^2.0.5",
36
+ "@smithy/fetch-http-handler": "^2.0.5",
37
+ "@smithy/hash-node": "^2.0.5",
38
+ "@smithy/invalid-dependency": "^2.0.5",
39
+ "@smithy/middleware-content-length": "^2.0.5",
40
+ "@smithy/middleware-endpoint": "^2.0.5",
41
+ "@smithy/middleware-retry": "^2.0.5",
42
+ "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.3",
45
- "@smithy/node-http-handler": "^2.0.3",
46
- "@smithy/protocol-http": "^2.0.3",
47
- "@smithy/smithy-client": "^2.0.3",
48
- "@smithy/types": "^2.2.0",
49
- "@smithy/url-parser": "^2.0.3",
44
+ "@smithy/node-config-provider": "^2.0.5",
45
+ "@smithy/node-http-handler": "^2.0.5",
46
+ "@smithy/protocol-http": "^2.0.5",
47
+ "@smithy/smithy-client": "^2.0.5",
48
+ "@smithy/types": "^2.2.2",
49
+ "@smithy/url-parser": "^2.0.5",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
- "@smithy/util-body-length-node": "^2.0.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.3",
54
- "@smithy/util-defaults-mode-node": "^2.0.3",
52
+ "@smithy/util-body-length-node": "^2.1.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.5",
54
+ "@smithy/util-defaults-mode-node": "^2.0.5",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0",
@@ -1,6 +0,0 @@
1
- import { DefaultClientConfiguration } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface GrafanaClientConfiguration extends DefaultClientConfiguration {
6
- }
@@ -1,3 +0,0 @@
1
- import { DefaultClientConfiguration } from "@smithy/types";
2
- export interface GrafanaClientConfiguration
3
- extends DefaultClientConfiguration {}