@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
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { CreateCentralizationRuleForOrganizationCommand, } from "./commands/CreateCentralizationRuleForOrganizationCommand";
|
|
2
3
|
import { CreateTelemetryRuleCommand, } from "./commands/CreateTelemetryRuleCommand";
|
|
3
4
|
import { CreateTelemetryRuleForOrganizationCommand, } from "./commands/CreateTelemetryRuleForOrganizationCommand";
|
|
5
|
+
import { DeleteCentralizationRuleForOrganizationCommand, } from "./commands/DeleteCentralizationRuleForOrganizationCommand";
|
|
4
6
|
import { DeleteTelemetryRuleCommand, } from "./commands/DeleteTelemetryRuleCommand";
|
|
5
7
|
import { DeleteTelemetryRuleForOrganizationCommand, } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
|
|
8
|
+
import { GetCentralizationRuleForOrganizationCommand, } from "./commands/GetCentralizationRuleForOrganizationCommand";
|
|
6
9
|
import { GetTelemetryEvaluationStatusCommand, } from "./commands/GetTelemetryEvaluationStatusCommand";
|
|
7
10
|
import { GetTelemetryEvaluationStatusForOrganizationCommand, } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
8
11
|
import { GetTelemetryRuleCommand, } from "./commands/GetTelemetryRuleCommand";
|
|
9
12
|
import { GetTelemetryRuleForOrganizationCommand, } from "./commands/GetTelemetryRuleForOrganizationCommand";
|
|
13
|
+
import { ListCentralizationRulesForOrganizationCommand, } from "./commands/ListCentralizationRulesForOrganizationCommand";
|
|
10
14
|
import { ListResourceTelemetryCommand, } from "./commands/ListResourceTelemetryCommand";
|
|
11
15
|
import { ListResourceTelemetryForOrganizationCommand, } from "./commands/ListResourceTelemetryForOrganizationCommand";
|
|
12
16
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -18,18 +22,23 @@ import { StopTelemetryEvaluationCommand, } from "./commands/StopTelemetryEvaluat
|
|
|
18
22
|
import { StopTelemetryEvaluationForOrganizationCommand, } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
|
|
19
23
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
20
24
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { UpdateCentralizationRuleForOrganizationCommand, } from "./commands/UpdateCentralizationRuleForOrganizationCommand";
|
|
21
26
|
import { UpdateTelemetryRuleCommand, } from "./commands/UpdateTelemetryRuleCommand";
|
|
22
27
|
import { UpdateTelemetryRuleForOrganizationCommand, } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
|
|
23
28
|
import { ObservabilityAdminClient } from "./ObservabilityAdminClient";
|
|
24
29
|
const commands = {
|
|
30
|
+
CreateCentralizationRuleForOrganizationCommand,
|
|
25
31
|
CreateTelemetryRuleCommand,
|
|
26
32
|
CreateTelemetryRuleForOrganizationCommand,
|
|
33
|
+
DeleteCentralizationRuleForOrganizationCommand,
|
|
27
34
|
DeleteTelemetryRuleCommand,
|
|
28
35
|
DeleteTelemetryRuleForOrganizationCommand,
|
|
36
|
+
GetCentralizationRuleForOrganizationCommand,
|
|
29
37
|
GetTelemetryEvaluationStatusCommand,
|
|
30
38
|
GetTelemetryEvaluationStatusForOrganizationCommand,
|
|
31
39
|
GetTelemetryRuleCommand,
|
|
32
40
|
GetTelemetryRuleForOrganizationCommand,
|
|
41
|
+
ListCentralizationRulesForOrganizationCommand,
|
|
33
42
|
ListResourceTelemetryCommand,
|
|
34
43
|
ListResourceTelemetryForOrganizationCommand,
|
|
35
44
|
ListTagsForResourceCommand,
|
|
@@ -41,6 +50,7 @@ const commands = {
|
|
|
41
50
|
StopTelemetryEvaluationForOrganizationCommand,
|
|
42
51
|
TagResourceCommand,
|
|
43
52
|
UntagResourceCommand,
|
|
53
|
+
UpdateCentralizationRuleForOrganizationCommand,
|
|
44
54
|
UpdateTelemetryRuleCommand,
|
|
45
55
|
UpdateTelemetryRuleForOrganizationCommand,
|
|
46
56
|
};
|
|
@@ -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_CreateCentralizationRuleForOrganizationCommand, se_CreateCentralizationRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateCentralizationRuleForOrganizationCommand 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", "CreateCentralizationRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "CreateCentralizationRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateCentralizationRuleForOrganizationCommand)
|
|
20
|
+
.de(de_CreateCentralizationRuleForOrganizationCommand)
|
|
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_DeleteCentralizationRuleForOrganizationCommand, se_DeleteCentralizationRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCentralizationRuleForOrganizationCommand 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", "DeleteCentralizationRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "DeleteCentralizationRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteCentralizationRuleForOrganizationCommand)
|
|
20
|
+
.de(de_DeleteCentralizationRuleForOrganizationCommand)
|
|
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_GetCentralizationRuleForOrganizationCommand, se_GetCentralizationRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCentralizationRuleForOrganizationCommand 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", "GetCentralizationRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "GetCentralizationRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCentralizationRuleForOrganizationCommand)
|
|
20
|
+
.de(de_GetCentralizationRuleForOrganizationCommand)
|
|
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_ListCentralizationRulesForOrganizationCommand, se_ListCentralizationRulesForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCentralizationRulesForOrganizationCommand 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", "ListCentralizationRulesForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "ListCentralizationRulesForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListCentralizationRulesForOrganizationCommand)
|
|
20
|
+
.de(de_ListCentralizationRulesForOrganizationCommand)
|
|
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_UpdateCentralizationRuleForOrganizationCommand, se_UpdateCentralizationRuleForOrganizationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateCentralizationRuleForOrganizationCommand 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", "UpdateCentralizationRuleForOrganization", {})
|
|
17
|
+
.n("ObservabilityAdminClient", "UpdateCentralizationRuleForOrganizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateCentralizationRuleForOrganizationCommand)
|
|
20
|
+
.de(de_UpdateCentralizationRuleForOrganizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
export * from "./CreateCentralizationRuleForOrganizationCommand";
|
|
1
2
|
export * from "./CreateTelemetryRuleCommand";
|
|
2
3
|
export * from "./CreateTelemetryRuleForOrganizationCommand";
|
|
4
|
+
export * from "./DeleteCentralizationRuleForOrganizationCommand";
|
|
3
5
|
export * from "./DeleteTelemetryRuleCommand";
|
|
4
6
|
export * from "./DeleteTelemetryRuleForOrganizationCommand";
|
|
7
|
+
export * from "./GetCentralizationRuleForOrganizationCommand";
|
|
5
8
|
export * from "./GetTelemetryEvaluationStatusCommand";
|
|
6
9
|
export * from "./GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
7
10
|
export * from "./GetTelemetryRuleCommand";
|
|
8
11
|
export * from "./GetTelemetryRuleForOrganizationCommand";
|
|
12
|
+
export * from "./ListCentralizationRulesForOrganizationCommand";
|
|
9
13
|
export * from "./ListResourceTelemetryCommand";
|
|
10
14
|
export * from "./ListResourceTelemetryForOrganizationCommand";
|
|
11
15
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -17,5 +21,6 @@ export * from "./StopTelemetryEvaluationCommand";
|
|
|
17
21
|
export * from "./StopTelemetryEvaluationForOrganizationCommand";
|
|
18
22
|
export * from "./TagResourceCommand";
|
|
19
23
|
export * from "./UntagResourceCommand";
|
|
24
|
+
export * from "./UpdateCentralizationRuleForOrganizationCommand";
|
|
20
25
|
export * from "./UpdateTelemetryRuleCommand";
|
|
21
26
|
export * from "./UpdateTelemetryRuleForOrganizationCommand";
|
|
@@ -15,6 +15,28 @@ export class AccessDeniedException extends __BaseException {
|
|
|
15
15
|
this.amznErrorType = opts.amznErrorType;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
+
export const CentralizationFailureReason = {
|
|
19
|
+
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
20
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
21
|
+
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",
|
|
22
|
+
};
|
|
23
|
+
export const EncryptionConflictResolutionStrategy = {
|
|
24
|
+
ALLOW: "ALLOW",
|
|
25
|
+
SKIP: "SKIP",
|
|
26
|
+
};
|
|
27
|
+
export const EncryptionStrategy = {
|
|
28
|
+
AWS_OWNED: "AWS_OWNED",
|
|
29
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
30
|
+
};
|
|
31
|
+
export const EncryptedLogGroupStrategy = {
|
|
32
|
+
ALLOW: "ALLOW",
|
|
33
|
+
SKIP: "SKIP",
|
|
34
|
+
};
|
|
35
|
+
export const RuleHealth = {
|
|
36
|
+
HEALTHY: "Healthy",
|
|
37
|
+
PROVISIONING: "Provisioning",
|
|
38
|
+
UNHEALTHY: "Unhealthy",
|
|
39
|
+
};
|
|
18
40
|
export class ConflictException extends __BaseException {
|
|
19
41
|
name = "ConflictException";
|
|
20
42
|
$fault = "client";
|
|
@@ -29,19 +51,6 @@ export class ConflictException extends __BaseException {
|
|
|
29
51
|
this.Message = opts.Message;
|
|
30
52
|
}
|
|
31
53
|
}
|
|
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",
|
|
44
|
-
};
|
|
45
54
|
export class InternalServerException extends __BaseException {
|
|
46
55
|
name = "InternalServerException";
|
|
47
56
|
$fault = "server";
|
|
@@ -102,6 +111,19 @@ export class ValidationException extends __BaseException {
|
|
|
102
111
|
this.Message = opts.Message;
|
|
103
112
|
}
|
|
104
113
|
}
|
|
114
|
+
export const DestinationType = {
|
|
115
|
+
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
116
|
+
};
|
|
117
|
+
export const ResourceType = {
|
|
118
|
+
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
119
|
+
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
120
|
+
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
121
|
+
};
|
|
122
|
+
export const TelemetryType = {
|
|
123
|
+
LOGS: "Logs",
|
|
124
|
+
METRICS: "Metrics",
|
|
125
|
+
TRACES: "Traces",
|
|
126
|
+
};
|
|
105
127
|
export class ResourceNotFoundException extends __BaseException {
|
|
106
128
|
name = "ResourceNotFoundException";
|
|
107
129
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCentralizationRulesForOrganizationCommand, } from "../commands/ListCentralizationRulesForOrganizationCommand";
|
|
3
|
+
import { ObservabilityAdminClient } from "../ObservabilityAdminClient";
|
|
4
|
+
export const paginateListCentralizationRulesForOrganization = createPaginator(ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListCentralizationRulesForOrganizationPaginator";
|
|
2
3
|
export * from "./ListResourceTelemetryForOrganizationPaginator";
|
|
3
4
|
export * from "./ListResourceTelemetryPaginator";
|
|
4
5
|
export * from "./ListTelemetryRulesForOrganizationPaginator";
|
|
@@ -3,6 +3,21 @@ import { requestBuilder as rb } from "@smithy/core";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyRequestsException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { ObservabilityAdminServiceException as __BaseException } from "../models/ObservabilityAdminServiceException";
|
|
6
|
+
export const se_CreateCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
7
|
+
const b = rb(input, context);
|
|
8
|
+
const headers = {
|
|
9
|
+
"content-type": "application/json",
|
|
10
|
+
};
|
|
11
|
+
b.bp("/CreateCentralizationRuleForOrganization");
|
|
12
|
+
let body;
|
|
13
|
+
body = JSON.stringify(take(input, {
|
|
14
|
+
Rule: (_) => _json(_),
|
|
15
|
+
RuleName: [],
|
|
16
|
+
Tags: (_) => _json(_),
|
|
17
|
+
}));
|
|
18
|
+
b.m("POST").h(headers).b(body);
|
|
19
|
+
return b.build();
|
|
20
|
+
};
|
|
6
21
|
export const se_CreateTelemetryRuleCommand = async (input, context) => {
|
|
7
22
|
const b = rb(input, context);
|
|
8
23
|
const headers = {
|
|
@@ -33,6 +48,19 @@ export const se_CreateTelemetryRuleForOrganizationCommand = async (input, contex
|
|
|
33
48
|
b.m("POST").h(headers).b(body);
|
|
34
49
|
return b.build();
|
|
35
50
|
};
|
|
51
|
+
export const se_DeleteCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
52
|
+
const b = rb(input, context);
|
|
53
|
+
const headers = {
|
|
54
|
+
"content-type": "application/json",
|
|
55
|
+
};
|
|
56
|
+
b.bp("/DeleteCentralizationRuleForOrganization");
|
|
57
|
+
let body;
|
|
58
|
+
body = JSON.stringify(take(input, {
|
|
59
|
+
RuleIdentifier: [],
|
|
60
|
+
}));
|
|
61
|
+
b.m("POST").h(headers).b(body);
|
|
62
|
+
return b.build();
|
|
63
|
+
};
|
|
36
64
|
export const se_DeleteTelemetryRuleCommand = async (input, context) => {
|
|
37
65
|
const b = rb(input, context);
|
|
38
66
|
const headers = {
|
|
@@ -59,6 +87,19 @@ export const se_DeleteTelemetryRuleForOrganizationCommand = async (input, contex
|
|
|
59
87
|
b.m("POST").h(headers).b(body);
|
|
60
88
|
return b.build();
|
|
61
89
|
};
|
|
90
|
+
export const se_GetCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
91
|
+
const b = rb(input, context);
|
|
92
|
+
const headers = {
|
|
93
|
+
"content-type": "application/json",
|
|
94
|
+
};
|
|
95
|
+
b.bp("/GetCentralizationRuleForOrganization");
|
|
96
|
+
let body;
|
|
97
|
+
body = JSON.stringify(take(input, {
|
|
98
|
+
RuleIdentifier: [],
|
|
99
|
+
}));
|
|
100
|
+
b.m("POST").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
102
|
+
};
|
|
62
103
|
export const se_GetTelemetryEvaluationStatusCommand = async (input, context) => {
|
|
63
104
|
const b = rb(input, context);
|
|
64
105
|
const headers = {};
|
|
@@ -101,6 +142,22 @@ export const se_GetTelemetryRuleForOrganizationCommand = async (input, context)
|
|
|
101
142
|
b.m("POST").h(headers).b(body);
|
|
102
143
|
return b.build();
|
|
103
144
|
};
|
|
145
|
+
export const se_ListCentralizationRulesForOrganizationCommand = async (input, context) => {
|
|
146
|
+
const b = rb(input, context);
|
|
147
|
+
const headers = {
|
|
148
|
+
"content-type": "application/json",
|
|
149
|
+
};
|
|
150
|
+
b.bp("/ListCentralizationRulesForOrganization");
|
|
151
|
+
let body;
|
|
152
|
+
body = JSON.stringify(take(input, {
|
|
153
|
+
AllRegions: [],
|
|
154
|
+
MaxResults: [],
|
|
155
|
+
NextToken: [],
|
|
156
|
+
RuleNamePrefix: [],
|
|
157
|
+
}));
|
|
158
|
+
b.m("POST").h(headers).b(body);
|
|
159
|
+
return b.build();
|
|
160
|
+
};
|
|
104
161
|
export const se_ListResourceTelemetryCommand = async (input, context) => {
|
|
105
162
|
const b = rb(input, context);
|
|
106
163
|
const headers = {
|
|
@@ -243,6 +300,20 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
243
300
|
b.m("POST").h(headers).b(body);
|
|
244
301
|
return b.build();
|
|
245
302
|
};
|
|
303
|
+
export const se_UpdateCentralizationRuleForOrganizationCommand = async (input, context) => {
|
|
304
|
+
const b = rb(input, context);
|
|
305
|
+
const headers = {
|
|
306
|
+
"content-type": "application/json",
|
|
307
|
+
};
|
|
308
|
+
b.bp("/UpdateCentralizationRuleForOrganization");
|
|
309
|
+
let body;
|
|
310
|
+
body = JSON.stringify(take(input, {
|
|
311
|
+
Rule: (_) => _json(_),
|
|
312
|
+
RuleIdentifier: [],
|
|
313
|
+
}));
|
|
314
|
+
b.m("POST").h(headers).b(body);
|
|
315
|
+
return b.build();
|
|
316
|
+
};
|
|
246
317
|
export const se_UpdateTelemetryRuleCommand = async (input, context) => {
|
|
247
318
|
const b = rb(input, context);
|
|
248
319
|
const headers = {
|
|
@@ -271,6 +342,20 @@ export const se_UpdateTelemetryRuleForOrganizationCommand = async (input, contex
|
|
|
271
342
|
b.m("POST").h(headers).b(body);
|
|
272
343
|
return b.build();
|
|
273
344
|
};
|
|
345
|
+
export const de_CreateCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
346
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
347
|
+
return de_CommandError(output, context);
|
|
348
|
+
}
|
|
349
|
+
const contents = map({
|
|
350
|
+
$metadata: deserializeMetadata(output),
|
|
351
|
+
});
|
|
352
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
353
|
+
const doc = take(data, {
|
|
354
|
+
RuleArn: __expectString,
|
|
355
|
+
});
|
|
356
|
+
Object.assign(contents, doc);
|
|
357
|
+
return contents;
|
|
358
|
+
};
|
|
274
359
|
export const de_CreateTelemetryRuleCommand = async (output, context) => {
|
|
275
360
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
276
361
|
return de_CommandError(output, context);
|
|
@@ -299,6 +384,16 @@ export const de_CreateTelemetryRuleForOrganizationCommand = async (output, conte
|
|
|
299
384
|
Object.assign(contents, doc);
|
|
300
385
|
return contents;
|
|
301
386
|
};
|
|
387
|
+
export const de_DeleteCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
388
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
389
|
+
return de_CommandError(output, context);
|
|
390
|
+
}
|
|
391
|
+
const contents = map({
|
|
392
|
+
$metadata: deserializeMetadata(output),
|
|
393
|
+
});
|
|
394
|
+
await collectBody(output.body, context);
|
|
395
|
+
return contents;
|
|
396
|
+
};
|
|
302
397
|
export const de_DeleteTelemetryRuleCommand = async (output, context) => {
|
|
303
398
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
304
399
|
return de_CommandError(output, context);
|
|
@@ -319,6 +414,28 @@ export const de_DeleteTelemetryRuleForOrganizationCommand = async (output, conte
|
|
|
319
414
|
await collectBody(output.body, context);
|
|
320
415
|
return contents;
|
|
321
416
|
};
|
|
417
|
+
export const de_GetCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
418
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
419
|
+
return de_CommandError(output, context);
|
|
420
|
+
}
|
|
421
|
+
const contents = map({
|
|
422
|
+
$metadata: deserializeMetadata(output),
|
|
423
|
+
});
|
|
424
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
425
|
+
const doc = take(data, {
|
|
426
|
+
CentralizationRule: _json,
|
|
427
|
+
CreatedRegion: __expectString,
|
|
428
|
+
CreatedTimeStamp: __expectLong,
|
|
429
|
+
CreatorAccountId: __expectString,
|
|
430
|
+
FailureReason: __expectString,
|
|
431
|
+
LastUpdateTimeStamp: __expectLong,
|
|
432
|
+
RuleArn: __expectString,
|
|
433
|
+
RuleHealth: __expectString,
|
|
434
|
+
RuleName: __expectString,
|
|
435
|
+
});
|
|
436
|
+
Object.assign(contents, doc);
|
|
437
|
+
return contents;
|
|
438
|
+
};
|
|
322
439
|
export const de_GetTelemetryEvaluationStatusCommand = async (output, context) => {
|
|
323
440
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
324
441
|
return de_CommandError(output, context);
|
|
@@ -385,6 +502,21 @@ export const de_GetTelemetryRuleForOrganizationCommand = async (output, context)
|
|
|
385
502
|
Object.assign(contents, doc);
|
|
386
503
|
return contents;
|
|
387
504
|
};
|
|
505
|
+
export const de_ListCentralizationRulesForOrganizationCommand = async (output, context) => {
|
|
506
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
507
|
+
return de_CommandError(output, context);
|
|
508
|
+
}
|
|
509
|
+
const contents = map({
|
|
510
|
+
$metadata: deserializeMetadata(output),
|
|
511
|
+
});
|
|
512
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
513
|
+
const doc = take(data, {
|
|
514
|
+
CentralizationRuleSummaries: _json,
|
|
515
|
+
NextToken: __expectString,
|
|
516
|
+
});
|
|
517
|
+
Object.assign(contents, doc);
|
|
518
|
+
return contents;
|
|
519
|
+
};
|
|
388
520
|
export const de_ListResourceTelemetryCommand = async (output, context) => {
|
|
389
521
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
390
522
|
return de_CommandError(output, context);
|
|
@@ -519,6 +651,20 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
519
651
|
await collectBody(output.body, context);
|
|
520
652
|
return contents;
|
|
521
653
|
};
|
|
654
|
+
export const de_UpdateCentralizationRuleForOrganizationCommand = async (output, context) => {
|
|
655
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
656
|
+
return de_CommandError(output, context);
|
|
657
|
+
}
|
|
658
|
+
const contents = map({
|
|
659
|
+
$metadata: deserializeMetadata(output),
|
|
660
|
+
});
|
|
661
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
662
|
+
const doc = take(data, {
|
|
663
|
+
RuleArn: __expectString,
|
|
664
|
+
});
|
|
665
|
+
Object.assign(contents, doc);
|
|
666
|
+
return contents;
|
|
667
|
+
};
|
|
522
668
|
export const de_UpdateTelemetryRuleCommand = async (output, context) => {
|
|
523
669
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
524
670
|
return de_CommandError(output, context);
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateCentralizationRuleForOrganizationCommandInput, CreateCentralizationRuleForOrganizationCommandOutput } from "./commands/CreateCentralizationRuleForOrganizationCommand";
|
|
2
3
|
import { CreateTelemetryRuleCommandInput, CreateTelemetryRuleCommandOutput } from "./commands/CreateTelemetryRuleCommand";
|
|
3
4
|
import { CreateTelemetryRuleForOrganizationCommandInput, CreateTelemetryRuleForOrganizationCommandOutput } from "./commands/CreateTelemetryRuleForOrganizationCommand";
|
|
5
|
+
import { DeleteCentralizationRuleForOrganizationCommandInput, DeleteCentralizationRuleForOrganizationCommandOutput } from "./commands/DeleteCentralizationRuleForOrganizationCommand";
|
|
4
6
|
import { DeleteTelemetryRuleCommandInput, DeleteTelemetryRuleCommandOutput } from "./commands/DeleteTelemetryRuleCommand";
|
|
5
7
|
import { DeleteTelemetryRuleForOrganizationCommandInput, DeleteTelemetryRuleForOrganizationCommandOutput } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
|
|
8
|
+
import { GetCentralizationRuleForOrganizationCommandInput, GetCentralizationRuleForOrganizationCommandOutput } from "./commands/GetCentralizationRuleForOrganizationCommand";
|
|
6
9
|
import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "./commands/GetTelemetryEvaluationStatusCommand";
|
|
7
10
|
import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
8
11
|
import { GetTelemetryRuleCommandInput, GetTelemetryRuleCommandOutput } from "./commands/GetTelemetryRuleCommand";
|
|
9
12
|
import { GetTelemetryRuleForOrganizationCommandInput, GetTelemetryRuleForOrganizationCommandOutput } from "./commands/GetTelemetryRuleForOrganizationCommand";
|
|
13
|
+
import { ListCentralizationRulesForOrganizationCommandInput, ListCentralizationRulesForOrganizationCommandOutput } from "./commands/ListCentralizationRulesForOrganizationCommand";
|
|
10
14
|
import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "./commands/ListResourceTelemetryCommand";
|
|
11
15
|
import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "./commands/ListResourceTelemetryForOrganizationCommand";
|
|
12
16
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -18,10 +22,17 @@ import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutp
|
|
|
18
22
|
import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
|
|
19
23
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
24
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { UpdateCentralizationRuleForOrganizationCommandInput, UpdateCentralizationRuleForOrganizationCommandOutput } from "./commands/UpdateCentralizationRuleForOrganizationCommand";
|
|
21
26
|
import { UpdateTelemetryRuleCommandInput, UpdateTelemetryRuleCommandOutput } from "./commands/UpdateTelemetryRuleCommand";
|
|
22
27
|
import { UpdateTelemetryRuleForOrganizationCommandInput, UpdateTelemetryRuleForOrganizationCommandOutput } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
|
|
23
28
|
import { ObservabilityAdminClient } from "./ObservabilityAdminClient";
|
|
24
29
|
export interface ObservabilityAdmin {
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link CreateCentralizationRuleForOrganizationCommand}
|
|
32
|
+
*/
|
|
33
|
+
createCentralizationRuleForOrganization(args: CreateCentralizationRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCentralizationRuleForOrganizationCommandOutput>;
|
|
34
|
+
createCentralizationRuleForOrganization(args: CreateCentralizationRuleForOrganizationCommandInput, cb: (err: any, data?: CreateCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
35
|
+
createCentralizationRuleForOrganization(args: CreateCentralizationRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
25
36
|
/**
|
|
26
37
|
* @see {@link CreateTelemetryRuleCommand}
|
|
27
38
|
*/
|
|
@@ -34,6 +45,12 @@ export interface ObservabilityAdmin {
|
|
|
34
45
|
createTelemetryRuleForOrganization(args: CreateTelemetryRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<CreateTelemetryRuleForOrganizationCommandOutput>;
|
|
35
46
|
createTelemetryRuleForOrganization(args: CreateTelemetryRuleForOrganizationCommandInput, cb: (err: any, data?: CreateTelemetryRuleForOrganizationCommandOutput) => void): void;
|
|
36
47
|
createTelemetryRuleForOrganization(args: CreateTelemetryRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTelemetryRuleForOrganizationCommandOutput) => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* @see {@link DeleteCentralizationRuleForOrganizationCommand}
|
|
50
|
+
*/
|
|
51
|
+
deleteCentralizationRuleForOrganization(args: DeleteCentralizationRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCentralizationRuleForOrganizationCommandOutput>;
|
|
52
|
+
deleteCentralizationRuleForOrganization(args: DeleteCentralizationRuleForOrganizationCommandInput, cb: (err: any, data?: DeleteCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
53
|
+
deleteCentralizationRuleForOrganization(args: DeleteCentralizationRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
37
54
|
/**
|
|
38
55
|
* @see {@link DeleteTelemetryRuleCommand}
|
|
39
56
|
*/
|
|
@@ -46,6 +63,12 @@ export interface ObservabilityAdmin {
|
|
|
46
63
|
deleteTelemetryRuleForOrganization(args: DeleteTelemetryRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTelemetryRuleForOrganizationCommandOutput>;
|
|
47
64
|
deleteTelemetryRuleForOrganization(args: DeleteTelemetryRuleForOrganizationCommandInput, cb: (err: any, data?: DeleteTelemetryRuleForOrganizationCommandOutput) => void): void;
|
|
48
65
|
deleteTelemetryRuleForOrganization(args: DeleteTelemetryRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTelemetryRuleForOrganizationCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link GetCentralizationRuleForOrganizationCommand}
|
|
68
|
+
*/
|
|
69
|
+
getCentralizationRuleForOrganization(args: GetCentralizationRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetCentralizationRuleForOrganizationCommandOutput>;
|
|
70
|
+
getCentralizationRuleForOrganization(args: GetCentralizationRuleForOrganizationCommandInput, cb: (err: any, data?: GetCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
71
|
+
getCentralizationRuleForOrganization(args: GetCentralizationRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
49
72
|
/**
|
|
50
73
|
* @see {@link GetTelemetryEvaluationStatusCommand}
|
|
51
74
|
*/
|
|
@@ -72,6 +95,13 @@ export interface ObservabilityAdmin {
|
|
|
72
95
|
getTelemetryRuleForOrganization(args: GetTelemetryRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryRuleForOrganizationCommandOutput>;
|
|
73
96
|
getTelemetryRuleForOrganization(args: GetTelemetryRuleForOrganizationCommandInput, cb: (err: any, data?: GetTelemetryRuleForOrganizationCommandOutput) => void): void;
|
|
74
97
|
getTelemetryRuleForOrganization(args: GetTelemetryRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryRuleForOrganizationCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* @see {@link ListCentralizationRulesForOrganizationCommand}
|
|
100
|
+
*/
|
|
101
|
+
listCentralizationRulesForOrganization(): Promise<ListCentralizationRulesForOrganizationCommandOutput>;
|
|
102
|
+
listCentralizationRulesForOrganization(args: ListCentralizationRulesForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListCentralizationRulesForOrganizationCommandOutput>;
|
|
103
|
+
listCentralizationRulesForOrganization(args: ListCentralizationRulesForOrganizationCommandInput, cb: (err: any, data?: ListCentralizationRulesForOrganizationCommandOutput) => void): void;
|
|
104
|
+
listCentralizationRulesForOrganization(args: ListCentralizationRulesForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCentralizationRulesForOrganizationCommandOutput) => void): void;
|
|
75
105
|
/**
|
|
76
106
|
* @see {@link ListResourceTelemetryCommand}
|
|
77
107
|
*/
|
|
@@ -146,6 +176,12 @@ export interface ObservabilityAdmin {
|
|
|
146
176
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
147
177
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
148
178
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link UpdateCentralizationRuleForOrganizationCommand}
|
|
181
|
+
*/
|
|
182
|
+
updateCentralizationRuleForOrganization(args: UpdateCentralizationRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCentralizationRuleForOrganizationCommandOutput>;
|
|
183
|
+
updateCentralizationRuleForOrganization(args: UpdateCentralizationRuleForOrganizationCommandInput, cb: (err: any, data?: UpdateCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
184
|
+
updateCentralizationRuleForOrganization(args: UpdateCentralizationRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCentralizationRuleForOrganizationCommandOutput) => void): void;
|
|
149
185
|
/**
|
|
150
186
|
* @see {@link UpdateTelemetryRuleCommand}
|
|
151
187
|
*/
|
|
@@ -7,14 +7,18 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateCentralizationRuleForOrganizationCommandInput, CreateCentralizationRuleForOrganizationCommandOutput } from "./commands/CreateCentralizationRuleForOrganizationCommand";
|
|
10
11
|
import { CreateTelemetryRuleCommandInput, CreateTelemetryRuleCommandOutput } from "./commands/CreateTelemetryRuleCommand";
|
|
11
12
|
import { CreateTelemetryRuleForOrganizationCommandInput, CreateTelemetryRuleForOrganizationCommandOutput } from "./commands/CreateTelemetryRuleForOrganizationCommand";
|
|
13
|
+
import { DeleteCentralizationRuleForOrganizationCommandInput, DeleteCentralizationRuleForOrganizationCommandOutput } from "./commands/DeleteCentralizationRuleForOrganizationCommand";
|
|
12
14
|
import { DeleteTelemetryRuleCommandInput, DeleteTelemetryRuleCommandOutput } from "./commands/DeleteTelemetryRuleCommand";
|
|
13
15
|
import { DeleteTelemetryRuleForOrganizationCommandInput, DeleteTelemetryRuleForOrganizationCommandOutput } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
|
|
16
|
+
import { GetCentralizationRuleForOrganizationCommandInput, GetCentralizationRuleForOrganizationCommandOutput } from "./commands/GetCentralizationRuleForOrganizationCommand";
|
|
14
17
|
import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "./commands/GetTelemetryEvaluationStatusCommand";
|
|
15
18
|
import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
|
|
16
19
|
import { GetTelemetryRuleCommandInput, GetTelemetryRuleCommandOutput } from "./commands/GetTelemetryRuleCommand";
|
|
17
20
|
import { GetTelemetryRuleForOrganizationCommandInput, GetTelemetryRuleForOrganizationCommandOutput } from "./commands/GetTelemetryRuleForOrganizationCommand";
|
|
21
|
+
import { ListCentralizationRulesForOrganizationCommandInput, ListCentralizationRulesForOrganizationCommandOutput } from "./commands/ListCentralizationRulesForOrganizationCommand";
|
|
18
22
|
import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "./commands/ListResourceTelemetryCommand";
|
|
19
23
|
import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "./commands/ListResourceTelemetryForOrganizationCommand";
|
|
20
24
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -26,6 +30,7 @@ import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutp
|
|
|
26
30
|
import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
|
|
27
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
28
32
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
|
+
import { UpdateCentralizationRuleForOrganizationCommandInput, UpdateCentralizationRuleForOrganizationCommandOutput } from "./commands/UpdateCentralizationRuleForOrganizationCommand";
|
|
29
34
|
import { UpdateTelemetryRuleCommandInput, UpdateTelemetryRuleCommandOutput } from "./commands/UpdateTelemetryRuleCommand";
|
|
30
35
|
import { UpdateTelemetryRuleForOrganizationCommandInput, UpdateTelemetryRuleForOrganizationCommandOutput } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
|
|
31
36
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -34,11 +39,11 @@ export { __Client };
|
|
|
34
39
|
/**
|
|
35
40
|
* @public
|
|
36
41
|
*/
|
|
37
|
-
export type ServiceInputTypes = CreateTelemetryRuleCommandInput | CreateTelemetryRuleForOrganizationCommandInput | DeleteTelemetryRuleCommandInput | DeleteTelemetryRuleForOrganizationCommandInput | GetTelemetryEvaluationStatusCommandInput | GetTelemetryEvaluationStatusForOrganizationCommandInput | GetTelemetryRuleCommandInput | GetTelemetryRuleForOrganizationCommandInput | ListResourceTelemetryCommandInput | ListResourceTelemetryForOrganizationCommandInput | ListTagsForResourceCommandInput | ListTelemetryRulesCommandInput | ListTelemetryRulesForOrganizationCommandInput | StartTelemetryEvaluationCommandInput | StartTelemetryEvaluationForOrganizationCommandInput | StopTelemetryEvaluationCommandInput | StopTelemetryEvaluationForOrganizationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTelemetryRuleCommandInput | UpdateTelemetryRuleForOrganizationCommandInput;
|
|
42
|
+
export type ServiceInputTypes = CreateCentralizationRuleForOrganizationCommandInput | CreateTelemetryRuleCommandInput | CreateTelemetryRuleForOrganizationCommandInput | DeleteCentralizationRuleForOrganizationCommandInput | DeleteTelemetryRuleCommandInput | DeleteTelemetryRuleForOrganizationCommandInput | GetCentralizationRuleForOrganizationCommandInput | GetTelemetryEvaluationStatusCommandInput | GetTelemetryEvaluationStatusForOrganizationCommandInput | GetTelemetryRuleCommandInput | GetTelemetryRuleForOrganizationCommandInput | ListCentralizationRulesForOrganizationCommandInput | ListResourceTelemetryCommandInput | ListResourceTelemetryForOrganizationCommandInput | ListTagsForResourceCommandInput | ListTelemetryRulesCommandInput | ListTelemetryRulesForOrganizationCommandInput | StartTelemetryEvaluationCommandInput | StartTelemetryEvaluationForOrganizationCommandInput | StopTelemetryEvaluationCommandInput | StopTelemetryEvaluationForOrganizationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCentralizationRuleForOrganizationCommandInput | UpdateTelemetryRuleCommandInput | UpdateTelemetryRuleForOrganizationCommandInput;
|
|
38
43
|
/**
|
|
39
44
|
* @public
|
|
40
45
|
*/
|
|
41
|
-
export type ServiceOutputTypes = CreateTelemetryRuleCommandOutput | CreateTelemetryRuleForOrganizationCommandOutput | DeleteTelemetryRuleCommandOutput | DeleteTelemetryRuleForOrganizationCommandOutput | GetTelemetryEvaluationStatusCommandOutput | GetTelemetryEvaluationStatusForOrganizationCommandOutput | GetTelemetryRuleCommandOutput | GetTelemetryRuleForOrganizationCommandOutput | ListResourceTelemetryCommandOutput | ListResourceTelemetryForOrganizationCommandOutput | ListTagsForResourceCommandOutput | ListTelemetryRulesCommandOutput | ListTelemetryRulesForOrganizationCommandOutput | StartTelemetryEvaluationCommandOutput | StartTelemetryEvaluationForOrganizationCommandOutput | StopTelemetryEvaluationCommandOutput | StopTelemetryEvaluationForOrganizationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTelemetryRuleCommandOutput | UpdateTelemetryRuleForOrganizationCommandOutput;
|
|
46
|
+
export type ServiceOutputTypes = CreateCentralizationRuleForOrganizationCommandOutput | CreateTelemetryRuleCommandOutput | CreateTelemetryRuleForOrganizationCommandOutput | DeleteCentralizationRuleForOrganizationCommandOutput | DeleteTelemetryRuleCommandOutput | DeleteTelemetryRuleForOrganizationCommandOutput | GetCentralizationRuleForOrganizationCommandOutput | GetTelemetryEvaluationStatusCommandOutput | GetTelemetryEvaluationStatusForOrganizationCommandOutput | GetTelemetryRuleCommandOutput | GetTelemetryRuleForOrganizationCommandOutput | ListCentralizationRulesForOrganizationCommandOutput | ListResourceTelemetryCommandOutput | ListResourceTelemetryForOrganizationCommandOutput | ListTagsForResourceCommandOutput | ListTelemetryRulesCommandOutput | ListTelemetryRulesForOrganizationCommandOutput | StartTelemetryEvaluationCommandOutput | StartTelemetryEvaluationForOrganizationCommandOutput | StopTelemetryEvaluationCommandOutput | StopTelemetryEvaluationForOrganizationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCentralizationRuleForOrganizationCommandOutput | UpdateTelemetryRuleCommandOutput | UpdateTelemetryRuleForOrganizationCommandOutput;
|
|
42
47
|
/**
|
|
43
48
|
* @public
|
|
44
49
|
*/
|