@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.
- package/README.md +18 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +103 -45
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/AmpClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/Amp.d.ts +18 -1
- package/dist-types/AmpClient.d.ts +31 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +12 -8
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +8 -5
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +13 -8
- package/dist-types/commands/CreateScraperCommand.d.ts +26 -8
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +10 -7
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +8 -7
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +7 -6
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +8 -7
- package/dist-types/commands/DeleteScraperCommand.d.ts +9 -7
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +12 -7
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +8 -6
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +7 -5
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +8 -6
- package/dist-types/commands/DescribeScraperCommand.d.ts +8 -6
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +7 -6
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +7 -6
- package/dist-types/commands/ListScrapersCommand.d.ts +8 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -6
- package/dist-types/commands/ListWorkspacesCommand.d.ts +7 -5
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +11 -8
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +15 -8
- package/dist-types/commands/TagResourceCommand.d.ts +13 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -6
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +8 -6
- package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +9 -8
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +18 -1
- package/dist-types/models/models_0.d.ts +360 -260
- package/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/AmpClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +16 -16
|
@@ -26,7 +26,8 @@ declare const UpdateLoggingConfigurationCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
*
|
|
29
|
+
* <p>Updates the log group ARN or the workspace ID of the current logging
|
|
30
|
+
* configuration.</p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -56,19 +57,20 @@ declare const UpdateLoggingConfigurationCommand_base: {
|
|
|
56
57
|
* @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
|
|
57
58
|
*
|
|
58
59
|
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
-
*
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link ConflictException} (client fault)
|
|
62
|
-
*
|
|
63
|
+
* <p>The request would cause an inconsistent state.</p>
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link InternalServerException} (server fault)
|
|
65
|
-
*
|
|
66
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
66
67
|
*
|
|
67
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
-
*
|
|
69
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link ValidationException} (client fault)
|
|
71
|
-
* The input fails to satisfy the constraints specified by an
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
73
|
+
* service.</p>
|
|
72
74
|
*
|
|
73
75
|
* @throws {@link AmpServiceException}
|
|
74
76
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -26,7 +26,7 @@ declare const UpdateWorkspaceAliasCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* Updates an
|
|
29
|
+
* <p>Updates the alias of 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
|
|
@@ -51,25 +51,26 @@ declare const UpdateWorkspaceAliasCommand_base: {
|
|
|
51
51
|
* @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
-
*
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ConflictException} (client fault)
|
|
57
|
-
*
|
|
57
|
+
* <p>The request would cause an inconsistent state.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerException} (server fault)
|
|
60
|
-
*
|
|
60
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
-
*
|
|
63
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
-
*
|
|
66
|
+
* <p>Completing the request would cause a service quota to be exceeded.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
-
*
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ValidationException} (client fault)
|
|
72
|
-
* The input fails to satisfy the constraints specified by an
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
73
|
+
* service.</p>
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link AmpServiceException}
|
|
75
76
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export interface AmpExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
export interface AmpExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
8
9
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Amazon Managed Service for Prometheus
|
|
2
|
+
* <p>Amazon Managed Service for Prometheus is a serverless, Prometheus-compatible monitoring service for
|
|
3
|
+
* container metrics that makes it easier to securely monitor container environments at
|
|
4
|
+
* scale. With Amazon Managed Service for Prometheus, you can use the same open-source Prometheus data
|
|
5
|
+
* model and query language that you use today to monitor the performance of your
|
|
6
|
+
* containerized workloads, and also enjoy improved scalability, availability, and security
|
|
7
|
+
* without having to manage the underlying infrastructure.</p>
|
|
8
|
+
* <p>For more information about Amazon Managed Service for Prometheus, see the <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/what-is-Amazon-Managed-Service-Prometheus.html">Amazon Managed Service for Prometheus</a> User Guide.</p>
|
|
9
|
+
* <p>Amazon Managed Service for Prometheus includes two APIs.</p>
|
|
10
|
+
* <ul>
|
|
11
|
+
* <li>
|
|
12
|
+
* <p>Use the Amazon Web Services API described in this guide to manage Amazon Managed Service for Prometheus resources, such as workspaces, rule groups, and alert
|
|
13
|
+
* managers.</p>
|
|
14
|
+
* </li>
|
|
15
|
+
* <li>
|
|
16
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-APIReference.html#AMP-APIReference-Prometheus-Compatible-Apis">Prometheus-compatible API</a> to work within your Prometheus
|
|
17
|
+
* workspace.</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* </ul>
|
|
3
20
|
*
|
|
4
21
|
* @packageDocumentation
|
|
5
22
|
*/
|