@aws-sdk/client-amp 3.1076.0 → 3.1078.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 +55 -445
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +2 -14
- package/dist-es/commands/CreateAnomalyDetectorCommand.js +2 -14
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +2 -14
- package/dist-es/commands/CreateScraperCommand.js +2 -14
- package/dist-es/commands/CreateWorkspaceCommand.js +2 -14
- package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +2 -14
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -14
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
- package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +2 -14
- package/dist-es/commands/DeleteScraperCommand.js +2 -14
- package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/DeleteWorkspaceCommand.js +2 -14
- package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +2 -14
- package/dist-es/commands/DescribeAnomalyDetectorCommand.js +2 -14
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -14
- package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +2 -14
- package/dist-es/commands/DescribeScraperCommand.js +2 -14
- package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/DescribeWorkspaceCommand.js +2 -14
- package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -14
- package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +2 -14
- package/dist-es/commands/ListAnomalyDetectorsCommand.js +2 -14
- package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +2 -14
- package/dist-es/commands/ListScrapersCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListWorkspacesCommand.js +2 -14
- package/dist-es/commands/PutAlertManagerDefinitionCommand.js +2 -14
- package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -14
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
- package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/UpdateScraperCommand.js +2 -14
- package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +2 -14
- package/dist-es/commands/UpdateWorkspaceAliasCommand.js +2 -14
- package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +3 -8
- package/dist-types/commands/CreateAnomalyDetectorCommand.d.ts +3 -8
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/CreateQueryLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +3 -8
- package/dist-types/commands/CreateScraperCommand.d.ts +3 -8
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +3 -8
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteQueryLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteScraperCommand.d.ts +3 -8
- package/dist-types/commands/DeleteScraperLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAnomalyDetectorCommand.d.ts +3 -8
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeQueryLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeScraperCommand.d.ts +3 -8
- package/dist-types/commands/DescribeScraperLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/ListAnomalyDetectorsCommand.d.ts +3 -8
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +3 -8
- package/dist-types/commands/ListScrapersCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkspacesCommand.d.ts +3 -8
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +3 -8
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +3 -8
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQueryLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateScraperCommand.d.ts +3 -8
- package/dist-types/commands/UpdateScraperLoggingConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAnomalyDetectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateQueryLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteScraperLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAnomalyDetectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeQueryLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeScraperLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAnomalyDetectorsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQueryLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateScraperCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateScraperLoggingConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultAmpHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1365,6 +1367,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1365
1367
|
serviceTarget: "AmazonPrometheusService",
|
|
1366
1368
|
},
|
|
1367
1369
|
serviceId: config?.serviceId ?? "amp",
|
|
1370
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1368
1371
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1369
1372
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1370
1373
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1398,7 +1401,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1398
1401
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1399
1402
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1400
1403
|
}, config),
|
|
1401
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1402
1404
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1403
1405
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1404
1406
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1486,532 +1488,140 @@ class AmpClient extends Client {
|
|
|
1486
1488
|
}
|
|
1487
1489
|
}
|
|
1488
1490
|
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
})
|
|
1495
|
-
.s("AmazonPrometheusService", "CreateAlertManagerDefinition", {})
|
|
1496
|
-
.n("AmpClient", "CreateAlertManagerDefinitionCommand")
|
|
1497
|
-
.sc(CreateAlertManagerDefinition$)
|
|
1498
|
-
.build() {
|
|
1491
|
+
const command = makeBuilder(commonParams, "AmazonPrometheusService", "AmpClient", getEndpointPlugin);
|
|
1492
|
+
const _ep0 = {};
|
|
1493
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1494
|
+
|
|
1495
|
+
class CreateAlertManagerDefinitionCommand extends command(_ep0, _mw0, "CreateAlertManagerDefinition", CreateAlertManagerDefinition$) {
|
|
1499
1496
|
}
|
|
1500
1497
|
|
|
1501
|
-
class CreateAnomalyDetectorCommand extends
|
|
1502
|
-
.classBuilder()
|
|
1503
|
-
.ep(commonParams)
|
|
1504
|
-
.m(function (Command, cs, config, o) {
|
|
1505
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1506
|
-
})
|
|
1507
|
-
.s("AmazonPrometheusService", "CreateAnomalyDetector", {})
|
|
1508
|
-
.n("AmpClient", "CreateAnomalyDetectorCommand")
|
|
1509
|
-
.sc(CreateAnomalyDetector$)
|
|
1510
|
-
.build() {
|
|
1498
|
+
class CreateAnomalyDetectorCommand extends command(_ep0, _mw0, "CreateAnomalyDetector", CreateAnomalyDetector$) {
|
|
1511
1499
|
}
|
|
1512
1500
|
|
|
1513
|
-
class CreateLoggingConfigurationCommand extends
|
|
1514
|
-
.classBuilder()
|
|
1515
|
-
.ep(commonParams)
|
|
1516
|
-
.m(function (Command, cs, config, o) {
|
|
1517
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1518
|
-
})
|
|
1519
|
-
.s("AmazonPrometheusService", "CreateLoggingConfiguration", {})
|
|
1520
|
-
.n("AmpClient", "CreateLoggingConfigurationCommand")
|
|
1521
|
-
.sc(CreateLoggingConfiguration$)
|
|
1522
|
-
.build() {
|
|
1501
|
+
class CreateLoggingConfigurationCommand extends command(_ep0, _mw0, "CreateLoggingConfiguration", CreateLoggingConfiguration$) {
|
|
1523
1502
|
}
|
|
1524
1503
|
|
|
1525
|
-
class CreateQueryLoggingConfigurationCommand extends
|
|
1526
|
-
.classBuilder()
|
|
1527
|
-
.ep(commonParams)
|
|
1528
|
-
.m(function (Command, cs, config, o) {
|
|
1529
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1530
|
-
})
|
|
1531
|
-
.s("AmazonPrometheusService", "CreateQueryLoggingConfiguration", {})
|
|
1532
|
-
.n("AmpClient", "CreateQueryLoggingConfigurationCommand")
|
|
1533
|
-
.sc(CreateQueryLoggingConfiguration$)
|
|
1534
|
-
.build() {
|
|
1504
|
+
class CreateQueryLoggingConfigurationCommand extends command(_ep0, _mw0, "CreateQueryLoggingConfiguration", CreateQueryLoggingConfiguration$) {
|
|
1535
1505
|
}
|
|
1536
1506
|
|
|
1537
|
-
class CreateRuleGroupsNamespaceCommand extends
|
|
1538
|
-
.classBuilder()
|
|
1539
|
-
.ep(commonParams)
|
|
1540
|
-
.m(function (Command, cs, config, o) {
|
|
1541
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1542
|
-
})
|
|
1543
|
-
.s("AmazonPrometheusService", "CreateRuleGroupsNamespace", {})
|
|
1544
|
-
.n("AmpClient", "CreateRuleGroupsNamespaceCommand")
|
|
1545
|
-
.sc(CreateRuleGroupsNamespace$)
|
|
1546
|
-
.build() {
|
|
1507
|
+
class CreateRuleGroupsNamespaceCommand extends command(_ep0, _mw0, "CreateRuleGroupsNamespace", CreateRuleGroupsNamespace$) {
|
|
1547
1508
|
}
|
|
1548
1509
|
|
|
1549
|
-
class CreateScraperCommand extends
|
|
1550
|
-
.classBuilder()
|
|
1551
|
-
.ep(commonParams)
|
|
1552
|
-
.m(function (Command, cs, config, o) {
|
|
1553
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1554
|
-
})
|
|
1555
|
-
.s("AmazonPrometheusService", "CreateScraper", {})
|
|
1556
|
-
.n("AmpClient", "CreateScraperCommand")
|
|
1557
|
-
.sc(CreateScraper$)
|
|
1558
|
-
.build() {
|
|
1510
|
+
class CreateScraperCommand extends command(_ep0, _mw0, "CreateScraper", CreateScraper$) {
|
|
1559
1511
|
}
|
|
1560
1512
|
|
|
1561
|
-
class CreateWorkspaceCommand extends
|
|
1562
|
-
.classBuilder()
|
|
1563
|
-
.ep(commonParams)
|
|
1564
|
-
.m(function (Command, cs, config, o) {
|
|
1565
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1566
|
-
})
|
|
1567
|
-
.s("AmazonPrometheusService", "CreateWorkspace", {})
|
|
1568
|
-
.n("AmpClient", "CreateWorkspaceCommand")
|
|
1569
|
-
.sc(CreateWorkspace$)
|
|
1570
|
-
.build() {
|
|
1513
|
+
class CreateWorkspaceCommand extends command(_ep0, _mw0, "CreateWorkspace", CreateWorkspace$) {
|
|
1571
1514
|
}
|
|
1572
1515
|
|
|
1573
|
-
class DeleteAlertManagerDefinitionCommand extends
|
|
1574
|
-
.classBuilder()
|
|
1575
|
-
.ep(commonParams)
|
|
1576
|
-
.m(function (Command, cs, config, o) {
|
|
1577
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1578
|
-
})
|
|
1579
|
-
.s("AmazonPrometheusService", "DeleteAlertManagerDefinition", {})
|
|
1580
|
-
.n("AmpClient", "DeleteAlertManagerDefinitionCommand")
|
|
1581
|
-
.sc(DeleteAlertManagerDefinition$)
|
|
1582
|
-
.build() {
|
|
1516
|
+
class DeleteAlertManagerDefinitionCommand extends command(_ep0, _mw0, "DeleteAlertManagerDefinition", DeleteAlertManagerDefinition$) {
|
|
1583
1517
|
}
|
|
1584
1518
|
|
|
1585
|
-
class DeleteAnomalyDetectorCommand extends
|
|
1586
|
-
.classBuilder()
|
|
1587
|
-
.ep(commonParams)
|
|
1588
|
-
.m(function (Command, cs, config, o) {
|
|
1589
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1590
|
-
})
|
|
1591
|
-
.s("AmazonPrometheusService", "DeleteAnomalyDetector", {})
|
|
1592
|
-
.n("AmpClient", "DeleteAnomalyDetectorCommand")
|
|
1593
|
-
.sc(DeleteAnomalyDetector$)
|
|
1594
|
-
.build() {
|
|
1519
|
+
class DeleteAnomalyDetectorCommand extends command(_ep0, _mw0, "DeleteAnomalyDetector", DeleteAnomalyDetector$) {
|
|
1595
1520
|
}
|
|
1596
1521
|
|
|
1597
|
-
class DeleteLoggingConfigurationCommand extends
|
|
1598
|
-
.classBuilder()
|
|
1599
|
-
.ep(commonParams)
|
|
1600
|
-
.m(function (Command, cs, config, o) {
|
|
1601
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1602
|
-
})
|
|
1603
|
-
.s("AmazonPrometheusService", "DeleteLoggingConfiguration", {})
|
|
1604
|
-
.n("AmpClient", "DeleteLoggingConfigurationCommand")
|
|
1605
|
-
.sc(DeleteLoggingConfiguration$)
|
|
1606
|
-
.build() {
|
|
1522
|
+
class DeleteLoggingConfigurationCommand extends command(_ep0, _mw0, "DeleteLoggingConfiguration", DeleteLoggingConfiguration$) {
|
|
1607
1523
|
}
|
|
1608
1524
|
|
|
1609
|
-
class DeleteQueryLoggingConfigurationCommand extends
|
|
1610
|
-
.classBuilder()
|
|
1611
|
-
.ep(commonParams)
|
|
1612
|
-
.m(function (Command, cs, config, o) {
|
|
1613
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1614
|
-
})
|
|
1615
|
-
.s("AmazonPrometheusService", "DeleteQueryLoggingConfiguration", {})
|
|
1616
|
-
.n("AmpClient", "DeleteQueryLoggingConfigurationCommand")
|
|
1617
|
-
.sc(DeleteQueryLoggingConfiguration$)
|
|
1618
|
-
.build() {
|
|
1525
|
+
class DeleteQueryLoggingConfigurationCommand extends command(_ep0, _mw0, "DeleteQueryLoggingConfiguration", DeleteQueryLoggingConfiguration$) {
|
|
1619
1526
|
}
|
|
1620
1527
|
|
|
1621
|
-
class DeleteResourcePolicyCommand extends
|
|
1622
|
-
.classBuilder()
|
|
1623
|
-
.ep(commonParams)
|
|
1624
|
-
.m(function (Command, cs, config, o) {
|
|
1625
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1626
|
-
})
|
|
1627
|
-
.s("AmazonPrometheusService", "DeleteResourcePolicy", {})
|
|
1628
|
-
.n("AmpClient", "DeleteResourcePolicyCommand")
|
|
1629
|
-
.sc(DeleteResourcePolicy$)
|
|
1630
|
-
.build() {
|
|
1528
|
+
class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
|
|
1631
1529
|
}
|
|
1632
1530
|
|
|
1633
|
-
class DeleteRuleGroupsNamespaceCommand extends
|
|
1634
|
-
.classBuilder()
|
|
1635
|
-
.ep(commonParams)
|
|
1636
|
-
.m(function (Command, cs, config, o) {
|
|
1637
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1638
|
-
})
|
|
1639
|
-
.s("AmazonPrometheusService", "DeleteRuleGroupsNamespace", {})
|
|
1640
|
-
.n("AmpClient", "DeleteRuleGroupsNamespaceCommand")
|
|
1641
|
-
.sc(DeleteRuleGroupsNamespace$)
|
|
1642
|
-
.build() {
|
|
1531
|
+
class DeleteRuleGroupsNamespaceCommand extends command(_ep0, _mw0, "DeleteRuleGroupsNamespace", DeleteRuleGroupsNamespace$) {
|
|
1643
1532
|
}
|
|
1644
1533
|
|
|
1645
|
-
class DeleteScraperCommand extends
|
|
1646
|
-
.classBuilder()
|
|
1647
|
-
.ep(commonParams)
|
|
1648
|
-
.m(function (Command, cs, config, o) {
|
|
1649
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1650
|
-
})
|
|
1651
|
-
.s("AmazonPrometheusService", "DeleteScraper", {})
|
|
1652
|
-
.n("AmpClient", "DeleteScraperCommand")
|
|
1653
|
-
.sc(DeleteScraper$)
|
|
1654
|
-
.build() {
|
|
1534
|
+
class DeleteScraperCommand extends command(_ep0, _mw0, "DeleteScraper", DeleteScraper$) {
|
|
1655
1535
|
}
|
|
1656
1536
|
|
|
1657
|
-
class DeleteScraperLoggingConfigurationCommand extends
|
|
1658
|
-
.classBuilder()
|
|
1659
|
-
.ep(commonParams)
|
|
1660
|
-
.m(function (Command, cs, config, o) {
|
|
1661
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1662
|
-
})
|
|
1663
|
-
.s("AmazonPrometheusService", "DeleteScraperLoggingConfiguration", {})
|
|
1664
|
-
.n("AmpClient", "DeleteScraperLoggingConfigurationCommand")
|
|
1665
|
-
.sc(DeleteScraperLoggingConfiguration$)
|
|
1666
|
-
.build() {
|
|
1537
|
+
class DeleteScraperLoggingConfigurationCommand extends command(_ep0, _mw0, "DeleteScraperLoggingConfiguration", DeleteScraperLoggingConfiguration$) {
|
|
1667
1538
|
}
|
|
1668
1539
|
|
|
1669
|
-
class DeleteWorkspaceCommand extends
|
|
1670
|
-
.classBuilder()
|
|
1671
|
-
.ep(commonParams)
|
|
1672
|
-
.m(function (Command, cs, config, o) {
|
|
1673
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1674
|
-
})
|
|
1675
|
-
.s("AmazonPrometheusService", "DeleteWorkspace", {})
|
|
1676
|
-
.n("AmpClient", "DeleteWorkspaceCommand")
|
|
1677
|
-
.sc(DeleteWorkspace$)
|
|
1678
|
-
.build() {
|
|
1540
|
+
class DeleteWorkspaceCommand extends command(_ep0, _mw0, "DeleteWorkspace", DeleteWorkspace$) {
|
|
1679
1541
|
}
|
|
1680
1542
|
|
|
1681
|
-
class DescribeAlertManagerDefinitionCommand extends
|
|
1682
|
-
.classBuilder()
|
|
1683
|
-
.ep(commonParams)
|
|
1684
|
-
.m(function (Command, cs, config, o) {
|
|
1685
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1686
|
-
})
|
|
1687
|
-
.s("AmazonPrometheusService", "DescribeAlertManagerDefinition", {})
|
|
1688
|
-
.n("AmpClient", "DescribeAlertManagerDefinitionCommand")
|
|
1689
|
-
.sc(DescribeAlertManagerDefinition$)
|
|
1690
|
-
.build() {
|
|
1543
|
+
class DescribeAlertManagerDefinitionCommand extends command(_ep0, _mw0, "DescribeAlertManagerDefinition", DescribeAlertManagerDefinition$) {
|
|
1691
1544
|
}
|
|
1692
1545
|
|
|
1693
|
-
class DescribeAnomalyDetectorCommand extends
|
|
1694
|
-
.classBuilder()
|
|
1695
|
-
.ep(commonParams)
|
|
1696
|
-
.m(function (Command, cs, config, o) {
|
|
1697
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1698
|
-
})
|
|
1699
|
-
.s("AmazonPrometheusService", "DescribeAnomalyDetector", {})
|
|
1700
|
-
.n("AmpClient", "DescribeAnomalyDetectorCommand")
|
|
1701
|
-
.sc(DescribeAnomalyDetector$)
|
|
1702
|
-
.build() {
|
|
1546
|
+
class DescribeAnomalyDetectorCommand extends command(_ep0, _mw0, "DescribeAnomalyDetector", DescribeAnomalyDetector$) {
|
|
1703
1547
|
}
|
|
1704
1548
|
|
|
1705
|
-
class DescribeLoggingConfigurationCommand extends
|
|
1706
|
-
.classBuilder()
|
|
1707
|
-
.ep(commonParams)
|
|
1708
|
-
.m(function (Command, cs, config, o) {
|
|
1709
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1710
|
-
})
|
|
1711
|
-
.s("AmazonPrometheusService", "DescribeLoggingConfiguration", {})
|
|
1712
|
-
.n("AmpClient", "DescribeLoggingConfigurationCommand")
|
|
1713
|
-
.sc(DescribeLoggingConfiguration$)
|
|
1714
|
-
.build() {
|
|
1549
|
+
class DescribeLoggingConfigurationCommand extends command(_ep0, _mw0, "DescribeLoggingConfiguration", DescribeLoggingConfiguration$) {
|
|
1715
1550
|
}
|
|
1716
1551
|
|
|
1717
|
-
class DescribeQueryLoggingConfigurationCommand extends
|
|
1718
|
-
.classBuilder()
|
|
1719
|
-
.ep(commonParams)
|
|
1720
|
-
.m(function (Command, cs, config, o) {
|
|
1721
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1722
|
-
})
|
|
1723
|
-
.s("AmazonPrometheusService", "DescribeQueryLoggingConfiguration", {})
|
|
1724
|
-
.n("AmpClient", "DescribeQueryLoggingConfigurationCommand")
|
|
1725
|
-
.sc(DescribeQueryLoggingConfiguration$)
|
|
1726
|
-
.build() {
|
|
1552
|
+
class DescribeQueryLoggingConfigurationCommand extends command(_ep0, _mw0, "DescribeQueryLoggingConfiguration", DescribeQueryLoggingConfiguration$) {
|
|
1727
1553
|
}
|
|
1728
1554
|
|
|
1729
|
-
class DescribeResourcePolicyCommand extends
|
|
1730
|
-
.classBuilder()
|
|
1731
|
-
.ep(commonParams)
|
|
1732
|
-
.m(function (Command, cs, config, o) {
|
|
1733
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1734
|
-
})
|
|
1735
|
-
.s("AmazonPrometheusService", "DescribeResourcePolicy", {})
|
|
1736
|
-
.n("AmpClient", "DescribeResourcePolicyCommand")
|
|
1737
|
-
.sc(DescribeResourcePolicy$)
|
|
1738
|
-
.build() {
|
|
1555
|
+
class DescribeResourcePolicyCommand extends command(_ep0, _mw0, "DescribeResourcePolicy", DescribeResourcePolicy$) {
|
|
1739
1556
|
}
|
|
1740
1557
|
|
|
1741
|
-
class DescribeRuleGroupsNamespaceCommand extends
|
|
1742
|
-
.classBuilder()
|
|
1743
|
-
.ep(commonParams)
|
|
1744
|
-
.m(function (Command, cs, config, o) {
|
|
1745
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1746
|
-
})
|
|
1747
|
-
.s("AmazonPrometheusService", "DescribeRuleGroupsNamespace", {})
|
|
1748
|
-
.n("AmpClient", "DescribeRuleGroupsNamespaceCommand")
|
|
1749
|
-
.sc(DescribeRuleGroupsNamespace$)
|
|
1750
|
-
.build() {
|
|
1558
|
+
class DescribeRuleGroupsNamespaceCommand extends command(_ep0, _mw0, "DescribeRuleGroupsNamespace", DescribeRuleGroupsNamespace$) {
|
|
1751
1559
|
}
|
|
1752
1560
|
|
|
1753
|
-
class DescribeScraperCommand extends
|
|
1754
|
-
.classBuilder()
|
|
1755
|
-
.ep(commonParams)
|
|
1756
|
-
.m(function (Command, cs, config, o) {
|
|
1757
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1758
|
-
})
|
|
1759
|
-
.s("AmazonPrometheusService", "DescribeScraper", {})
|
|
1760
|
-
.n("AmpClient", "DescribeScraperCommand")
|
|
1761
|
-
.sc(DescribeScraper$)
|
|
1762
|
-
.build() {
|
|
1561
|
+
class DescribeScraperCommand extends command(_ep0, _mw0, "DescribeScraper", DescribeScraper$) {
|
|
1763
1562
|
}
|
|
1764
1563
|
|
|
1765
|
-
class DescribeScraperLoggingConfigurationCommand extends
|
|
1766
|
-
.classBuilder()
|
|
1767
|
-
.ep(commonParams)
|
|
1768
|
-
.m(function (Command, cs, config, o) {
|
|
1769
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1770
|
-
})
|
|
1771
|
-
.s("AmazonPrometheusService", "DescribeScraperLoggingConfiguration", {})
|
|
1772
|
-
.n("AmpClient", "DescribeScraperLoggingConfigurationCommand")
|
|
1773
|
-
.sc(DescribeScraperLoggingConfiguration$)
|
|
1774
|
-
.build() {
|
|
1564
|
+
class DescribeScraperLoggingConfigurationCommand extends command(_ep0, _mw0, "DescribeScraperLoggingConfiguration", DescribeScraperLoggingConfiguration$) {
|
|
1775
1565
|
}
|
|
1776
1566
|
|
|
1777
|
-
class DescribeWorkspaceCommand extends
|
|
1778
|
-
.classBuilder()
|
|
1779
|
-
.ep(commonParams)
|
|
1780
|
-
.m(function (Command, cs, config, o) {
|
|
1781
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1782
|
-
})
|
|
1783
|
-
.s("AmazonPrometheusService", "DescribeWorkspace", {})
|
|
1784
|
-
.n("AmpClient", "DescribeWorkspaceCommand")
|
|
1785
|
-
.sc(DescribeWorkspace$)
|
|
1786
|
-
.build() {
|
|
1567
|
+
class DescribeWorkspaceCommand extends command(_ep0, _mw0, "DescribeWorkspace", DescribeWorkspace$) {
|
|
1787
1568
|
}
|
|
1788
1569
|
|
|
1789
|
-
class DescribeWorkspaceConfigurationCommand extends
|
|
1790
|
-
.classBuilder()
|
|
1791
|
-
.ep(commonParams)
|
|
1792
|
-
.m(function (Command, cs, config, o) {
|
|
1793
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1794
|
-
})
|
|
1795
|
-
.s("AmazonPrometheusService", "DescribeWorkspaceConfiguration", {})
|
|
1796
|
-
.n("AmpClient", "DescribeWorkspaceConfigurationCommand")
|
|
1797
|
-
.sc(DescribeWorkspaceConfiguration$)
|
|
1798
|
-
.build() {
|
|
1570
|
+
class DescribeWorkspaceConfigurationCommand extends command(_ep0, _mw0, "DescribeWorkspaceConfiguration", DescribeWorkspaceConfiguration$) {
|
|
1799
1571
|
}
|
|
1800
1572
|
|
|
1801
|
-
class GetDefaultScraperConfigurationCommand extends
|
|
1802
|
-
.classBuilder()
|
|
1803
|
-
.ep(commonParams)
|
|
1804
|
-
.m(function (Command, cs, config, o) {
|
|
1805
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1806
|
-
})
|
|
1807
|
-
.s("AmazonPrometheusService", "GetDefaultScraperConfiguration", {})
|
|
1808
|
-
.n("AmpClient", "GetDefaultScraperConfigurationCommand")
|
|
1809
|
-
.sc(GetDefaultScraperConfiguration$)
|
|
1810
|
-
.build() {
|
|
1573
|
+
class GetDefaultScraperConfigurationCommand extends command(_ep0, _mw0, "GetDefaultScraperConfiguration", GetDefaultScraperConfiguration$) {
|
|
1811
1574
|
}
|
|
1812
1575
|
|
|
1813
|
-
class ListAnomalyDetectorsCommand extends
|
|
1814
|
-
.classBuilder()
|
|
1815
|
-
.ep(commonParams)
|
|
1816
|
-
.m(function (Command, cs, config, o) {
|
|
1817
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1818
|
-
})
|
|
1819
|
-
.s("AmazonPrometheusService", "ListAnomalyDetectors", {})
|
|
1820
|
-
.n("AmpClient", "ListAnomalyDetectorsCommand")
|
|
1821
|
-
.sc(ListAnomalyDetectors$)
|
|
1822
|
-
.build() {
|
|
1576
|
+
class ListAnomalyDetectorsCommand extends command(_ep0, _mw0, "ListAnomalyDetectors", ListAnomalyDetectors$) {
|
|
1823
1577
|
}
|
|
1824
1578
|
|
|
1825
|
-
class ListRuleGroupsNamespacesCommand extends
|
|
1826
|
-
.classBuilder()
|
|
1827
|
-
.ep(commonParams)
|
|
1828
|
-
.m(function (Command, cs, config, o) {
|
|
1829
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1830
|
-
})
|
|
1831
|
-
.s("AmazonPrometheusService", "ListRuleGroupsNamespaces", {})
|
|
1832
|
-
.n("AmpClient", "ListRuleGroupsNamespacesCommand")
|
|
1833
|
-
.sc(ListRuleGroupsNamespaces$)
|
|
1834
|
-
.build() {
|
|
1579
|
+
class ListRuleGroupsNamespacesCommand extends command(_ep0, _mw0, "ListRuleGroupsNamespaces", ListRuleGroupsNamespaces$) {
|
|
1835
1580
|
}
|
|
1836
1581
|
|
|
1837
|
-
class ListScrapersCommand extends
|
|
1838
|
-
.classBuilder()
|
|
1839
|
-
.ep(commonParams)
|
|
1840
|
-
.m(function (Command, cs, config, o) {
|
|
1841
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1842
|
-
})
|
|
1843
|
-
.s("AmazonPrometheusService", "ListScrapers", {})
|
|
1844
|
-
.n("AmpClient", "ListScrapersCommand")
|
|
1845
|
-
.sc(ListScrapers$)
|
|
1846
|
-
.build() {
|
|
1582
|
+
class ListScrapersCommand extends command(_ep0, _mw0, "ListScrapers", ListScrapers$) {
|
|
1847
1583
|
}
|
|
1848
1584
|
|
|
1849
|
-
class ListTagsForResourceCommand extends
|
|
1850
|
-
.classBuilder()
|
|
1851
|
-
.ep(commonParams)
|
|
1852
|
-
.m(function (Command, cs, config, o) {
|
|
1853
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1854
|
-
})
|
|
1855
|
-
.s("AmazonPrometheusService", "ListTagsForResource", {})
|
|
1856
|
-
.n("AmpClient", "ListTagsForResourceCommand")
|
|
1857
|
-
.sc(ListTagsForResource$)
|
|
1858
|
-
.build() {
|
|
1585
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1859
1586
|
}
|
|
1860
1587
|
|
|
1861
|
-
class ListWorkspacesCommand extends
|
|
1862
|
-
.classBuilder()
|
|
1863
|
-
.ep(commonParams)
|
|
1864
|
-
.m(function (Command, cs, config, o) {
|
|
1865
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1866
|
-
})
|
|
1867
|
-
.s("AmazonPrometheusService", "ListWorkspaces", {})
|
|
1868
|
-
.n("AmpClient", "ListWorkspacesCommand")
|
|
1869
|
-
.sc(ListWorkspaces$)
|
|
1870
|
-
.build() {
|
|
1588
|
+
class ListWorkspacesCommand extends command(_ep0, _mw0, "ListWorkspaces", ListWorkspaces$) {
|
|
1871
1589
|
}
|
|
1872
1590
|
|
|
1873
|
-
class PutAlertManagerDefinitionCommand extends
|
|
1874
|
-
.classBuilder()
|
|
1875
|
-
.ep(commonParams)
|
|
1876
|
-
.m(function (Command, cs, config, o) {
|
|
1877
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1878
|
-
})
|
|
1879
|
-
.s("AmazonPrometheusService", "PutAlertManagerDefinition", {})
|
|
1880
|
-
.n("AmpClient", "PutAlertManagerDefinitionCommand")
|
|
1881
|
-
.sc(PutAlertManagerDefinition$)
|
|
1882
|
-
.build() {
|
|
1591
|
+
class PutAlertManagerDefinitionCommand extends command(_ep0, _mw0, "PutAlertManagerDefinition", PutAlertManagerDefinition$) {
|
|
1883
1592
|
}
|
|
1884
1593
|
|
|
1885
|
-
class PutAnomalyDetectorCommand extends
|
|
1886
|
-
.classBuilder()
|
|
1887
|
-
.ep(commonParams)
|
|
1888
|
-
.m(function (Command, cs, config, o) {
|
|
1889
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1890
|
-
})
|
|
1891
|
-
.s("AmazonPrometheusService", "PutAnomalyDetector", {})
|
|
1892
|
-
.n("AmpClient", "PutAnomalyDetectorCommand")
|
|
1893
|
-
.sc(PutAnomalyDetector$)
|
|
1894
|
-
.build() {
|
|
1594
|
+
class PutAnomalyDetectorCommand extends command(_ep0, _mw0, "PutAnomalyDetector", PutAnomalyDetector$) {
|
|
1895
1595
|
}
|
|
1896
1596
|
|
|
1897
|
-
class PutResourcePolicyCommand extends
|
|
1898
|
-
.classBuilder()
|
|
1899
|
-
.ep(commonParams)
|
|
1900
|
-
.m(function (Command, cs, config, o) {
|
|
1901
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1902
|
-
})
|
|
1903
|
-
.s("AmazonPrometheusService", "PutResourcePolicy", {})
|
|
1904
|
-
.n("AmpClient", "PutResourcePolicyCommand")
|
|
1905
|
-
.sc(PutResourcePolicy$)
|
|
1906
|
-
.build() {
|
|
1597
|
+
class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
|
|
1907
1598
|
}
|
|
1908
1599
|
|
|
1909
|
-
class PutRuleGroupsNamespaceCommand extends
|
|
1910
|
-
.classBuilder()
|
|
1911
|
-
.ep(commonParams)
|
|
1912
|
-
.m(function (Command, cs, config, o) {
|
|
1913
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1914
|
-
})
|
|
1915
|
-
.s("AmazonPrometheusService", "PutRuleGroupsNamespace", {})
|
|
1916
|
-
.n("AmpClient", "PutRuleGroupsNamespaceCommand")
|
|
1917
|
-
.sc(PutRuleGroupsNamespace$)
|
|
1918
|
-
.build() {
|
|
1600
|
+
class PutRuleGroupsNamespaceCommand extends command(_ep0, _mw0, "PutRuleGroupsNamespace", PutRuleGroupsNamespace$) {
|
|
1919
1601
|
}
|
|
1920
1602
|
|
|
1921
|
-
class TagResourceCommand extends
|
|
1922
|
-
.classBuilder()
|
|
1923
|
-
.ep(commonParams)
|
|
1924
|
-
.m(function (Command, cs, config, o) {
|
|
1925
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1926
|
-
})
|
|
1927
|
-
.s("AmazonPrometheusService", "TagResource", {})
|
|
1928
|
-
.n("AmpClient", "TagResourceCommand")
|
|
1929
|
-
.sc(TagResource$)
|
|
1930
|
-
.build() {
|
|
1603
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1931
1604
|
}
|
|
1932
1605
|
|
|
1933
|
-
class UntagResourceCommand extends
|
|
1934
|
-
.classBuilder()
|
|
1935
|
-
.ep(commonParams)
|
|
1936
|
-
.m(function (Command, cs, config, o) {
|
|
1937
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1938
|
-
})
|
|
1939
|
-
.s("AmazonPrometheusService", "UntagResource", {})
|
|
1940
|
-
.n("AmpClient", "UntagResourceCommand")
|
|
1941
|
-
.sc(UntagResource$)
|
|
1942
|
-
.build() {
|
|
1606
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1943
1607
|
}
|
|
1944
1608
|
|
|
1945
|
-
class UpdateLoggingConfigurationCommand extends
|
|
1946
|
-
.classBuilder()
|
|
1947
|
-
.ep(commonParams)
|
|
1948
|
-
.m(function (Command, cs, config, o) {
|
|
1949
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1950
|
-
})
|
|
1951
|
-
.s("AmazonPrometheusService", "UpdateLoggingConfiguration", {})
|
|
1952
|
-
.n("AmpClient", "UpdateLoggingConfigurationCommand")
|
|
1953
|
-
.sc(UpdateLoggingConfiguration$)
|
|
1954
|
-
.build() {
|
|
1609
|
+
class UpdateLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateLoggingConfiguration", UpdateLoggingConfiguration$) {
|
|
1955
1610
|
}
|
|
1956
1611
|
|
|
1957
|
-
class UpdateQueryLoggingConfigurationCommand extends
|
|
1958
|
-
.classBuilder()
|
|
1959
|
-
.ep(commonParams)
|
|
1960
|
-
.m(function (Command, cs, config, o) {
|
|
1961
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1962
|
-
})
|
|
1963
|
-
.s("AmazonPrometheusService", "UpdateQueryLoggingConfiguration", {})
|
|
1964
|
-
.n("AmpClient", "UpdateQueryLoggingConfigurationCommand")
|
|
1965
|
-
.sc(UpdateQueryLoggingConfiguration$)
|
|
1966
|
-
.build() {
|
|
1612
|
+
class UpdateQueryLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateQueryLoggingConfiguration", UpdateQueryLoggingConfiguration$) {
|
|
1967
1613
|
}
|
|
1968
1614
|
|
|
1969
|
-
class UpdateScraperCommand extends
|
|
1970
|
-
.classBuilder()
|
|
1971
|
-
.ep(commonParams)
|
|
1972
|
-
.m(function (Command, cs, config, o) {
|
|
1973
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1974
|
-
})
|
|
1975
|
-
.s("AmazonPrometheusService", "UpdateScraper", {})
|
|
1976
|
-
.n("AmpClient", "UpdateScraperCommand")
|
|
1977
|
-
.sc(UpdateScraper$)
|
|
1978
|
-
.build() {
|
|
1615
|
+
class UpdateScraperCommand extends command(_ep0, _mw0, "UpdateScraper", UpdateScraper$) {
|
|
1979
1616
|
}
|
|
1980
1617
|
|
|
1981
|
-
class UpdateScraperLoggingConfigurationCommand extends
|
|
1982
|
-
.classBuilder()
|
|
1983
|
-
.ep(commonParams)
|
|
1984
|
-
.m(function (Command, cs, config, o) {
|
|
1985
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1986
|
-
})
|
|
1987
|
-
.s("AmazonPrometheusService", "UpdateScraperLoggingConfiguration", {})
|
|
1988
|
-
.n("AmpClient", "UpdateScraperLoggingConfigurationCommand")
|
|
1989
|
-
.sc(UpdateScraperLoggingConfiguration$)
|
|
1990
|
-
.build() {
|
|
1618
|
+
class UpdateScraperLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateScraperLoggingConfiguration", UpdateScraperLoggingConfiguration$) {
|
|
1991
1619
|
}
|
|
1992
1620
|
|
|
1993
|
-
class UpdateWorkspaceAliasCommand extends
|
|
1994
|
-
.classBuilder()
|
|
1995
|
-
.ep(commonParams)
|
|
1996
|
-
.m(function (Command, cs, config, o) {
|
|
1997
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1998
|
-
})
|
|
1999
|
-
.s("AmazonPrometheusService", "UpdateWorkspaceAlias", {})
|
|
2000
|
-
.n("AmpClient", "UpdateWorkspaceAliasCommand")
|
|
2001
|
-
.sc(UpdateWorkspaceAlias$)
|
|
2002
|
-
.build() {
|
|
1621
|
+
class UpdateWorkspaceAliasCommand extends command(_ep0, _mw0, "UpdateWorkspaceAlias", UpdateWorkspaceAlias$) {
|
|
2003
1622
|
}
|
|
2004
1623
|
|
|
2005
|
-
class UpdateWorkspaceConfigurationCommand extends
|
|
2006
|
-
.classBuilder()
|
|
2007
|
-
.ep(commonParams)
|
|
2008
|
-
.m(function (Command, cs, config, o) {
|
|
2009
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2010
|
-
})
|
|
2011
|
-
.s("AmazonPrometheusService", "UpdateWorkspaceConfiguration", {})
|
|
2012
|
-
.n("AmpClient", "UpdateWorkspaceConfigurationCommand")
|
|
2013
|
-
.sc(UpdateWorkspaceConfiguration$)
|
|
2014
|
-
.build() {
|
|
1624
|
+
class UpdateWorkspaceConfigurationCommand extends command(_ep0, _mw0, "UpdateWorkspaceConfiguration", UpdateWorkspaceConfiguration$) {
|
|
2015
1625
|
}
|
|
2016
1626
|
|
|
2017
1627
|
const paginateListAnomalyDetectors = createPaginator(AmpClient, ListAnomalyDetectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AmazonPrometheusService", "AmpClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateAlertManagerDefinition$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAlertManagerDefinitionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonPrometheusService", "CreateAlertManagerDefinition", {})
|
|
13
|
-
.n("AmpClient", "CreateAlertManagerDefinitionCommand")
|
|
14
|
-
.sc(CreateAlertManagerDefinition$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAlertManagerDefinitionCommand extends command(_ep0, _mw0, "CreateAlertManagerDefinition", CreateAlertManagerDefinition$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateAnomalyDetector$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAnomalyDetectorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonPrometheusService", "CreateAnomalyDetector", {})
|
|
13
|
-
.n("AmpClient", "CreateAnomalyDetectorCommand")
|
|
14
|
-
.sc(CreateAnomalyDetector$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAnomalyDetectorCommand extends command(_ep0, _mw0, "CreateAnomalyDetector", CreateAnomalyDetector$) {
|
|
16
4
|
}
|