@aws-sdk/client-observabilityadmin 3.858.0 → 3.862.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +105 -1
  2. package/dist-cjs/ObservabilityAdmin.js +26 -0
  3. package/dist-cjs/commands/CreateTelemetryRuleCommand.js +26 -0
  4. package/dist-cjs/commands/CreateTelemetryRuleForOrganizationCommand.js +26 -0
  5. package/dist-cjs/commands/DeleteTelemetryRuleCommand.js +26 -0
  6. package/dist-cjs/commands/DeleteTelemetryRuleForOrganizationCommand.js +26 -0
  7. package/dist-cjs/commands/GetTelemetryRuleCommand.js +26 -0
  8. package/dist-cjs/commands/GetTelemetryRuleForOrganizationCommand.js +26 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  10. package/dist-cjs/commands/ListTelemetryRulesCommand.js +26 -0
  11. package/dist-cjs/commands/ListTelemetryRulesForOrganizationCommand.js +26 -0
  12. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  13. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  14. package/dist-cjs/commands/UpdateTelemetryRuleCommand.js +26 -0
  15. package/dist-cjs/commands/UpdateTelemetryRuleForOrganizationCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +83 -18
  18. package/dist-cjs/pagination/ListTelemetryRulesForOrganizationPaginator.js +7 -0
  19. package/dist-cjs/pagination/ListTelemetryRulesPaginator.js +7 -0
  20. package/dist-cjs/pagination/index.js +2 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +452 -1
  22. package/dist-es/ObservabilityAdmin.js +26 -0
  23. package/dist-es/commands/CreateTelemetryRuleCommand.js +22 -0
  24. package/dist-es/commands/CreateTelemetryRuleForOrganizationCommand.js +22 -0
  25. package/dist-es/commands/DeleteTelemetryRuleCommand.js +22 -0
  26. package/dist-es/commands/DeleteTelemetryRuleForOrganizationCommand.js +22 -0
  27. package/dist-es/commands/GetTelemetryRuleCommand.js +22 -0
  28. package/dist-es/commands/GetTelemetryRuleForOrganizationCommand.js +22 -0
  29. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  30. package/dist-es/commands/ListTelemetryRulesCommand.js +22 -0
  31. package/dist-es/commands/ListTelemetryRulesForOrganizationCommand.js +22 -0
  32. package/dist-es/commands/TagResourceCommand.js +22 -0
  33. package/dist-es/commands/UntagResourceCommand.js +22 -0
  34. package/dist-es/commands/UpdateTelemetryRuleCommand.js +22 -0
  35. package/dist-es/commands/UpdateTelemetryRuleForOrganizationCommand.js +22 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/models/models_0.js +78 -17
  38. package/dist-es/pagination/ListTelemetryRulesForOrganizationPaginator.js +4 -0
  39. package/dist-es/pagination/ListTelemetryRulesPaginator.js +4 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +427 -2
  42. package/dist-types/ObservabilityAdmin.d.ts +94 -1
  43. package/dist-types/ObservabilityAdminClient.d.ts +16 -3
  44. package/dist-types/commands/CreateTelemetryRuleCommand.d.ts +123 -0
  45. package/dist-types/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +123 -0
  46. package/dist-types/commands/DeleteTelemetryRuleCommand.d.ts +97 -0
  47. package/dist-types/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +97 -0
  48. package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +6 -1
  49. package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +7 -2
  50. package/dist-types/commands/GetTelemetryRuleCommand.d.ts +118 -0
  51. package/dist-types/commands/GetTelemetryRuleForOrganizationCommand.d.ts +118 -0
  52. package/dist-types/commands/ListResourceTelemetryCommand.d.ts +7 -2
  53. package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +7 -2
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +101 -0
  55. package/dist-types/commands/ListTelemetryRulesCommand.d.ts +106 -0
  56. package/dist-types/commands/ListTelemetryRulesForOrganizationCommand.d.ts +112 -0
  57. package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +7 -2
  58. package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +6 -1
  59. package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +7 -2
  60. package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +7 -2
  61. package/dist-types/commands/TagResourceCommand.d.ts +105 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +100 -0
  63. package/dist-types/commands/UpdateTelemetryRuleCommand.d.ts +120 -0
  64. package/dist-types/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +120 -0
  65. package/dist-types/commands/index.d.ts +13 -0
  66. package/dist-types/index.d.ts +1 -1
  67. package/dist-types/models/models_0.d.ts +707 -39
  68. package/dist-types/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +7 -0
  69. package/dist-types/pagination/ListTelemetryRulesPaginator.d.ts +7 -0
  70. package/dist-types/pagination/index.d.ts +2 -0
  71. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  72. package/dist-types/ts3.4/ObservabilityAdmin.d.ts +247 -0
  73. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +80 -2
  74. package/dist-types/ts3.4/commands/CreateTelemetryRuleCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DeleteTelemetryRuleCommand.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +47 -0
  78. package/dist-types/ts3.4/commands/GetTelemetryRuleCommand.d.ts +50 -0
  79. package/dist-types/ts3.4/commands/GetTelemetryRuleForOrganizationCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/ListTelemetryRulesCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/ListTelemetryRulesForOrganizationCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  84. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  85. package/dist-types/ts3.4/commands/UpdateTelemetryRuleCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +178 -26
  89. package/dist-types/ts3.4/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListTelemetryRulesPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  92. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  93. package/package.json +33 -33
@@ -50,7 +50,7 @@ declare const StartTelemetryEvaluationForOrganizationCommand_base: {
50
50
  *
51
51
  * @throws {@link AccessDeniedException} (client fault)
52
52
  * <p>
53
- * 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 AWS resources</a> in the IAM user guide.
53
+ * 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.
54
54
  * </p>
55
55
  *
56
56
  * @throws {@link InternalServerException} (server fault)
@@ -58,6 +58,11 @@ declare const StartTelemetryEvaluationForOrganizationCommand_base: {
58
58
  * Indicates the request has failed to process because of an unknown server error, exception, or failure.
59
59
  * </p>
60
60
  *
61
+ * @throws {@link TooManyRequestsException} (client fault)
62
+ * <p>
63
+ * The request throughput limit was exceeded.
64
+ * </p>
65
+ *
61
66
  * @throws {@link ValidationException} (client fault)
62
67
  * <p>
63
68
  * Indicates input validation failed. Check your request parameters and retry the request.
@@ -27,7 +27,7 @@ declare const StopTelemetryEvaluationCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>
30
- * This action begins offboarding the caller AWS account from the telemetry config feature.
30
+ * This action begins offboarding the caller Amazon Web Services account from the telemetry config feature.
31
31
  * </p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -50,7 +50,7 @@ declare const StopTelemetryEvaluationCommand_base: {
50
50
  *
51
51
  * @throws {@link AccessDeniedException} (client fault)
52
52
  * <p>
53
- * 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 AWS resources</a> in the IAM user guide.
53
+ * 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.
54
54
  * </p>
55
55
  *
56
56
  * @throws {@link InternalServerException} (server fault)
@@ -58,6 +58,11 @@ declare const StopTelemetryEvaluationCommand_base: {
58
58
  * Indicates the request has failed to process because of an unknown server error, exception, or failure.
59
59
  * </p>
60
60
  *
61
+ * @throws {@link TooManyRequestsException} (client fault)
62
+ * <p>
63
+ * The request throughput limit was exceeded.
64
+ * </p>
65
+ *
61
66
  * @throws {@link ValidationException} (client fault)
62
67
  * <p>
63
68
  * Indicates input validation failed. Check your request parameters and retry the request.
@@ -27,7 +27,7 @@ declare const StopTelemetryEvaluationForOrganizationCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>
30
- * This action offboards the Organization of the caller AWS account from thef telemetry config feature.
30
+ * This action offboards the Organization of the caller Amazon Web Services account from the telemetry config feature.
31
31
  * </p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -50,7 +50,7 @@ declare const StopTelemetryEvaluationForOrganizationCommand_base: {
50
50
  *
51
51
  * @throws {@link AccessDeniedException} (client fault)
52
52
  * <p>
53
- * 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 AWS resources</a> in the IAM user guide.
53
+ * 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.
54
54
  * </p>
55
55
  *
56
56
  * @throws {@link InternalServerException} (server fault)
@@ -58,6 +58,11 @@ declare const StopTelemetryEvaluationForOrganizationCommand_base: {
58
58
  * Indicates the request has failed to process because of an unknown server error, exception, or failure.
59
59
  * </p>
60
60
  *
61
+ * @throws {@link TooManyRequestsException} (client fault)
62
+ * <p>
63
+ * The request throughput limit was exceeded.
64
+ * </p>
65
+ *
61
66
  * @throws {@link ValidationException} (client fault)
62
67
  * <p>
63
68
  * Indicates input validation failed. Check your request parameters and retry the request.
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TagResourceInput } 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 TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Adds or updates tags for a telemetry rule resource.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ObservabilityAdminClient, TagResourceCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, TagResourceCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // TagResourceInput
40
+ * ResourceARN: "STRING_VALUE", // required
41
+ * Tags: { // TagMapInput // required
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new TagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
52
+ * @returns {@link TagResourceCommandOutput}
53
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>
59
+ * 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.
60
+ * </p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>
64
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>
69
+ * The specified resource (such as a telemetry rule) could not be found.
70
+ * </p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>
74
+ * The requested operation would exceed the allowed quota for the specified resource type.
75
+ * </p>
76
+ *
77
+ * @throws {@link TooManyRequestsException} (client fault)
78
+ * <p>
79
+ * The request throughput limit was exceeded.
80
+ * </p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>
84
+ * Indicates input validation failed. Check your request parameters and retry the request.
85
+ * </p>
86
+ *
87
+ * @throws {@link ObservabilityAdminServiceException}
88
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class TagResourceCommand extends TagResourceCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: TagResourceInput;
98
+ output: {};
99
+ };
100
+ sdk: {
101
+ input: TagResourceCommandInput;
102
+ output: TagResourceCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UntagResourceInput } 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 UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Removes tags from a telemetry rule resource.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ObservabilityAdminClient, UntagResourceCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, UntagResourceCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // UntagResourceInput
40
+ * ResourceARN: "STRING_VALUE", // required
41
+ * TagKeys: [ // TagKeyList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new UntagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
52
+ * @returns {@link UntagResourceCommandOutput}
53
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>
59
+ * 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.
60
+ * </p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>
64
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>
69
+ * The specified resource (such as a telemetry rule) could not be found.
70
+ * </p>
71
+ *
72
+ * @throws {@link TooManyRequestsException} (client fault)
73
+ * <p>
74
+ * The request throughput limit was exceeded.
75
+ * </p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>
79
+ * Indicates input validation failed. Check your request parameters and retry the request.
80
+ * </p>
81
+ *
82
+ * @throws {@link ObservabilityAdminServiceException}
83
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: UntagResourceInput;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: UntagResourceCommandInput;
97
+ output: UntagResourceCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateTelemetryRuleInput, UpdateTelemetryRuleOutput } 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 UpdateTelemetryRuleCommand}.
14
+ */
15
+ export interface UpdateTelemetryRuleCommandInput extends UpdateTelemetryRuleInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateTelemetryRuleCommand}.
21
+ */
22
+ export interface UpdateTelemetryRuleCommandOutput extends UpdateTelemetryRuleOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateTelemetryRuleCommand_base: {
25
+ new (input: UpdateTelemetryRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTelemetryRuleCommandInput, UpdateTelemetryRuleCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateTelemetryRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTelemetryRuleCommandInput, UpdateTelemetryRuleCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Updates an existing telemetry rule in your account.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ObservabilityAdminClient, UpdateTelemetryRuleCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, UpdateTelemetryRuleCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // UpdateTelemetryRuleInput
40
+ * RuleIdentifier: "STRING_VALUE", // required
41
+ * Rule: { // TelemetryRule
42
+ * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function",
43
+ * TelemetryType: "Logs" || "Metrics" || "Traces", // required
44
+ * DestinationConfiguration: { // TelemetryDestinationConfiguration
45
+ * DestinationType: "cloud-watch-logs",
46
+ * DestinationPattern: "STRING_VALUE",
47
+ * RetentionInDays: Number("int"),
48
+ * VPCFlowLogParameters: { // VPCFlowLogParameters
49
+ * LogFormat: "STRING_VALUE",
50
+ * TrafficType: "STRING_VALUE",
51
+ * MaxAggregationInterval: Number("int"),
52
+ * },
53
+ * },
54
+ * Scope: "STRING_VALUE",
55
+ * SelectionCriteria: "STRING_VALUE",
56
+ * },
57
+ * };
58
+ * const command = new UpdateTelemetryRuleCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // UpdateTelemetryRuleOutput
61
+ * // RuleArn: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param UpdateTelemetryRuleCommandInput - {@link UpdateTelemetryRuleCommandInput}
67
+ * @returns {@link UpdateTelemetryRuleCommandOutput}
68
+ * @see {@link UpdateTelemetryRuleCommandInput} for command's `input` shape.
69
+ * @see {@link UpdateTelemetryRuleCommandOutput} for command's `response` shape.
70
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>
74
+ * 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.
75
+ * </p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>
79
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
80
+ * </p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>
84
+ * The specified resource (such as a telemetry rule) could not be found.
85
+ * </p>
86
+ *
87
+ * @throws {@link ServiceQuotaExceededException} (client fault)
88
+ * <p>
89
+ * The requested operation would exceed the allowed quota for the specified resource type.
90
+ * </p>
91
+ *
92
+ * @throws {@link TooManyRequestsException} (client fault)
93
+ * <p>
94
+ * The request throughput limit was exceeded.
95
+ * </p>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p>
99
+ * Indicates input validation failed. Check your request parameters and retry the request.
100
+ * </p>
101
+ *
102
+ * @throws {@link ObservabilityAdminServiceException}
103
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
104
+ *
105
+ *
106
+ * @public
107
+ */
108
+ export declare class UpdateTelemetryRuleCommand extends UpdateTelemetryRuleCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: UpdateTelemetryRuleInput;
113
+ output: UpdateTelemetryRuleOutput;
114
+ };
115
+ sdk: {
116
+ input: UpdateTelemetryRuleCommandInput;
117
+ output: UpdateTelemetryRuleCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateTelemetryRuleForOrganizationInput, UpdateTelemetryRuleForOrganizationOutput } 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 UpdateTelemetryRuleForOrganizationCommand}.
14
+ */
15
+ export interface UpdateTelemetryRuleForOrganizationCommandInput extends UpdateTelemetryRuleForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateTelemetryRuleForOrganizationCommand}.
21
+ */
22
+ export interface UpdateTelemetryRuleForOrganizationCommandOutput extends UpdateTelemetryRuleForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateTelemetryRuleForOrganizationCommand_base: {
25
+ new (input: UpdateTelemetryRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTelemetryRuleForOrganizationCommandInput, UpdateTelemetryRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateTelemetryRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTelemetryRuleForOrganizationCommandInput, UpdateTelemetryRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Updates an existing telemetry 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.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ObservabilityAdminClient, UpdateTelemetryRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, UpdateTelemetryRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // UpdateTelemetryRuleForOrganizationInput
40
+ * RuleIdentifier: "STRING_VALUE", // required
41
+ * Rule: { // TelemetryRule
42
+ * ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function",
43
+ * TelemetryType: "Logs" || "Metrics" || "Traces", // required
44
+ * DestinationConfiguration: { // TelemetryDestinationConfiguration
45
+ * DestinationType: "cloud-watch-logs",
46
+ * DestinationPattern: "STRING_VALUE",
47
+ * RetentionInDays: Number("int"),
48
+ * VPCFlowLogParameters: { // VPCFlowLogParameters
49
+ * LogFormat: "STRING_VALUE",
50
+ * TrafficType: "STRING_VALUE",
51
+ * MaxAggregationInterval: Number("int"),
52
+ * },
53
+ * },
54
+ * Scope: "STRING_VALUE",
55
+ * SelectionCriteria: "STRING_VALUE",
56
+ * },
57
+ * };
58
+ * const command = new UpdateTelemetryRuleForOrganizationCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // UpdateTelemetryRuleForOrganizationOutput
61
+ * // RuleArn: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param UpdateTelemetryRuleForOrganizationCommandInput - {@link UpdateTelemetryRuleForOrganizationCommandInput}
67
+ * @returns {@link UpdateTelemetryRuleForOrganizationCommandOutput}
68
+ * @see {@link UpdateTelemetryRuleForOrganizationCommandInput} for command's `input` shape.
69
+ * @see {@link UpdateTelemetryRuleForOrganizationCommandOutput} for command's `response` shape.
70
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>
74
+ * 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.
75
+ * </p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>
79
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
80
+ * </p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>
84
+ * The specified resource (such as a telemetry rule) could not be found.
85
+ * </p>
86
+ *
87
+ * @throws {@link ServiceQuotaExceededException} (client fault)
88
+ * <p>
89
+ * The requested operation would exceed the allowed quota for the specified resource type.
90
+ * </p>
91
+ *
92
+ * @throws {@link TooManyRequestsException} (client fault)
93
+ * <p>
94
+ * The request throughput limit was exceeded.
95
+ * </p>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p>
99
+ * Indicates input validation failed. Check your request parameters and retry the request.
100
+ * </p>
101
+ *
102
+ * @throws {@link ObservabilityAdminServiceException}
103
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
104
+ *
105
+ *
106
+ * @public
107
+ */
108
+ export declare class UpdateTelemetryRuleForOrganizationCommand extends UpdateTelemetryRuleForOrganizationCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: UpdateTelemetryRuleForOrganizationInput;
113
+ output: UpdateTelemetryRuleForOrganizationOutput;
114
+ };
115
+ sdk: {
116
+ input: UpdateTelemetryRuleForOrganizationCommandInput;
117
+ output: UpdateTelemetryRuleForOrganizationCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -1,8 +1,21 @@
1
+ export * from "./CreateTelemetryRuleCommand";
2
+ export * from "./CreateTelemetryRuleForOrganizationCommand";
3
+ export * from "./DeleteTelemetryRuleCommand";
4
+ export * from "./DeleteTelemetryRuleForOrganizationCommand";
1
5
  export * from "./GetTelemetryEvaluationStatusCommand";
2
6
  export * from "./GetTelemetryEvaluationStatusForOrganizationCommand";
7
+ export * from "./GetTelemetryRuleCommand";
8
+ export * from "./GetTelemetryRuleForOrganizationCommand";
3
9
  export * from "./ListResourceTelemetryCommand";
4
10
  export * from "./ListResourceTelemetryForOrganizationCommand";
11
+ export * from "./ListTagsForResourceCommand";
12
+ export * from "./ListTelemetryRulesCommand";
13
+ export * from "./ListTelemetryRulesForOrganizationCommand";
5
14
  export * from "./StartTelemetryEvaluationCommand";
6
15
  export * from "./StartTelemetryEvaluationForOrganizationCommand";
7
16
  export * from "./StopTelemetryEvaluationCommand";
8
17
  export * from "./StopTelemetryEvaluationForOrganizationCommand";
18
+ export * from "./TagResourceCommand";
19
+ export * from "./UntagResourceCommand";
20
+ export * from "./UpdateTelemetryRuleCommand";
21
+ export * from "./UpdateTelemetryRuleForOrganizationCommand";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * <p>
3
- * Amazon CloudWatch Obsersavability Admin to control temletry config for your AWS Organization or account. Telemetry config config to discover and understand the state of telemetry configuration for your AWS resources from a central view in the CloudWatch console. Telemetry config simplifies the process of auditing your telemetry collection configurations across multiple resource types across your AWS Organization or account.
3
+ * You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment.
4
4
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p>
5
5
  * <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
6
6
  *