@aws-sdk/client-grafana 3.296.0 → 3.298.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/commands/AssociateLicenseCommand.js +1 -1
- package/dist-cjs/commands/CreateWorkspaceApiKeyCommand.js +1 -1
- package/dist-cjs/commands/DeleteWorkspaceApiKeyCommand.js +2 -3
- package/dist-cjs/commands/DeleteWorkspaceCommand.js +1 -1
- package/dist-cjs/commands/DescribeWorkspaceAuthenticationCommand.js +2 -3
- package/dist-cjs/commands/DescribeWorkspaceCommand.js +1 -1
- package/dist-cjs/commands/DescribeWorkspaceConfigurationCommand.js +2 -3
- package/dist-cjs/commands/DisassociateLicenseCommand.js +1 -1
- package/dist-cjs/commands/ListPermissionsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/ListWorkspacesCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdatePermissionsCommand.js +2 -3
- package/dist-cjs/commands/UpdateWorkspaceAuthenticationCommand.js +2 -3
- package/dist-cjs/commands/UpdateWorkspaceConfigurationCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -177
- package/dist-es/commands/AssociateLicenseCommand.js +2 -2
- package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +2 -2
- package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +2 -3
- package/dist-es/commands/DeleteWorkspaceCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +2 -3
- package/dist-es/commands/DescribeWorkspaceCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -3
- package/dist-es/commands/DisassociateLicenseCommand.js +2 -2
- package/dist-es/commands/ListPermissionsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/ListWorkspacesCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdatePermissionsCommand.js +2 -3
- package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +2 -3
- package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -134
- package/dist-types/Grafana.d.ts +19 -0
- package/dist-types/GrafanaClient.d.ts +24 -4
- package/dist-types/commands/AssociateLicenseCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateLicenseCommand.d.ts +16 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePermissionsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +16 -0
- package/dist-types/models/GrafanaServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +173 -166
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListPermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListWorkspacesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -115
- package/package.json +4 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
5
5
|
import { UpdatePermissionsRequest, UpdatePermissionsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdatePermissionsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdatePermissionsCommandInput extends UpdatePermissionsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdatePermissionsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdatePermissionsCommandOutput extends UpdatePermissionsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates which users in a workspace have the Grafana <code>Admin</code> or
|
|
18
23
|
* <code>Editor</code> roles.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UpdatePermissionsCommandOutput extends UpdatePermissionsRespons
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UpdatePermissionsCommandInput - {@link UpdatePermissionsCommandInput}
|
|
35
|
+
* @returns {@link UpdatePermissionsCommandOutput}
|
|
29
36
|
* @see {@link UpdatePermissionsCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UpdatePermissionsCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link GrafanaClientResolvedConfig | config} for GrafanaClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface UpdatePermissionsCommandOutput extends UpdatePermissionsRespons
|
|
|
50
57
|
export declare class UpdatePermissionsCommand extends $Command<UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput, GrafanaClientResolvedConfig> {
|
|
51
58
|
readonly input: UpdatePermissionsCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: UpdatePermissionsCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
5
5
|
import { UpdateWorkspaceAuthenticationRequest, UpdateWorkspaceAuthenticationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateWorkspaceAuthenticationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateWorkspaceAuthenticationCommandInput extends UpdateWorkspaceAuthenticationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateWorkspaceAuthenticationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorkspaceAuthenticationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Use this operation to define the identity provider (IdP) that this workspace
|
|
18
23
|
* authenticates users from, using SAML. You can also map SAML assertion attributes to
|
|
19
24
|
* workspace user information and define which groups in the assertion attribute are to
|
|
@@ -32,6 +37,8 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param UpdateWorkspaceAuthenticationCommandInput - {@link UpdateWorkspaceAuthenticationCommandInput}
|
|
41
|
+
* @returns {@link UpdateWorkspaceAuthenticationCommandOutput}
|
|
35
42
|
* @see {@link UpdateWorkspaceAuthenticationCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link UpdateWorkspaceAuthenticationCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link GrafanaClientResolvedConfig | config} for GrafanaClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
|
|
|
59
66
|
export declare class UpdateWorkspaceAuthenticationCommand extends $Command<UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput, GrafanaClientResolvedConfig> {
|
|
60
67
|
readonly input: UpdateWorkspaceAuthenticationCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: UpdateWorkspaceAuthenticationCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
5
5
|
import { UpdateWorkspaceRequest, UpdateWorkspaceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateWorkspaceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateWorkspaceCommandInput extends UpdateWorkspaceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateWorkspaceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Modifies an existing Amazon Managed Grafana workspace. If you use this operation and omit
|
|
18
23
|
* any optional parameters, the existing values of those parameters are not changed.</p>
|
|
19
24
|
* <p>To modify the user authentication methods that the workspace uses, such as SAML or
|
|
@@ -30,6 +35,8 @@ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, _
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param UpdateWorkspaceCommandInput - {@link UpdateWorkspaceCommandInput}
|
|
39
|
+
* @returns {@link UpdateWorkspaceCommandOutput}
|
|
33
40
|
* @see {@link UpdateWorkspaceCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link UpdateWorkspaceCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link GrafanaClientResolvedConfig | config} for GrafanaClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, _
|
|
|
57
64
|
export declare class UpdateWorkspaceCommand extends $Command<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput, GrafanaClientResolvedConfig> {
|
|
58
65
|
readonly input: UpdateWorkspaceCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: UpdateWorkspaceCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
5
5
|
import { UpdateWorkspaceConfigurationRequest, UpdateWorkspaceConfigurationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateWorkspaceConfigurationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateWorkspaceConfigurationCommandInput extends UpdateWorkspaceConfigurationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateWorkspaceConfigurationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateWorkspaceConfigurationCommandOutput extends UpdateWorkspaceConfigurationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the configuration string for the given workspace</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateWorkspaceConfigurationCommandOutput extends UpdateWorkspa
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateWorkspaceConfigurationCommandInput - {@link UpdateWorkspaceConfigurationCommandInput}
|
|
34
|
+
* @returns {@link UpdateWorkspaceConfigurationCommandOutput}
|
|
28
35
|
* @see {@link UpdateWorkspaceConfigurationCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateWorkspaceConfigurationCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link GrafanaClientResolvedConfig | config} for GrafanaClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface UpdateWorkspaceConfigurationCommandOutput extends UpdateWorkspa
|
|
|
52
59
|
export declare class UpdateWorkspaceConfigurationCommand extends $Command<UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput, GrafanaClientResolvedConfig> {
|
|
53
60
|
readonly input: UpdateWorkspaceConfigurationCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: UpdateWorkspaceConfigurationCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Grafana service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class GrafanaServiceException extends __ServiceException {
|