@aws-sdk/client-grafana 3.975.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +18 -11
- package/dist-es/Grafana.js +13 -1
- package/dist-types/Grafana.d.ts +36 -1
- package/dist-types/ts3.4/Grafana.d.ts +40 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1274,6 +1274,16 @@ class UpdateWorkspaceConfigurationCommand extends smithyClient.Command
|
|
|
1274
1274
|
.build() {
|
|
1275
1275
|
}
|
|
1276
1276
|
|
|
1277
|
+
const paginateListPermissions = core.createPaginator(GrafanaClient, ListPermissionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1278
|
+
|
|
1279
|
+
const paginateListVersions = core.createPaginator(GrafanaClient, ListVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1280
|
+
|
|
1281
|
+
const paginateListWorkspaceServiceAccounts = core.createPaginator(GrafanaClient, ListWorkspaceServiceAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
1282
|
+
|
|
1283
|
+
const paginateListWorkspaceServiceAccountTokens = core.createPaginator(GrafanaClient, ListWorkspaceServiceAccountTokensCommand, "nextToken", "nextToken", "maxResults");
|
|
1284
|
+
|
|
1285
|
+
const paginateListWorkspaces = core.createPaginator(GrafanaClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
|
|
1286
|
+
|
|
1277
1287
|
const commands = {
|
|
1278
1288
|
AssociateLicenseCommand,
|
|
1279
1289
|
CreateWorkspaceCommand,
|
|
@@ -1301,19 +1311,16 @@ const commands = {
|
|
|
1301
1311
|
UpdateWorkspaceAuthenticationCommand,
|
|
1302
1312
|
UpdateWorkspaceConfigurationCommand,
|
|
1303
1313
|
};
|
|
1314
|
+
const paginators = {
|
|
1315
|
+
paginateListPermissions,
|
|
1316
|
+
paginateListVersions,
|
|
1317
|
+
paginateListWorkspaces,
|
|
1318
|
+
paginateListWorkspaceServiceAccounts,
|
|
1319
|
+
paginateListWorkspaceServiceAccountTokens,
|
|
1320
|
+
};
|
|
1304
1321
|
class Grafana extends GrafanaClient {
|
|
1305
1322
|
}
|
|
1306
|
-
smithyClient.createAggregatedClient(commands, Grafana);
|
|
1307
|
-
|
|
1308
|
-
const paginateListPermissions = core.createPaginator(GrafanaClient, ListPermissionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1309
|
-
|
|
1310
|
-
const paginateListVersions = core.createPaginator(GrafanaClient, ListVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1311
|
-
|
|
1312
|
-
const paginateListWorkspaces = core.createPaginator(GrafanaClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
|
|
1313
|
-
|
|
1314
|
-
const paginateListWorkspaceServiceAccounts = core.createPaginator(GrafanaClient, ListWorkspaceServiceAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
1315
|
-
|
|
1316
|
-
const paginateListWorkspaceServiceAccountTokens = core.createPaginator(GrafanaClient, ListWorkspaceServiceAccountTokensCommand, "nextToken", "nextToken", "maxResults");
|
|
1323
|
+
smithyClient.createAggregatedClient(commands, Grafana, { paginators });
|
|
1317
1324
|
|
|
1318
1325
|
const AccountAccessType = {
|
|
1319
1326
|
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
package/dist-es/Grafana.js
CHANGED
|
@@ -25,6 +25,11 @@ import { UpdateWorkspaceAuthenticationCommand, } from "./commands/UpdateWorkspac
|
|
|
25
25
|
import { UpdateWorkspaceCommand, } from "./commands/UpdateWorkspaceCommand";
|
|
26
26
|
import { UpdateWorkspaceConfigurationCommand, } from "./commands/UpdateWorkspaceConfigurationCommand";
|
|
27
27
|
import { GrafanaClient } from "./GrafanaClient";
|
|
28
|
+
import { paginateListPermissions } from "./pagination/ListPermissionsPaginator";
|
|
29
|
+
import { paginateListVersions } from "./pagination/ListVersionsPaginator";
|
|
30
|
+
import { paginateListWorkspaceServiceAccounts } from "./pagination/ListWorkspaceServiceAccountsPaginator";
|
|
31
|
+
import { paginateListWorkspaceServiceAccountTokens } from "./pagination/ListWorkspaceServiceAccountTokensPaginator";
|
|
32
|
+
import { paginateListWorkspaces } from "./pagination/ListWorkspacesPaginator";
|
|
28
33
|
const commands = {
|
|
29
34
|
AssociateLicenseCommand,
|
|
30
35
|
CreateWorkspaceCommand,
|
|
@@ -52,6 +57,13 @@ const commands = {
|
|
|
52
57
|
UpdateWorkspaceAuthenticationCommand,
|
|
53
58
|
UpdateWorkspaceConfigurationCommand,
|
|
54
59
|
};
|
|
60
|
+
const paginators = {
|
|
61
|
+
paginateListPermissions,
|
|
62
|
+
paginateListVersions,
|
|
63
|
+
paginateListWorkspaces,
|
|
64
|
+
paginateListWorkspaceServiceAccounts,
|
|
65
|
+
paginateListWorkspaceServiceAccountTokens,
|
|
66
|
+
};
|
|
55
67
|
export class Grafana extends GrafanaClient {
|
|
56
68
|
}
|
|
57
|
-
createAggregatedClient(commands, Grafana);
|
|
69
|
+
createAggregatedClient(commands, Grafana, { paginators });
|
package/dist-types/Grafana.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AssociateLicenseCommandInput, AssociateLicenseCommandOutput } from "./commands/AssociateLicenseCommand";
|
|
3
3
|
import { CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput } from "./commands/CreateWorkspaceApiKeyCommand";
|
|
4
4
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
@@ -178,6 +178,41 @@ export interface Grafana {
|
|
|
178
178
|
updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceConfigurationCommandOutput>;
|
|
179
179
|
updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
|
|
180
180
|
updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
|
|
181
|
+
/**
|
|
182
|
+
* @see {@link ListPermissionsCommand}
|
|
183
|
+
* @param args - command input.
|
|
184
|
+
* @param paginationConfig - optional pagination config.
|
|
185
|
+
* @returns AsyncIterable of {@link ListPermissionsCommandOutput}.
|
|
186
|
+
*/
|
|
187
|
+
paginateListPermissions(args: ListPermissionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPermissionsCommandOutput>;
|
|
188
|
+
/**
|
|
189
|
+
* @see {@link ListVersionsCommand}
|
|
190
|
+
* @param args - command input.
|
|
191
|
+
* @param paginationConfig - optional pagination config.
|
|
192
|
+
* @returns AsyncIterable of {@link ListVersionsCommandOutput}.
|
|
193
|
+
*/
|
|
194
|
+
paginateListVersions(args?: ListVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVersionsCommandOutput>;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link ListWorkspacesCommand}
|
|
197
|
+
* @param args - command input.
|
|
198
|
+
* @param paginationConfig - optional pagination config.
|
|
199
|
+
* @returns AsyncIterable of {@link ListWorkspacesCommandOutput}.
|
|
200
|
+
*/
|
|
201
|
+
paginateListWorkspaces(args?: ListWorkspacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkspacesCommandOutput>;
|
|
202
|
+
/**
|
|
203
|
+
* @see {@link ListWorkspaceServiceAccountsCommand}
|
|
204
|
+
* @param args - command input.
|
|
205
|
+
* @param paginationConfig - optional pagination config.
|
|
206
|
+
* @returns AsyncIterable of {@link ListWorkspaceServiceAccountsCommandOutput}.
|
|
207
|
+
*/
|
|
208
|
+
paginateListWorkspaceServiceAccounts(args: ListWorkspaceServiceAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkspaceServiceAccountsCommandOutput>;
|
|
209
|
+
/**
|
|
210
|
+
* @see {@link ListWorkspaceServiceAccountTokensCommand}
|
|
211
|
+
* @param args - command input.
|
|
212
|
+
* @param paginationConfig - optional pagination config.
|
|
213
|
+
* @returns AsyncIterable of {@link ListWorkspaceServiceAccountTokensCommandOutput}.
|
|
214
|
+
*/
|
|
215
|
+
paginateListWorkspaceServiceAccountTokens(args: ListWorkspaceServiceAccountTokensCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkspaceServiceAccountTokensCommandOutput>;
|
|
181
216
|
}
|
|
182
217
|
/**
|
|
183
218
|
* <p>Amazon Managed Grafana is a fully managed and secure data visualization service that
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AssociateLicenseCommandInput,
|
|
4
8
|
AssociateLicenseCommandOutput,
|
|
@@ -446,5 +450,40 @@ export interface Grafana {
|
|
|
446
450
|
options: __HttpHandlerOptions,
|
|
447
451
|
cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void
|
|
448
452
|
): void;
|
|
453
|
+
paginateListPermissions(
|
|
454
|
+
args: ListPermissionsCommandInput,
|
|
455
|
+
paginationConfig?: Pick<
|
|
456
|
+
PaginationConfiguration,
|
|
457
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
458
|
+
>
|
|
459
|
+
): Paginator<ListPermissionsCommandOutput>;
|
|
460
|
+
paginateListVersions(
|
|
461
|
+
args?: ListVersionsCommandInput,
|
|
462
|
+
paginationConfig?: Pick<
|
|
463
|
+
PaginationConfiguration,
|
|
464
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
465
|
+
>
|
|
466
|
+
): Paginator<ListVersionsCommandOutput>;
|
|
467
|
+
paginateListWorkspaces(
|
|
468
|
+
args?: ListWorkspacesCommandInput,
|
|
469
|
+
paginationConfig?: Pick<
|
|
470
|
+
PaginationConfiguration,
|
|
471
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
472
|
+
>
|
|
473
|
+
): Paginator<ListWorkspacesCommandOutput>;
|
|
474
|
+
paginateListWorkspaceServiceAccounts(
|
|
475
|
+
args: ListWorkspaceServiceAccountsCommandInput,
|
|
476
|
+
paginationConfig?: Pick<
|
|
477
|
+
PaginationConfiguration,
|
|
478
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
479
|
+
>
|
|
480
|
+
): Paginator<ListWorkspaceServiceAccountsCommandOutput>;
|
|
481
|
+
paginateListWorkspaceServiceAccountTokens(
|
|
482
|
+
args: ListWorkspaceServiceAccountTokensCommandInput,
|
|
483
|
+
paginationConfig?: Pick<
|
|
484
|
+
PaginationConfiguration,
|
|
485
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
486
|
+
>
|
|
487
|
+
): Paginator<ListWorkspaceServiceAccountTokensCommandOutput>;
|
|
449
488
|
}
|
|
450
489
|
export declare class Grafana extends GrafanaClient implements Grafana {}
|
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.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-grafana",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|