@aws-sdk/client-observabilityadmin 3.887.0 → 3.889.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 +40 -0
- package/dist-cjs/ObservabilityAdmin.js +10 -0
- package/dist-cjs/commands/CreateCentralizationRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/DeleteCentralizationRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/GetCentralizationRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/ListCentralizationRulesForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/UpdateCentralizationRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +36 -14
- package/dist-cjs/pagination/ListCentralizationRulesForOrganizationPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +158 -1
- package/dist-es/ObservabilityAdmin.js +10 -0
- package/dist-es/commands/CreateCentralizationRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/DeleteCentralizationRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/GetCentralizationRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/ListCentralizationRulesForOrganizationCommand.js +22 -0
- package/dist-es/commands/UpdateCentralizationRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +35 -13
- package/dist-es/pagination/ListCentralizationRulesForOrganizationPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +146 -0
- package/dist-types/ObservabilityAdmin.d.ts +36 -0
- package/dist-types/ObservabilityAdminClient.d.ts +7 -2
- package/dist-types/commands/CreateCentralizationRuleForOrganizationCommand.d.ts +132 -0
- package/dist-types/commands/DeleteCentralizationRuleForOrganizationCommand.d.ts +95 -0
- package/dist-types/commands/GetCentralizationRuleForOrganizationCommand.d.ts +131 -0
- package/dist-types/commands/ListCentralizationRulesForOrganizationCommand.d.ts +109 -0
- package/dist-types/commands/UpdateCentralizationRuleForOrganizationCommand.d.ts +129 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +488 -78
- package/dist-types/pagination/ListCentralizationRulesForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/ObservabilityAdmin.d.ts +116 -0
- package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateCentralizationRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCentralizationRuleForOrganizationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCentralizationRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCentralizationRulesForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCentralizationRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -35
- package/dist-types/ts3.4/pagination/ListCentralizationRulesForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -206,6 +206,14 @@ see LICENSE for more information.
|
|
|
206
206
|
|
|
207
207
|
## Client Commands (Operations List)
|
|
208
208
|
|
|
209
|
+
<details>
|
|
210
|
+
<summary>
|
|
211
|
+
CreateCentralizationRuleForOrganization
|
|
212
|
+
</summary>
|
|
213
|
+
|
|
214
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/CreateCentralizationRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/CreateCentralizationRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/CreateCentralizationRuleForOrganizationCommandOutput/)
|
|
215
|
+
|
|
216
|
+
</details>
|
|
209
217
|
<details>
|
|
210
218
|
<summary>
|
|
211
219
|
CreateTelemetryRule
|
|
@@ -221,6 +229,14 @@ CreateTelemetryRuleForOrganization
|
|
|
221
229
|
|
|
222
230
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/CreateTelemetryRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/CreateTelemetryRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/CreateTelemetryRuleForOrganizationCommandOutput/)
|
|
223
231
|
|
|
232
|
+
</details>
|
|
233
|
+
<details>
|
|
234
|
+
<summary>
|
|
235
|
+
DeleteCentralizationRuleForOrganization
|
|
236
|
+
</summary>
|
|
237
|
+
|
|
238
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/DeleteCentralizationRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/DeleteCentralizationRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/DeleteCentralizationRuleForOrganizationCommandOutput/)
|
|
239
|
+
|
|
224
240
|
</details>
|
|
225
241
|
<details>
|
|
226
242
|
<summary>
|
|
@@ -237,6 +253,14 @@ DeleteTelemetryRuleForOrganization
|
|
|
237
253
|
|
|
238
254
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/DeleteTelemetryRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/DeleteTelemetryRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/DeleteTelemetryRuleForOrganizationCommandOutput/)
|
|
239
255
|
|
|
256
|
+
</details>
|
|
257
|
+
<details>
|
|
258
|
+
<summary>
|
|
259
|
+
GetCentralizationRuleForOrganization
|
|
260
|
+
</summary>
|
|
261
|
+
|
|
262
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/GetCentralizationRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetCentralizationRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetCentralizationRuleForOrganizationCommandOutput/)
|
|
263
|
+
|
|
240
264
|
</details>
|
|
241
265
|
<details>
|
|
242
266
|
<summary>
|
|
@@ -269,6 +293,14 @@ GetTelemetryRuleForOrganization
|
|
|
269
293
|
|
|
270
294
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/GetTelemetryRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetTelemetryRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetTelemetryRuleForOrganizationCommandOutput/)
|
|
271
295
|
|
|
296
|
+
</details>
|
|
297
|
+
<details>
|
|
298
|
+
<summary>
|
|
299
|
+
ListCentralizationRulesForOrganization
|
|
300
|
+
</summary>
|
|
301
|
+
|
|
302
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/ListCentralizationRulesForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/ListCentralizationRulesForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/ListCentralizationRulesForOrganizationCommandOutput/)
|
|
303
|
+
|
|
272
304
|
</details>
|
|
273
305
|
<details>
|
|
274
306
|
<summary>
|
|
@@ -357,6 +389,14 @@ UntagResource
|
|
|
357
389
|
|
|
358
390
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/UntagResourceCommandOutput/)
|
|
359
391
|
|
|
392
|
+
</details>
|
|
393
|
+
<details>
|
|
394
|
+
<summary>
|
|
395
|
+
UpdateCentralizationRuleForOrganization
|
|
396
|
+
</summary>
|
|
397
|
+
|
|
398
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/UpdateCentralizationRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/UpdateCentralizationRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/UpdateCentralizationRuleForOrganizationCommandOutput/)
|
|
399
|
+
|
|
360
400
|
</details>
|
|
361
401
|
<details>
|
|
362
402
|
<summary>
|
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ObservabilityAdmin = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const CreateCentralizationRuleForOrganizationCommand_1 = require("./commands/CreateCentralizationRuleForOrganizationCommand");
|
|
5
6
|
const CreateTelemetryRuleCommand_1 = require("./commands/CreateTelemetryRuleCommand");
|
|
6
7
|
const CreateTelemetryRuleForOrganizationCommand_1 = require("./commands/CreateTelemetryRuleForOrganizationCommand");
|
|
8
|
+
const DeleteCentralizationRuleForOrganizationCommand_1 = require("./commands/DeleteCentralizationRuleForOrganizationCommand");
|
|
7
9
|
const DeleteTelemetryRuleCommand_1 = require("./commands/DeleteTelemetryRuleCommand");
|
|
8
10
|
const DeleteTelemetryRuleForOrganizationCommand_1 = require("./commands/DeleteTelemetryRuleForOrganizationCommand");
|
|
11
|
+
const GetCentralizationRuleForOrganizationCommand_1 = require("./commands/GetCentralizationRuleForOrganizationCommand");
|
|
9
12
|
const GetTelemetryEvaluationStatusCommand_1 = require("./commands/GetTelemetryEvaluationStatusCommand");
|
|
10
13
|
const GetTelemetryEvaluationStatusForOrganizationCommand_1 = require("./commands/GetTelemetryEvaluationStatusForOrganizationCommand");
|
|
11
14
|
const GetTelemetryRuleCommand_1 = require("./commands/GetTelemetryRuleCommand");
|
|
12
15
|
const GetTelemetryRuleForOrganizationCommand_1 = require("./commands/GetTelemetryRuleForOrganizationCommand");
|
|
16
|
+
const ListCentralizationRulesForOrganizationCommand_1 = require("./commands/ListCentralizationRulesForOrganizationCommand");
|
|
13
17
|
const ListResourceTelemetryCommand_1 = require("./commands/ListResourceTelemetryCommand");
|
|
14
18
|
const ListResourceTelemetryForOrganizationCommand_1 = require("./commands/ListResourceTelemetryForOrganizationCommand");
|
|
15
19
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
@@ -21,18 +25,23 @@ const StopTelemetryEvaluationCommand_1 = require("./commands/StopTelemetryEvalua
|
|
|
21
25
|
const StopTelemetryEvaluationForOrganizationCommand_1 = require("./commands/StopTelemetryEvaluationForOrganizationCommand");
|
|
22
26
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
23
27
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
28
|
+
const UpdateCentralizationRuleForOrganizationCommand_1 = require("./commands/UpdateCentralizationRuleForOrganizationCommand");
|
|
24
29
|
const UpdateTelemetryRuleCommand_1 = require("./commands/UpdateTelemetryRuleCommand");
|
|
25
30
|
const UpdateTelemetryRuleForOrganizationCommand_1 = require("./commands/UpdateTelemetryRuleForOrganizationCommand");
|
|
26
31
|
const ObservabilityAdminClient_1 = require("./ObservabilityAdminClient");
|
|
27
32
|
const commands = {
|
|
33
|
+
CreateCentralizationRuleForOrganizationCommand: CreateCentralizationRuleForOrganizationCommand_1.CreateCentralizationRuleForOrganizationCommand,
|
|
28
34
|
CreateTelemetryRuleCommand: CreateTelemetryRuleCommand_1.CreateTelemetryRuleCommand,
|
|
29
35
|
CreateTelemetryRuleForOrganizationCommand: CreateTelemetryRuleForOrganizationCommand_1.CreateTelemetryRuleForOrganizationCommand,
|
|
36
|
+
DeleteCentralizationRuleForOrganizationCommand: DeleteCentralizationRuleForOrganizationCommand_1.DeleteCentralizationRuleForOrganizationCommand,
|
|
30
37
|
DeleteTelemetryRuleCommand: DeleteTelemetryRuleCommand_1.DeleteTelemetryRuleCommand,
|
|
31
38
|
DeleteTelemetryRuleForOrganizationCommand: DeleteTelemetryRuleForOrganizationCommand_1.DeleteTelemetryRuleForOrganizationCommand,
|
|
39
|
+
GetCentralizationRuleForOrganizationCommand: GetCentralizationRuleForOrganizationCommand_1.GetCentralizationRuleForOrganizationCommand,
|
|
32
40
|
GetTelemetryEvaluationStatusCommand: GetTelemetryEvaluationStatusCommand_1.GetTelemetryEvaluationStatusCommand,
|
|
33
41
|
GetTelemetryEvaluationStatusForOrganizationCommand: GetTelemetryEvaluationStatusForOrganizationCommand_1.GetTelemetryEvaluationStatusForOrganizationCommand,
|
|
34
42
|
GetTelemetryRuleCommand: GetTelemetryRuleCommand_1.GetTelemetryRuleCommand,
|
|
35
43
|
GetTelemetryRuleForOrganizationCommand: GetTelemetryRuleForOrganizationCommand_1.GetTelemetryRuleForOrganizationCommand,
|
|
44
|
+
ListCentralizationRulesForOrganizationCommand: ListCentralizationRulesForOrganizationCommand_1.ListCentralizationRulesForOrganizationCommand,
|
|
36
45
|
ListResourceTelemetryCommand: ListResourceTelemetryCommand_1.ListResourceTelemetryCommand,
|
|
37
46
|
ListResourceTelemetryForOrganizationCommand: ListResourceTelemetryForOrganizationCommand_1.ListResourceTelemetryForOrganizationCommand,
|
|
38
47
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
@@ -44,6 +53,7 @@ const commands = {
|
|
|
44
53
|
StopTelemetryEvaluationForOrganizationCommand: StopTelemetryEvaluationForOrganizationCommand_1.StopTelemetryEvaluationForOrganizationCommand,
|
|
45
54
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
46
55
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
56
|
+
UpdateCentralizationRuleForOrganizationCommand: UpdateCentralizationRuleForOrganizationCommand_1.UpdateCentralizationRuleForOrganizationCommand,
|
|
47
57
|
UpdateTelemetryRuleCommand: UpdateTelemetryRuleCommand_1.UpdateTelemetryRuleCommand,
|
|
48
58
|
UpdateTelemetryRuleForOrganizationCommand: UpdateTelemetryRuleForOrganizationCommand_1.UpdateTelemetryRuleForOrganizationCommand,
|
|
49
59
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateCentralizationRuleForOrganizationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateCentralizationRuleForOrganizationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ObservabilityAdmin", "CreateCentralizationRuleForOrganization", {})
|
|
20
|
+
.n("ObservabilityAdminClient", "CreateCentralizationRuleForOrganizationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_CreateCentralizationRuleForOrganizationCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_CreateCentralizationRuleForOrganizationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.CreateCentralizationRuleForOrganizationCommand = CreateCentralizationRuleForOrganizationCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCentralizationRuleForOrganizationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteCentralizationRuleForOrganizationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ObservabilityAdmin", "DeleteCentralizationRuleForOrganization", {})
|
|
20
|
+
.n("ObservabilityAdminClient", "DeleteCentralizationRuleForOrganizationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_DeleteCentralizationRuleForOrganizationCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_DeleteCentralizationRuleForOrganizationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.DeleteCentralizationRuleForOrganizationCommand = DeleteCentralizationRuleForOrganizationCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCentralizationRuleForOrganizationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetCentralizationRuleForOrganizationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ObservabilityAdmin", "GetCentralizationRuleForOrganization", {})
|
|
20
|
+
.n("ObservabilityAdminClient", "GetCentralizationRuleForOrganizationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_GetCentralizationRuleForOrganizationCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_GetCentralizationRuleForOrganizationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.GetCentralizationRuleForOrganizationCommand = GetCentralizationRuleForOrganizationCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCentralizationRulesForOrganizationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListCentralizationRulesForOrganizationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ObservabilityAdmin", "ListCentralizationRulesForOrganization", {})
|
|
20
|
+
.n("ObservabilityAdminClient", "ListCentralizationRulesForOrganizationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_ListCentralizationRulesForOrganizationCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_ListCentralizationRulesForOrganizationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.ListCentralizationRulesForOrganizationCommand = ListCentralizationRulesForOrganizationCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCentralizationRuleForOrganizationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateCentralizationRuleForOrganizationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ObservabilityAdmin", "UpdateCentralizationRuleForOrganization", {})
|
|
20
|
+
.n("ObservabilityAdminClient", "UpdateCentralizationRuleForOrganizationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_UpdateCentralizationRuleForOrganizationCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_UpdateCentralizationRuleForOrganizationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.UpdateCentralizationRuleForOrganizationCommand = UpdateCentralizationRuleForOrganizationCommand;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateCentralizationRuleForOrganizationCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./CreateTelemetryRuleCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateTelemetryRuleForOrganizationCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteCentralizationRuleForOrganizationCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./DeleteTelemetryRuleCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./DeleteTelemetryRuleForOrganizationCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetCentralizationRuleForOrganizationCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./GetTelemetryEvaluationStatusCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./GetTelemetryEvaluationStatusForOrganizationCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./GetTelemetryRuleCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./GetTelemetryRuleForOrganizationCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListCentralizationRulesForOrganizationCommand"), exports);
|
|
12
16
|
tslib_1.__exportStar(require("./ListResourceTelemetryCommand"), exports);
|
|
13
17
|
tslib_1.__exportStar(require("./ListResourceTelemetryForOrganizationCommand"), exports);
|
|
14
18
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
@@ -20,5 +24,6 @@ tslib_1.__exportStar(require("./StopTelemetryEvaluationCommand"), exports);
|
|
|
20
24
|
tslib_1.__exportStar(require("./StopTelemetryEvaluationForOrganizationCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./UpdateCentralizationRuleForOrganizationCommand"), exports);
|
|
23
28
|
tslib_1.__exportStar(require("./UpdateTelemetryRuleCommand"), exports);
|
|
24
29
|
tslib_1.__exportStar(require("./UpdateTelemetryRuleForOrganizationCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TelemetryState = exports.Status = exports.ResourceNotFoundException = exports.ValidationException = exports.TooManyRequestsException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.
|
|
3
|
+
exports.TelemetryState = exports.Status = exports.ResourceNotFoundException = exports.TelemetryType = exports.ResourceType = exports.DestinationType = exports.ValidationException = exports.TooManyRequestsException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.RuleHealth = exports.EncryptedLogGroupStrategy = exports.EncryptionStrategy = exports.EncryptionConflictResolutionStrategy = exports.CentralizationFailureReason = exports.AccessDeniedException = void 0;
|
|
4
4
|
const ObservabilityAdminServiceException_1 = require("./ObservabilityAdminServiceException");
|
|
5
5
|
class AccessDeniedException extends ObservabilityAdminServiceException_1.ObservabilityAdminServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -19,6 +19,28 @@ class AccessDeniedException extends ObservabilityAdminServiceException_1.Observa
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
exports.AccessDeniedException = AccessDeniedException;
|
|
22
|
+
exports.CentralizationFailureReason = {
|
|
23
|
+
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
24
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
25
|
+
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",
|
|
26
|
+
};
|
|
27
|
+
exports.EncryptionConflictResolutionStrategy = {
|
|
28
|
+
ALLOW: "ALLOW",
|
|
29
|
+
SKIP: "SKIP",
|
|
30
|
+
};
|
|
31
|
+
exports.EncryptionStrategy = {
|
|
32
|
+
AWS_OWNED: "AWS_OWNED",
|
|
33
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
34
|
+
};
|
|
35
|
+
exports.EncryptedLogGroupStrategy = {
|
|
36
|
+
ALLOW: "ALLOW",
|
|
37
|
+
SKIP: "SKIP",
|
|
38
|
+
};
|
|
39
|
+
exports.RuleHealth = {
|
|
40
|
+
HEALTHY: "Healthy",
|
|
41
|
+
PROVISIONING: "Provisioning",
|
|
42
|
+
UNHEALTHY: "Unhealthy",
|
|
43
|
+
};
|
|
22
44
|
class ConflictException extends ObservabilityAdminServiceException_1.ObservabilityAdminServiceException {
|
|
23
45
|
name = "ConflictException";
|
|
24
46
|
$fault = "client";
|
|
@@ -34,19 +56,6 @@ class ConflictException extends ObservabilityAdminServiceException_1.Observabili
|
|
|
34
56
|
}
|
|
35
57
|
}
|
|
36
58
|
exports.ConflictException = ConflictException;
|
|
37
|
-
exports.DestinationType = {
|
|
38
|
-
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
39
|
-
};
|
|
40
|
-
exports.ResourceType = {
|
|
41
|
-
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
42
|
-
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
43
|
-
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
44
|
-
};
|
|
45
|
-
exports.TelemetryType = {
|
|
46
|
-
LOGS: "Logs",
|
|
47
|
-
METRICS: "Metrics",
|
|
48
|
-
TRACES: "Traces",
|
|
49
|
-
};
|
|
50
59
|
class InternalServerException extends ObservabilityAdminServiceException_1.ObservabilityAdminServiceException {
|
|
51
60
|
name = "InternalServerException";
|
|
52
61
|
$fault = "server";
|
|
@@ -111,6 +120,19 @@ class ValidationException extends ObservabilityAdminServiceException_1.Observabi
|
|
|
111
120
|
}
|
|
112
121
|
}
|
|
113
122
|
exports.ValidationException = ValidationException;
|
|
123
|
+
exports.DestinationType = {
|
|
124
|
+
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
125
|
+
};
|
|
126
|
+
exports.ResourceType = {
|
|
127
|
+
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
128
|
+
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
129
|
+
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
130
|
+
};
|
|
131
|
+
exports.TelemetryType = {
|
|
132
|
+
LOGS: "Logs",
|
|
133
|
+
METRICS: "Metrics",
|
|
134
|
+
TRACES: "Traces",
|
|
135
|
+
};
|
|
114
136
|
class ResourceNotFoundException extends ObservabilityAdminServiceException_1.ObservabilityAdminServiceException {
|
|
115
137
|
name = "ResourceNotFoundException";
|
|
116
138
|
$fault = "client";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCentralizationRulesForOrganization = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListCentralizationRulesForOrganizationCommand_1 = require("../commands/ListCentralizationRulesForOrganizationCommand");
|
|
6
|
+
const ObservabilityAdminClient_1 = require("../ObservabilityAdminClient");
|
|
7
|
+
exports.paginateListCentralizationRulesForOrganization = (0, core_1.createPaginator)(ObservabilityAdminClient_1.ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand_1.ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListCentralizationRulesForOrganizationPaginator"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ListResourceTelemetryForOrganizationPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ListResourceTelemetryPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ListTelemetryRulesForOrganizationPaginator"), exports);
|
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateCentralizationRuleForOrganizationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopTelemetryEvaluationForOrganizationCommand = exports.de_StopTelemetryEvaluationCommand = exports.de_StartTelemetryEvaluationForOrganizationCommand = exports.de_StartTelemetryEvaluationCommand = exports.de_ListTelemetryRulesForOrganizationCommand = exports.de_ListTelemetryRulesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResourceTelemetryForOrganizationCommand = exports.de_ListResourceTelemetryCommand = exports.de_ListCentralizationRulesForOrganizationCommand = exports.de_GetTelemetryRuleForOrganizationCommand = exports.de_GetTelemetryRuleCommand = exports.de_GetTelemetryEvaluationStatusForOrganizationCommand = exports.de_GetTelemetryEvaluationStatusCommand = exports.de_GetCentralizationRuleForOrganizationCommand = exports.de_DeleteTelemetryRuleForOrganizationCommand = exports.de_DeleteTelemetryRuleCommand = exports.de_DeleteCentralizationRuleForOrganizationCommand = exports.de_CreateTelemetryRuleForOrganizationCommand = exports.de_CreateTelemetryRuleCommand = exports.de_CreateCentralizationRuleForOrganizationCommand = exports.se_UpdateTelemetryRuleForOrganizationCommand = exports.se_UpdateTelemetryRuleCommand = exports.se_UpdateCentralizationRuleForOrganizationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopTelemetryEvaluationForOrganizationCommand = exports.se_StopTelemetryEvaluationCommand = exports.se_StartTelemetryEvaluationForOrganizationCommand = exports.se_StartTelemetryEvaluationCommand = exports.se_ListTelemetryRulesForOrganizationCommand = exports.se_ListTelemetryRulesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResourceTelemetryForOrganizationCommand = exports.se_ListResourceTelemetryCommand = exports.se_ListCentralizationRulesForOrganizationCommand = exports.se_GetTelemetryRuleForOrganizationCommand = exports.se_GetTelemetryRuleCommand = exports.se_GetTelemetryEvaluationStatusForOrganizationCommand = exports.se_GetTelemetryEvaluationStatusCommand = exports.se_GetCentralizationRuleForOrganizationCommand = exports.se_DeleteTelemetryRuleForOrganizationCommand = exports.se_DeleteTelemetryRuleCommand = exports.se_DeleteCentralizationRuleForOrganizationCommand = exports.se_CreateTelemetryRuleForOrganizationCommand = exports.se_CreateTelemetryRuleCommand = exports.se_CreateCentralizationRuleForOrganizationCommand = void 0;
|
|
4
|
+
exports.de_UpdateTelemetryRuleForOrganizationCommand = exports.de_UpdateTelemetryRuleCommand = void 0;
|
|
4
5
|
const core_1 = require("@aws-sdk/core");
|
|
5
6
|
const core_2 = require("@smithy/core");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const ObservabilityAdminServiceException_1 = require("../models/ObservabilityAdminServiceException");
|
|
10
|
+
const se_CreateCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
11
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
12
|
+
const headers = {
|
|
13
|
+
"content-type": "application/json",
|
|
14
|
+
};
|
|
15
|
+
b.bp("/CreateCentralizationRuleForOrganization");
|
|
16
|
+
let body;
|
|
17
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
18
|
+
Rule: (_) => (0, smithy_client_1._json)(_),
|
|
19
|
+
RuleName: [],
|
|
20
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
21
|
+
}));
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
24
|
+
};
|
|
25
|
+
exports.se_CreateCentralizationRuleForOrganizationCommand = se_CreateCentralizationRuleForOrganizationCommand;
|
|
9
26
|
const se_CreateTelemetryRuleCommand = async (input, context) => {
|
|
10
27
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
11
28
|
const headers = {
|
|
@@ -38,6 +55,20 @@ const se_CreateTelemetryRuleForOrganizationCommand = async (input, context) => {
|
|
|
38
55
|
return b.build();
|
|
39
56
|
};
|
|
40
57
|
exports.se_CreateTelemetryRuleForOrganizationCommand = se_CreateTelemetryRuleForOrganizationCommand;
|
|
58
|
+
const se_DeleteCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
59
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
60
|
+
const headers = {
|
|
61
|
+
"content-type": "application/json",
|
|
62
|
+
};
|
|
63
|
+
b.bp("/DeleteCentralizationRuleForOrganization");
|
|
64
|
+
let body;
|
|
65
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
66
|
+
RuleIdentifier: [],
|
|
67
|
+
}));
|
|
68
|
+
b.m("POST").h(headers).b(body);
|
|
69
|
+
return b.build();
|
|
70
|
+
};
|
|
71
|
+
exports.se_DeleteCentralizationRuleForOrganizationCommand = se_DeleteCentralizationRuleForOrganizationCommand;
|
|
41
72
|
const se_DeleteTelemetryRuleCommand = async (input, context) => {
|
|
42
73
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
43
74
|
const headers = {
|
|
@@ -66,6 +97,20 @@ const se_DeleteTelemetryRuleForOrganizationCommand = async (input, context) => {
|
|
|
66
97
|
return b.build();
|
|
67
98
|
};
|
|
68
99
|
exports.se_DeleteTelemetryRuleForOrganizationCommand = se_DeleteTelemetryRuleForOrganizationCommand;
|
|
100
|
+
const se_GetCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
101
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
102
|
+
const headers = {
|
|
103
|
+
"content-type": "application/json",
|
|
104
|
+
};
|
|
105
|
+
b.bp("/GetCentralizationRuleForOrganization");
|
|
106
|
+
let body;
|
|
107
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
108
|
+
RuleIdentifier: [],
|
|
109
|
+
}));
|
|
110
|
+
b.m("POST").h(headers).b(body);
|
|
111
|
+
return b.build();
|
|
112
|
+
};
|
|
113
|
+
exports.se_GetCentralizationRuleForOrganizationCommand = se_GetCentralizationRuleForOrganizationCommand;
|
|
69
114
|
const se_GetTelemetryEvaluationStatusCommand = async (input, context) => {
|
|
70
115
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
71
116
|
const headers = {};
|
|
@@ -112,6 +157,23 @@ const se_GetTelemetryRuleForOrganizationCommand = async (input, context) => {
|
|
|
112
157
|
return b.build();
|
|
113
158
|
};
|
|
114
159
|
exports.se_GetTelemetryRuleForOrganizationCommand = se_GetTelemetryRuleForOrganizationCommand;
|
|
160
|
+
const se_ListCentralizationRulesForOrganizationCommand = async (input, context) => {
|
|
161
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
162
|
+
const headers = {
|
|
163
|
+
"content-type": "application/json",
|
|
164
|
+
};
|
|
165
|
+
b.bp("/ListCentralizationRulesForOrganization");
|
|
166
|
+
let body;
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
168
|
+
AllRegions: [],
|
|
169
|
+
MaxResults: [],
|
|
170
|
+
NextToken: [],
|
|
171
|
+
RuleNamePrefix: [],
|
|
172
|
+
}));
|
|
173
|
+
b.m("POST").h(headers).b(body);
|
|
174
|
+
return b.build();
|
|
175
|
+
};
|
|
176
|
+
exports.se_ListCentralizationRulesForOrganizationCommand = se_ListCentralizationRulesForOrganizationCommand;
|
|
115
177
|
const se_ListResourceTelemetryCommand = async (input, context) => {
|
|
116
178
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
117
179
|
const headers = {
|
|
@@ -265,6 +327,21 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
265
327
|
return b.build();
|
|
266
328
|
};
|
|
267
329
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
330
|
+
const se_UpdateCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
331
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
332
|
+
const headers = {
|
|
333
|
+
"content-type": "application/json",
|
|
334
|
+
};
|
|
335
|
+
b.bp("/UpdateCentralizationRuleForOrganization");
|
|
336
|
+
let body;
|
|
337
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
338
|
+
Rule: (_) => (0, smithy_client_1._json)(_),
|
|
339
|
+
RuleIdentifier: [],
|
|
340
|
+
}));
|
|
341
|
+
b.m("POST").h(headers).b(body);
|
|
342
|
+
return b.build();
|
|
343
|
+
};
|
|
344
|
+
exports.se_UpdateCentralizationRuleForOrganizationCommand = se_UpdateCentralizationRuleForOrganizationCommand;
|
|
268
345
|
const se_UpdateTelemetryRuleCommand = async (input, context) => {
|
|
269
346
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
270
347
|
const headers = {
|
|
@@ -295,6 +372,21 @@ const se_UpdateTelemetryRuleForOrganizationCommand = async (input, context) => {
|
|
|
295
372
|
return b.build();
|
|
296
373
|
};
|
|
297
374
|
exports.se_UpdateTelemetryRuleForOrganizationCommand = se_UpdateTelemetryRuleForOrganizationCommand;
|
|
375
|
+
const de_CreateCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
376
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
377
|
+
return de_CommandError(output, context);
|
|
378
|
+
}
|
|
379
|
+
const contents = (0, smithy_client_1.map)({
|
|
380
|
+
$metadata: deserializeMetadata(output),
|
|
381
|
+
});
|
|
382
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
383
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
384
|
+
RuleArn: smithy_client_1.expectString,
|
|
385
|
+
});
|
|
386
|
+
Object.assign(contents, doc);
|
|
387
|
+
return contents;
|
|
388
|
+
};
|
|
389
|
+
exports.de_CreateCentralizationRuleForOrganizationCommand = de_CreateCentralizationRuleForOrganizationCommand;
|
|
298
390
|
const de_CreateTelemetryRuleCommand = async (output, context) => {
|
|
299
391
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
300
392
|
return de_CommandError(output, context);
|
|
@@ -325,6 +417,17 @@ const de_CreateTelemetryRuleForOrganizationCommand = async (output, context) =>
|
|
|
325
417
|
return contents;
|
|
326
418
|
};
|
|
327
419
|
exports.de_CreateTelemetryRuleForOrganizationCommand = de_CreateTelemetryRuleForOrganizationCommand;
|
|
420
|
+
const de_DeleteCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
421
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
422
|
+
return de_CommandError(output, context);
|
|
423
|
+
}
|
|
424
|
+
const contents = (0, smithy_client_1.map)({
|
|
425
|
+
$metadata: deserializeMetadata(output),
|
|
426
|
+
});
|
|
427
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
428
|
+
return contents;
|
|
429
|
+
};
|
|
430
|
+
exports.de_DeleteCentralizationRuleForOrganizationCommand = de_DeleteCentralizationRuleForOrganizationCommand;
|
|
328
431
|
const de_DeleteTelemetryRuleCommand = async (output, context) => {
|
|
329
432
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
330
433
|
return de_CommandError(output, context);
|
|
@@ -347,6 +450,29 @@ const de_DeleteTelemetryRuleForOrganizationCommand = async (output, context) =>
|
|
|
347
450
|
return contents;
|
|
348
451
|
};
|
|
349
452
|
exports.de_DeleteTelemetryRuleForOrganizationCommand = de_DeleteTelemetryRuleForOrganizationCommand;
|
|
453
|
+
const de_GetCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
455
|
+
return de_CommandError(output, context);
|
|
456
|
+
}
|
|
457
|
+
const contents = (0, smithy_client_1.map)({
|
|
458
|
+
$metadata: deserializeMetadata(output),
|
|
459
|
+
});
|
|
460
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
461
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
462
|
+
CentralizationRule: smithy_client_1._json,
|
|
463
|
+
CreatedRegion: smithy_client_1.expectString,
|
|
464
|
+
CreatedTimeStamp: smithy_client_1.expectLong,
|
|
465
|
+
CreatorAccountId: smithy_client_1.expectString,
|
|
466
|
+
FailureReason: smithy_client_1.expectString,
|
|
467
|
+
LastUpdateTimeStamp: smithy_client_1.expectLong,
|
|
468
|
+
RuleArn: smithy_client_1.expectString,
|
|
469
|
+
RuleHealth: smithy_client_1.expectString,
|
|
470
|
+
RuleName: smithy_client_1.expectString,
|
|
471
|
+
});
|
|
472
|
+
Object.assign(contents, doc);
|
|
473
|
+
return contents;
|
|
474
|
+
};
|
|
475
|
+
exports.de_GetCentralizationRuleForOrganizationCommand = de_GetCentralizationRuleForOrganizationCommand;
|
|
350
476
|
const de_GetTelemetryEvaluationStatusCommand = async (output, context) => {
|
|
351
477
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
352
478
|
return de_CommandError(output, context);
|
|
@@ -417,6 +543,22 @@ const de_GetTelemetryRuleForOrganizationCommand = async (output, context) => {
|
|
|
417
543
|
return contents;
|
|
418
544
|
};
|
|
419
545
|
exports.de_GetTelemetryRuleForOrganizationCommand = de_GetTelemetryRuleForOrganizationCommand;
|
|
546
|
+
const de_ListCentralizationRulesForOrganizationCommand = async (output, context) => {
|
|
547
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
548
|
+
return de_CommandError(output, context);
|
|
549
|
+
}
|
|
550
|
+
const contents = (0, smithy_client_1.map)({
|
|
551
|
+
$metadata: deserializeMetadata(output),
|
|
552
|
+
});
|
|
553
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
554
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
555
|
+
CentralizationRuleSummaries: smithy_client_1._json,
|
|
556
|
+
NextToken: smithy_client_1.expectString,
|
|
557
|
+
});
|
|
558
|
+
Object.assign(contents, doc);
|
|
559
|
+
return contents;
|
|
560
|
+
};
|
|
561
|
+
exports.de_ListCentralizationRulesForOrganizationCommand = de_ListCentralizationRulesForOrganizationCommand;
|
|
420
562
|
const de_ListResourceTelemetryCommand = async (output, context) => {
|
|
421
563
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
422
564
|
return de_CommandError(output, context);
|
|
@@ -562,6 +704,21 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
562
704
|
return contents;
|
|
563
705
|
};
|
|
564
706
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
707
|
+
const de_UpdateCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
708
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
709
|
+
return de_CommandError(output, context);
|
|
710
|
+
}
|
|
711
|
+
const contents = (0, smithy_client_1.map)({
|
|
712
|
+
$metadata: deserializeMetadata(output),
|
|
713
|
+
});
|
|
714
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
715
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
716
|
+
RuleArn: smithy_client_1.expectString,
|
|
717
|
+
});
|
|
718
|
+
Object.assign(contents, doc);
|
|
719
|
+
return contents;
|
|
720
|
+
};
|
|
721
|
+
exports.de_UpdateCentralizationRuleForOrganizationCommand = de_UpdateCentralizationRuleForOrganizationCommand;
|
|
565
722
|
const de_UpdateTelemetryRuleCommand = async (output, context) => {
|
|
566
723
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
567
724
|
return de_CommandError(output, context);
|