@aws-sdk/client-grafana 3.216.0 → 3.217.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.
Files changed (38) hide show
  1. package/dist-cjs/Grafana.js +30 -0
  2. package/dist-cjs/commands/DescribeWorkspaceConfigurationCommand.js +46 -0
  3. package/dist-cjs/commands/UpdateWorkspaceConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/models_0.js +23 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +192 -1
  7. package/dist-es/Grafana.js +30 -0
  8. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +42 -0
  9. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +42 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/models/models_0.js +17 -1
  12. package/dist-es/protocols/Aws_restJson1.js +188 -1
  13. package/dist-types/Grafana.d.ts +47 -33
  14. package/dist-types/GrafanaClient.d.ts +4 -2
  15. package/dist-types/commands/AssociateLicenseCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateWorkspaceCommand.d.ts +4 -4
  18. package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +37 -0
  20. package/dist-types/commands/ListPermissionsCommand.d.ts +6 -6
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  22. package/dist-types/commands/ListWorkspacesCommand.d.ts +1 -1
  23. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  24. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +3 -3
  26. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +5 -5
  27. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +37 -0
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +227 -127
  30. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  31. package/dist-types/ts3.4/Grafana.d.ts +34 -0
  32. package/dist-types/ts3.4/GrafanaClient.d.ts +14 -2
  33. package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +41 -0
  34. package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +41 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +40 -1
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  38. package/package.json +1 -1
@@ -7,6 +7,7 @@ import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput }
7
7
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
8
8
  import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "../commands/DescribeWorkspaceAuthenticationCommand";
9
9
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
10
+ import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "../commands/DescribeWorkspaceConfigurationCommand";
10
11
  import { DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput } from "../commands/DisassociateLicenseCommand";
11
12
  import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
12
13
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
@@ -16,6 +17,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
16
17
  import { UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput } from "../commands/UpdatePermissionsCommand";
17
18
  import { UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput } from "../commands/UpdateWorkspaceAuthenticationCommand";
18
19
  import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "../commands/UpdateWorkspaceCommand";
20
+ import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "../commands/UpdateWorkspaceConfigurationCommand";
19
21
  export declare const serializeAws_restJson1AssociateLicenseCommand: (input: AssociateLicenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
22
  export declare const serializeAws_restJson1CreateWorkspaceCommand: (input: CreateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
23
  export declare const serializeAws_restJson1CreateWorkspaceApiKeyCommand: (input: CreateWorkspaceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -23,6 +25,7 @@ export declare const serializeAws_restJson1DeleteWorkspaceCommand: (input: Delet
23
25
  export declare const serializeAws_restJson1DeleteWorkspaceApiKeyCommand: (input: DeleteWorkspaceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
26
  export declare const serializeAws_restJson1DescribeWorkspaceCommand: (input: DescribeWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
27
  export declare const serializeAws_restJson1DescribeWorkspaceAuthenticationCommand: (input: DescribeWorkspaceAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ export declare const serializeAws_restJson1DescribeWorkspaceConfigurationCommand: (input: DescribeWorkspaceConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
29
  export declare const serializeAws_restJson1DisassociateLicenseCommand: (input: DisassociateLicenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
30
  export declare const serializeAws_restJson1ListPermissionsCommand: (input: ListPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
31
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -32,6 +35,7 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
32
35
  export declare const serializeAws_restJson1UpdatePermissionsCommand: (input: UpdatePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
36
  export declare const serializeAws_restJson1UpdateWorkspaceCommand: (input: UpdateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
37
  export declare const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand: (input: UpdateWorkspaceAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_restJson1UpdateWorkspaceConfigurationCommand: (input: UpdateWorkspaceConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
39
  export declare const deserializeAws_restJson1AssociateLicenseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateLicenseCommandOutput>;
36
40
  export declare const deserializeAws_restJson1CreateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceCommandOutput>;
37
41
  export declare const deserializeAws_restJson1CreateWorkspaceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceApiKeyCommandOutput>;
@@ -39,6 +43,7 @@ export declare const deserializeAws_restJson1DeleteWorkspaceCommand: (output: __
39
43
  export declare const deserializeAws_restJson1DeleteWorkspaceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceApiKeyCommandOutput>;
40
44
  export declare const deserializeAws_restJson1DescribeWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceCommandOutput>;
41
45
  export declare const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceAuthenticationCommandOutput>;
46
+ export declare const deserializeAws_restJson1DescribeWorkspaceConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceConfigurationCommandOutput>;
42
47
  export declare const deserializeAws_restJson1DisassociateLicenseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateLicenseCommandOutput>;
43
48
  export declare const deserializeAws_restJson1ListPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPermissionsCommandOutput>;
44
49
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
@@ -48,3 +53,4 @@ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __Ht
48
53
  export declare const deserializeAws_restJson1UpdatePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePermissionsCommandOutput>;
49
54
  export declare const deserializeAws_restJson1UpdateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceCommandOutput>;
50
55
  export declare const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceAuthenticationCommandOutput>;
56
+ export declare const deserializeAws_restJson1UpdateWorkspaceConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceConfigurationCommandOutput>;
@@ -27,6 +27,10 @@ import {
27
27
  DescribeWorkspaceCommandInput,
28
28
  DescribeWorkspaceCommandOutput,
29
29
  } from "./commands/DescribeWorkspaceCommand";
30
+ import {
31
+ DescribeWorkspaceConfigurationCommandInput,
32
+ DescribeWorkspaceConfigurationCommandOutput,
33
+ } from "./commands/DescribeWorkspaceConfigurationCommand";
30
34
  import {
31
35
  DisassociateLicenseCommandInput,
32
36
  DisassociateLicenseCommandOutput,
@@ -63,6 +67,10 @@ import {
63
67
  UpdateWorkspaceCommandInput,
64
68
  UpdateWorkspaceCommandOutput,
65
69
  } from "./commands/UpdateWorkspaceCommand";
70
+ import {
71
+ UpdateWorkspaceConfigurationCommandInput,
72
+ UpdateWorkspaceConfigurationCommandOutput,
73
+ } from "./commands/UpdateWorkspaceConfigurationCommand";
66
74
  import { GrafanaClient } from "./GrafanaClient";
67
75
  export declare class Grafana extends GrafanaClient {
68
76
  associateLicense(
@@ -156,6 +164,19 @@ export declare class Grafana extends GrafanaClient {
156
164
  options: __HttpHandlerOptions,
157
165
  cb: (err: any, data?: DescribeWorkspaceAuthenticationCommandOutput) => void
158
166
  ): void;
167
+ describeWorkspaceConfiguration(
168
+ args: DescribeWorkspaceConfigurationCommandInput,
169
+ options?: __HttpHandlerOptions
170
+ ): Promise<DescribeWorkspaceConfigurationCommandOutput>;
171
+ describeWorkspaceConfiguration(
172
+ args: DescribeWorkspaceConfigurationCommandInput,
173
+ cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void
174
+ ): void;
175
+ describeWorkspaceConfiguration(
176
+ args: DescribeWorkspaceConfigurationCommandInput,
177
+ options: __HttpHandlerOptions,
178
+ cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void
179
+ ): void;
159
180
  disassociateLicense(
160
181
  args: DisassociateLicenseCommandInput,
161
182
  options?: __HttpHandlerOptions
@@ -273,4 +294,17 @@ export declare class Grafana extends GrafanaClient {
273
294
  options: __HttpHandlerOptions,
274
295
  cb: (err: any, data?: UpdateWorkspaceAuthenticationCommandOutput) => void
275
296
  ): void;
297
+ updateWorkspaceConfiguration(
298
+ args: UpdateWorkspaceConfigurationCommandInput,
299
+ options?: __HttpHandlerOptions
300
+ ): Promise<UpdateWorkspaceConfigurationCommandOutput>;
301
+ updateWorkspaceConfiguration(
302
+ args: UpdateWorkspaceConfigurationCommandInput,
303
+ cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void
304
+ ): void;
305
+ updateWorkspaceConfiguration(
306
+ args: UpdateWorkspaceConfigurationCommandInput,
307
+ options: __HttpHandlerOptions,
308
+ cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void
309
+ ): void;
276
310
  }
@@ -71,6 +71,10 @@ import {
71
71
  DescribeWorkspaceCommandInput,
72
72
  DescribeWorkspaceCommandOutput,
73
73
  } from "./commands/DescribeWorkspaceCommand";
74
+ import {
75
+ DescribeWorkspaceConfigurationCommandInput,
76
+ DescribeWorkspaceConfigurationCommandOutput,
77
+ } from "./commands/DescribeWorkspaceConfigurationCommand";
74
78
  import {
75
79
  DisassociateLicenseCommandInput,
76
80
  DisassociateLicenseCommandOutput,
@@ -107,6 +111,10 @@ import {
107
111
  UpdateWorkspaceCommandInput,
108
112
  UpdateWorkspaceCommandOutput,
109
113
  } from "./commands/UpdateWorkspaceCommand";
114
+ import {
115
+ UpdateWorkspaceConfigurationCommandInput,
116
+ UpdateWorkspaceConfigurationCommandOutput,
117
+ } from "./commands/UpdateWorkspaceConfigurationCommand";
110
118
  import {
111
119
  ClientInputEndpointParameters,
112
120
  ClientResolvedEndpointParameters,
@@ -120,6 +128,7 @@ export declare type ServiceInputTypes =
120
128
  | DeleteWorkspaceCommandInput
121
129
  | DescribeWorkspaceAuthenticationCommandInput
122
130
  | DescribeWorkspaceCommandInput
131
+ | DescribeWorkspaceConfigurationCommandInput
123
132
  | DisassociateLicenseCommandInput
124
133
  | ListPermissionsCommandInput
125
134
  | ListTagsForResourceCommandInput
@@ -128,7 +137,8 @@ export declare type ServiceInputTypes =
128
137
  | UntagResourceCommandInput
129
138
  | UpdatePermissionsCommandInput
130
139
  | UpdateWorkspaceAuthenticationCommandInput
131
- | UpdateWorkspaceCommandInput;
140
+ | UpdateWorkspaceCommandInput
141
+ | UpdateWorkspaceConfigurationCommandInput;
132
142
  export declare type ServiceOutputTypes =
133
143
  | AssociateLicenseCommandOutput
134
144
  | CreateWorkspaceApiKeyCommandOutput
@@ -137,6 +147,7 @@ export declare type ServiceOutputTypes =
137
147
  | DeleteWorkspaceCommandOutput
138
148
  | DescribeWorkspaceAuthenticationCommandOutput
139
149
  | DescribeWorkspaceCommandOutput
150
+ | DescribeWorkspaceConfigurationCommandOutput
140
151
  | DisassociateLicenseCommandOutput
141
152
  | ListPermissionsCommandOutput
142
153
  | ListTagsForResourceCommandOutput
@@ -145,7 +156,8 @@ export declare type ServiceOutputTypes =
145
156
  | UntagResourceCommandOutput
146
157
  | UpdatePermissionsCommandOutput
147
158
  | UpdateWorkspaceAuthenticationCommandOutput
148
- | UpdateWorkspaceCommandOutput;
159
+ | UpdateWorkspaceCommandOutput
160
+ | UpdateWorkspaceConfigurationCommandOutput;
149
161
  export interface ClientDefaults
150
162
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
151
163
  requestHandler?: __HttpHandler;
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ GrafanaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../GrafanaClient";
14
+ import {
15
+ DescribeWorkspaceConfigurationRequest,
16
+ DescribeWorkspaceConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribeWorkspaceConfigurationCommandInput
19
+ extends DescribeWorkspaceConfigurationRequest {}
20
+ export interface DescribeWorkspaceConfigurationCommandOutput
21
+ extends DescribeWorkspaceConfigurationResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeWorkspaceConfigurationCommand extends $Command<
24
+ DescribeWorkspaceConfigurationCommandInput,
25
+ DescribeWorkspaceConfigurationCommandOutput,
26
+ GrafanaClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeWorkspaceConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeWorkspaceConfigurationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: GrafanaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeWorkspaceConfigurationCommandInput,
37
+ DescribeWorkspaceConfigurationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ GrafanaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../GrafanaClient";
14
+ import {
15
+ UpdateWorkspaceConfigurationRequest,
16
+ UpdateWorkspaceConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export interface UpdateWorkspaceConfigurationCommandInput
19
+ extends UpdateWorkspaceConfigurationRequest {}
20
+ export interface UpdateWorkspaceConfigurationCommandOutput
21
+ extends UpdateWorkspaceConfigurationResponse,
22
+ __MetadataBearer {}
23
+ export declare class UpdateWorkspaceConfigurationCommand extends $Command<
24
+ UpdateWorkspaceConfigurationCommandInput,
25
+ UpdateWorkspaceConfigurationCommandOutput,
26
+ GrafanaClientResolvedConfig
27
+ > {
28
+ readonly input: UpdateWorkspaceConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateWorkspaceConfigurationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: GrafanaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ UpdateWorkspaceConfigurationCommandInput,
37
+ UpdateWorkspaceConfigurationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -5,6 +5,7 @@ export * from "./DeleteWorkspaceApiKeyCommand";
5
5
  export * from "./DeleteWorkspaceCommand";
6
6
  export * from "./DescribeWorkspaceAuthenticationCommand";
7
7
  export * from "./DescribeWorkspaceCommand";
8
+ export * from "./DescribeWorkspaceConfigurationCommand";
8
9
  export * from "./DisassociateLicenseCommand";
9
10
  export * from "./ListPermissionsCommand";
10
11
  export * from "./ListTagsForResourceCommand";
@@ -14,3 +15,4 @@ export * from "./UntagResourceCommand";
14
15
  export * from "./UpdatePermissionsCommand";
15
16
  export * from "./UpdateWorkspaceAuthenticationCommand";
16
17
  export * from "./UpdateWorkspaceCommand";
18
+ export * from "./UpdateWorkspaceConfigurationCommand";
@@ -1,4 +1,7 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
1
+ import {
2
+ ExceptionOptionType as __ExceptionOptionType,
3
+ LazyJsonString as __LazyJsonString,
4
+ } from "@aws-sdk/smithy-client";
2
5
  import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
3
6
  export declare class AccessDeniedException extends __BaseException {
4
7
  readonly name: "AccessDeniedException";
@@ -132,6 +135,7 @@ export declare enum DataSourceType {
132
135
  REDSHIFT = "REDSHIFT",
133
136
  SITEWISE = "SITEWISE",
134
137
  TIMESTREAM = "TIMESTREAM",
138
+ TWINMAKER = "TWINMAKER",
135
139
  XRAY = "XRAY",
136
140
  }
137
141
  export declare enum NotificationDestinationType {
@@ -154,6 +158,10 @@ export declare enum WorkspaceStatus {
154
158
  UPGRADE_FAILED = "UPGRADE_FAILED",
155
159
  UPGRADING = "UPGRADING",
156
160
  }
161
+ export interface VpcConfiguration {
162
+ securityGroupIds: string[] | undefined;
163
+ subnetIds: string[] | undefined;
164
+ }
157
165
  export interface WorkspaceDescription {
158
166
  accountAccessType?: AccountAccessType | string;
159
167
  created: Date | undefined;
@@ -177,6 +185,7 @@ export interface WorkspaceDescription {
177
185
  freeTrialExpiration?: Date;
178
186
  authentication: AuthenticationSummary | undefined;
179
187
  tags?: Record<string, string>;
188
+ vpcConfiguration?: VpcConfiguration;
180
189
  }
181
190
  export interface AssociateLicenseResponse {
182
191
  workspace: WorkspaceDescription | undefined;
@@ -245,6 +254,17 @@ export interface UpdateWorkspaceAuthenticationRequest {
245
254
  export interface UpdateWorkspaceAuthenticationResponse {
246
255
  authentication: AuthenticationDescription | undefined;
247
256
  }
257
+ export interface DescribeWorkspaceConfigurationRequest {
258
+ workspaceId: string | undefined;
259
+ }
260
+ export interface DescribeWorkspaceConfigurationResponse {
261
+ configuration: __LazyJsonString | string | undefined;
262
+ }
263
+ export interface UpdateWorkspaceConfigurationRequest {
264
+ configuration: __LazyJsonString | string | undefined;
265
+ workspaceId: string | undefined;
266
+ }
267
+ export interface UpdateWorkspaceConfigurationResponse {}
248
268
  export interface DisassociateLicenseRequest {
249
269
  workspaceId: string | undefined;
250
270
  licenseType: LicenseType | string | undefined;
@@ -332,6 +352,8 @@ export interface CreateWorkspaceRequest {
332
352
  workspaceRoleArn?: string;
333
353
  authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
334
354
  tags?: Record<string, string>;
355
+ vpcConfiguration?: VpcConfiguration;
356
+ configuration?: __LazyJsonString | string;
335
357
  }
336
358
  export interface CreateWorkspaceResponse {
337
359
  workspace: WorkspaceDescription | undefined;
@@ -381,6 +403,8 @@ export interface UpdateWorkspaceRequest {
381
403
  workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
382
404
  workspaceOrganizationalUnits?: string[];
383
405
  workspaceRoleArn?: string;
406
+ vpcConfiguration?: VpcConfiguration;
407
+ removeVpcConfiguration?: boolean;
384
408
  }
385
409
  export interface UpdateWorkspaceResponse {
386
410
  workspace: WorkspaceDescription | undefined;
@@ -409,6 +433,9 @@ export declare const AssociateLicenseRequestFilterSensitiveLog: (
409
433
  export declare const AuthenticationSummaryFilterSensitiveLog: (
410
434
  obj: AuthenticationSummary
411
435
  ) => any;
436
+ export declare const VpcConfigurationFilterSensitiveLog: (
437
+ obj: VpcConfiguration
438
+ ) => any;
412
439
  export declare const WorkspaceDescriptionFilterSensitiveLog: (
413
440
  obj: WorkspaceDescription
414
441
  ) => any;
@@ -441,6 +468,18 @@ export declare const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog: (
441
468
  export declare const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog: (
442
469
  obj: UpdateWorkspaceAuthenticationResponse
443
470
  ) => any;
471
+ export declare const DescribeWorkspaceConfigurationRequestFilterSensitiveLog: (
472
+ obj: DescribeWorkspaceConfigurationRequest
473
+ ) => any;
474
+ export declare const DescribeWorkspaceConfigurationResponseFilterSensitiveLog: (
475
+ obj: DescribeWorkspaceConfigurationResponse
476
+ ) => any;
477
+ export declare const UpdateWorkspaceConfigurationRequestFilterSensitiveLog: (
478
+ obj: UpdateWorkspaceConfigurationRequest
479
+ ) => any;
480
+ export declare const UpdateWorkspaceConfigurationResponseFilterSensitiveLog: (
481
+ obj: UpdateWorkspaceConfigurationResponse
482
+ ) => any;
444
483
  export declare const DisassociateLicenseRequestFilterSensitiveLog: (
445
484
  obj: DisassociateLicenseRequest
446
485
  ) => any;
@@ -31,6 +31,10 @@ import {
31
31
  DescribeWorkspaceCommandInput,
32
32
  DescribeWorkspaceCommandOutput,
33
33
  } from "../commands/DescribeWorkspaceCommand";
34
+ import {
35
+ DescribeWorkspaceConfigurationCommandInput,
36
+ DescribeWorkspaceConfigurationCommandOutput,
37
+ } from "../commands/DescribeWorkspaceConfigurationCommand";
34
38
  import {
35
39
  DisassociateLicenseCommandInput,
36
40
  DisassociateLicenseCommandOutput,
@@ -67,6 +71,10 @@ import {
67
71
  UpdateWorkspaceCommandInput,
68
72
  UpdateWorkspaceCommandOutput,
69
73
  } from "../commands/UpdateWorkspaceCommand";
74
+ import {
75
+ UpdateWorkspaceConfigurationCommandInput,
76
+ UpdateWorkspaceConfigurationCommandOutput,
77
+ } from "../commands/UpdateWorkspaceConfigurationCommand";
70
78
  export declare const serializeAws_restJson1AssociateLicenseCommand: (
71
79
  input: AssociateLicenseCommandInput,
72
80
  context: __SerdeContext
@@ -95,6 +103,10 @@ export declare const serializeAws_restJson1DescribeWorkspaceAuthenticationComman
95
103
  input: DescribeWorkspaceAuthenticationCommandInput,
96
104
  context: __SerdeContext
97
105
  ) => Promise<__HttpRequest>;
106
+ export declare const serializeAws_restJson1DescribeWorkspaceConfigurationCommand: (
107
+ input: DescribeWorkspaceConfigurationCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
98
110
  export declare const serializeAws_restJson1DisassociateLicenseCommand: (
99
111
  input: DisassociateLicenseCommandInput,
100
112
  context: __SerdeContext
@@ -131,6 +143,10 @@ export declare const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand:
131
143
  input: UpdateWorkspaceAuthenticationCommandInput,
132
144
  context: __SerdeContext
133
145
  ) => Promise<__HttpRequest>;
146
+ export declare const serializeAws_restJson1UpdateWorkspaceConfigurationCommand: (
147
+ input: UpdateWorkspaceConfigurationCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
134
150
  export declare const deserializeAws_restJson1AssociateLicenseCommand: (
135
151
  output: __HttpResponse,
136
152
  context: __SerdeContext
@@ -159,6 +175,10 @@ export declare const deserializeAws_restJson1DescribeWorkspaceAuthenticationComm
159
175
  output: __HttpResponse,
160
176
  context: __SerdeContext
161
177
  ) => Promise<DescribeWorkspaceAuthenticationCommandOutput>;
178
+ export declare const deserializeAws_restJson1DescribeWorkspaceConfigurationCommand: (
179
+ output: __HttpResponse,
180
+ context: __SerdeContext
181
+ ) => Promise<DescribeWorkspaceConfigurationCommandOutput>;
162
182
  export declare const deserializeAws_restJson1DisassociateLicenseCommand: (
163
183
  output: __HttpResponse,
164
184
  context: __SerdeContext
@@ -195,3 +215,7 @@ export declare const deserializeAws_restJson1UpdateWorkspaceAuthenticationComman
195
215
  output: __HttpResponse,
196
216
  context: __SerdeContext
197
217
  ) => Promise<UpdateWorkspaceAuthenticationCommandOutput>;
218
+ export declare const deserializeAws_restJson1UpdateWorkspaceConfigurationCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<UpdateWorkspaceConfigurationCommandOutput>;
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.216.0",
4
+ "version": "3.217.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",