@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
@@ -0,0 +1,118 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTelemetryRuleInput, GetTelemetryRuleOutput } 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 GetTelemetryRuleCommand}.
14
+ */
15
+ export interface GetTelemetryRuleCommandInput extends GetTelemetryRuleInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTelemetryRuleCommand}.
21
+ */
22
+ export interface GetTelemetryRuleCommandOutput extends GetTelemetryRuleOutput, __MetadataBearer {
23
+ }
24
+ declare const GetTelemetryRuleCommand_base: {
25
+ new (input: GetTelemetryRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelemetryRuleCommandInput, GetTelemetryRuleCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTelemetryRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelemetryRuleCommandInput, GetTelemetryRuleCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Retrieves the details of a specific 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, GetTelemetryRuleCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, GetTelemetryRuleCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // GetTelemetryRuleInput
40
+ * RuleIdentifier: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTelemetryRuleCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTelemetryRuleOutput
45
+ * // RuleName: "STRING_VALUE",
46
+ * // RuleArn: "STRING_VALUE",
47
+ * // CreatedTimeStamp: Number("long"),
48
+ * // LastUpdateTimeStamp: Number("long"),
49
+ * // TelemetryRule: { // TelemetryRule
50
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function",
51
+ * // TelemetryType: "Logs" || "Metrics" || "Traces", // required
52
+ * // DestinationConfiguration: { // TelemetryDestinationConfiguration
53
+ * // DestinationType: "cloud-watch-logs",
54
+ * // DestinationPattern: "STRING_VALUE",
55
+ * // RetentionInDays: Number("int"),
56
+ * // VPCFlowLogParameters: { // VPCFlowLogParameters
57
+ * // LogFormat: "STRING_VALUE",
58
+ * // TrafficType: "STRING_VALUE",
59
+ * // MaxAggregationInterval: Number("int"),
60
+ * // },
61
+ * // },
62
+ * // Scope: "STRING_VALUE",
63
+ * // SelectionCriteria: "STRING_VALUE",
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetTelemetryRuleCommandInput - {@link GetTelemetryRuleCommandInput}
70
+ * @returns {@link GetTelemetryRuleCommandOutput}
71
+ * @see {@link GetTelemetryRuleCommandInput} for command's `input` shape.
72
+ * @see {@link GetTelemetryRuleCommandOutput} for command's `response` shape.
73
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>
77
+ * 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.
78
+ * </p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>
82
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
83
+ * </p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>
87
+ * The specified resource (such as a telemetry rule) could not be found.
88
+ * </p>
89
+ *
90
+ * @throws {@link TooManyRequestsException} (client fault)
91
+ * <p>
92
+ * The request throughput limit was exceeded.
93
+ * </p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>
97
+ * Indicates input validation failed. Check your request parameters and retry the request.
98
+ * </p>
99
+ *
100
+ * @throws {@link ObservabilityAdminServiceException}
101
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
102
+ *
103
+ *
104
+ * @public
105
+ */
106
+ export declare class GetTelemetryRuleCommand extends GetTelemetryRuleCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: GetTelemetryRuleInput;
111
+ output: GetTelemetryRuleOutput;
112
+ };
113
+ sdk: {
114
+ input: GetTelemetryRuleCommandInput;
115
+ output: GetTelemetryRuleCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -0,0 +1,118 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTelemetryRuleForOrganizationInput, GetTelemetryRuleForOrganizationOutput } 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 GetTelemetryRuleForOrganizationCommand}.
14
+ */
15
+ export interface GetTelemetryRuleForOrganizationCommandInput extends GetTelemetryRuleForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTelemetryRuleForOrganizationCommand}.
21
+ */
22
+ export interface GetTelemetryRuleForOrganizationCommandOutput extends GetTelemetryRuleForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const GetTelemetryRuleForOrganizationCommand_base: {
25
+ new (input: GetTelemetryRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelemetryRuleForOrganizationCommandInput, GetTelemetryRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTelemetryRuleForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTelemetryRuleForOrganizationCommandInput, GetTelemetryRuleForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Retrieves the details of a specific organization telemetry rule. 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, GetTelemetryRuleForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, GetTelemetryRuleForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // GetTelemetryRuleForOrganizationInput
40
+ * RuleIdentifier: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTelemetryRuleForOrganizationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTelemetryRuleForOrganizationOutput
45
+ * // RuleName: "STRING_VALUE",
46
+ * // RuleArn: "STRING_VALUE",
47
+ * // CreatedTimeStamp: Number("long"),
48
+ * // LastUpdateTimeStamp: Number("long"),
49
+ * // TelemetryRule: { // TelemetryRule
50
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function",
51
+ * // TelemetryType: "Logs" || "Metrics" || "Traces", // required
52
+ * // DestinationConfiguration: { // TelemetryDestinationConfiguration
53
+ * // DestinationType: "cloud-watch-logs",
54
+ * // DestinationPattern: "STRING_VALUE",
55
+ * // RetentionInDays: Number("int"),
56
+ * // VPCFlowLogParameters: { // VPCFlowLogParameters
57
+ * // LogFormat: "STRING_VALUE",
58
+ * // TrafficType: "STRING_VALUE",
59
+ * // MaxAggregationInterval: Number("int"),
60
+ * // },
61
+ * // },
62
+ * // Scope: "STRING_VALUE",
63
+ * // SelectionCriteria: "STRING_VALUE",
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetTelemetryRuleForOrganizationCommandInput - {@link GetTelemetryRuleForOrganizationCommandInput}
70
+ * @returns {@link GetTelemetryRuleForOrganizationCommandOutput}
71
+ * @see {@link GetTelemetryRuleForOrganizationCommandInput} for command's `input` shape.
72
+ * @see {@link GetTelemetryRuleForOrganizationCommandOutput} for command's `response` shape.
73
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>
77
+ * 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.
78
+ * </p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>
82
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
83
+ * </p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>
87
+ * The specified resource (such as a telemetry rule) could not be found.
88
+ * </p>
89
+ *
90
+ * @throws {@link TooManyRequestsException} (client fault)
91
+ * <p>
92
+ * The request throughput limit was exceeded.
93
+ * </p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>
97
+ * Indicates input validation failed. Check your request parameters and retry the request.
98
+ * </p>
99
+ *
100
+ * @throws {@link ObservabilityAdminServiceException}
101
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
102
+ *
103
+ *
104
+ * @public
105
+ */
106
+ export declare class GetTelemetryRuleForOrganizationCommand extends GetTelemetryRuleForOrganizationCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: GetTelemetryRuleForOrganizationInput;
111
+ output: GetTelemetryRuleForOrganizationOutput;
112
+ };
113
+ sdk: {
114
+ input: GetTelemetryRuleForOrganizationCommandInput;
115
+ output: GetTelemetryRuleForOrganizationCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -28,7 +28,7 @@ declare const ListResourceTelemetryCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>
31
- * Returns a list of telemetry configurations for AWS resources supported by telemetry config. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a>.
31
+ * Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a>.
32
32
  * </p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -80,7 +80,7 @@ declare const ListResourceTelemetryCommand_base: {
80
80
  *
81
81
  * @throws {@link AccessDeniedException} (client fault)
82
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 AWS resources</a> in the IAM user guide.
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
84
  * </p>
85
85
  *
86
86
  * @throws {@link InternalServerException} (server fault)
@@ -88,6 +88,11 @@ declare const ListResourceTelemetryCommand_base: {
88
88
  * Indicates the request has failed to process because of an unknown server error, exception, or failure.
89
89
  * </p>
90
90
  *
91
+ * @throws {@link TooManyRequestsException} (client fault)
92
+ * <p>
93
+ * The request throughput limit was exceeded.
94
+ * </p>
95
+ *
91
96
  * @throws {@link ValidationException} (client fault)
92
97
  * <p>
93
98
  * Indicates input validation failed. Check your request parameters and retry the request.
@@ -28,7 +28,7 @@ declare const ListResourceTelemetryForOrganizationCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>
31
- * Returns a list of telemetry configurations for AWS resources supported by telemetry config in the organization.
31
+ * Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization.
32
32
  * </p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -83,7 +83,7 @@ declare const ListResourceTelemetryForOrganizationCommand_base: {
83
83
  *
84
84
  * @throws {@link AccessDeniedException} (client fault)
85
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 AWS resources</a> in the IAM user guide.
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
87
  * </p>
88
88
  *
89
89
  * @throws {@link InternalServerException} (server fault)
@@ -91,6 +91,11 @@ declare const ListResourceTelemetryForOrganizationCommand_base: {
91
91
  * Indicates the request has failed to process because of an unknown server error, exception, or failure.
92
92
  * </p>
93
93
  *
94
+ * @throws {@link TooManyRequestsException} (client fault)
95
+ * <p>
96
+ * The request throughput limit was exceeded.
97
+ * </p>
98
+ *
94
99
  * @throws {@link ValidationException} (client fault)
95
100
  * <p>
96
101
  * Indicates input validation failed. Check your request parameters and retry the request.
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } 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 ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Lists all tags attached to the specified 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, ListTagsForResourceCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, ListTagsForResourceCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // ListTagsForResourceInput
40
+ * ResourceARN: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListTagsForResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListTagsForResourceOutput
45
+ * // Tags: { // TagMapOutput // required
46
+ * // "<keys>": "STRING_VALUE",
47
+ * // },
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
53
+ * @returns {@link ListTagsForResourceCommandOutput}
54
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
55
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
56
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>
60
+ * 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.
61
+ * </p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>
65
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
66
+ * </p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>
70
+ * The specified resource (such as a telemetry rule) could not be found.
71
+ * </p>
72
+ *
73
+ * @throws {@link TooManyRequestsException} (client fault)
74
+ * <p>
75
+ * The request throughput limit was exceeded.
76
+ * </p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>
80
+ * Indicates input validation failed. Check your request parameters and retry the request.
81
+ * </p>
82
+ *
83
+ * @throws {@link ObservabilityAdminServiceException}
84
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListTagsForResourceInput;
94
+ output: ListTagsForResourceOutput;
95
+ };
96
+ sdk: {
97
+ input: ListTagsForResourceCommandInput;
98
+ output: ListTagsForResourceCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTelemetryRulesInput, ListTelemetryRulesOutput } 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 ListTelemetryRulesCommand}.
14
+ */
15
+ export interface ListTelemetryRulesCommandInput extends ListTelemetryRulesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTelemetryRulesCommand}.
21
+ */
22
+ export interface ListTelemetryRulesCommandOutput extends ListTelemetryRulesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTelemetryRulesCommand_base: {
25
+ new (input: ListTelemetryRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTelemetryRulesCommandInput, ListTelemetryRulesCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTelemetryRulesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTelemetryRulesCommandInput, ListTelemetryRulesCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Lists all telemetry rules in your account. You can filter the results by specifying a rule name prefix.
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, ListTelemetryRulesCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, ListTelemetryRulesCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // ListTelemetryRulesInput
40
+ * RuleNamePrefix: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * NextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListTelemetryRulesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListTelemetryRulesOutput
47
+ * // TelemetryRuleSummaries: [ // TelemetryRuleSummaries
48
+ * // { // TelemetryRuleSummary
49
+ * // RuleName: "STRING_VALUE",
50
+ * // RuleArn: "STRING_VALUE",
51
+ * // CreatedTimeStamp: Number("long"),
52
+ * // LastUpdateTimeStamp: Number("long"),
53
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function",
54
+ * // TelemetryType: "Logs" || "Metrics" || "Traces",
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListTelemetryRulesCommandInput - {@link ListTelemetryRulesCommandInput}
63
+ * @returns {@link ListTelemetryRulesCommandOutput}
64
+ * @see {@link ListTelemetryRulesCommandInput} for command's `input` shape.
65
+ * @see {@link ListTelemetryRulesCommandOutput} for command's `response` shape.
66
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>
70
+ * 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.
71
+ * </p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>
75
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
76
+ * </p>
77
+ *
78
+ * @throws {@link TooManyRequestsException} (client fault)
79
+ * <p>
80
+ * The request throughput limit was exceeded.
81
+ * </p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>
85
+ * Indicates input validation failed. Check your request parameters and retry the request.
86
+ * </p>
87
+ *
88
+ * @throws {@link ObservabilityAdminServiceException}
89
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListTelemetryRulesCommand extends ListTelemetryRulesCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListTelemetryRulesInput;
99
+ output: ListTelemetryRulesOutput;
100
+ };
101
+ sdk: {
102
+ input: ListTelemetryRulesCommandInput;
103
+ output: ListTelemetryRulesCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTelemetryRulesForOrganizationInput, ListTelemetryRulesForOrganizationOutput } 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 ListTelemetryRulesForOrganizationCommand}.
14
+ */
15
+ export interface ListTelemetryRulesForOrganizationCommandInput extends ListTelemetryRulesForOrganizationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTelemetryRulesForOrganizationCommand}.
21
+ */
22
+ export interface ListTelemetryRulesForOrganizationCommandOutput extends ListTelemetryRulesForOrganizationOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTelemetryRulesForOrganizationCommand_base: {
25
+ new (input: ListTelemetryRulesForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<ListTelemetryRulesForOrganizationCommandInput, ListTelemetryRulesForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTelemetryRulesForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTelemetryRulesForOrganizationCommandInput, ListTelemetryRulesForOrganizationCommandOutput, ObservabilityAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Lists all telemetry rules in your 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, ListTelemetryRulesForOrganizationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
37
+ * // const { ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
38
+ * const client = new ObservabilityAdminClient(config);
39
+ * const input = { // ListTelemetryRulesForOrganizationInput
40
+ * RuleNamePrefix: "STRING_VALUE",
41
+ * SourceAccountIds: [ // AccountIdentifiers
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * SourceOrganizationUnitIds: [ // OrganizationUnitIdentifiers
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * MaxResults: Number("int"),
48
+ * NextToken: "STRING_VALUE",
49
+ * };
50
+ * const command = new ListTelemetryRulesForOrganizationCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ListTelemetryRulesForOrganizationOutput
53
+ * // TelemetryRuleSummaries: [ // TelemetryRuleSummaries
54
+ * // { // TelemetryRuleSummary
55
+ * // RuleName: "STRING_VALUE",
56
+ * // RuleArn: "STRING_VALUE",
57
+ * // CreatedTimeStamp: Number("long"),
58
+ * // LastUpdateTimeStamp: Number("long"),
59
+ * // ResourceType: "AWS::EC2::Instance" || "AWS::EC2::VPC" || "AWS::Lambda::Function",
60
+ * // TelemetryType: "Logs" || "Metrics" || "Traces",
61
+ * // },
62
+ * // ],
63
+ * // NextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListTelemetryRulesForOrganizationCommandInput - {@link ListTelemetryRulesForOrganizationCommandInput}
69
+ * @returns {@link ListTelemetryRulesForOrganizationCommandOutput}
70
+ * @see {@link ListTelemetryRulesForOrganizationCommandInput} for command's `input` shape.
71
+ * @see {@link ListTelemetryRulesForOrganizationCommandOutput} for command's `response` shape.
72
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>
76
+ * 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.
77
+ * </p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>
81
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
82
+ * </p>
83
+ *
84
+ * @throws {@link TooManyRequestsException} (client fault)
85
+ * <p>
86
+ * The request throughput limit was exceeded.
87
+ * </p>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p>
91
+ * Indicates input validation failed. Check your request parameters and retry the request.
92
+ * </p>
93
+ *
94
+ * @throws {@link ObservabilityAdminServiceException}
95
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class ListTelemetryRulesForOrganizationCommand extends ListTelemetryRulesForOrganizationCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: ListTelemetryRulesForOrganizationInput;
105
+ output: ListTelemetryRulesForOrganizationOutput;
106
+ };
107
+ sdk: {
108
+ input: ListTelemetryRulesForOrganizationCommandInput;
109
+ output: ListTelemetryRulesForOrganizationCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -27,7 +27,7 @@ declare const StartTelemetryEvaluationCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>
30
- * This action begins onboarding onboarding the caller AWS account to the telemetry config feature.
30
+ * This action begins onboarding the caller Amazon Web Services account to 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 StartTelemetryEvaluationCommand_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 StartTelemetryEvaluationCommand_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.