@aws-sdk/client-observabilityadmin 3.858.0 → 3.862.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 +105 -1
- package/dist-cjs/ObservabilityAdmin.js +26 -0
- package/dist-cjs/commands/CreateTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/CreateTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/DeleteTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/DeleteTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/GetTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/GetTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/ListTelemetryRulesCommand.js +26 -0
- package/dist-cjs/commands/ListTelemetryRulesForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/UpdateTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +83 -18
- package/dist-cjs/pagination/ListTelemetryRulesForOrganizationPaginator.js +7 -0
- package/dist-cjs/pagination/ListTelemetryRulesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +452 -1
- package/dist-es/ObservabilityAdmin.js +26 -0
- package/dist-es/commands/CreateTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/CreateTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/DeleteTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/DeleteTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/GetTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/GetTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/ListTelemetryRulesCommand.js +22 -0
- package/dist-es/commands/ListTelemetryRulesForOrganizationCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/UpdateTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +78 -17
- package/dist-es/pagination/ListTelemetryRulesForOrganizationPaginator.js +4 -0
- package/dist-es/pagination/ListTelemetryRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +427 -2
- package/dist-types/ObservabilityAdmin.d.ts +94 -1
- package/dist-types/ObservabilityAdminClient.d.ts +16 -3
- package/dist-types/commands/CreateTelemetryRuleCommand.d.ts +123 -0
- package/dist-types/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +123 -0
- package/dist-types/commands/DeleteTelemetryRuleCommand.d.ts +97 -0
- package/dist-types/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +97 -0
- package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +6 -1
- package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +7 -2
- package/dist-types/commands/GetTelemetryRuleCommand.d.ts +118 -0
- package/dist-types/commands/GetTelemetryRuleForOrganizationCommand.d.ts +118 -0
- package/dist-types/commands/ListResourceTelemetryCommand.d.ts +7 -2
- package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +7 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +101 -0
- package/dist-types/commands/ListTelemetryRulesCommand.d.ts +106 -0
- package/dist-types/commands/ListTelemetryRulesForOrganizationCommand.d.ts +112 -0
- package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +7 -2
- package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +6 -1
- package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +7 -2
- package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +7 -2
- package/dist-types/commands/TagResourceCommand.d.ts +105 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +100 -0
- package/dist-types/commands/UpdateTelemetryRuleCommand.d.ts +120 -0
- package/dist-types/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +707 -39
- package/dist-types/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTelemetryRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/ObservabilityAdmin.d.ts +247 -0
- package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/CreateTelemetryRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTelemetryRuleCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTelemetryRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTelemetryRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTelemetryRulesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTelemetryRulesForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateTelemetryRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +178 -26
- package/dist-types/ts3.4/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTelemetryRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +33 -33
|
@@ -1,22 +1,48 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { CreateTelemetryRuleCommand, } from "./commands/CreateTelemetryRuleCommand";
|
|
3
|
+
import { CreateTelemetryRuleForOrganizationCommand, } from "./commands/CreateTelemetryRuleForOrganizationCommand";
|
|
4
|
+
import { DeleteTelemetryRuleCommand, } from "./commands/DeleteTelemetryRuleCommand";
|
|
5
|
+
import { DeleteTelemetryRuleForOrganizationCommand, } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
|
|
2
6
|
import { GetTelemetryEvaluationStatusCommand, } from "./commands/GetTelemetryEvaluationStatusCommand";
|
|
3
7
|
import { GetTelemetryEvaluationStatusForOrganizationCommand, } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
8
|
+
import { GetTelemetryRuleCommand, } from "./commands/GetTelemetryRuleCommand";
|
|
9
|
+
import { GetTelemetryRuleForOrganizationCommand, } from "./commands/GetTelemetryRuleForOrganizationCommand";
|
|
4
10
|
import { ListResourceTelemetryCommand, } from "./commands/ListResourceTelemetryCommand";
|
|
5
11
|
import { ListResourceTelemetryForOrganizationCommand, } from "./commands/ListResourceTelemetryForOrganizationCommand";
|
|
12
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
13
|
+
import { ListTelemetryRulesCommand, } from "./commands/ListTelemetryRulesCommand";
|
|
14
|
+
import { ListTelemetryRulesForOrganizationCommand, } from "./commands/ListTelemetryRulesForOrganizationCommand";
|
|
6
15
|
import { StartTelemetryEvaluationCommand, } from "./commands/StartTelemetryEvaluationCommand";
|
|
7
16
|
import { StartTelemetryEvaluationForOrganizationCommand, } from "./commands/StartTelemetryEvaluationForOrganizationCommand";
|
|
8
17
|
import { StopTelemetryEvaluationCommand, } from "./commands/StopTelemetryEvaluationCommand";
|
|
9
18
|
import { StopTelemetryEvaluationForOrganizationCommand, } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
|
|
19
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
20
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
21
|
+
import { UpdateTelemetryRuleCommand, } from "./commands/UpdateTelemetryRuleCommand";
|
|
22
|
+
import { UpdateTelemetryRuleForOrganizationCommand, } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
|
|
10
23
|
import { ObservabilityAdminClient } from "./ObservabilityAdminClient";
|
|
11
24
|
const commands = {
|
|
25
|
+
CreateTelemetryRuleCommand,
|
|
26
|
+
CreateTelemetryRuleForOrganizationCommand,
|
|
27
|
+
DeleteTelemetryRuleCommand,
|
|
28
|
+
DeleteTelemetryRuleForOrganizationCommand,
|
|
12
29
|
GetTelemetryEvaluationStatusCommand,
|
|
13
30
|
GetTelemetryEvaluationStatusForOrganizationCommand,
|
|
31
|
+
GetTelemetryRuleCommand,
|
|
32
|
+
GetTelemetryRuleForOrganizationCommand,
|
|
14
33
|
ListResourceTelemetryCommand,
|
|
15
34
|
ListResourceTelemetryForOrganizationCommand,
|
|
35
|
+
ListTagsForResourceCommand,
|
|
36
|
+
ListTelemetryRulesCommand,
|
|
37
|
+
ListTelemetryRulesForOrganizationCommand,
|
|
16
38
|
StartTelemetryEvaluationCommand,
|
|
17
39
|
StartTelemetryEvaluationForOrganizationCommand,
|
|
18
40
|
StopTelemetryEvaluationCommand,
|
|
19
41
|
StopTelemetryEvaluationForOrganizationCommand,
|
|
42
|
+
TagResourceCommand,
|
|
43
|
+
UntagResourceCommand,
|
|
44
|
+
UpdateTelemetryRuleCommand,
|
|
45
|
+
UpdateTelemetryRuleForOrganizationCommand,
|
|
20
46
|
};
|
|
21
47
|
export class ObservabilityAdmin extends ObservabilityAdminClient {
|
|
22
48
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateTelemetryRuleCommand, se_CreateTelemetryRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateTelemetryRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "CreateTelemetryRule", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "CreateTelemetryRuleCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateTelemetryRuleCommand)
|
|
20
|
+
.de(de_CreateTelemetryRuleCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateTelemetryRuleForOrganizationCommand, se_CreateTelemetryRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateTelemetryRuleForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "CreateTelemetryRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "CreateTelemetryRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateTelemetryRuleForOrganizationCommand)
|
|
20
|
+
.de(de_CreateTelemetryRuleForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteTelemetryRuleCommand, se_DeleteTelemetryRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteTelemetryRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "DeleteTelemetryRule", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "DeleteTelemetryRuleCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteTelemetryRuleCommand)
|
|
20
|
+
.de(de_DeleteTelemetryRuleCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteTelemetryRuleForOrganizationCommand, se_DeleteTelemetryRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteTelemetryRuleForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "DeleteTelemetryRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "DeleteTelemetryRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteTelemetryRuleForOrganizationCommand)
|
|
20
|
+
.de(de_DeleteTelemetryRuleForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetTelemetryRuleCommand, se_GetTelemetryRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetTelemetryRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "GetTelemetryRule", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "GetTelemetryRuleCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetTelemetryRuleCommand)
|
|
20
|
+
.de(de_GetTelemetryRuleCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetTelemetryRuleForOrganizationCommand, se_GetTelemetryRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetTelemetryRuleForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "GetTelemetryRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "GetTelemetryRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetTelemetryRuleForOrganizationCommand)
|
|
20
|
+
.de(de_GetTelemetryRuleForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "ListTagsForResource", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "ListTagsForResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTagsForResourceCommand)
|
|
20
|
+
.de(de_ListTagsForResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTelemetryRulesCommand, se_ListTelemetryRulesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTelemetryRulesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "ListTelemetryRules", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "ListTelemetryRulesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTelemetryRulesCommand)
|
|
20
|
+
.de(de_ListTelemetryRulesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTelemetryRulesForOrganizationCommand, se_ListTelemetryRulesForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTelemetryRulesForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "ListTelemetryRulesForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "ListTelemetryRulesForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTelemetryRulesForOrganizationCommand)
|
|
20
|
+
.de(de_ListTelemetryRulesForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "TagResource", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "TagResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_TagResourceCommand)
|
|
20
|
+
.de(de_TagResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "UntagResource", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "UntagResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UntagResourceCommand)
|
|
20
|
+
.de(de_UntagResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateTelemetryRuleCommand, se_UpdateTelemetryRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateTelemetryRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "UpdateTelemetryRule", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "UpdateTelemetryRuleCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateTelemetryRuleCommand)
|
|
20
|
+
.de(de_UpdateTelemetryRuleCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateTelemetryRuleForOrganizationCommand, se_UpdateTelemetryRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateTelemetryRuleForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ObservabilityAdmin", "UpdateTelemetryRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "UpdateTelemetryRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateTelemetryRuleForOrganizationCommand)
|
|
20
|
+
.de(de_UpdateTelemetryRuleForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
+
export * from "./CreateTelemetryRuleCommand";
|
|
2
|
+
export * from "./CreateTelemetryRuleForOrganizationCommand";
|
|
3
|
+
export * from "./DeleteTelemetryRuleCommand";
|
|
4
|
+
export * from "./DeleteTelemetryRuleForOrganizationCommand";
|
|
1
5
|
export * from "./GetTelemetryEvaluationStatusCommand";
|
|
2
6
|
export * from "./GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
7
|
+
export * from "./GetTelemetryRuleCommand";
|
|
8
|
+
export * from "./GetTelemetryRuleForOrganizationCommand";
|
|
3
9
|
export * from "./ListResourceTelemetryCommand";
|
|
4
10
|
export * from "./ListResourceTelemetryForOrganizationCommand";
|
|
11
|
+
export * from "./ListTagsForResourceCommand";
|
|
12
|
+
export * from "./ListTelemetryRulesCommand";
|
|
13
|
+
export * from "./ListTelemetryRulesForOrganizationCommand";
|
|
5
14
|
export * from "./StartTelemetryEvaluationCommand";
|
|
6
15
|
export * from "./StartTelemetryEvaluationForOrganizationCommand";
|
|
7
16
|
export * from "./StopTelemetryEvaluationCommand";
|
|
8
17
|
export * from "./StopTelemetryEvaluationForOrganizationCommand";
|
|
18
|
+
export * from "./TagResourceCommand";
|
|
19
|
+
export * from "./UntagResourceCommand";
|
|
20
|
+
export * from "./UpdateTelemetryRuleCommand";
|
|
21
|
+
export * from "./UpdateTelemetryRuleForOrganizationCommand";
|
|
@@ -15,14 +15,32 @@ export class AccessDeniedException extends __BaseException {
|
|
|
15
15
|
this.amznErrorType = opts.amznErrorType;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "ConflictException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export const DestinationType = {
|
|
33
|
+
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
34
|
+
};
|
|
35
|
+
export const ResourceType = {
|
|
36
|
+
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
37
|
+
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
38
|
+
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
39
|
+
};
|
|
40
|
+
export const TelemetryType = {
|
|
41
|
+
LOGS: "Logs",
|
|
42
|
+
METRICS: "Metrics",
|
|
43
|
+
TRACES: "Traces",
|
|
26
44
|
};
|
|
27
45
|
export class InternalServerException extends __BaseException {
|
|
28
46
|
name = "InternalServerException";
|
|
@@ -40,6 +58,36 @@ export class InternalServerException extends __BaseException {
|
|
|
40
58
|
this.amznErrorType = opts.amznErrorType;
|
|
41
59
|
}
|
|
42
60
|
}
|
|
61
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
name = "ServiceQuotaExceededException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
Message;
|
|
65
|
+
amznErrorType;
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "ServiceQuotaExceededException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
73
|
+
this.Message = opts.Message;
|
|
74
|
+
this.amznErrorType = opts.amznErrorType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export class TooManyRequestsException extends __BaseException {
|
|
78
|
+
name = "TooManyRequestsException";
|
|
79
|
+
$fault = "client";
|
|
80
|
+
Message;
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "TooManyRequestsException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
88
|
+
this.Message = opts.Message;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
43
91
|
export class ValidationException extends __BaseException {
|
|
44
92
|
name = "ValidationException";
|
|
45
93
|
$fault = "client";
|
|
@@ -54,15 +102,28 @@ export class ValidationException extends __BaseException {
|
|
|
54
102
|
this.Message = opts.Message;
|
|
55
103
|
}
|
|
56
104
|
}
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
105
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
106
|
+
name = "ResourceNotFoundException";
|
|
107
|
+
$fault = "client";
|
|
108
|
+
Message;
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "ResourceNotFoundException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
116
|
+
this.Message = opts.Message;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
export const Status = {
|
|
120
|
+
FAILED_START: "FAILED_START",
|
|
121
|
+
FAILED_STOP: "FAILED_STOP",
|
|
122
|
+
NOT_STARTED: "NOT_STARTED",
|
|
123
|
+
RUNNING: "RUNNING",
|
|
124
|
+
STARTING: "STARTING",
|
|
125
|
+
STOPPED: "STOPPED",
|
|
126
|
+
STOPPING: "STOPPING",
|
|
66
127
|
};
|
|
67
128
|
export const TelemetryState = {
|
|
68
129
|
DISABLED: "Disabled",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListTelemetryRulesForOrganizationCommand, } from "../commands/ListTelemetryRulesForOrganizationCommand";
|
|
3
|
+
import { ObservabilityAdminClient } from "../ObservabilityAdminClient";
|
|
4
|
+
export const paginateListTelemetryRulesForOrganization = createPaginator(ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListTelemetryRulesCommand, } from "../commands/ListTelemetryRulesCommand";
|
|
3
|
+
import { ObservabilityAdminClient } from "../ObservabilityAdminClient";
|
|
4
|
+
export const paginateListTelemetryRules = createPaginator(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults");
|