@aws-sdk/client-grafana 3.478.0 → 3.481.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 (81) hide show
  1. package/dist-cjs/commands/AssociateLicenseCommand.js +18 -41
  2. package/dist-cjs/commands/CreateWorkspaceApiKeyCommand.js +18 -41
  3. package/dist-cjs/commands/CreateWorkspaceCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteWorkspaceApiKeyCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteWorkspaceCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeWorkspaceAuthenticationCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeWorkspaceCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeWorkspaceConfigurationCommand.js +18 -41
  9. package/dist-cjs/commands/DisassociateLicenseCommand.js +18 -41
  10. package/dist-cjs/commands/ListPermissionsCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/ListVersionsCommand.js +18 -41
  13. package/dist-cjs/commands/ListWorkspacesCommand.js +18 -41
  14. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  15. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  16. package/dist-cjs/commands/UpdatePermissionsCommand.js +18 -41
  17. package/dist-cjs/commands/UpdateWorkspaceAuthenticationCommand.js +18 -41
  18. package/dist-cjs/commands/UpdateWorkspaceCommand.js +18 -41
  19. package/dist-cjs/commands/UpdateWorkspaceConfigurationCommand.js +18 -41
  20. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  21. package/dist-es/commands/AssociateLicenseCommand.js +18 -41
  22. package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +18 -41
  23. package/dist-es/commands/CreateWorkspaceCommand.js +18 -41
  24. package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +18 -41
  25. package/dist-es/commands/DeleteWorkspaceCommand.js +18 -41
  26. package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +18 -41
  27. package/dist-es/commands/DescribeWorkspaceCommand.js +18 -41
  28. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +18 -41
  29. package/dist-es/commands/DisassociateLicenseCommand.js +18 -41
  30. package/dist-es/commands/ListPermissionsCommand.js +18 -41
  31. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  32. package/dist-es/commands/ListVersionsCommand.js +18 -41
  33. package/dist-es/commands/ListWorkspacesCommand.js +18 -41
  34. package/dist-es/commands/TagResourceCommand.js +18 -41
  35. package/dist-es/commands/UntagResourceCommand.js +18 -41
  36. package/dist-es/commands/UpdatePermissionsCommand.js +18 -41
  37. package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +18 -41
  38. package/dist-es/commands/UpdateWorkspaceCommand.js +18 -41
  39. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +18 -41
  40. package/dist-es/endpoint/EndpointParameters.js +6 -0
  41. package/dist-types/commands/AssociateLicenseCommand.d.ts +6 -21
  42. package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +6 -21
  43. package/dist-types/commands/CreateWorkspaceCommand.d.ts +6 -21
  44. package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +6 -21
  45. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +6 -21
  46. package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +6 -21
  47. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +6 -21
  48. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +6 -21
  49. package/dist-types/commands/DisassociateLicenseCommand.d.ts +6 -21
  50. package/dist-types/commands/ListPermissionsCommand.d.ts +6 -21
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  52. package/dist-types/commands/ListVersionsCommand.d.ts +6 -21
  53. package/dist-types/commands/ListWorkspacesCommand.d.ts +6 -21
  54. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  55. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  56. package/dist-types/commands/UpdatePermissionsCommand.d.ts +6 -21
  57. package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +6 -21
  58. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +6 -21
  59. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +6 -21
  60. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  61. package/dist-types/ts3.4/commands/AssociateLicenseCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/CreateWorkspaceApiKeyCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/DeleteWorkspaceApiKeyCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/DescribeWorkspaceAuthenticationCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/DisassociateLicenseCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/UpdatePermissionsCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/UpdateWorkspaceAuthenticationCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  81. package/package.json +9 -9
@@ -1,48 +1,25 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UpdateWorkspaceRequestFilterSensitiveLog, UpdateWorkspaceResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateWorkspaceCommand, se_UpdateWorkspaceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateWorkspaceCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkspaceCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "GrafanaClient";
27
- const commandName = "UpdateWorkspaceCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateWorkspaceRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: UpdateWorkspaceResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGrafanaControlPlane",
36
- operation: "UpdateWorkspace",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateWorkspaceCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateWorkspaceCommand(output, context);
47
- }
8
+ export class UpdateWorkspaceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGrafanaControlPlane", "UpdateWorkspace", {})
20
+ .n("GrafanaClient", "UpdateWorkspaceCommand")
21
+ .f(UpdateWorkspaceRequestFilterSensitiveLog, UpdateWorkspaceResponseFilterSensitiveLog)
22
+ .ser(se_UpdateWorkspaceCommand)
23
+ .de(de_UpdateWorkspaceCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateWorkspaceConfigurationCommand, se_UpdateWorkspaceConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateWorkspaceConfigurationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkspaceConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GrafanaClient";
26
- const commandName = "UpdateWorkspaceConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGrafanaControlPlane",
35
- operation: "UpdateWorkspaceConfiguration",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateWorkspaceConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateWorkspaceConfigurationCommand(output, context);
46
- }
7
+ export class UpdateWorkspaceConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGrafanaControlPlane", "UpdateWorkspaceConfiguration", {})
19
+ .n("GrafanaClient", "UpdateWorkspaceConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateWorkspaceConfigurationCommand)
22
+ .de(de_UpdateWorkspaceConfigurationCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "grafana",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { AssociateLicenseRequest, AssociateLicenseResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateLicenseCommandInput extends AssociateLicenseRequest {
21
20
  */
22
21
  export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse, __MetadataBearer {
23
22
  }
23
+ declare const AssociateLicenseCommand_base: {
24
+ new (input: AssociateLicenseCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateLicenseCommandInput, AssociateLicenseCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise
@@ -121,23 +124,5 @@ export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse,
121
124
  * <p>Base exception class for all service exceptions from Grafana service.</p>
122
125
  *
123
126
  */
124
- export declare class AssociateLicenseCommand extends $Command<AssociateLicenseCommandInput, AssociateLicenseCommandOutput, GrafanaClientResolvedConfig> {
125
- readonly input: AssociateLicenseCommandInput;
126
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
- /**
128
- * @public
129
- */
130
- constructor(input: AssociateLicenseCommandInput);
131
- /**
132
- * @internal
133
- */
134
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateLicenseCommandInput, AssociateLicenseCommandOutput>;
135
- /**
136
- * @internal
137
- */
138
- private serialize;
139
- /**
140
- * @internal
141
- */
142
- private deserialize;
127
+ export declare class AssociateLicenseCommand extends AssociateLicenseCommand_base {
143
128
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { CreateWorkspaceApiKeyRequest, CreateWorkspaceApiKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateWorkspaceApiKeyCommandInput extends CreateWorkspaceApiKey
21
20
  */
22
21
  export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateWorkspaceApiKeyCommand_base: {
24
+ new (input: CreateWorkspaceApiKeyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a Grafana API key for the workspace. This key can be used to authenticate
@@ -79,23 +82,5 @@ export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKe
79
82
  * <p>Base exception class for all service exceptions from Grafana service.</p>
80
83
  *
81
84
  */
82
- export declare class CreateWorkspaceApiKeyCommand extends $Command<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig> {
83
- readonly input: CreateWorkspaceApiKeyCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: CreateWorkspaceApiKeyCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class CreateWorkspaceApiKeyCommand extends CreateWorkspaceApiKeyCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { CreateWorkspaceRequest, CreateWorkspaceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateWorkspaceCommandInput extends CreateWorkspaceRequest {
21
20
  */
22
21
  export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateWorkspaceCommand_base: {
24
+ new (input: CreateWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a <i>workspace</i>. In a workspace, you can create Grafana
@@ -165,23 +168,5 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
165
168
  * <p>Base exception class for all service exceptions from Grafana service.</p>
166
169
  *
167
170
  */
168
- export declare class CreateWorkspaceCommand extends $Command<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, GrafanaClientResolvedConfig> {
169
- readonly input: CreateWorkspaceCommandInput;
170
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
171
- /**
172
- * @public
173
- */
174
- constructor(input: CreateWorkspaceCommandInput);
175
- /**
176
- * @internal
177
- */
178
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput>;
179
- /**
180
- * @internal
181
- */
182
- private serialize;
183
- /**
184
- * @internal
185
- */
186
- private deserialize;
171
+ export declare class CreateWorkspaceCommand extends CreateWorkspaceCommand_base {
187
172
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { DeleteWorkspaceApiKeyRequest, DeleteWorkspaceApiKeyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteWorkspaceApiKeyCommandInput extends DeleteWorkspaceApiKey
21
20
  */
22
21
  export interface DeleteWorkspaceApiKeyCommandOutput extends DeleteWorkspaceApiKeyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteWorkspaceApiKeyCommand_base: {
24
+ new (input: DeleteWorkspaceApiKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a Grafana API key for the workspace.</p>
@@ -71,23 +74,5 @@ export interface DeleteWorkspaceApiKeyCommandOutput extends DeleteWorkspaceApiKe
71
74
  * <p>Base exception class for all service exceptions from Grafana service.</p>
72
75
  *
73
76
  */
74
- export declare class DeleteWorkspaceApiKeyCommand extends $Command<DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig> {
75
- readonly input: DeleteWorkspaceApiKeyCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: DeleteWorkspaceApiKeyCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class DeleteWorkspaceApiKeyCommand extends DeleteWorkspaceApiKeyCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { DeleteWorkspaceRequest, DeleteWorkspaceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteWorkspaceCommandInput extends DeleteWorkspaceRequest {
21
20
  */
22
21
  export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteWorkspaceCommand_base: {
24
+ new (input: DeleteWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an Amazon Managed Grafana workspace.</p>
@@ -121,23 +124,5 @@ export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, _
121
124
  * <p>Base exception class for all service exceptions from Grafana service.</p>
122
125
  *
123
126
  */
124
- export declare class DeleteWorkspaceCommand extends $Command<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, GrafanaClientResolvedConfig> {
125
- readonly input: DeleteWorkspaceCommandInput;
126
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
- /**
128
- * @public
129
- */
130
- constructor(input: DeleteWorkspaceCommandInput);
131
- /**
132
- * @internal
133
- */
134
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput>;
135
- /**
136
- * @internal
137
- */
138
- private serialize;
139
- /**
140
- * @internal
141
- */
142
- private deserialize;
127
+ export declare class DeleteWorkspaceCommand extends DeleteWorkspaceCommand_base {
143
128
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { DescribeWorkspaceAuthenticationRequest, DescribeWorkspaceAuthenticationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeWorkspaceAuthenticationCommandInput extends DescribeWor
21
20
  */
22
21
  export interface DescribeWorkspaceAuthenticationCommandOutput extends DescribeWorkspaceAuthenticationResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeWorkspaceAuthenticationCommand_base: {
24
+ new (input: DescribeWorkspaceAuthenticationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Displays information about the authentication methods used in one Amazon Managed Grafana
@@ -103,23 +106,5 @@ export interface DescribeWorkspaceAuthenticationCommandOutput extends DescribeWo
103
106
  * <p>Base exception class for all service exceptions from Grafana service.</p>
104
107
  *
105
108
  */
106
- export declare class DescribeWorkspaceAuthenticationCommand extends $Command<DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput, GrafanaClientResolvedConfig> {
107
- readonly input: DescribeWorkspaceAuthenticationCommandInput;
108
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
- /**
110
- * @public
111
- */
112
- constructor(input: DescribeWorkspaceAuthenticationCommandInput);
113
- /**
114
- * @internal
115
- */
116
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput>;
117
- /**
118
- * @internal
119
- */
120
- private serialize;
121
- /**
122
- * @internal
123
- */
124
- private deserialize;
109
+ export declare class DescribeWorkspaceAuthenticationCommand extends DescribeWorkspaceAuthenticationCommand_base {
125
110
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { DescribeWorkspaceRequest, DescribeWorkspaceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeWorkspaceCommandInput extends DescribeWorkspaceRequest
21
20
  */
22
21
  export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeWorkspaceCommand_base: {
24
+ new (input: DescribeWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Displays information about one Amazon Managed Grafana workspace.</p>
@@ -118,23 +121,5 @@ export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceRespons
118
121
  * <p>Base exception class for all service exceptions from Grafana service.</p>
119
122
  *
120
123
  */
121
- export declare class DescribeWorkspaceCommand extends $Command<DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput, GrafanaClientResolvedConfig> {
122
- readonly input: DescribeWorkspaceCommandInput;
123
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
124
- /**
125
- * @public
126
- */
127
- constructor(input: DescribeWorkspaceCommandInput);
128
- /**
129
- * @internal
130
- */
131
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput>;
132
- /**
133
- * @internal
134
- */
135
- private serialize;
136
- /**
137
- * @internal
138
- */
139
- private deserialize;
124
+ export declare class DescribeWorkspaceCommand extends DescribeWorkspaceCommand_base {
140
125
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { DescribeWorkspaceConfigurationRequest, DescribeWorkspaceConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeWorkspaceConfigurationCommandInput extends DescribeWork
21
20
  */
22
21
  export interface DescribeWorkspaceConfigurationCommandOutput extends DescribeWorkspaceConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeWorkspaceConfigurationCommand_base: {
24
+ new (input: DescribeWorkspaceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the current configuration string for the given workspace.</p>
@@ -64,23 +67,5 @@ export interface DescribeWorkspaceConfigurationCommandOutput extends DescribeWor
64
67
  * <p>Base exception class for all service exceptions from Grafana service.</p>
65
68
  *
66
69
  */
67
- export declare class DescribeWorkspaceConfigurationCommand extends $Command<DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput, GrafanaClientResolvedConfig> {
68
- readonly input: DescribeWorkspaceConfigurationCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: DescribeWorkspaceConfigurationCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class DescribeWorkspaceConfigurationCommand extends DescribeWorkspaceConfigurationCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { DisassociateLicenseRequest, DisassociateLicenseResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DisassociateLicenseCommandInput extends DisassociateLicenseRequ
21
20
  */
22
21
  export interface DisassociateLicenseCommandOutput extends DisassociateLicenseResponse, __MetadataBearer {
23
22
  }
23
+ declare const DisassociateLicenseCommand_base: {
24
+ new (input: DisassociateLicenseCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes the Grafana Enterprise license from a workspace.</p>
@@ -119,23 +122,5 @@ export interface DisassociateLicenseCommandOutput extends DisassociateLicenseRes
119
122
  * <p>Base exception class for all service exceptions from Grafana service.</p>
120
123
  *
121
124
  */
122
- export declare class DisassociateLicenseCommand extends $Command<DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput, GrafanaClientResolvedConfig> {
123
- readonly input: DisassociateLicenseCommandInput;
124
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
125
- /**
126
- * @public
127
- */
128
- constructor(input: DisassociateLicenseCommandInput);
129
- /**
130
- * @internal
131
- */
132
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput>;
133
- /**
134
- * @internal
135
- */
136
- private serialize;
137
- /**
138
- * @internal
139
- */
140
- private deserialize;
125
+ export declare class DisassociateLicenseCommand extends DisassociateLicenseCommand_base {
141
126
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { ListPermissionsRequest, ListPermissionsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListPermissionsCommandInput extends ListPermissionsRequest {
21
20
  */
22
21
  export interface ListPermissionsCommandOutput extends ListPermissionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListPermissionsCommand_base: {
24
+ new (input: ListPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPermissionsCommandInput, ListPermissionsCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the users and groups who have the Grafana <code>Admin</code> and
@@ -85,23 +88,5 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
85
88
  * <p>Base exception class for all service exceptions from Grafana service.</p>
86
89
  *
87
90
  */
88
- export declare class ListPermissionsCommand extends $Command<ListPermissionsCommandInput, ListPermissionsCommandOutput, GrafanaClientResolvedConfig> {
89
- readonly input: ListPermissionsCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: ListPermissionsCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPermissionsCommandInput, ListPermissionsCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class ListPermissionsCommand extends ListPermissionsCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
5
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>ListTagsForResource</code> operation returns the tags that are associated
@@ -71,23 +74,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
71
74
  * <p>Base exception class for all service exceptions from Grafana service.</p>
72
75
  *
73
76
  */
74
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, GrafanaClientResolvedConfig> {
75
- readonly input: ListTagsForResourceCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: ListTagsForResourceCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
93
78
  }