@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.
- package/README.md +105 -1
- package/dist-cjs/ObservabilityAdmin.js +26 -0
- package/dist-cjs/commands/CreateTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/CreateTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/DeleteTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/DeleteTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/GetTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/GetTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/ListTelemetryRulesCommand.js +26 -0
- package/dist-cjs/commands/ListTelemetryRulesForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateTelemetryRuleCommand.js +26 -0
- package/dist-cjs/commands/UpdateTelemetryRuleForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +83 -18
- package/dist-cjs/pagination/ListTelemetryRulesForOrganizationPaginator.js +7 -0
- package/dist-cjs/pagination/ListTelemetryRulesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +452 -1
- package/dist-es/ObservabilityAdmin.js +26 -0
- package/dist-es/commands/CreateTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/CreateTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/DeleteTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/DeleteTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/GetTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/GetTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/ListTelemetryRulesCommand.js +22 -0
- package/dist-es/commands/ListTelemetryRulesForOrganizationCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateTelemetryRuleCommand.js +22 -0
- package/dist-es/commands/UpdateTelemetryRuleForOrganizationCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +78 -17
- package/dist-es/pagination/ListTelemetryRulesForOrganizationPaginator.js +4 -0
- package/dist-es/pagination/ListTelemetryRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +427 -2
- package/dist-types/ObservabilityAdmin.d.ts +94 -1
- package/dist-types/ObservabilityAdminClient.d.ts +16 -3
- package/dist-types/commands/CreateTelemetryRuleCommand.d.ts +123 -0
- package/dist-types/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +123 -0
- package/dist-types/commands/DeleteTelemetryRuleCommand.d.ts +97 -0
- package/dist-types/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +97 -0
- package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +6 -1
- package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +7 -2
- package/dist-types/commands/GetTelemetryRuleCommand.d.ts +118 -0
- package/dist-types/commands/GetTelemetryRuleForOrganizationCommand.d.ts +118 -0
- package/dist-types/commands/ListResourceTelemetryCommand.d.ts +7 -2
- package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +7 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +101 -0
- package/dist-types/commands/ListTelemetryRulesCommand.d.ts +106 -0
- package/dist-types/commands/ListTelemetryRulesForOrganizationCommand.d.ts +112 -0
- package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +7 -2
- package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +6 -1
- package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +7 -2
- package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +7 -2
- package/dist-types/commands/TagResourceCommand.d.ts +105 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +100 -0
- package/dist-types/commands/UpdateTelemetryRuleCommand.d.ts +120 -0
- package/dist-types/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +707 -39
- package/dist-types/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTelemetryRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/ObservabilityAdmin.d.ts +247 -0
- package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/CreateTelemetryRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTelemetryRuleCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTelemetryRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTelemetryRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTelemetryRulesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTelemetryRulesForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateTelemetryRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +178 -26
- package/dist-types/ts3.4/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTelemetryRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +33 -33
|
@@ -2,7 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { ObservabilityAdminServiceException as __BaseException } from "./ObservabilityAdminServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>
|
|
5
|
-
* 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
|
|
5
|
+
* 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.
|
|
6
6
|
* </p>
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -22,41 +22,203 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
22
22
|
*/
|
|
23
23
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* <p>
|
|
27
|
+
* The requested operation conflicts with the current state of the specified resource or with another request.
|
|
28
|
+
* </p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class ConflictException extends __BaseException {
|
|
32
|
+
readonly name: "ConflictException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
Message?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
39
|
+
}
|
|
25
40
|
/**
|
|
26
41
|
* @public
|
|
27
42
|
* @enum
|
|
28
43
|
*/
|
|
29
|
-
export declare const
|
|
30
|
-
readonly
|
|
31
|
-
readonly FAILED_STOP: "FAILED_STOP";
|
|
32
|
-
readonly NOT_STARTED: "NOT_STARTED";
|
|
33
|
-
readonly RUNNING: "RUNNING";
|
|
34
|
-
readonly STARTING: "STARTING";
|
|
35
|
-
readonly STOPPED: "STOPPED";
|
|
36
|
-
readonly STOPPING: "STOPPING";
|
|
44
|
+
export declare const DestinationType: {
|
|
45
|
+
readonly CLOUDWATCH_LOGS: "cloud-watch-logs";
|
|
37
46
|
};
|
|
38
47
|
/**
|
|
39
48
|
* @public
|
|
40
49
|
*/
|
|
41
|
-
export type
|
|
50
|
+
export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
|
|
42
51
|
/**
|
|
52
|
+
* <p>
|
|
53
|
+
* Configuration parameters specific to VPC Flow Logs.
|
|
54
|
+
* </p>
|
|
43
55
|
* @public
|
|
44
56
|
*/
|
|
45
|
-
export interface
|
|
57
|
+
export interface VPCFlowLogParameters {
|
|
46
58
|
/**
|
|
47
59
|
* <p>
|
|
48
|
-
* The
|
|
60
|
+
* The format in which VPC Flow Log entries should be logged.
|
|
49
61
|
* </p>
|
|
50
62
|
* @public
|
|
51
63
|
*/
|
|
52
|
-
|
|
64
|
+
LogFormat?: string | undefined;
|
|
53
65
|
/**
|
|
54
66
|
* <p>
|
|
55
|
-
*
|
|
67
|
+
* The type of traffic to log (ACCEPT, REJECT, or ALL).
|
|
56
68
|
* </p>
|
|
57
69
|
* @public
|
|
58
70
|
*/
|
|
59
|
-
|
|
71
|
+
TrafficType?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>
|
|
74
|
+
* The maximum interval in seconds between the capture of flow log records.
|
|
75
|
+
* </p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
MaxAggregationInterval?: number | undefined;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* <p>
|
|
82
|
+
* Configuration specifying where and how telemetry data should be delivered for Amazon Web Services resources.
|
|
83
|
+
* </p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export interface TelemetryDestinationConfiguration {
|
|
87
|
+
/**
|
|
88
|
+
* <p>
|
|
89
|
+
* The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
|
|
90
|
+
* </p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
DestinationType?: DestinationType | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>
|
|
96
|
+
* The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.
|
|
97
|
+
* </p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
DestinationPattern?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>
|
|
103
|
+
* The number of days to retain the telemetry data in the destination.
|
|
104
|
+
* </p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
RetentionInDays?: number | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>
|
|
110
|
+
* Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
|
|
111
|
+
* </p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
VPCFlowLogParameters?: VPCFlowLogParameters | undefined;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* @enum
|
|
119
|
+
*/
|
|
120
|
+
export declare const ResourceType: {
|
|
121
|
+
readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance";
|
|
122
|
+
readonly AWS_EC2_VPC: "AWS::EC2::VPC";
|
|
123
|
+
readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @enum
|
|
132
|
+
*/
|
|
133
|
+
export declare const TelemetryType: {
|
|
134
|
+
readonly LOGS: "Logs";
|
|
135
|
+
readonly METRICS: "Metrics";
|
|
136
|
+
readonly TRACES: "Traces";
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
|
|
142
|
+
/**
|
|
143
|
+
* <p>
|
|
144
|
+
* Defines how telemetry should be configured for specific Amazon Web Services resources.
|
|
145
|
+
* </p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export interface TelemetryRule {
|
|
149
|
+
/**
|
|
150
|
+
* <p>
|
|
151
|
+
* The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").
|
|
152
|
+
* </p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
ResourceType?: ResourceType | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>
|
|
158
|
+
* The type of telemetry to collect (Logs, Metrics, or Traces).
|
|
159
|
+
* </p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
TelemetryType: TelemetryType | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* <p>
|
|
165
|
+
* Configuration specifying where and how the telemetry data should be delivered.
|
|
166
|
+
* </p>
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
DestinationConfiguration?: TelemetryDestinationConfiguration | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* <p>
|
|
172
|
+
* The organizational scope to which the rule applies, specified using accounts or organizational units.
|
|
173
|
+
* </p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
Scope?: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>
|
|
179
|
+
* Criteria for selecting which resources the rule applies to, such as resource tags.
|
|
180
|
+
* </p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
SelectionCriteria?: string | undefined;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export interface CreateTelemetryRuleInput {
|
|
189
|
+
/**
|
|
190
|
+
* <p>
|
|
191
|
+
* A unique name for the telemetry rule being created.
|
|
192
|
+
* </p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
RuleName: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>
|
|
198
|
+
* The configuration details for the telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to.
|
|
199
|
+
* </p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
Rule: TelemetryRule | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>
|
|
205
|
+
* The key-value pairs to associate with the telemetry rule resource for categorization and management purposes.
|
|
206
|
+
* </p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
Tags?: Record<string, string> | undefined;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
export interface CreateTelemetryRuleOutput {
|
|
215
|
+
/**
|
|
216
|
+
* <p>
|
|
217
|
+
* The Amazon Resource Name (ARN) of the created telemetry rule.
|
|
218
|
+
* </p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
RuleArn?: string | undefined;
|
|
60
222
|
}
|
|
61
223
|
/**
|
|
62
224
|
* <p>
|
|
@@ -81,23 +243,41 @@ export declare class InternalServerException extends __BaseException {
|
|
|
81
243
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
82
244
|
}
|
|
83
245
|
/**
|
|
246
|
+
* <p>
|
|
247
|
+
* The requested operation would exceed the allowed quota for the specified resource type.
|
|
248
|
+
* </p>
|
|
84
249
|
* @public
|
|
85
250
|
*/
|
|
86
|
-
export
|
|
251
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
252
|
+
readonly name: "ServiceQuotaExceededException";
|
|
253
|
+
readonly $fault: "client";
|
|
254
|
+
Message?: string | undefined;
|
|
87
255
|
/**
|
|
88
256
|
* <p>
|
|
89
|
-
* The
|
|
257
|
+
* The name of the exception.
|
|
90
258
|
* </p>
|
|
91
259
|
* @public
|
|
92
260
|
*/
|
|
93
|
-
|
|
261
|
+
amznErrorType?: string | undefined;
|
|
94
262
|
/**
|
|
95
|
-
*
|
|
96
|
-
* This field describes the reason for the failure status. The field will only be populated if <code>Status</code> is <code>FAILED_START</code> or <code>FAILED_STOP</code>.
|
|
97
|
-
* </p>
|
|
98
|
-
* @public
|
|
263
|
+
* @internal
|
|
99
264
|
*/
|
|
100
|
-
|
|
265
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* <p>
|
|
269
|
+
* The request throughput limit was exceeded.
|
|
270
|
+
* </p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
274
|
+
readonly name: "TooManyRequestsException";
|
|
275
|
+
readonly $fault: "client";
|
|
276
|
+
Message?: string | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
101
281
|
}
|
|
102
282
|
/**
|
|
103
283
|
* <p>
|
|
@@ -114,32 +294,242 @@ export declare class ValidationException extends __BaseException {
|
|
|
114
294
|
*/
|
|
115
295
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
116
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export interface CreateTelemetryRuleForOrganizationInput {
|
|
301
|
+
/**
|
|
302
|
+
* <p>
|
|
303
|
+
* A unique name for the organization-wide telemetry rule being created.
|
|
304
|
+
* </p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
RuleName: string | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* <p>
|
|
310
|
+
* The configuration details for the organization-wide telemetry rule, including the resource type, telemetry type, destination configuration, and selection criteria for which resources the rule applies to across the organization.
|
|
311
|
+
* </p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
Rule: TelemetryRule | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* <p>
|
|
317
|
+
* The key-value pairs to associate with the organization telemetry rule resource for categorization and management purposes.
|
|
318
|
+
* </p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
Tags?: Record<string, string> | undefined;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export interface CreateTelemetryRuleForOrganizationOutput {
|
|
327
|
+
/**
|
|
328
|
+
* <p>
|
|
329
|
+
* The Amazon Resource Name (ARN) of the created organization telemetry rule.
|
|
330
|
+
* </p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
RuleArn?: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export interface DeleteTelemetryRuleInput {
|
|
339
|
+
/**
|
|
340
|
+
* <p>
|
|
341
|
+
* The identifier (name or ARN) of the telemetry rule to delete.
|
|
342
|
+
* </p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
RuleIdentifier: string | undefined;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* <p>
|
|
349
|
+
* The specified resource (such as a telemetry rule) could not be found.
|
|
350
|
+
* </p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
354
|
+
readonly name: "ResourceNotFoundException";
|
|
355
|
+
readonly $fault: "client";
|
|
356
|
+
Message?: string | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export interface DeleteTelemetryRuleForOrganizationInput {
|
|
366
|
+
/**
|
|
367
|
+
* <p>
|
|
368
|
+
* The identifier (name or ARN) of the organization telemetry rule to delete.
|
|
369
|
+
* </p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
RuleIdentifier: string | undefined;
|
|
373
|
+
}
|
|
117
374
|
/**
|
|
118
375
|
* @public
|
|
119
376
|
* @enum
|
|
120
377
|
*/
|
|
121
|
-
export declare const
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
378
|
+
export declare const Status: {
|
|
379
|
+
readonly FAILED_START: "FAILED_START";
|
|
380
|
+
readonly FAILED_STOP: "FAILED_STOP";
|
|
381
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
382
|
+
readonly RUNNING: "RUNNING";
|
|
383
|
+
readonly STARTING: "STARTING";
|
|
384
|
+
readonly STOPPED: "STOPPED";
|
|
385
|
+
readonly STOPPING: "STOPPING";
|
|
125
386
|
};
|
|
126
387
|
/**
|
|
127
388
|
* @public
|
|
128
389
|
*/
|
|
129
|
-
export type
|
|
390
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
export interface GetTelemetryEvaluationStatusOutput {
|
|
395
|
+
/**
|
|
396
|
+
* <p>
|
|
397
|
+
* The onboarding status of the telemetry config feature.
|
|
398
|
+
* </p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
Status?: Status | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* <p>
|
|
404
|
+
* Describes the reason for the failure status. The field will only be populated if <code>Status</code> is <code>FAILED_START</code> or <code>FAILED_STOP</code>.
|
|
405
|
+
* </p>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
FailureReason?: string | undefined;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
export interface GetTelemetryEvaluationStatusForOrganizationOutput {
|
|
414
|
+
/**
|
|
415
|
+
* <p>
|
|
416
|
+
* The onboarding status of the telemetry config feature for the organization.
|
|
417
|
+
* </p>
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
Status?: Status | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* <p>
|
|
423
|
+
* This field describes the reason for the failure status. The field will only be populated if <code>Status</code> is <code>FAILED_START</code> or <code>FAILED_STOP</code>.
|
|
424
|
+
* </p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
FailureReason?: string | undefined;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
export interface GetTelemetryRuleInput {
|
|
433
|
+
/**
|
|
434
|
+
* <p>
|
|
435
|
+
* The identifier (name or ARN) of the telemetry rule to retrieve.
|
|
436
|
+
* </p>
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
RuleIdentifier: string | undefined;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
export interface GetTelemetryRuleOutput {
|
|
445
|
+
/**
|
|
446
|
+
* <p>
|
|
447
|
+
* The name of the telemetry rule.
|
|
448
|
+
* </p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
RuleName?: string | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>
|
|
454
|
+
* The Amazon Resource Name (ARN) of the telemetry rule.
|
|
455
|
+
* </p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
RuleArn?: string | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* <p>
|
|
461
|
+
* The timestamp when the telemetry rule was created.
|
|
462
|
+
* </p>
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
CreatedTimeStamp?: number | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* <p>
|
|
468
|
+
* The timestamp when the telemetry rule was last updated.
|
|
469
|
+
* </p>
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
LastUpdateTimeStamp?: number | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* <p>
|
|
475
|
+
* The configuration details of the telemetry rule.
|
|
476
|
+
* </p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
TelemetryRule?: TelemetryRule | undefined;
|
|
480
|
+
}
|
|
130
481
|
/**
|
|
131
482
|
* @public
|
|
132
|
-
* @enum
|
|
133
483
|
*/
|
|
134
|
-
export
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
484
|
+
export interface GetTelemetryRuleForOrganizationInput {
|
|
485
|
+
/**
|
|
486
|
+
* <p>
|
|
487
|
+
* The identifier (name or ARN) of the organization telemetry rule to retrieve.
|
|
488
|
+
* </p>
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
RuleIdentifier: string | undefined;
|
|
492
|
+
}
|
|
139
493
|
/**
|
|
140
494
|
* @public
|
|
141
495
|
*/
|
|
142
|
-
export
|
|
496
|
+
export interface GetTelemetryRuleForOrganizationOutput {
|
|
497
|
+
/**
|
|
498
|
+
* <p>
|
|
499
|
+
* The name of the organization telemetry rule.
|
|
500
|
+
* </p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
RuleName?: string | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* <p>
|
|
506
|
+
* The Amazon Resource Name (ARN) of the organization telemetry rule.
|
|
507
|
+
* </p>
|
|
508
|
+
* @public
|
|
509
|
+
*/
|
|
510
|
+
RuleArn?: string | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* <p>
|
|
513
|
+
* The timestamp when the organization telemetry rule was created.
|
|
514
|
+
* </p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
CreatedTimeStamp?: number | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* <p>
|
|
520
|
+
* The timestamp when the organization telemetry rule was last updated.
|
|
521
|
+
* </p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
LastUpdateTimeStamp?: number | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* <p>
|
|
527
|
+
* The configuration details of the organization telemetry rule.
|
|
528
|
+
* </p>
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
TelemetryRule?: TelemetryRule | undefined;
|
|
532
|
+
}
|
|
143
533
|
/**
|
|
144
534
|
* @public
|
|
145
535
|
* @enum
|
|
@@ -223,7 +613,7 @@ export interface TelemetryConfiguration {
|
|
|
223
613
|
TelemetryConfigurationState?: Partial<Record<TelemetryType, TelemetryState>> | undefined;
|
|
224
614
|
/**
|
|
225
615
|
* <p>
|
|
226
|
-
* The type of resource, for example <code>
|
|
616
|
+
* The type of resource, for example <code>Amazon Web Services::EC2::Instance</code>.
|
|
227
617
|
* </p>
|
|
228
618
|
* @public
|
|
229
619
|
*/
|
|
@@ -256,7 +646,7 @@ export interface TelemetryConfiguration {
|
|
|
256
646
|
export interface ListResourceTelemetryOutput {
|
|
257
647
|
/**
|
|
258
648
|
* <p>
|
|
259
|
-
* A list of telemetry configurations for
|
|
649
|
+
* A list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the caller's account.
|
|
260
650
|
* </p>
|
|
261
651
|
* @public
|
|
262
652
|
*/
|
|
@@ -275,7 +665,7 @@ export interface ListResourceTelemetryOutput {
|
|
|
275
665
|
export interface ListResourceTelemetryForOrganizationInput {
|
|
276
666
|
/**
|
|
277
667
|
* <p>
|
|
278
|
-
* A list of
|
|
668
|
+
* A list of Amazon Web Services accounts used to filter the resources to those associated with the specified accounts.
|
|
279
669
|
* </p>
|
|
280
670
|
* @public
|
|
281
671
|
*/
|
|
@@ -329,7 +719,7 @@ export interface ListResourceTelemetryForOrganizationInput {
|
|
|
329
719
|
export interface ListResourceTelemetryForOrganizationOutput {
|
|
330
720
|
/**
|
|
331
721
|
* <p>
|
|
332
|
-
* A list of telemetry configurations for
|
|
722
|
+
* A list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization.
|
|
333
723
|
* </p>
|
|
334
724
|
* @public
|
|
335
725
|
*/
|
|
@@ -342,3 +732,281 @@ export interface ListResourceTelemetryForOrganizationOutput {
|
|
|
342
732
|
*/
|
|
343
733
|
NextToken?: string | undefined;
|
|
344
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
export interface ListTagsForResourceInput {
|
|
739
|
+
/**
|
|
740
|
+
* <p>
|
|
741
|
+
* The Amazon Resource Name (ARN) of the telemetry rule resource whose tags you want to list.
|
|
742
|
+
* </p>
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
ResourceARN: string | undefined;
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
export interface ListTagsForResourceOutput {
|
|
751
|
+
/**
|
|
752
|
+
* <p>
|
|
753
|
+
* The list of tags associated with the telemetry rule resource.
|
|
754
|
+
* </p>
|
|
755
|
+
* @public
|
|
756
|
+
*/
|
|
757
|
+
Tags: Record<string, string> | undefined;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
export interface ListTelemetryRulesInput {
|
|
763
|
+
/**
|
|
764
|
+
* <p>
|
|
765
|
+
* A string to filter telemetry rules whose names begin with the specified prefix.
|
|
766
|
+
* </p>
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
RuleNamePrefix?: string | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* <p>
|
|
772
|
+
* The maximum number of telemetry rules to return in a single call.
|
|
773
|
+
* </p>
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
776
|
+
MaxResults?: number | undefined;
|
|
777
|
+
/**
|
|
778
|
+
* <p>
|
|
779
|
+
* The token for the next set of results. A previous call generates this token.
|
|
780
|
+
* </p>
|
|
781
|
+
* @public
|
|
782
|
+
*/
|
|
783
|
+
NextToken?: string | undefined;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* <p>
|
|
787
|
+
* A summary of a telemetry rule's key properties.
|
|
788
|
+
* </p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
export interface TelemetryRuleSummary {
|
|
792
|
+
/**
|
|
793
|
+
* <p>
|
|
794
|
+
* The name of the telemetry rule.
|
|
795
|
+
* </p>
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
798
|
+
RuleName?: string | undefined;
|
|
799
|
+
/**
|
|
800
|
+
* <p>
|
|
801
|
+
* The Amazon Resource Name (ARN) of the telemetry rule.
|
|
802
|
+
* </p>
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
805
|
+
RuleArn?: string | undefined;
|
|
806
|
+
/**
|
|
807
|
+
* <p>
|
|
808
|
+
* The timestamp when the telemetry rule was created.
|
|
809
|
+
* </p>
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
812
|
+
CreatedTimeStamp?: number | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* <p>
|
|
815
|
+
* The timestamp when the telemetry rule was last modified.
|
|
816
|
+
* </p>
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
LastUpdateTimeStamp?: number | undefined;
|
|
820
|
+
/**
|
|
821
|
+
* <p>
|
|
822
|
+
* The type of Amazon Web Services resource the rule applies to.
|
|
823
|
+
* </p>
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
ResourceType?: ResourceType | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* <p>
|
|
829
|
+
* The type of telemetry (Logs, Metrics, or Traces) the rule configures.
|
|
830
|
+
* </p>
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
TelemetryType?: TelemetryType | undefined;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* @public
|
|
837
|
+
*/
|
|
838
|
+
export interface ListTelemetryRulesOutput {
|
|
839
|
+
/**
|
|
840
|
+
* <p>
|
|
841
|
+
* A list of telemetry rule summaries.
|
|
842
|
+
* </p>
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
845
|
+
TelemetryRuleSummaries?: TelemetryRuleSummary[] | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* <p>
|
|
848
|
+
* A token to resume pagination of results.
|
|
849
|
+
* </p>
|
|
850
|
+
* @public
|
|
851
|
+
*/
|
|
852
|
+
NextToken?: string | undefined;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
export interface ListTelemetryRulesForOrganizationInput {
|
|
858
|
+
/**
|
|
859
|
+
* <p>
|
|
860
|
+
* A string to filter organization telemetry rules whose names begin with the specified prefix.
|
|
861
|
+
* </p>
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
RuleNamePrefix?: string | undefined;
|
|
865
|
+
/**
|
|
866
|
+
* <p>
|
|
867
|
+
* The list of account IDs to filter organization telemetry rules by their source accounts.
|
|
868
|
+
* </p>
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
871
|
+
SourceAccountIds?: string[] | undefined;
|
|
872
|
+
/**
|
|
873
|
+
* <p>
|
|
874
|
+
* The list of organizational unit IDs to filter organization telemetry rules by their source organizational units.
|
|
875
|
+
* </p>
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
SourceOrganizationUnitIds?: string[] | undefined;
|
|
879
|
+
/**
|
|
880
|
+
* <p>
|
|
881
|
+
* The maximum number of organization telemetry rules to return in a single call.
|
|
882
|
+
* </p>
|
|
883
|
+
* @public
|
|
884
|
+
*/
|
|
885
|
+
MaxResults?: number | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* <p>
|
|
888
|
+
* The token for the next set of results. A previous call generates this token.
|
|
889
|
+
* </p>
|
|
890
|
+
* @public
|
|
891
|
+
*/
|
|
892
|
+
NextToken?: string | undefined;
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
export interface ListTelemetryRulesForOrganizationOutput {
|
|
898
|
+
/**
|
|
899
|
+
* <p>
|
|
900
|
+
* A list of organization telemetry rule summaries.
|
|
901
|
+
* </p>
|
|
902
|
+
* @public
|
|
903
|
+
*/
|
|
904
|
+
TelemetryRuleSummaries?: TelemetryRuleSummary[] | undefined;
|
|
905
|
+
/**
|
|
906
|
+
* <p>
|
|
907
|
+
* A token to resume pagination of results.
|
|
908
|
+
* </p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
NextToken?: string | undefined;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
export interface TagResourceInput {
|
|
917
|
+
/**
|
|
918
|
+
* <p>
|
|
919
|
+
* The Amazon Resource Name (ARN) of the telemetry rule resource to tag.
|
|
920
|
+
* </p>
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
ResourceARN: string | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* <p>
|
|
926
|
+
* The key-value pairs to add or update for the telemetry rule resource.
|
|
927
|
+
* </p>
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
Tags: Record<string, string> | undefined;
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
export interface UntagResourceInput {
|
|
936
|
+
/**
|
|
937
|
+
* <p>
|
|
938
|
+
* The Amazon Resource Name (ARN) of the telemetry rule resource to remove tags from.
|
|
939
|
+
* </p>
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
ResourceARN: string | undefined;
|
|
943
|
+
/**
|
|
944
|
+
* <p>
|
|
945
|
+
* The list of tag keys to remove from the telemetry rule resource.
|
|
946
|
+
* </p>
|
|
947
|
+
* @public
|
|
948
|
+
*/
|
|
949
|
+
TagKeys: string[] | undefined;
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* @public
|
|
953
|
+
*/
|
|
954
|
+
export interface UpdateTelemetryRuleInput {
|
|
955
|
+
/**
|
|
956
|
+
* <p>
|
|
957
|
+
* The identifier (name or ARN) of the telemetry rule to update.
|
|
958
|
+
* </p>
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
RuleIdentifier: string | undefined;
|
|
962
|
+
/**
|
|
963
|
+
* <p>
|
|
964
|
+
* The new configuration details for the telemetry rule.
|
|
965
|
+
* </p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
Rule: TelemetryRule | undefined;
|
|
969
|
+
}
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
export interface UpdateTelemetryRuleOutput {
|
|
974
|
+
/**
|
|
975
|
+
* <p>
|
|
976
|
+
* The Amazon Resource Name (ARN) of the updated telemetry rule.
|
|
977
|
+
* </p>
|
|
978
|
+
* @public
|
|
979
|
+
*/
|
|
980
|
+
RuleArn?: string | undefined;
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* @public
|
|
984
|
+
*/
|
|
985
|
+
export interface UpdateTelemetryRuleForOrganizationInput {
|
|
986
|
+
/**
|
|
987
|
+
* <p>
|
|
988
|
+
* The identifier (name or ARN) of the organization telemetry rule to update.
|
|
989
|
+
* </p>
|
|
990
|
+
* @public
|
|
991
|
+
*/
|
|
992
|
+
RuleIdentifier: string | undefined;
|
|
993
|
+
/**
|
|
994
|
+
* <p>
|
|
995
|
+
* The new configuration details for the organization telemetry rule, including resource type, telemetry type, and destination configuration.
|
|
996
|
+
* </p>
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
Rule: TelemetryRule | undefined;
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
1004
|
+
export interface UpdateTelemetryRuleForOrganizationOutput {
|
|
1005
|
+
/**
|
|
1006
|
+
* <p>
|
|
1007
|
+
* The Amazon Resource Name (ARN) of the updated organization telemetry rule.
|
|
1008
|
+
* </p>
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
RuleArn?: string | undefined;
|
|
1012
|
+
}
|