@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.
Files changed (48) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/ObservabilityAdmin.js +10 -0
  3. package/dist-cjs/commands/CreateCentralizationRuleForOrganizationCommand.js +26 -0
  4. package/dist-cjs/commands/DeleteCentralizationRuleForOrganizationCommand.js +26 -0
  5. package/dist-cjs/commands/GetCentralizationRuleForOrganizationCommand.js +26 -0
  6. package/dist-cjs/commands/ListCentralizationRulesForOrganizationCommand.js +26 -0
  7. package/dist-cjs/commands/UpdateCentralizationRuleForOrganizationCommand.js +26 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +36 -14
  10. package/dist-cjs/pagination/ListCentralizationRulesForOrganizationPaginator.js +7 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +158 -1
  13. package/dist-es/ObservabilityAdmin.js +10 -0
  14. package/dist-es/commands/CreateCentralizationRuleForOrganizationCommand.js +22 -0
  15. package/dist-es/commands/DeleteCentralizationRuleForOrganizationCommand.js +22 -0
  16. package/dist-es/commands/GetCentralizationRuleForOrganizationCommand.js +22 -0
  17. package/dist-es/commands/ListCentralizationRulesForOrganizationCommand.js +22 -0
  18. package/dist-es/commands/UpdateCentralizationRuleForOrganizationCommand.js +22 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +35 -13
  21. package/dist-es/pagination/ListCentralizationRulesForOrganizationPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +146 -0
  24. package/dist-types/ObservabilityAdmin.d.ts +36 -0
  25. package/dist-types/ObservabilityAdminClient.d.ts +7 -2
  26. package/dist-types/commands/CreateCentralizationRuleForOrganizationCommand.d.ts +132 -0
  27. package/dist-types/commands/DeleteCentralizationRuleForOrganizationCommand.d.ts +95 -0
  28. package/dist-types/commands/GetCentralizationRuleForOrganizationCommand.d.ts +131 -0
  29. package/dist-types/commands/ListCentralizationRulesForOrganizationCommand.d.ts +109 -0
  30. package/dist-types/commands/UpdateCentralizationRuleForOrganizationCommand.d.ts +129 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/models/models_0.d.ts +488 -78
  33. package/dist-types/pagination/ListCentralizationRulesForOrganizationPaginator.d.ts +7 -0
  34. package/dist-types/pagination/index.d.ts +1 -0
  35. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  36. package/dist-types/ts3.4/ObservabilityAdmin.d.ts +116 -0
  37. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +30 -0
  38. package/dist-types/ts3.4/commands/CreateCentralizationRuleForOrganizationCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/DeleteCentralizationRuleForOrganizationCommand.d.ts +47 -0
  40. package/dist-types/ts3.4/commands/GetCentralizationRuleForOrganizationCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/ListCentralizationRulesForOrganizationCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/UpdateCentralizationRuleForOrganizationCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +153 -35
  45. package/dist-types/ts3.4/pagination/ListCentralizationRulesForOrganizationPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  48. package/package.json +5 -5
@@ -0,0 +1,132 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateCentralizationRuleForOrganizationInput, CreateCentralizationRuleForOrganizationOutput } from "../models/models_0";
4
+ import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateCentralizationRuleForOrganizationCommand}.
14
+ */
15
+ export interface CreateCentralizationRuleForOrganizationCommandInput extends CreateCentralizationRuleForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateCentralizationRuleForOrganizationCommand}.
21
+ */
22
+ export interface CreateCentralizationRuleForOrganizationCommandOutput extends CreateCentralizationRuleForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateCentralizationRuleForOrganizationCommand_base: {
25
+ new (input: CreateCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCentralizationRuleForOrganizationCommandInput, CreateCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCentralizationRuleForOrganizationCommandInput, CreateCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a centralization rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ObservabilityAdminClient, CreateCentralizationRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
35
+ * // const { ObservabilityAdminClient, CreateCentralizationRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
36
+ * const client = new ObservabilityAdminClient(config);
37
+ * const input = { // CreateCentralizationRuleForOrganizationInput
38
+ * RuleName: "STRING_VALUE", // required
39
+ * Rule: { // CentralizationRule
40
+ * Source: { // CentralizationRuleSource
41
+ * Regions: [ // Regions // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * Scope: "STRING_VALUE",
45
+ * SourceLogsConfiguration: { // SourceLogsConfiguration
46
+ * LogGroupSelectionCriteria: "STRING_VALUE", // required
47
+ * EncryptedLogGroupStrategy: "ALLOW" || "SKIP", // required
48
+ * },
49
+ * },
50
+ * Destination: { // CentralizationRuleDestination
51
+ * Region: "STRING_VALUE", // required
52
+ * Account: "STRING_VALUE",
53
+ * DestinationLogsConfiguration: { // DestinationLogsConfiguration
54
+ * LogsEncryptionConfiguration: { // LogsEncryptionConfiguration
55
+ * EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required
56
+ * KmsKeyArn: "STRING_VALUE",
57
+ * EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP",
58
+ * },
59
+ * BackupConfiguration: { // LogsBackupConfiguration
60
+ * Region: "STRING_VALUE", // required
61
+ * KmsKeyArn: "STRING_VALUE",
62
+ * },
63
+ * },
64
+ * },
65
+ * },
66
+ * Tags: { // TagMapInput
67
+ * "<keys>": "STRING_VALUE",
68
+ * },
69
+ * };
70
+ * const command = new CreateCentralizationRuleForOrganizationCommand(input);
71
+ * const response = await client.send(command);
72
+ * // { // CreateCentralizationRuleForOrganizationOutput
73
+ * // RuleArn: "STRING_VALUE",
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param CreateCentralizationRuleForOrganizationCommandInput - {@link CreateCentralizationRuleForOrganizationCommandInput}
79
+ * @returns {@link CreateCentralizationRuleForOrganizationCommandOutput}
80
+ * @see {@link CreateCentralizationRuleForOrganizationCommandInput} for command's `input` shape.
81
+ * @see {@link CreateCentralizationRuleForOrganizationCommandOutput} for command's `response` shape.
82
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
83
+ *
84
+ * @throws {@link AccessDeniedException} (client fault)
85
+ * <p>
86
+ * Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide.
87
+ * </p>
88
+ *
89
+ * @throws {@link ConflictException} (client fault)
90
+ * <p>
91
+ * The requested operation conflicts with the current state of the specified resource or with another request.
92
+ * </p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>
96
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
97
+ * </p>
98
+ *
99
+ * @throws {@link ServiceQuotaExceededException} (client fault)
100
+ * <p>
101
+ * The requested operation would exceed the allowed quota for the specified resource type.
102
+ * </p>
103
+ *
104
+ * @throws {@link TooManyRequestsException} (client fault)
105
+ * <p>
106
+ * The request throughput limit was exceeded.
107
+ * </p>
108
+ *
109
+ * @throws {@link ValidationException} (client fault)
110
+ * <p>
111
+ * Indicates input validation failed. Check your request parameters and retry the request.
112
+ * </p>
113
+ *
114
+ * @throws {@link ObservabilityAdminServiceException}
115
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
116
+ *
117
+ *
118
+ * @public
119
+ */
120
+ export declare class CreateCentralizationRuleForOrganizationCommand extends CreateCentralizationRuleForOrganizationCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: CreateCentralizationRuleForOrganizationInput;
125
+ output: CreateCentralizationRuleForOrganizationOutput;
126
+ };
127
+ sdk: {
128
+ input: CreateCentralizationRuleForOrganizationCommandInput;
129
+ output: CreateCentralizationRuleForOrganizationCommandOutput;
130
+ };
131
+ };
132
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteCentralizationRuleForOrganizationInput } from "../models/models_0";
4
+ import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteCentralizationRuleForOrganizationCommand}.
14
+ */
15
+ export interface DeleteCentralizationRuleForOrganizationCommandInput extends DeleteCentralizationRuleForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteCentralizationRuleForOrganizationCommand}.
21
+ */
22
+ export interface DeleteCentralizationRuleForOrganizationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteCentralizationRuleForOrganizationCommand_base: {
25
+ new (input: DeleteCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCentralizationRuleForOrganizationCommandInput, DeleteCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCentralizationRuleForOrganizationCommandInput, DeleteCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an organization-wide centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ObservabilityAdminClient, DeleteCentralizationRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
35
+ * // const { ObservabilityAdminClient, DeleteCentralizationRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
36
+ * const client = new ObservabilityAdminClient(config);
37
+ * const input = { // DeleteCentralizationRuleForOrganizationInput
38
+ * RuleIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteCentralizationRuleForOrganizationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteCentralizationRuleForOrganizationCommandInput - {@link DeleteCentralizationRuleForOrganizationCommandInput}
47
+ * @returns {@link DeleteCentralizationRuleForOrganizationCommandOutput}
48
+ * @see {@link DeleteCentralizationRuleForOrganizationCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteCentralizationRuleForOrganizationCommandOutput} for command's `response` shape.
50
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>
54
+ * Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide.
55
+ * </p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>
59
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
60
+ * </p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>
64
+ * The specified resource (such as a telemetry rule) could not be found.
65
+ * </p>
66
+ *
67
+ * @throws {@link TooManyRequestsException} (client fault)
68
+ * <p>
69
+ * The request throughput limit was exceeded.
70
+ * </p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>
74
+ * Indicates input validation failed. Check your request parameters and retry the request.
75
+ * </p>
76
+ *
77
+ * @throws {@link ObservabilityAdminServiceException}
78
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class DeleteCentralizationRuleForOrganizationCommand extends DeleteCentralizationRuleForOrganizationCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: DeleteCentralizationRuleForOrganizationInput;
88
+ output: {};
89
+ };
90
+ sdk: {
91
+ input: DeleteCentralizationRuleForOrganizationCommandInput;
92
+ output: DeleteCentralizationRuleForOrganizationCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,131 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetCentralizationRuleForOrganizationInput, GetCentralizationRuleForOrganizationOutput } from "../models/models_0";
4
+ import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCentralizationRuleForOrganizationCommand}.
14
+ */
15
+ export interface GetCentralizationRuleForOrganizationCommandInput extends GetCentralizationRuleForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCentralizationRuleForOrganizationCommand}.
21
+ */
22
+ export interface GetCentralizationRuleForOrganizationCommandOutput extends GetCentralizationRuleForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const GetCentralizationRuleForOrganizationCommand_base: {
25
+ new (input: GetCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<GetCentralizationRuleForOrganizationCommandInput, GetCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<GetCentralizationRuleForOrganizationCommandInput, GetCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the details of a specific organization centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ObservabilityAdminClient, GetCentralizationRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
35
+ * // const { ObservabilityAdminClient, GetCentralizationRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
36
+ * const client = new ObservabilityAdminClient(config);
37
+ * const input = { // GetCentralizationRuleForOrganizationInput
38
+ * RuleIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetCentralizationRuleForOrganizationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetCentralizationRuleForOrganizationOutput
43
+ * // RuleName: "STRING_VALUE",
44
+ * // RuleArn: "STRING_VALUE",
45
+ * // CreatorAccountId: "STRING_VALUE",
46
+ * // CreatedTimeStamp: Number("long"),
47
+ * // CreatedRegion: "STRING_VALUE",
48
+ * // LastUpdateTimeStamp: Number("long"),
49
+ * // RuleHealth: "Healthy" || "Unhealthy" || "Provisioning",
50
+ * // FailureReason: "TRUSTED_ACCESS_NOT_ENABLED" || "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" || "INTERNAL_SERVER_ERROR",
51
+ * // CentralizationRule: { // CentralizationRule
52
+ * // Source: { // CentralizationRuleSource
53
+ * // Regions: [ // Regions // required
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // Scope: "STRING_VALUE",
57
+ * // SourceLogsConfiguration: { // SourceLogsConfiguration
58
+ * // LogGroupSelectionCriteria: "STRING_VALUE", // required
59
+ * // EncryptedLogGroupStrategy: "ALLOW" || "SKIP", // required
60
+ * // },
61
+ * // },
62
+ * // Destination: { // CentralizationRuleDestination
63
+ * // Region: "STRING_VALUE", // required
64
+ * // Account: "STRING_VALUE",
65
+ * // DestinationLogsConfiguration: { // DestinationLogsConfiguration
66
+ * // LogsEncryptionConfiguration: { // LogsEncryptionConfiguration
67
+ * // EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required
68
+ * // KmsKeyArn: "STRING_VALUE",
69
+ * // EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP",
70
+ * // },
71
+ * // BackupConfiguration: { // LogsBackupConfiguration
72
+ * // Region: "STRING_VALUE", // required
73
+ * // KmsKeyArn: "STRING_VALUE",
74
+ * // },
75
+ * // },
76
+ * // },
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param GetCentralizationRuleForOrganizationCommandInput - {@link GetCentralizationRuleForOrganizationCommandInput}
83
+ * @returns {@link GetCentralizationRuleForOrganizationCommandOutput}
84
+ * @see {@link GetCentralizationRuleForOrganizationCommandInput} for command's `input` shape.
85
+ * @see {@link GetCentralizationRuleForOrganizationCommandOutput} for command's `response` shape.
86
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>
90
+ * Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide.
91
+ * </p>
92
+ *
93
+ * @throws {@link InternalServerException} (server fault)
94
+ * <p>
95
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
96
+ * </p>
97
+ *
98
+ * @throws {@link ResourceNotFoundException} (client fault)
99
+ * <p>
100
+ * The specified resource (such as a telemetry rule) could not be found.
101
+ * </p>
102
+ *
103
+ * @throws {@link TooManyRequestsException} (client fault)
104
+ * <p>
105
+ * The request throughput limit was exceeded.
106
+ * </p>
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ * <p>
110
+ * Indicates input validation failed. Check your request parameters and retry the request.
111
+ * </p>
112
+ *
113
+ * @throws {@link ObservabilityAdminServiceException}
114
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
115
+ *
116
+ *
117
+ * @public
118
+ */
119
+ export declare class GetCentralizationRuleForOrganizationCommand extends GetCentralizationRuleForOrganizationCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: GetCentralizationRuleForOrganizationInput;
124
+ output: GetCentralizationRuleForOrganizationOutput;
125
+ };
126
+ sdk: {
127
+ input: GetCentralizationRuleForOrganizationCommandInput;
128
+ output: GetCentralizationRuleForOrganizationCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCentralizationRulesForOrganizationInput, ListCentralizationRulesForOrganizationOutput } from "../models/models_0";
4
+ import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCentralizationRulesForOrganizationCommand}.
14
+ */
15
+ export interface ListCentralizationRulesForOrganizationCommandInput extends ListCentralizationRulesForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCentralizationRulesForOrganizationCommand}.
21
+ */
22
+ export interface ListCentralizationRulesForOrganizationCommandOutput extends ListCentralizationRulesForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const ListCentralizationRulesForOrganizationCommand_base: {
25
+ new (input: ListCentralizationRulesForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<ListCentralizationRulesForOrganizationCommandInput, ListCentralizationRulesForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListCentralizationRulesForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCentralizationRulesForOrganizationCommandInput, ListCentralizationRulesForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all centralization rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
35
+ * // const { ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
36
+ * const client = new ObservabilityAdminClient(config);
37
+ * const input = { // ListCentralizationRulesForOrganizationInput
38
+ * RuleNamePrefix: "STRING_VALUE",
39
+ * AllRegions: true || false,
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListCentralizationRulesForOrganizationCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListCentralizationRulesForOrganizationOutput
46
+ * // CentralizationRuleSummaries: [ // CentralizationRuleSummaries
47
+ * // { // CentralizationRuleSummary
48
+ * // RuleName: "STRING_VALUE",
49
+ * // RuleArn: "STRING_VALUE",
50
+ * // CreatorAccountId: "STRING_VALUE",
51
+ * // CreatedTimeStamp: Number("long"),
52
+ * // CreatedRegion: "STRING_VALUE",
53
+ * // LastUpdateTimeStamp: Number("long"),
54
+ * // RuleHealth: "Healthy" || "Unhealthy" || "Provisioning",
55
+ * // FailureReason: "TRUSTED_ACCESS_NOT_ENABLED" || "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" || "INTERNAL_SERVER_ERROR",
56
+ * // DestinationAccountId: "STRING_VALUE",
57
+ * // DestinationRegion: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListCentralizationRulesForOrganizationCommandInput - {@link ListCentralizationRulesForOrganizationCommandInput}
66
+ * @returns {@link ListCentralizationRulesForOrganizationCommandOutput}
67
+ * @see {@link ListCentralizationRulesForOrganizationCommandInput} for command's `input` shape.
68
+ * @see {@link ListCentralizationRulesForOrganizationCommandOutput} for command's `response` shape.
69
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>
73
+ * Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide.
74
+ * </p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>
78
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
79
+ * </p>
80
+ *
81
+ * @throws {@link TooManyRequestsException} (client fault)
82
+ * <p>
83
+ * The request throughput limit was exceeded.
84
+ * </p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>
88
+ * Indicates input validation failed. Check your request parameters and retry the request.
89
+ * </p>
90
+ *
91
+ * @throws {@link ObservabilityAdminServiceException}
92
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ListCentralizationRulesForOrganizationCommand extends ListCentralizationRulesForOrganizationCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ListCentralizationRulesForOrganizationInput;
102
+ output: ListCentralizationRulesForOrganizationOutput;
103
+ };
104
+ sdk: {
105
+ input: ListCentralizationRulesForOrganizationCommandInput;
106
+ output: ListCentralizationRulesForOrganizationCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateCentralizationRuleForOrganizationInput, UpdateCentralizationRuleForOrganizationOutput } from "../models/models_0";
4
+ import { ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ObservabilityAdminClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateCentralizationRuleForOrganizationCommand}.
14
+ */
15
+ export interface UpdateCentralizationRuleForOrganizationCommandInput extends UpdateCentralizationRuleForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCentralizationRuleForOrganizationCommand}.
21
+ */
22
+ export interface UpdateCentralizationRuleForOrganizationCommandOutput extends UpdateCentralizationRuleForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateCentralizationRuleForOrganizationCommand_base: {
25
+ new (input: UpdateCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCentralizationRuleForOrganizationCommandInput, UpdateCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateCentralizationRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCentralizationRuleForOrganizationCommandInput, UpdateCentralizationRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates an existing centralization rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ObservabilityAdminClient, UpdateCentralizationRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
35
+ * // const { ObservabilityAdminClient, UpdateCentralizationRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
36
+ * const client = new ObservabilityAdminClient(config);
37
+ * const input = { // UpdateCentralizationRuleForOrganizationInput
38
+ * RuleIdentifier: "STRING_VALUE", // required
39
+ * Rule: { // CentralizationRule
40
+ * Source: { // CentralizationRuleSource
41
+ * Regions: [ // Regions // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * Scope: "STRING_VALUE",
45
+ * SourceLogsConfiguration: { // SourceLogsConfiguration
46
+ * LogGroupSelectionCriteria: "STRING_VALUE", // required
47
+ * EncryptedLogGroupStrategy: "ALLOW" || "SKIP", // required
48
+ * },
49
+ * },
50
+ * Destination: { // CentralizationRuleDestination
51
+ * Region: "STRING_VALUE", // required
52
+ * Account: "STRING_VALUE",
53
+ * DestinationLogsConfiguration: { // DestinationLogsConfiguration
54
+ * LogsEncryptionConfiguration: { // LogsEncryptionConfiguration
55
+ * EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required
56
+ * KmsKeyArn: "STRING_VALUE",
57
+ * EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP",
58
+ * },
59
+ * BackupConfiguration: { // LogsBackupConfiguration
60
+ * Region: "STRING_VALUE", // required
61
+ * KmsKeyArn: "STRING_VALUE",
62
+ * },
63
+ * },
64
+ * },
65
+ * },
66
+ * };
67
+ * const command = new UpdateCentralizationRuleForOrganizationCommand(input);
68
+ * const response = await client.send(command);
69
+ * // { // UpdateCentralizationRuleForOrganizationOutput
70
+ * // RuleArn: "STRING_VALUE",
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param UpdateCentralizationRuleForOrganizationCommandInput - {@link UpdateCentralizationRuleForOrganizationCommandInput}
76
+ * @returns {@link UpdateCentralizationRuleForOrganizationCommandOutput}
77
+ * @see {@link UpdateCentralizationRuleForOrganizationCommandInput} for command's `input` shape.
78
+ * @see {@link UpdateCentralizationRuleForOrganizationCommandOutput} for command's `response` shape.
79
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>
83
+ * Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide.
84
+ * </p>
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <p>
88
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
89
+ * </p>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>
93
+ * The specified resource (such as a telemetry rule) could not be found.
94
+ * </p>
95
+ *
96
+ * @throws {@link ServiceQuotaExceededException} (client fault)
97
+ * <p>
98
+ * The requested operation would exceed the allowed quota for the specified resource type.
99
+ * </p>
100
+ *
101
+ * @throws {@link TooManyRequestsException} (client fault)
102
+ * <p>
103
+ * The request throughput limit was exceeded.
104
+ * </p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>
108
+ * Indicates input validation failed. Check your request parameters and retry the request.
109
+ * </p>
110
+ *
111
+ * @throws {@link ObservabilityAdminServiceException}
112
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
113
+ *
114
+ *
115
+ * @public
116
+ */
117
+ export declare class UpdateCentralizationRuleForOrganizationCommand extends UpdateCentralizationRuleForOrganizationCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: UpdateCentralizationRuleForOrganizationInput;
122
+ output: UpdateCentralizationRuleForOrganizationOutput;
123
+ };
124
+ sdk: {
125
+ input: UpdateCentralizationRuleForOrganizationCommandInput;
126
+ output: UpdateCentralizationRuleForOrganizationCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -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";