@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.
Files changed (61) hide show
  1. package/dist-cjs/commands/AssociateLicenseCommand.js +1 -1
  2. package/dist-cjs/commands/CreateWorkspaceApiKeyCommand.js +1 -1
  3. package/dist-cjs/commands/DeleteWorkspaceApiKeyCommand.js +2 -3
  4. package/dist-cjs/commands/DeleteWorkspaceCommand.js +1 -1
  5. package/dist-cjs/commands/DescribeWorkspaceAuthenticationCommand.js +2 -3
  6. package/dist-cjs/commands/DescribeWorkspaceCommand.js +1 -1
  7. package/dist-cjs/commands/DescribeWorkspaceConfigurationCommand.js +2 -3
  8. package/dist-cjs/commands/DisassociateLicenseCommand.js +1 -1
  9. package/dist-cjs/commands/ListPermissionsCommand.js +2 -3
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  11. package/dist-cjs/commands/ListWorkspacesCommand.js +1 -1
  12. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  13. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  14. package/dist-cjs/commands/UpdatePermissionsCommand.js +2 -3
  15. package/dist-cjs/commands/UpdateWorkspaceAuthenticationCommand.js +2 -3
  16. package/dist-cjs/commands/UpdateWorkspaceConfigurationCommand.js +2 -3
  17. package/dist-cjs/models/models_0.js +1 -177
  18. package/dist-es/commands/AssociateLicenseCommand.js +2 -2
  19. package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +2 -2
  20. package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +2 -3
  21. package/dist-es/commands/DeleteWorkspaceCommand.js +2 -2
  22. package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +2 -3
  23. package/dist-es/commands/DescribeWorkspaceCommand.js +2 -2
  24. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -3
  25. package/dist-es/commands/DisassociateLicenseCommand.js +2 -2
  26. package/dist-es/commands/ListPermissionsCommand.js +2 -3
  27. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  28. package/dist-es/commands/ListWorkspacesCommand.js +2 -2
  29. package/dist-es/commands/TagResourceCommand.js +2 -3
  30. package/dist-es/commands/UntagResourceCommand.js +2 -3
  31. package/dist-es/commands/UpdatePermissionsCommand.js +2 -3
  32. package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +2 -3
  33. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -3
  34. package/dist-es/models/models_0.js +0 -134
  35. package/dist-types/Grafana.d.ts +19 -0
  36. package/dist-types/GrafanaClient.d.ts +24 -4
  37. package/dist-types/commands/AssociateLicenseCommand.d.ts +16 -0
  38. package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +16 -0
  39. package/dist-types/commands/CreateWorkspaceCommand.d.ts +16 -0
  40. package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +16 -0
  41. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +16 -0
  43. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +16 -0
  45. package/dist-types/commands/DisassociateLicenseCommand.d.ts +16 -0
  46. package/dist-types/commands/ListPermissionsCommand.d.ts +16 -0
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  48. package/dist-types/commands/ListWorkspacesCommand.d.ts +16 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  51. package/dist-types/commands/UpdatePermissionsCommand.d.ts +16 -0
  52. package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +16 -0
  53. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +16 -0
  54. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +16 -0
  55. package/dist-types/models/GrafanaServiceException.d.ts +2 -0
  56. package/dist-types/models/models_0.d.ts +173 -166
  57. package/dist-types/pagination/Interfaces.d.ts +3 -0
  58. package/dist-types/pagination/ListPermissionsPaginator.d.ts +3 -0
  59. package/dist-types/pagination/ListWorkspacesPaginator.d.ts +3 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +0 -115
  61. 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 {