@aws-sdk/client-amp 3.509.0 → 3.513.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 (56) hide show
  1. package/README.md +18 -1
  2. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/index.js +103 -45
  5. package/dist-cjs/runtimeConfig.shared.js +10 -0
  6. package/dist-es/AmpClient.js +17 -4
  7. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  8. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  9. package/dist-es/runtimeConfig.shared.js +10 -0
  10. package/dist-es/runtimeExtensions.js +3 -0
  11. package/dist-types/Amp.d.ts +18 -1
  12. package/dist-types/AmpClient.d.ts +31 -12
  13. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  14. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  15. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +12 -8
  16. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +8 -5
  17. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +13 -8
  18. package/dist-types/commands/CreateScraperCommand.d.ts +26 -8
  19. package/dist-types/commands/CreateWorkspaceCommand.d.ts +10 -7
  20. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +8 -7
  21. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +7 -6
  22. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +8 -7
  23. package/dist-types/commands/DeleteScraperCommand.d.ts +9 -7
  24. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +12 -7
  25. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +8 -6
  26. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +7 -5
  27. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +8 -6
  28. package/dist-types/commands/DescribeScraperCommand.d.ts +8 -6
  29. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +7 -6
  30. package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +5 -4
  31. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +7 -6
  32. package/dist-types/commands/ListScrapersCommand.d.ts +8 -5
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -6
  34. package/dist-types/commands/ListWorkspacesCommand.d.ts +7 -5
  35. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +11 -8
  36. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +15 -8
  37. package/dist-types/commands/TagResourceCommand.d.ts +13 -6
  38. package/dist-types/commands/UntagResourceCommand.d.ts +8 -6
  39. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +8 -6
  40. package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +9 -8
  41. package/dist-types/extensionConfiguration.d.ts +2 -1
  42. package/dist-types/index.d.ts +18 -1
  43. package/dist-types/models/models_0.d.ts +360 -260
  44. package/dist-types/runtimeConfig.browser.d.ts +5 -3
  45. package/dist-types/runtimeConfig.d.ts +4 -2
  46. package/dist-types/runtimeConfig.native.d.ts +6 -4
  47. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  48. package/dist-types/ts3.4/AmpClient.d.ts +11 -9
  49. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  50. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  51. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  56. package/package.json +16 -16
@@ -26,7 +26,8 @@ declare const DeleteScraperCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Deletes a scraper.
29
+ * <p>The <code>DeleteScraper</code> operation deletes one scraper, and stops any metrics
30
+ * collection that the scraper performs.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -55,22 +56,23 @@ declare const DeleteScraperCommand_base: {
55
56
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
56
57
  *
57
58
  * @throws {@link AccessDeniedException} (client fault)
58
- * User does not have sufficient access to perform this action.
59
+ * <p>You do not have sufficient access to perform this action.</p>
59
60
  *
60
61
  * @throws {@link ConflictException} (client fault)
61
- * Updating or deleting a resource can cause an inconsistent state.
62
+ * <p>The request would cause an inconsistent state.</p>
62
63
  *
63
64
  * @throws {@link InternalServerException} (server fault)
64
- * Unexpected error during processing of request.
65
+ * <p>An unexpected error occurred during the processing of the request.</p>
65
66
  *
66
67
  * @throws {@link ResourceNotFoundException} (client fault)
67
- * Request references a resource which does not exist.
68
+ * <p>The request references a resources that doesn't exist.</p>
68
69
  *
69
70
  * @throws {@link ThrottlingException} (client fault)
70
- * Request was denied due to request throttling.
71
+ * <p>The request was denied due to request throttling.</p>
71
72
  *
72
73
  * @throws {@link ValidationException} (client fault)
73
- * The input fails to satisfy the constraints specified by an AWS service.
74
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
75
+ * service.</p>
74
76
  *
75
77
  * @throws {@link AmpServiceException}
76
78
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,11 @@ declare const DeleteWorkspaceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Deletes an AMP workspace.
29
+ * <p>Deletes an existing workspace. </p>
30
+ * <note>
31
+ * <p>When you delete a workspace, the data that has been ingested into it is not
32
+ * immediately deleted. It will be permanently deleted within one month.</p>
33
+ * </note>
30
34
  * @example
31
35
  * Use a bare-bones client and the command you need to make an API call.
32
36
  * ```javascript
@@ -50,22 +54,23 @@ declare const DeleteWorkspaceCommand_base: {
50
54
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
51
55
  *
52
56
  * @throws {@link AccessDeniedException} (client fault)
53
- * User does not have sufficient access to perform this action.
57
+ * <p>You do not have sufficient access to perform this action.</p>
54
58
  *
55
59
  * @throws {@link ConflictException} (client fault)
56
- * Updating or deleting a resource can cause an inconsistent state.
60
+ * <p>The request would cause an inconsistent state.</p>
57
61
  *
58
62
  * @throws {@link InternalServerException} (server fault)
59
- * Unexpected error during processing of request.
63
+ * <p>An unexpected error occurred during the processing of the request.</p>
60
64
  *
61
65
  * @throws {@link ResourceNotFoundException} (client fault)
62
- * Request references a resource which does not exist.
66
+ * <p>The request references a resources that doesn't exist.</p>
63
67
  *
64
68
  * @throws {@link ThrottlingException} (client fault)
65
- * Request was denied due to request throttling.
69
+ * <p>The request was denied due to request throttling.</p>
66
70
  *
67
71
  * @throws {@link ValidationException} (client fault)
68
- * The input fails to satisfy the constraints specified by an AWS service.
72
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
73
+ * service.</p>
69
74
  *
70
75
  * @throws {@link AmpServiceException}
71
76
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const DescribeAlertManagerDefinitionCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Describes an alert manager definition.
29
+ * <p>Retrieves the full information about the alert manager definition for a
30
+ * workspace.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -59,19 +60,20 @@ declare const DescribeAlertManagerDefinitionCommand_base: {
59
60
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
60
61
  *
61
62
  * @throws {@link AccessDeniedException} (client fault)
62
- * User does not have sufficient access to perform this action.
63
+ * <p>You do not have sufficient access to perform this action.</p>
63
64
  *
64
65
  * @throws {@link InternalServerException} (server fault)
65
- * Unexpected error during processing of request.
66
+ * <p>An unexpected error occurred during the processing of the request.</p>
66
67
  *
67
68
  * @throws {@link ResourceNotFoundException} (client fault)
68
- * Request references a resource which does not exist.
69
+ * <p>The request references a resources that doesn't exist.</p>
69
70
  *
70
71
  * @throws {@link ThrottlingException} (client fault)
71
- * Request was denied due to request throttling.
72
+ * <p>The request was denied due to request throttling.</p>
72
73
  *
73
74
  * @throws {@link ValidationException} (client fault)
74
- * The input fails to satisfy the constraints specified by an AWS service.
75
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
76
+ * service.</p>
75
77
  *
76
78
  * @throws {@link AmpServiceException}
77
79
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const DescribeLoggingConfigurationCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Describes logging configuration.
29
+ * <p>Returns complete information about the current logging configuration of the
30
+ * workspace.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -60,16 +61,17 @@ declare const DescribeLoggingConfigurationCommand_base: {
60
61
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
61
62
  *
62
63
  * @throws {@link AccessDeniedException} (client fault)
63
- * User does not have sufficient access to perform this action.
64
+ * <p>You do not have sufficient access to perform this action.</p>
64
65
  *
65
66
  * @throws {@link InternalServerException} (server fault)
66
- * Unexpected error during processing of request.
67
+ * <p>An unexpected error occurred during the processing of the request.</p>
67
68
  *
68
69
  * @throws {@link ResourceNotFoundException} (client fault)
69
- * Request references a resource which does not exist.
70
+ * <p>The request references a resources that doesn't exist.</p>
70
71
  *
71
72
  * @throws {@link ValidationException} (client fault)
72
- * The input fails to satisfy the constraints specified by an AWS service.
73
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
74
+ * service.</p>
73
75
  *
74
76
  * @throws {@link AmpServiceException}
75
77
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const DescribeRuleGroupsNamespaceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Describe a rule groups namespace.
29
+ * <p>Returns complete information about one rule groups namespace. To retrieve a list of
30
+ * rule groups namespaces, use <code>ListRuleGroupsNamespaces</code>.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -65,19 +66,20 @@ declare const DescribeRuleGroupsNamespaceCommand_base: {
65
66
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
66
67
  *
67
68
  * @throws {@link AccessDeniedException} (client fault)
68
- * User does not have sufficient access to perform this action.
69
+ * <p>You do not have sufficient access to perform this action.</p>
69
70
  *
70
71
  * @throws {@link InternalServerException} (server fault)
71
- * Unexpected error during processing of request.
72
+ * <p>An unexpected error occurred during the processing of the request.</p>
72
73
  *
73
74
  * @throws {@link ResourceNotFoundException} (client fault)
74
- * Request references a resource which does not exist.
75
+ * <p>The request references a resources that doesn't exist.</p>
75
76
  *
76
77
  * @throws {@link ThrottlingException} (client fault)
77
- * Request was denied due to request throttling.
78
+ * <p>The request was denied due to request throttling.</p>
78
79
  *
79
80
  * @throws {@link ValidationException} (client fault)
80
- * The input fails to satisfy the constraints specified by an AWS service.
81
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
82
+ * service.</p>
81
83
  *
82
84
  * @throws {@link AmpServiceException}
83
85
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const DescribeScraperCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Describe an existing scraper.
29
+ * <p>The <code>DescribeScraper</code> operation displays information about an existing
30
+ * scraper.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -84,19 +85,20 @@ declare const DescribeScraperCommand_base: {
84
85
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
85
86
  *
86
87
  * @throws {@link AccessDeniedException} (client fault)
87
- * User does not have sufficient access to perform this action.
88
+ * <p>You do not have sufficient access to perform this action.</p>
88
89
  *
89
90
  * @throws {@link InternalServerException} (server fault)
90
- * Unexpected error during processing of request.
91
+ * <p>An unexpected error occurred during the processing of the request.</p>
91
92
  *
92
93
  * @throws {@link ResourceNotFoundException} (client fault)
93
- * Request references a resource which does not exist.
94
+ * <p>The request references a resources that doesn't exist.</p>
94
95
  *
95
96
  * @throws {@link ThrottlingException} (client fault)
96
- * Request was denied due to request throttling.
97
+ * <p>The request was denied due to request throttling.</p>
97
98
  *
98
99
  * @throws {@link ValidationException} (client fault)
99
- * The input fails to satisfy the constraints specified by an AWS service.
100
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
101
+ * service.</p>
100
102
  *
101
103
  * @throws {@link AmpServiceException}
102
104
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,7 @@ declare const DescribeWorkspaceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Describes an existing AMP workspace.
29
+ * <p>Returns information about an existing workspace. </p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -64,19 +64,20 @@ declare const DescribeWorkspaceCommand_base: {
64
64
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
65
65
  *
66
66
  * @throws {@link AccessDeniedException} (client fault)
67
- * User does not have sufficient access to perform this action.
67
+ * <p>You do not have sufficient access to perform this action.</p>
68
68
  *
69
69
  * @throws {@link InternalServerException} (server fault)
70
- * Unexpected error during processing of request.
70
+ * <p>An unexpected error occurred during the processing of the request.</p>
71
71
  *
72
72
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * Request references a resource which does not exist.
73
+ * <p>The request references a resources that doesn't exist.</p>
74
74
  *
75
75
  * @throws {@link ThrottlingException} (client fault)
76
- * Request was denied due to request throttling.
76
+ * <p>The request was denied due to request throttling.</p>
77
77
  *
78
78
  * @throws {@link ValidationException} (client fault)
79
- * The input fails to satisfy the constraints specified by an AWS service.
79
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
80
+ * service.</p>
80
81
  *
81
82
  * @throws {@link AmpServiceException}
82
83
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const GetDefaultScraperConfigurationCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Gets a default configuration.
29
+ * <p>The <code>GetDefaultScraperConfiguration</code> operation returns the default
30
+ * scraper configuration used when Amazon EKS creates a scraper for you.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -49,13 +50,13 @@ declare const GetDefaultScraperConfigurationCommand_base: {
49
50
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
50
51
  *
51
52
  * @throws {@link AccessDeniedException} (client fault)
52
- * User does not have sufficient access to perform this action.
53
+ * <p>You do not have sufficient access to perform this action.</p>
53
54
  *
54
55
  * @throws {@link InternalServerException} (server fault)
55
- * Unexpected error during processing of request.
56
+ * <p>An unexpected error occurred during the processing of the request.</p>
56
57
  *
57
58
  * @throws {@link ThrottlingException} (client fault)
58
- * Request was denied due to request throttling.
59
+ * <p>The request was denied due to request throttling.</p>
59
60
  *
60
61
  * @throws {@link AmpServiceException}
61
62
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,7 @@ declare const ListRuleGroupsNamespacesCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Lists rule groups namespaces.
29
+ * <p>Returns a list of rule groups namespaces in a workspace.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -69,19 +69,20 @@ declare const ListRuleGroupsNamespacesCommand_base: {
69
69
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
70
70
  *
71
71
  * @throws {@link AccessDeniedException} (client fault)
72
- * User does not have sufficient access to perform this action.
72
+ * <p>You do not have sufficient access to perform this action.</p>
73
73
  *
74
74
  * @throws {@link InternalServerException} (server fault)
75
- * Unexpected error during processing of request.
75
+ * <p>An unexpected error occurred during the processing of the request.</p>
76
76
  *
77
77
  * @throws {@link ResourceNotFoundException} (client fault)
78
- * Request references a resource which does not exist.
78
+ * <p>The request references a resources that doesn't exist.</p>
79
79
  *
80
80
  * @throws {@link ThrottlingException} (client fault)
81
- * Request was denied due to request throttling.
81
+ * <p>The request was denied due to request throttling.</p>
82
82
  *
83
83
  * @throws {@link ValidationException} (client fault)
84
- * The input fails to satisfy the constraints specified by an AWS service.
84
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
85
+ * service.</p>
85
86
  *
86
87
  * @throws {@link AmpServiceException}
87
88
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,9 @@ declare const ListScrapersCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
29
+ * <p>The <code>ListScrapers</code> operation lists all of the scrapers in
30
+ * your account. This includes scrapers being created or deleted. You can optionally
31
+ * filter the returned list.</p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -90,16 +92,17 @@ declare const ListScrapersCommand_base: {
90
92
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
91
93
  *
92
94
  * @throws {@link AccessDeniedException} (client fault)
93
- * User does not have sufficient access to perform this action.
95
+ * <p>You do not have sufficient access to perform this action.</p>
94
96
  *
95
97
  * @throws {@link InternalServerException} (server fault)
96
- * Unexpected error during processing of request.
98
+ * <p>An unexpected error occurred during the processing of the request.</p>
97
99
  *
98
100
  * @throws {@link ThrottlingException} (client fault)
99
- * Request was denied due to request throttling.
101
+ * <p>The request was denied due to request throttling.</p>
100
102
  *
101
103
  * @throws {@link ValidationException} (client fault)
102
- * The input fails to satisfy the constraints specified by an AWS service.
104
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
105
+ * service.</p>
103
106
  *
104
107
  * @throws {@link AmpServiceException}
105
108
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,9 @@ declare const ListTagsForResourceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Lists the tags you have assigned to the resource.
29
+ * <p>The <code>ListTagsForResource</code> operation returns the tags that are associated
30
+ * with an Amazon Managed Service for Prometheus resource. Currently, the only resources that can be
31
+ * tagged are workspaces and rule groups namespaces. </p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -53,19 +55,20 @@ declare const ListTagsForResourceCommand_base: {
53
55
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
54
56
  *
55
57
  * @throws {@link AccessDeniedException} (client fault)
56
- * User does not have sufficient access to perform this action.
58
+ * <p>You do not have sufficient access to perform this action.</p>
57
59
  *
58
60
  * @throws {@link InternalServerException} (server fault)
59
- * Unexpected error during processing of request.
61
+ * <p>An unexpected error occurred during the processing of the request.</p>
60
62
  *
61
63
  * @throws {@link ResourceNotFoundException} (client fault)
62
- * Request references a resource which does not exist.
64
+ * <p>The request references a resources that doesn't exist.</p>
63
65
  *
64
66
  * @throws {@link ThrottlingException} (client fault)
65
- * Request was denied due to request throttling.
67
+ * <p>The request was denied due to request throttling.</p>
66
68
  *
67
69
  * @throws {@link ValidationException} (client fault)
68
- * The input fails to satisfy the constraints specified by an AWS service.
70
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
71
+ * service.</p>
69
72
  *
70
73
  * @throws {@link AmpServiceException}
71
74
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const ListWorkspacesCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Lists all AMP workspaces, including workspaces being created or deleted.
29
+ * <p>Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes
30
+ * workspaces being created or deleted. </p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -68,16 +69,17 @@ declare const ListWorkspacesCommand_base: {
68
69
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
69
70
  *
70
71
  * @throws {@link AccessDeniedException} (client fault)
71
- * User does not have sufficient access to perform this action.
72
+ * <p>You do not have sufficient access to perform this action.</p>
72
73
  *
73
74
  * @throws {@link InternalServerException} (server fault)
74
- * Unexpected error during processing of request.
75
+ * <p>An unexpected error occurred during the processing of the request.</p>
75
76
  *
76
77
  * @throws {@link ThrottlingException} (client fault)
77
- * Request was denied due to request throttling.
78
+ * <p>The request was denied due to request throttling.</p>
78
79
  *
79
80
  * @throws {@link ValidationException} (client fault)
80
- * The input fails to satisfy the constraints specified by an AWS service.
81
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
82
+ * service.</p>
81
83
  *
82
84
  * @throws {@link AmpServiceException}
83
85
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,9 @@ declare const PutAlertManagerDefinitionCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Update an alert manager definition.
29
+ * <p>Updates an existing alert manager definition in a workspace. If the workspace does not
30
+ * already have an alert manager definition, don't use this operation to create it.
31
+ * Instead, use <code>CreateAlertManagerDefinition</code>.</p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -56,25 +58,26 @@ declare const PutAlertManagerDefinitionCommand_base: {
56
58
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
57
59
  *
58
60
  * @throws {@link AccessDeniedException} (client fault)
59
- * User does not have sufficient access to perform this action.
61
+ * <p>You do not have sufficient access to perform this action.</p>
60
62
  *
61
63
  * @throws {@link ConflictException} (client fault)
62
- * Updating or deleting a resource can cause an inconsistent state.
64
+ * <p>The request would cause an inconsistent state.</p>
63
65
  *
64
66
  * @throws {@link InternalServerException} (server fault)
65
- * Unexpected error during processing of request.
67
+ * <p>An unexpected error occurred during the processing of the request.</p>
66
68
  *
67
69
  * @throws {@link ResourceNotFoundException} (client fault)
68
- * Request references a resource which does not exist.
70
+ * <p>The request references a resources that doesn't exist.</p>
69
71
  *
70
72
  * @throws {@link ServiceQuotaExceededException} (client fault)
71
- * Request would cause a service quota to be exceeded.
73
+ * <p>Completing the request would cause a service quota to be exceeded.</p>
72
74
  *
73
75
  * @throws {@link ThrottlingException} (client fault)
74
- * Request was denied due to request throttling.
76
+ * <p>The request was denied due to request throttling.</p>
75
77
  *
76
78
  * @throws {@link ValidationException} (client fault)
77
- * The input fails to satisfy the constraints specified by an AWS service.
79
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
80
+ * service.</p>
78
81
  *
79
82
  * @throws {@link AmpServiceException}
80
83
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,13 @@ declare const PutRuleGroupsNamespaceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Update a rule groups namespace.
29
+ * <p>Updates an existing rule groups namespace within a workspace. A rule groups namespace
30
+ * is associated with exactly one rules file. A workspace can have multiple rule groups
31
+ * namespaces.</p>
32
+ * <p>Use this operation only to update existing rule groups namespaces. To create a new
33
+ * rule groups namespace, use <code>CreateRuleGroupsNamespace</code>.</p>
34
+ * <p>You can't use this operation to add tags to an existing rule groups namespace.
35
+ * Instead, use <code>TagResource</code>.</p>
30
36
  * @example
31
37
  * Use a bare-bones client and the command you need to make an API call.
32
38
  * ```javascript
@@ -62,25 +68,26 @@ declare const PutRuleGroupsNamespaceCommand_base: {
62
68
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
63
69
  *
64
70
  * @throws {@link AccessDeniedException} (client fault)
65
- * User does not have sufficient access to perform this action.
71
+ * <p>You do not have sufficient access to perform this action.</p>
66
72
  *
67
73
  * @throws {@link ConflictException} (client fault)
68
- * Updating or deleting a resource can cause an inconsistent state.
74
+ * <p>The request would cause an inconsistent state.</p>
69
75
  *
70
76
  * @throws {@link InternalServerException} (server fault)
71
- * Unexpected error during processing of request.
77
+ * <p>An unexpected error occurred during the processing of the request.</p>
72
78
  *
73
79
  * @throws {@link ResourceNotFoundException} (client fault)
74
- * Request references a resource which does not exist.
80
+ * <p>The request references a resources that doesn't exist.</p>
75
81
  *
76
82
  * @throws {@link ServiceQuotaExceededException} (client fault)
77
- * Request would cause a service quota to be exceeded.
83
+ * <p>Completing the request would cause a service quota to be exceeded.</p>
78
84
  *
79
85
  * @throws {@link ThrottlingException} (client fault)
80
- * Request was denied due to request throttling.
86
+ * <p>The request was denied due to request throttling.</p>
81
87
  *
82
88
  * @throws {@link ValidationException} (client fault)
83
- * The input fails to satisfy the constraints specified by an AWS service.
89
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
90
+ * service.</p>
84
91
  *
85
92
  * @throws {@link AmpServiceException}
86
93
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,13 @@ declare const TagResourceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Creates tags for the specified resource.
29
+ * <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Service for Prometheus
30
+ * resource. The only resources that can be tagged are workspaces and rule groups
31
+ * namespaces. </p>
32
+ * <p>If you specify a new tag key for the resource, this tag is appended to the list of
33
+ * tags associated with the resource. If you specify a tag key that is already associated
34
+ * with the resource, the new tag value that you specify replaces the previous value for
35
+ * that tag.</p>
30
36
  * @example
31
37
  * Use a bare-bones client and the command you need to make an API call.
32
38
  * ```javascript
@@ -52,19 +58,20 @@ declare const TagResourceCommand_base: {
52
58
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
53
59
  *
54
60
  * @throws {@link AccessDeniedException} (client fault)
55
- * User does not have sufficient access to perform this action.
61
+ * <p>You do not have sufficient access to perform this action.</p>
56
62
  *
57
63
  * @throws {@link InternalServerException} (server fault)
58
- * Unexpected error during processing of request.
64
+ * <p>An unexpected error occurred during the processing of the request.</p>
59
65
  *
60
66
  * @throws {@link ResourceNotFoundException} (client fault)
61
- * Request references a resource which does not exist.
67
+ * <p>The request references a resources that doesn't exist.</p>
62
68
  *
63
69
  * @throws {@link ThrottlingException} (client fault)
64
- * Request was denied due to request throttling.
70
+ * <p>The request was denied due to request throttling.</p>
65
71
  *
66
72
  * @throws {@link ValidationException} (client fault)
67
- * The input fails to satisfy the constraints specified by an AWS service.
73
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
74
+ * service.</p>
68
75
  *
69
76
  * @throws {@link AmpServiceException}
70
77
  * <p>Base exception class for all service exceptions from Amp service.</p>
@@ -26,7 +26,8 @@ declare const UntagResourceCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * Deletes tags from the specified resource.
29
+ * <p>Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources
30
+ * that can be tagged are workspaces and rule groups namespaces. </p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -52,19 +53,20 @@ declare const UntagResourceCommand_base: {
52
53
  * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
53
54
  *
54
55
  * @throws {@link AccessDeniedException} (client fault)
55
- * User does not have sufficient access to perform this action.
56
+ * <p>You do not have sufficient access to perform this action.</p>
56
57
  *
57
58
  * @throws {@link InternalServerException} (server fault)
58
- * Unexpected error during processing of request.
59
+ * <p>An unexpected error occurred during the processing of the request.</p>
59
60
  *
60
61
  * @throws {@link ResourceNotFoundException} (client fault)
61
- * Request references a resource which does not exist.
62
+ * <p>The request references a resources that doesn't exist.</p>
62
63
  *
63
64
  * @throws {@link ThrottlingException} (client fault)
64
- * Request was denied due to request throttling.
65
+ * <p>The request was denied due to request throttling.</p>
65
66
  *
66
67
  * @throws {@link ValidationException} (client fault)
67
- * The input fails to satisfy the constraints specified by an AWS service.
68
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
69
+ * service.</p>
68
70
  *
69
71
  * @throws {@link AmpServiceException}
70
72
  * <p>Base exception class for all service exceptions from Amp service.</p>