@aws-sdk/client-grafana 3.576.0 → 3.577.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist-cjs/index.js +341 -0
- package/dist-es/Grafana.js +12 -0
- package/dist-es/commands/CreateWorkspaceServiceAccountCommand.js +24 -0
- package/dist-es/commands/CreateWorkspaceServiceAccountTokenCommand.js +25 -0
- package/dist-es/commands/DeleteWorkspaceServiceAccountCommand.js +24 -0
- package/dist-es/commands/DeleteWorkspaceServiceAccountTokenCommand.js +24 -0
- package/dist-es/commands/ListWorkspaceServiceAccountTokensCommand.js +24 -0
- package/dist-es/commands/ListWorkspaceServiceAccountsCommand.js +24 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/pagination/ListWorkspaceServiceAccountTokensPaginator.js +4 -0
- package/dist-es/pagination/ListWorkspaceServiceAccountsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +193 -0
- package/dist-types/Grafana.d.ts +42 -0
- package/dist-types/GrafanaClient.d.ts +8 -2
- package/dist-types/commands/AssociateLicenseCommand.d.ts +3 -1
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/CreateWorkspaceServiceAccountCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +101 -0
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWorkspaceServiceAccountCommand.d.ts +84 -0
- package/dist-types/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +86 -0
- package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +3 -0
- package/dist-types/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +97 -0
- package/dist-types/commands/ListWorkspaceServiceAccountsCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +357 -5
- package/dist-types/pagination/ListWorkspaceServiceAccountTokensPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkspaceServiceAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/Grafana.d.ts +120 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -0
- package/dist-types/ts3.4/pagination/ListWorkspaceServiceAccountTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkspaceServiceAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +13 -13
|
@@ -11,6 +11,14 @@ import {
|
|
|
11
11
|
CreateWorkspaceCommandInput,
|
|
12
12
|
CreateWorkspaceCommandOutput,
|
|
13
13
|
} from "./commands/CreateWorkspaceCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreateWorkspaceServiceAccountCommandInput,
|
|
16
|
+
CreateWorkspaceServiceAccountCommandOutput,
|
|
17
|
+
} from "./commands/CreateWorkspaceServiceAccountCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreateWorkspaceServiceAccountTokenCommandInput,
|
|
20
|
+
CreateWorkspaceServiceAccountTokenCommandOutput,
|
|
21
|
+
} from "./commands/CreateWorkspaceServiceAccountTokenCommand";
|
|
14
22
|
import {
|
|
15
23
|
DeleteWorkspaceApiKeyCommandInput,
|
|
16
24
|
DeleteWorkspaceApiKeyCommandOutput,
|
|
@@ -19,6 +27,14 @@ import {
|
|
|
19
27
|
DeleteWorkspaceCommandInput,
|
|
20
28
|
DeleteWorkspaceCommandOutput,
|
|
21
29
|
} from "./commands/DeleteWorkspaceCommand";
|
|
30
|
+
import {
|
|
31
|
+
DeleteWorkspaceServiceAccountCommandInput,
|
|
32
|
+
DeleteWorkspaceServiceAccountCommandOutput,
|
|
33
|
+
} from "./commands/DeleteWorkspaceServiceAccountCommand";
|
|
34
|
+
import {
|
|
35
|
+
DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
36
|
+
DeleteWorkspaceServiceAccountTokenCommandOutput,
|
|
37
|
+
} from "./commands/DeleteWorkspaceServiceAccountTokenCommand";
|
|
22
38
|
import {
|
|
23
39
|
DescribeWorkspaceAuthenticationCommandInput,
|
|
24
40
|
DescribeWorkspaceAuthenticationCommandOutput,
|
|
@@ -51,6 +67,14 @@ import {
|
|
|
51
67
|
ListWorkspacesCommandInput,
|
|
52
68
|
ListWorkspacesCommandOutput,
|
|
53
69
|
} from "./commands/ListWorkspacesCommand";
|
|
70
|
+
import {
|
|
71
|
+
ListWorkspaceServiceAccountsCommandInput,
|
|
72
|
+
ListWorkspaceServiceAccountsCommandOutput,
|
|
73
|
+
} from "./commands/ListWorkspaceServiceAccountsCommand";
|
|
74
|
+
import {
|
|
75
|
+
ListWorkspaceServiceAccountTokensCommandInput,
|
|
76
|
+
ListWorkspaceServiceAccountTokensCommandOutput,
|
|
77
|
+
} from "./commands/ListWorkspaceServiceAccountTokensCommand";
|
|
54
78
|
import {
|
|
55
79
|
TagResourceCommandInput,
|
|
56
80
|
TagResourceCommandOutput,
|
|
@@ -116,6 +140,38 @@ export interface Grafana {
|
|
|
116
140
|
options: __HttpHandlerOptions,
|
|
117
141
|
cb: (err: any, data?: CreateWorkspaceApiKeyCommandOutput) => void
|
|
118
142
|
): void;
|
|
143
|
+
createWorkspaceServiceAccount(
|
|
144
|
+
args: CreateWorkspaceServiceAccountCommandInput,
|
|
145
|
+
options?: __HttpHandlerOptions
|
|
146
|
+
): Promise<CreateWorkspaceServiceAccountCommandOutput>;
|
|
147
|
+
createWorkspaceServiceAccount(
|
|
148
|
+
args: CreateWorkspaceServiceAccountCommandInput,
|
|
149
|
+
cb: (err: any, data?: CreateWorkspaceServiceAccountCommandOutput) => void
|
|
150
|
+
): void;
|
|
151
|
+
createWorkspaceServiceAccount(
|
|
152
|
+
args: CreateWorkspaceServiceAccountCommandInput,
|
|
153
|
+
options: __HttpHandlerOptions,
|
|
154
|
+
cb: (err: any, data?: CreateWorkspaceServiceAccountCommandOutput) => void
|
|
155
|
+
): void;
|
|
156
|
+
createWorkspaceServiceAccountToken(
|
|
157
|
+
args: CreateWorkspaceServiceAccountTokenCommandInput,
|
|
158
|
+
options?: __HttpHandlerOptions
|
|
159
|
+
): Promise<CreateWorkspaceServiceAccountTokenCommandOutput>;
|
|
160
|
+
createWorkspaceServiceAccountToken(
|
|
161
|
+
args: CreateWorkspaceServiceAccountTokenCommandInput,
|
|
162
|
+
cb: (
|
|
163
|
+
err: any,
|
|
164
|
+
data?: CreateWorkspaceServiceAccountTokenCommandOutput
|
|
165
|
+
) => void
|
|
166
|
+
): void;
|
|
167
|
+
createWorkspaceServiceAccountToken(
|
|
168
|
+
args: CreateWorkspaceServiceAccountTokenCommandInput,
|
|
169
|
+
options: __HttpHandlerOptions,
|
|
170
|
+
cb: (
|
|
171
|
+
err: any,
|
|
172
|
+
data?: CreateWorkspaceServiceAccountTokenCommandOutput
|
|
173
|
+
) => void
|
|
174
|
+
): void;
|
|
119
175
|
deleteWorkspace(
|
|
120
176
|
args: DeleteWorkspaceCommandInput,
|
|
121
177
|
options?: __HttpHandlerOptions
|
|
@@ -142,6 +198,38 @@ export interface Grafana {
|
|
|
142
198
|
options: __HttpHandlerOptions,
|
|
143
199
|
cb: (err: any, data?: DeleteWorkspaceApiKeyCommandOutput) => void
|
|
144
200
|
): void;
|
|
201
|
+
deleteWorkspaceServiceAccount(
|
|
202
|
+
args: DeleteWorkspaceServiceAccountCommandInput,
|
|
203
|
+
options?: __HttpHandlerOptions
|
|
204
|
+
): Promise<DeleteWorkspaceServiceAccountCommandOutput>;
|
|
205
|
+
deleteWorkspaceServiceAccount(
|
|
206
|
+
args: DeleteWorkspaceServiceAccountCommandInput,
|
|
207
|
+
cb: (err: any, data?: DeleteWorkspaceServiceAccountCommandOutput) => void
|
|
208
|
+
): void;
|
|
209
|
+
deleteWorkspaceServiceAccount(
|
|
210
|
+
args: DeleteWorkspaceServiceAccountCommandInput,
|
|
211
|
+
options: __HttpHandlerOptions,
|
|
212
|
+
cb: (err: any, data?: DeleteWorkspaceServiceAccountCommandOutput) => void
|
|
213
|
+
): void;
|
|
214
|
+
deleteWorkspaceServiceAccountToken(
|
|
215
|
+
args: DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
216
|
+
options?: __HttpHandlerOptions
|
|
217
|
+
): Promise<DeleteWorkspaceServiceAccountTokenCommandOutput>;
|
|
218
|
+
deleteWorkspaceServiceAccountToken(
|
|
219
|
+
args: DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
220
|
+
cb: (
|
|
221
|
+
err: any,
|
|
222
|
+
data?: DeleteWorkspaceServiceAccountTokenCommandOutput
|
|
223
|
+
) => void
|
|
224
|
+
): void;
|
|
225
|
+
deleteWorkspaceServiceAccountToken(
|
|
226
|
+
args: DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
227
|
+
options: __HttpHandlerOptions,
|
|
228
|
+
cb: (
|
|
229
|
+
err: any,
|
|
230
|
+
data?: DeleteWorkspaceServiceAccountTokenCommandOutput
|
|
231
|
+
) => void
|
|
232
|
+
): void;
|
|
145
233
|
describeWorkspace(
|
|
146
234
|
args: DescribeWorkspaceCommandInput,
|
|
147
235
|
options?: __HttpHandlerOptions
|
|
@@ -248,6 +336,38 @@ export interface Grafana {
|
|
|
248
336
|
options: __HttpHandlerOptions,
|
|
249
337
|
cb: (err: any, data?: ListWorkspacesCommandOutput) => void
|
|
250
338
|
): void;
|
|
339
|
+
listWorkspaceServiceAccounts(
|
|
340
|
+
args: ListWorkspaceServiceAccountsCommandInput,
|
|
341
|
+
options?: __HttpHandlerOptions
|
|
342
|
+
): Promise<ListWorkspaceServiceAccountsCommandOutput>;
|
|
343
|
+
listWorkspaceServiceAccounts(
|
|
344
|
+
args: ListWorkspaceServiceAccountsCommandInput,
|
|
345
|
+
cb: (err: any, data?: ListWorkspaceServiceAccountsCommandOutput) => void
|
|
346
|
+
): void;
|
|
347
|
+
listWorkspaceServiceAccounts(
|
|
348
|
+
args: ListWorkspaceServiceAccountsCommandInput,
|
|
349
|
+
options: __HttpHandlerOptions,
|
|
350
|
+
cb: (err: any, data?: ListWorkspaceServiceAccountsCommandOutput) => void
|
|
351
|
+
): void;
|
|
352
|
+
listWorkspaceServiceAccountTokens(
|
|
353
|
+
args: ListWorkspaceServiceAccountTokensCommandInput,
|
|
354
|
+
options?: __HttpHandlerOptions
|
|
355
|
+
): Promise<ListWorkspaceServiceAccountTokensCommandOutput>;
|
|
356
|
+
listWorkspaceServiceAccountTokens(
|
|
357
|
+
args: ListWorkspaceServiceAccountTokensCommandInput,
|
|
358
|
+
cb: (
|
|
359
|
+
err: any,
|
|
360
|
+
data?: ListWorkspaceServiceAccountTokensCommandOutput
|
|
361
|
+
) => void
|
|
362
|
+
): void;
|
|
363
|
+
listWorkspaceServiceAccountTokens(
|
|
364
|
+
args: ListWorkspaceServiceAccountTokensCommandInput,
|
|
365
|
+
options: __HttpHandlerOptions,
|
|
366
|
+
cb: (
|
|
367
|
+
err: any,
|
|
368
|
+
data?: ListWorkspaceServiceAccountTokensCommandOutput
|
|
369
|
+
) => void
|
|
370
|
+
): void;
|
|
251
371
|
tagResource(
|
|
252
372
|
args: TagResourceCommandInput,
|
|
253
373
|
options?: __HttpHandlerOptions
|
|
@@ -57,6 +57,14 @@ import {
|
|
|
57
57
|
CreateWorkspaceCommandInput,
|
|
58
58
|
CreateWorkspaceCommandOutput,
|
|
59
59
|
} from "./commands/CreateWorkspaceCommand";
|
|
60
|
+
import {
|
|
61
|
+
CreateWorkspaceServiceAccountCommandInput,
|
|
62
|
+
CreateWorkspaceServiceAccountCommandOutput,
|
|
63
|
+
} from "./commands/CreateWorkspaceServiceAccountCommand";
|
|
64
|
+
import {
|
|
65
|
+
CreateWorkspaceServiceAccountTokenCommandInput,
|
|
66
|
+
CreateWorkspaceServiceAccountTokenCommandOutput,
|
|
67
|
+
} from "./commands/CreateWorkspaceServiceAccountTokenCommand";
|
|
60
68
|
import {
|
|
61
69
|
DeleteWorkspaceApiKeyCommandInput,
|
|
62
70
|
DeleteWorkspaceApiKeyCommandOutput,
|
|
@@ -65,6 +73,14 @@ import {
|
|
|
65
73
|
DeleteWorkspaceCommandInput,
|
|
66
74
|
DeleteWorkspaceCommandOutput,
|
|
67
75
|
} from "./commands/DeleteWorkspaceCommand";
|
|
76
|
+
import {
|
|
77
|
+
DeleteWorkspaceServiceAccountCommandInput,
|
|
78
|
+
DeleteWorkspaceServiceAccountCommandOutput,
|
|
79
|
+
} from "./commands/DeleteWorkspaceServiceAccountCommand";
|
|
80
|
+
import {
|
|
81
|
+
DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
82
|
+
DeleteWorkspaceServiceAccountTokenCommandOutput,
|
|
83
|
+
} from "./commands/DeleteWorkspaceServiceAccountTokenCommand";
|
|
68
84
|
import {
|
|
69
85
|
DescribeWorkspaceAuthenticationCommandInput,
|
|
70
86
|
DescribeWorkspaceAuthenticationCommandOutput,
|
|
@@ -97,6 +113,14 @@ import {
|
|
|
97
113
|
ListWorkspacesCommandInput,
|
|
98
114
|
ListWorkspacesCommandOutput,
|
|
99
115
|
} from "./commands/ListWorkspacesCommand";
|
|
116
|
+
import {
|
|
117
|
+
ListWorkspaceServiceAccountsCommandInput,
|
|
118
|
+
ListWorkspaceServiceAccountsCommandOutput,
|
|
119
|
+
} from "./commands/ListWorkspaceServiceAccountsCommand";
|
|
120
|
+
import {
|
|
121
|
+
ListWorkspaceServiceAccountTokensCommandInput,
|
|
122
|
+
ListWorkspaceServiceAccountTokensCommandOutput,
|
|
123
|
+
} from "./commands/ListWorkspaceServiceAccountTokensCommand";
|
|
100
124
|
import {
|
|
101
125
|
TagResourceCommandInput,
|
|
102
126
|
TagResourceCommandOutput,
|
|
@@ -132,8 +156,12 @@ export type ServiceInputTypes =
|
|
|
132
156
|
| AssociateLicenseCommandInput
|
|
133
157
|
| CreateWorkspaceApiKeyCommandInput
|
|
134
158
|
| CreateWorkspaceCommandInput
|
|
159
|
+
| CreateWorkspaceServiceAccountCommandInput
|
|
160
|
+
| CreateWorkspaceServiceAccountTokenCommandInput
|
|
135
161
|
| DeleteWorkspaceApiKeyCommandInput
|
|
136
162
|
| DeleteWorkspaceCommandInput
|
|
163
|
+
| DeleteWorkspaceServiceAccountCommandInput
|
|
164
|
+
| DeleteWorkspaceServiceAccountTokenCommandInput
|
|
137
165
|
| DescribeWorkspaceAuthenticationCommandInput
|
|
138
166
|
| DescribeWorkspaceCommandInput
|
|
139
167
|
| DescribeWorkspaceConfigurationCommandInput
|
|
@@ -141,6 +169,8 @@ export type ServiceInputTypes =
|
|
|
141
169
|
| ListPermissionsCommandInput
|
|
142
170
|
| ListTagsForResourceCommandInput
|
|
143
171
|
| ListVersionsCommandInput
|
|
172
|
+
| ListWorkspaceServiceAccountTokensCommandInput
|
|
173
|
+
| ListWorkspaceServiceAccountsCommandInput
|
|
144
174
|
| ListWorkspacesCommandInput
|
|
145
175
|
| TagResourceCommandInput
|
|
146
176
|
| UntagResourceCommandInput
|
|
@@ -152,8 +182,12 @@ export type ServiceOutputTypes =
|
|
|
152
182
|
| AssociateLicenseCommandOutput
|
|
153
183
|
| CreateWorkspaceApiKeyCommandOutput
|
|
154
184
|
| CreateWorkspaceCommandOutput
|
|
185
|
+
| CreateWorkspaceServiceAccountCommandOutput
|
|
186
|
+
| CreateWorkspaceServiceAccountTokenCommandOutput
|
|
155
187
|
| DeleteWorkspaceApiKeyCommandOutput
|
|
156
188
|
| DeleteWorkspaceCommandOutput
|
|
189
|
+
| DeleteWorkspaceServiceAccountCommandOutput
|
|
190
|
+
| DeleteWorkspaceServiceAccountTokenCommandOutput
|
|
157
191
|
| DescribeWorkspaceAuthenticationCommandOutput
|
|
158
192
|
| DescribeWorkspaceCommandOutput
|
|
159
193
|
| DescribeWorkspaceConfigurationCommandOutput
|
|
@@ -161,6 +195,8 @@ export type ServiceOutputTypes =
|
|
|
161
195
|
| ListPermissionsCommandOutput
|
|
162
196
|
| ListTagsForResourceCommandOutput
|
|
163
197
|
| ListVersionsCommandOutput
|
|
198
|
+
| ListWorkspaceServiceAccountTokensCommandOutput
|
|
199
|
+
| ListWorkspaceServiceAccountsCommandOutput
|
|
164
200
|
| ListWorkspacesCommandOutput
|
|
165
201
|
| TagResourceCommandOutput
|
|
166
202
|
| UntagResourceCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GrafanaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GrafanaClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateWorkspaceServiceAccountRequest,
|
|
10
|
+
CreateWorkspaceServiceAccountResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface CreateWorkspaceServiceAccountCommandInput
|
|
14
|
+
extends CreateWorkspaceServiceAccountRequest {}
|
|
15
|
+
export interface CreateWorkspaceServiceAccountCommandOutput
|
|
16
|
+
extends CreateWorkspaceServiceAccountResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CreateWorkspaceServiceAccountCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreateWorkspaceServiceAccountCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
CreateWorkspaceServiceAccountCommandInput,
|
|
23
|
+
CreateWorkspaceServiceAccountCommandOutput,
|
|
24
|
+
GrafanaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: CreateWorkspaceServiceAccountCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateWorkspaceServiceAccountCommandInput,
|
|
32
|
+
CreateWorkspaceServiceAccountCommandOutput,
|
|
33
|
+
GrafanaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class CreateWorkspaceServiceAccountCommand extends CreateWorkspaceServiceAccountCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GrafanaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GrafanaClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateWorkspaceServiceAccountTokenRequest,
|
|
10
|
+
CreateWorkspaceServiceAccountTokenResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface CreateWorkspaceServiceAccountTokenCommandInput
|
|
14
|
+
extends CreateWorkspaceServiceAccountTokenRequest {}
|
|
15
|
+
export interface CreateWorkspaceServiceAccountTokenCommandOutput
|
|
16
|
+
extends CreateWorkspaceServiceAccountTokenResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CreateWorkspaceServiceAccountTokenCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreateWorkspaceServiceAccountTokenCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
CreateWorkspaceServiceAccountTokenCommandInput,
|
|
23
|
+
CreateWorkspaceServiceAccountTokenCommandOutput,
|
|
24
|
+
GrafanaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: CreateWorkspaceServiceAccountTokenCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateWorkspaceServiceAccountTokenCommandInput,
|
|
32
|
+
CreateWorkspaceServiceAccountTokenCommandOutput,
|
|
33
|
+
GrafanaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class CreateWorkspaceServiceAccountTokenCommand extends CreateWorkspaceServiceAccountTokenCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GrafanaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GrafanaClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteWorkspaceServiceAccountRequest,
|
|
10
|
+
DeleteWorkspaceServiceAccountResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DeleteWorkspaceServiceAccountCommandInput
|
|
14
|
+
extends DeleteWorkspaceServiceAccountRequest {}
|
|
15
|
+
export interface DeleteWorkspaceServiceAccountCommandOutput
|
|
16
|
+
extends DeleteWorkspaceServiceAccountResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DeleteWorkspaceServiceAccountCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DeleteWorkspaceServiceAccountCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DeleteWorkspaceServiceAccountCommandInput,
|
|
23
|
+
DeleteWorkspaceServiceAccountCommandOutput,
|
|
24
|
+
GrafanaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DeleteWorkspaceServiceAccountCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DeleteWorkspaceServiceAccountCommandInput,
|
|
32
|
+
DeleteWorkspaceServiceAccountCommandOutput,
|
|
33
|
+
GrafanaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DeleteWorkspaceServiceAccountCommand extends DeleteWorkspaceServiceAccountCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GrafanaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GrafanaClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteWorkspaceServiceAccountTokenRequest,
|
|
10
|
+
DeleteWorkspaceServiceAccountTokenResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DeleteWorkspaceServiceAccountTokenCommandInput
|
|
14
|
+
extends DeleteWorkspaceServiceAccountTokenRequest {}
|
|
15
|
+
export interface DeleteWorkspaceServiceAccountTokenCommandOutput
|
|
16
|
+
extends DeleteWorkspaceServiceAccountTokenResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DeleteWorkspaceServiceAccountTokenCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DeleteWorkspaceServiceAccountTokenCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
23
|
+
DeleteWorkspaceServiceAccountTokenCommandOutput,
|
|
24
|
+
GrafanaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DeleteWorkspaceServiceAccountTokenCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DeleteWorkspaceServiceAccountTokenCommandInput,
|
|
32
|
+
DeleteWorkspaceServiceAccountTokenCommandOutput,
|
|
33
|
+
GrafanaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DeleteWorkspaceServiceAccountTokenCommand extends DeleteWorkspaceServiceAccountTokenCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GrafanaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GrafanaClient";
|
|
8
|
+
import {
|
|
9
|
+
ListWorkspaceServiceAccountTokensRequest,
|
|
10
|
+
ListWorkspaceServiceAccountTokensResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListWorkspaceServiceAccountTokensCommandInput
|
|
14
|
+
extends ListWorkspaceServiceAccountTokensRequest {}
|
|
15
|
+
export interface ListWorkspaceServiceAccountTokensCommandOutput
|
|
16
|
+
extends ListWorkspaceServiceAccountTokensResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListWorkspaceServiceAccountTokensCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListWorkspaceServiceAccountTokensCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListWorkspaceServiceAccountTokensCommandInput,
|
|
23
|
+
ListWorkspaceServiceAccountTokensCommandOutput,
|
|
24
|
+
GrafanaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListWorkspaceServiceAccountTokensCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListWorkspaceServiceAccountTokensCommandInput,
|
|
32
|
+
ListWorkspaceServiceAccountTokensCommandOutput,
|
|
33
|
+
GrafanaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListWorkspaceServiceAccountTokensCommand extends ListWorkspaceServiceAccountTokensCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GrafanaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GrafanaClient";
|
|
8
|
+
import {
|
|
9
|
+
ListWorkspaceServiceAccountsRequest,
|
|
10
|
+
ListWorkspaceServiceAccountsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListWorkspaceServiceAccountsCommandInput
|
|
14
|
+
extends ListWorkspaceServiceAccountsRequest {}
|
|
15
|
+
export interface ListWorkspaceServiceAccountsCommandOutput
|
|
16
|
+
extends ListWorkspaceServiceAccountsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListWorkspaceServiceAccountsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListWorkspaceServiceAccountsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListWorkspaceServiceAccountsCommandInput,
|
|
23
|
+
ListWorkspaceServiceAccountsCommandOutput,
|
|
24
|
+
GrafanaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListWorkspaceServiceAccountsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListWorkspaceServiceAccountsCommandInput,
|
|
32
|
+
ListWorkspaceServiceAccountsCommandOutput,
|
|
33
|
+
GrafanaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListWorkspaceServiceAccountsCommand extends ListWorkspaceServiceAccountsCommand_base {}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export * from "./AssociateLicenseCommand";
|
|
2
2
|
export * from "./CreateWorkspaceApiKeyCommand";
|
|
3
3
|
export * from "./CreateWorkspaceCommand";
|
|
4
|
+
export * from "./CreateWorkspaceServiceAccountCommand";
|
|
5
|
+
export * from "./CreateWorkspaceServiceAccountTokenCommand";
|
|
4
6
|
export * from "./DeleteWorkspaceApiKeyCommand";
|
|
5
7
|
export * from "./DeleteWorkspaceCommand";
|
|
8
|
+
export * from "./DeleteWorkspaceServiceAccountCommand";
|
|
9
|
+
export * from "./DeleteWorkspaceServiceAccountTokenCommand";
|
|
6
10
|
export * from "./DescribeWorkspaceAuthenticationCommand";
|
|
7
11
|
export * from "./DescribeWorkspaceCommand";
|
|
8
12
|
export * from "./DescribeWorkspaceConfigurationCommand";
|
|
@@ -10,6 +14,8 @@ export * from "./DisassociateLicenseCommand";
|
|
|
10
14
|
export * from "./ListPermissionsCommand";
|
|
11
15
|
export * from "./ListTagsForResourceCommand";
|
|
12
16
|
export * from "./ListVersionsCommand";
|
|
17
|
+
export * from "./ListWorkspaceServiceAccountTokensCommand";
|
|
18
|
+
export * from "./ListWorkspaceServiceAccountsCommand";
|
|
13
19
|
export * from "./ListWorkspacesCommand";
|
|
14
20
|
export * from "./TagResourceCommand";
|
|
15
21
|
export * from "./UntagResourceCommand";
|
|
@@ -368,6 +368,86 @@ export interface UpdateError {
|
|
|
368
368
|
export interface UpdatePermissionsResponse {
|
|
369
369
|
errors: UpdateError[] | undefined;
|
|
370
370
|
}
|
|
371
|
+
export interface CreateWorkspaceServiceAccountRequest {
|
|
372
|
+
name: string | undefined;
|
|
373
|
+
grafanaRole: Role | undefined;
|
|
374
|
+
workspaceId: string | undefined;
|
|
375
|
+
}
|
|
376
|
+
export interface CreateWorkspaceServiceAccountResponse {
|
|
377
|
+
id: string | undefined;
|
|
378
|
+
name: string | undefined;
|
|
379
|
+
grafanaRole: Role | undefined;
|
|
380
|
+
workspaceId: string | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface DeleteWorkspaceServiceAccountRequest {
|
|
383
|
+
serviceAccountId: string | undefined;
|
|
384
|
+
workspaceId: string | undefined;
|
|
385
|
+
}
|
|
386
|
+
export interface DeleteWorkspaceServiceAccountResponse {
|
|
387
|
+
serviceAccountId: string | undefined;
|
|
388
|
+
workspaceId: string | undefined;
|
|
389
|
+
}
|
|
390
|
+
export interface ListWorkspaceServiceAccountsRequest {
|
|
391
|
+
maxResults?: number;
|
|
392
|
+
nextToken?: string;
|
|
393
|
+
workspaceId: string | undefined;
|
|
394
|
+
}
|
|
395
|
+
export interface ServiceAccountSummary {
|
|
396
|
+
id: string | undefined;
|
|
397
|
+
name: string | undefined;
|
|
398
|
+
isDisabled: string | undefined;
|
|
399
|
+
grafanaRole: Role | undefined;
|
|
400
|
+
}
|
|
401
|
+
export interface ListWorkspaceServiceAccountsResponse {
|
|
402
|
+
nextToken?: string;
|
|
403
|
+
serviceAccounts: ServiceAccountSummary[] | undefined;
|
|
404
|
+
workspaceId: string | undefined;
|
|
405
|
+
}
|
|
406
|
+
export interface CreateWorkspaceServiceAccountTokenRequest {
|
|
407
|
+
name: string | undefined;
|
|
408
|
+
secondsToLive: number | undefined;
|
|
409
|
+
serviceAccountId: string | undefined;
|
|
410
|
+
workspaceId: string | undefined;
|
|
411
|
+
}
|
|
412
|
+
export interface ServiceAccountTokenSummaryWithKey {
|
|
413
|
+
id: string | undefined;
|
|
414
|
+
name: string | undefined;
|
|
415
|
+
key: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
export interface CreateWorkspaceServiceAccountTokenResponse {
|
|
418
|
+
serviceAccountToken: ServiceAccountTokenSummaryWithKey | undefined;
|
|
419
|
+
serviceAccountId: string | undefined;
|
|
420
|
+
workspaceId: string | undefined;
|
|
421
|
+
}
|
|
422
|
+
export interface DeleteWorkspaceServiceAccountTokenRequest {
|
|
423
|
+
tokenId: string | undefined;
|
|
424
|
+
serviceAccountId: string | undefined;
|
|
425
|
+
workspaceId: string | undefined;
|
|
426
|
+
}
|
|
427
|
+
export interface DeleteWorkspaceServiceAccountTokenResponse {
|
|
428
|
+
tokenId: string | undefined;
|
|
429
|
+
serviceAccountId: string | undefined;
|
|
430
|
+
workspaceId: string | undefined;
|
|
431
|
+
}
|
|
432
|
+
export interface ListWorkspaceServiceAccountTokensRequest {
|
|
433
|
+
maxResults?: number;
|
|
434
|
+
nextToken?: string;
|
|
435
|
+
serviceAccountId: string | undefined;
|
|
436
|
+
workspaceId: string | undefined;
|
|
437
|
+
}
|
|
438
|
+
export interface ServiceAccountTokenSummary {
|
|
439
|
+
id: string | undefined;
|
|
440
|
+
name: string | undefined;
|
|
441
|
+
createdAt: Date | undefined;
|
|
442
|
+
expiresAt: Date | undefined;
|
|
443
|
+
lastUsedAt?: Date;
|
|
444
|
+
}
|
|
445
|
+
export interface ListWorkspaceServiceAccountTokensResponse {
|
|
446
|
+
nextToken?: string;
|
|
447
|
+
serviceAccountTokens: ServiceAccountTokenSummary[] | undefined;
|
|
448
|
+
serviceAccountId: string | undefined;
|
|
449
|
+
workspaceId: string | undefined;
|
|
450
|
+
}
|
|
371
451
|
export interface TagResourceRequest {
|
|
372
452
|
resourceArn: string | undefined;
|
|
373
453
|
tags: Record<string, string> | undefined;
|
|
@@ -486,6 +566,12 @@ export declare const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog: (
|
|
|
486
566
|
export declare const DisassociateLicenseResponseFilterSensitiveLog: (
|
|
487
567
|
obj: DisassociateLicenseResponse
|
|
488
568
|
) => any;
|
|
569
|
+
export declare const ServiceAccountTokenSummaryWithKeyFilterSensitiveLog: (
|
|
570
|
+
obj: ServiceAccountTokenSummaryWithKey
|
|
571
|
+
) => any;
|
|
572
|
+
export declare const CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog: (
|
|
573
|
+
obj: CreateWorkspaceServiceAccountTokenResponse
|
|
574
|
+
) => any;
|
|
489
575
|
export declare const CreateWorkspaceRequestFilterSensitiveLog: (
|
|
490
576
|
obj: CreateWorkspaceRequest
|
|
491
577
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkspaceServiceAccountTokensCommandInput,
|
|
4
|
+
ListWorkspaceServiceAccountTokensCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkspaceServiceAccountTokensCommand";
|
|
6
|
+
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListWorkspaceServiceAccountTokens: (
|
|
8
|
+
config: GrafanaPaginationConfiguration,
|
|
9
|
+
input: ListWorkspaceServiceAccountTokensCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListWorkspaceServiceAccountTokensCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkspaceServiceAccountsCommandInput,
|
|
4
|
+
ListWorkspaceServiceAccountsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkspaceServiceAccountsCommand";
|
|
6
|
+
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListWorkspaceServiceAccounts: (
|
|
8
|
+
config: GrafanaPaginationConfiguration,
|
|
9
|
+
input: ListWorkspaceServiceAccountsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListWorkspaceServiceAccountsCommandOutput>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListPermissionsPaginator";
|
|
3
3
|
export * from "./ListVersionsPaginator";
|
|
4
|
+
export * from "./ListWorkspaceServiceAccountTokensPaginator";
|
|
5
|
+
export * from "./ListWorkspaceServiceAccountsPaginator";
|
|
4
6
|
export * from "./ListWorkspacesPaginator";
|