@aws-sdk/client-amp 3.952.0 → 3.953.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 +581 -386
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +2 -2
- package/dist-es/commands/CreateAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +2 -2
- package/dist-es/commands/CreateScraperCommand.js +2 -2
- package/dist-es/commands/CreateWorkspaceCommand.js +2 -2
- package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +2 -2
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +2 -2
- package/dist-es/commands/DeleteScraperCommand.js +2 -2
- package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteWorkspaceCommand.js +2 -2
- package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +2 -2
- package/dist-es/commands/DescribeAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +2 -2
- package/dist-es/commands/DescribeScraperCommand.js +2 -2
- package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceCommand.js +2 -2
- package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -2
- package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +2 -2
- package/dist-es/commands/ListAnomalyDetectorsCommand.js +2 -2
- package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +2 -2
- package/dist-es/commands/ListScrapersCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListWorkspacesCommand.js +2 -2
- package/dist-es/commands/PutAlertManagerDefinitionCommand.js +2 -2
- package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateScraperCommand.js +2 -2
- package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateWorkspaceAliasCommand.js +2 -2
- package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +354 -331
- package/dist-types/AmpClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +173 -191
- package/dist-types/ts3.4/AmpClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +172 -192
- package/package.json +35 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutRuleGroupsNamespace } from "../schemas/schemas_0";
|
|
4
|
+
import { PutRuleGroupsNamespace$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutRuleGroupsNamespaceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutRuleGroupsNamespaceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "PutRuleGroupsNamespace", {})
|
|
13
13
|
.n("AmpClient", "PutRuleGroupsNamespaceCommand")
|
|
14
|
-
.sc(PutRuleGroupsNamespace)
|
|
14
|
+
.sc(PutRuleGroupsNamespace$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "TagResource", {})
|
|
13
13
|
.n("AmpClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UntagResource", {})
|
|
13
13
|
.n("AmpClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateLoggingConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateLoggingConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateLoggingConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateLoggingConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UpdateLoggingConfiguration", {})
|
|
13
13
|
.n("AmpClient", "UpdateLoggingConfigurationCommand")
|
|
14
|
-
.sc(UpdateLoggingConfiguration)
|
|
14
|
+
.sc(UpdateLoggingConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateQueryLoggingConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateQueryLoggingConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateQueryLoggingConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateQueryLoggingConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UpdateQueryLoggingConfiguration", {})
|
|
13
13
|
.n("AmpClient", "UpdateQueryLoggingConfigurationCommand")
|
|
14
|
-
.sc(UpdateQueryLoggingConfiguration)
|
|
14
|
+
.sc(UpdateQueryLoggingConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateScraper } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateScraper$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateScraperCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateScraperCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UpdateScraper", {})
|
|
13
13
|
.n("AmpClient", "UpdateScraperCommand")
|
|
14
|
-
.sc(UpdateScraper)
|
|
14
|
+
.sc(UpdateScraper$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateScraperLoggingConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateScraperLoggingConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateScraperLoggingConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateScraperLoggingConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UpdateScraperLoggingConfiguration", {})
|
|
13
13
|
.n("AmpClient", "UpdateScraperLoggingConfigurationCommand")
|
|
14
|
-
.sc(UpdateScraperLoggingConfiguration)
|
|
14
|
+
.sc(UpdateScraperLoggingConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateWorkspaceAlias } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateWorkspaceAlias$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateWorkspaceAliasCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateWorkspaceAliasCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UpdateWorkspaceAlias", {})
|
|
13
13
|
.n("AmpClient", "UpdateWorkspaceAliasCommand")
|
|
14
|
-
.sc(UpdateWorkspaceAlias)
|
|
14
|
+
.sc(UpdateWorkspaceAlias$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateWorkspaceConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateWorkspaceConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateWorkspaceConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateWorkspaceConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonPrometheusService", "UpdateWorkspaceConfiguration", {})
|
|
13
13
|
.n("AmpClient", "UpdateWorkspaceConfigurationCommand")
|
|
14
|
-
.sc(UpdateWorkspaceConfiguration)
|
|
14
|
+
.sc(UpdateWorkspaceConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.amp",
|
|
29
|
+
version: "2020-08-01",
|
|
30
|
+
serviceTarget: "AmazonPrometheusService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "amp",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|