@aws-sdk/client-xray 3.686.0 → 3.691.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.
@@ -1,9 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { XRayServiceException as __BaseException } from "./XRayServiceException";
3
3
  export interface Alias {
4
- Name?: string;
5
- Names?: string[];
6
- Type?: string;
4
+ Name?: string | undefined;
5
+ Names?: string[] | undefined;
6
+ Type?: string | undefined;
7
7
  }
8
8
  export type AnnotationValue =
9
9
  | AnnotationValue.BooleanValueMember
@@ -44,44 +44,44 @@ export declare namespace AnnotationValue {
44
44
  const visit: <T>(value: AnnotationValue, visitor: Visitor<T>) => T;
45
45
  }
46
46
  export interface ServiceId {
47
- Name?: string;
48
- Names?: string[];
49
- AccountId?: string;
50
- Type?: string;
47
+ Name?: string | undefined;
48
+ Names?: string[] | undefined;
49
+ AccountId?: string | undefined;
50
+ Type?: string | undefined;
51
51
  }
52
52
  export interface ValueWithServiceIds {
53
- AnnotationValue?: AnnotationValue;
54
- ServiceIds?: ServiceId[];
53
+ AnnotationValue?: AnnotationValue | undefined;
54
+ ServiceIds?: ServiceId[] | undefined;
55
55
  }
56
56
  export interface AnomalousService {
57
- ServiceId?: ServiceId;
57
+ ServiceId?: ServiceId | undefined;
58
58
  }
59
59
  export interface AvailabilityZoneDetail {
60
- Name?: string;
60
+ Name?: string | undefined;
61
61
  }
62
62
  export interface BatchGetTracesRequest {
63
63
  TraceIds: string[] | undefined;
64
- NextToken?: string;
64
+ NextToken?: string | undefined;
65
65
  }
66
66
  export interface Segment {
67
- Id?: string;
68
- Document?: string;
67
+ Id?: string | undefined;
68
+ Document?: string | undefined;
69
69
  }
70
70
  export interface Trace {
71
- Id?: string;
72
- Duration?: number;
73
- LimitExceeded?: boolean;
74
- Segments?: Segment[];
71
+ Id?: string | undefined;
72
+ Duration?: number | undefined;
73
+ LimitExceeded?: boolean | undefined;
74
+ Segments?: Segment[] | undefined;
75
75
  }
76
76
  export interface BatchGetTracesResult {
77
- Traces?: Trace[];
78
- UnprocessedTraceIds?: string[];
79
- NextToken?: string;
77
+ Traces?: Trace[] | undefined;
78
+ UnprocessedTraceIds?: string[] | undefined;
79
+ NextToken?: string | undefined;
80
80
  }
81
81
  export declare class InvalidRequestException extends __BaseException {
82
82
  readonly name: "InvalidRequestException";
83
83
  readonly $fault: "client";
84
- Message?: string;
84
+ Message?: string | undefined;
85
85
  constructor(
86
86
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
87
87
  );
@@ -89,12 +89,12 @@ export declare class InvalidRequestException extends __BaseException {
89
89
  export declare class ThrottledException extends __BaseException {
90
90
  readonly name: "ThrottledException";
91
91
  readonly $fault: "client";
92
- Message?: string;
92
+ Message?: string | undefined;
93
93
  constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
94
94
  }
95
95
  export interface InsightsConfiguration {
96
- InsightsEnabled?: boolean;
97
- NotificationsEnabled?: boolean;
96
+ InsightsEnabled?: boolean | undefined;
97
+ NotificationsEnabled?: boolean | undefined;
98
98
  }
99
99
  export interface Tag {
100
100
  Key: string | undefined;
@@ -102,22 +102,22 @@ export interface Tag {
102
102
  }
103
103
  export interface CreateGroupRequest {
104
104
  GroupName: string | undefined;
105
- FilterExpression?: string;
106
- InsightsConfiguration?: InsightsConfiguration;
107
- Tags?: Tag[];
105
+ FilterExpression?: string | undefined;
106
+ InsightsConfiguration?: InsightsConfiguration | undefined;
107
+ Tags?: Tag[] | undefined;
108
108
  }
109
109
  export interface Group {
110
- GroupName?: string;
111
- GroupARN?: string;
112
- FilterExpression?: string;
113
- InsightsConfiguration?: InsightsConfiguration;
110
+ GroupName?: string | undefined;
111
+ GroupARN?: string | undefined;
112
+ FilterExpression?: string | undefined;
113
+ InsightsConfiguration?: InsightsConfiguration | undefined;
114
114
  }
115
115
  export interface CreateGroupResult {
116
- Group?: Group;
116
+ Group?: Group | undefined;
117
117
  }
118
118
  export interface SamplingRule {
119
- RuleName?: string;
120
- RuleARN?: string;
119
+ RuleName?: string | undefined;
120
+ RuleARN?: string | undefined;
121
121
  ResourceARN: string | undefined;
122
122
  Priority: number | undefined;
123
123
  FixedRate: number | undefined;
@@ -128,42 +128,42 @@ export interface SamplingRule {
128
128
  HTTPMethod: string | undefined;
129
129
  URLPath: string | undefined;
130
130
  Version: number | undefined;
131
- Attributes?: Record<string, string>;
131
+ Attributes?: Record<string, string> | undefined;
132
132
  }
133
133
  export interface CreateSamplingRuleRequest {
134
134
  SamplingRule: SamplingRule | undefined;
135
- Tags?: Tag[];
135
+ Tags?: Tag[] | undefined;
136
136
  }
137
137
  export interface SamplingRuleRecord {
138
- SamplingRule?: SamplingRule;
139
- CreatedAt?: Date;
140
- ModifiedAt?: Date;
138
+ SamplingRule?: SamplingRule | undefined;
139
+ CreatedAt?: Date | undefined;
140
+ ModifiedAt?: Date | undefined;
141
141
  }
142
142
  export interface CreateSamplingRuleResult {
143
- SamplingRuleRecord?: SamplingRuleRecord;
143
+ SamplingRuleRecord?: SamplingRuleRecord | undefined;
144
144
  }
145
145
  export declare class RuleLimitExceededException extends __BaseException {
146
146
  readonly name: "RuleLimitExceededException";
147
147
  readonly $fault: "client";
148
- Message?: string;
148
+ Message?: string | undefined;
149
149
  constructor(
150
150
  opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>
151
151
  );
152
152
  }
153
153
  export interface DeleteGroupRequest {
154
- GroupName?: string;
155
- GroupARN?: string;
154
+ GroupName?: string | undefined;
155
+ GroupARN?: string | undefined;
156
156
  }
157
157
  export interface DeleteGroupResult {}
158
158
  export interface DeleteResourcePolicyRequest {
159
159
  PolicyName: string | undefined;
160
- PolicyRevisionId?: string;
160
+ PolicyRevisionId?: string | undefined;
161
161
  }
162
162
  export interface DeleteResourcePolicyResult {}
163
163
  export declare class InvalidPolicyRevisionIdException extends __BaseException {
164
164
  readonly name: "InvalidPolicyRevisionIdException";
165
165
  readonly $fault: "client";
166
- Message?: string;
166
+ Message?: string | undefined;
167
167
  constructor(
168
168
  opts: __ExceptionOptionType<
169
169
  InvalidPolicyRevisionIdException,
@@ -172,11 +172,11 @@ export declare class InvalidPolicyRevisionIdException extends __BaseException {
172
172
  );
173
173
  }
174
174
  export interface DeleteSamplingRuleRequest {
175
- RuleName?: string;
176
- RuleARN?: string;
175
+ RuleName?: string | undefined;
176
+ RuleARN?: string | undefined;
177
177
  }
178
178
  export interface DeleteSamplingRuleResult {
179
- SamplingRuleRecord?: SamplingRuleRecord;
179
+ SamplingRuleRecord?: SamplingRuleRecord | undefined;
180
180
  }
181
181
  export interface GetEncryptionConfigRequest {}
182
182
  export declare const EncryptionStatus: {
@@ -192,32 +192,32 @@ export declare const EncryptionType: {
192
192
  export type EncryptionType =
193
193
  (typeof EncryptionType)[keyof typeof EncryptionType];
194
194
  export interface EncryptionConfig {
195
- KeyId?: string;
196
- Status?: EncryptionStatus;
197
- Type?: EncryptionType;
195
+ KeyId?: string | undefined;
196
+ Status?: EncryptionStatus | undefined;
197
+ Type?: EncryptionType | undefined;
198
198
  }
199
199
  export interface GetEncryptionConfigResult {
200
- EncryptionConfig?: EncryptionConfig;
200
+ EncryptionConfig?: EncryptionConfig | undefined;
201
201
  }
202
202
  export interface GetGroupRequest {
203
- GroupName?: string;
204
- GroupARN?: string;
203
+ GroupName?: string | undefined;
204
+ GroupARN?: string | undefined;
205
205
  }
206
206
  export interface GetGroupResult {
207
- Group?: Group;
207
+ Group?: Group | undefined;
208
208
  }
209
209
  export interface GetGroupsRequest {
210
- NextToken?: string;
210
+ NextToken?: string | undefined;
211
211
  }
212
212
  export interface GroupSummary {
213
- GroupName?: string;
214
- GroupARN?: string;
215
- FilterExpression?: string;
216
- InsightsConfiguration?: InsightsConfiguration;
213
+ GroupName?: string | undefined;
214
+ GroupARN?: string | undefined;
215
+ FilterExpression?: string | undefined;
216
+ InsightsConfiguration?: InsightsConfiguration | undefined;
217
217
  }
218
218
  export interface GetGroupsResult {
219
- Groups?: GroupSummary[];
220
- NextToken?: string;
219
+ Groups?: GroupSummary[] | undefined;
220
+ NextToken?: string | undefined;
221
221
  }
222
222
  export interface GetInsightRequest {
223
223
  InsightId: string | undefined;
@@ -228,9 +228,9 @@ export declare const InsightCategory: {
228
228
  export type InsightCategory =
229
229
  (typeof InsightCategory)[keyof typeof InsightCategory];
230
230
  export interface RequestImpactStatistics {
231
- FaultCount?: number;
232
- OkCount?: number;
233
- TotalCount?: number;
231
+ FaultCount?: number | undefined;
232
+ OkCount?: number | undefined;
233
+ TotalCount?: number | undefined;
234
234
  }
235
235
  export declare const InsightState: {
236
236
  readonly ACTIVE: "ACTIVE";
@@ -238,112 +238,112 @@ export declare const InsightState: {
238
238
  };
239
239
  export type InsightState = (typeof InsightState)[keyof typeof InsightState];
240
240
  export interface Insight {
241
- InsightId?: string;
242
- GroupARN?: string;
243
- GroupName?: string;
244
- RootCauseServiceId?: ServiceId;
245
- Categories?: InsightCategory[];
246
- State?: InsightState;
247
- StartTime?: Date;
248
- EndTime?: Date;
249
- Summary?: string;
250
- ClientRequestImpactStatistics?: RequestImpactStatistics;
251
- RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
252
- TopAnomalousServices?: AnomalousService[];
241
+ InsightId?: string | undefined;
242
+ GroupARN?: string | undefined;
243
+ GroupName?: string | undefined;
244
+ RootCauseServiceId?: ServiceId | undefined;
245
+ Categories?: InsightCategory[] | undefined;
246
+ State?: InsightState | undefined;
247
+ StartTime?: Date | undefined;
248
+ EndTime?: Date | undefined;
249
+ Summary?: string | undefined;
250
+ ClientRequestImpactStatistics?: RequestImpactStatistics | undefined;
251
+ RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics | undefined;
252
+ TopAnomalousServices?: AnomalousService[] | undefined;
253
253
  }
254
254
  export interface GetInsightResult {
255
- Insight?: Insight;
255
+ Insight?: Insight | undefined;
256
256
  }
257
257
  export interface GetInsightEventsRequest {
258
258
  InsightId: string | undefined;
259
- MaxResults?: number;
260
- NextToken?: string;
259
+ MaxResults?: number | undefined;
260
+ NextToken?: string | undefined;
261
261
  }
262
262
  export interface InsightEvent {
263
- Summary?: string;
264
- EventTime?: Date;
265
- ClientRequestImpactStatistics?: RequestImpactStatistics;
266
- RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
267
- TopAnomalousServices?: AnomalousService[];
263
+ Summary?: string | undefined;
264
+ EventTime?: Date | undefined;
265
+ ClientRequestImpactStatistics?: RequestImpactStatistics | undefined;
266
+ RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics | undefined;
267
+ TopAnomalousServices?: AnomalousService[] | undefined;
268
268
  }
269
269
  export interface GetInsightEventsResult {
270
- InsightEvents?: InsightEvent[];
271
- NextToken?: string;
270
+ InsightEvents?: InsightEvent[] | undefined;
271
+ NextToken?: string | undefined;
272
272
  }
273
273
  export interface GetInsightImpactGraphRequest {
274
274
  InsightId: string | undefined;
275
275
  StartTime: Date | undefined;
276
276
  EndTime: Date | undefined;
277
- NextToken?: string;
277
+ NextToken?: string | undefined;
278
278
  }
279
279
  export interface InsightImpactGraphEdge {
280
- ReferenceId?: number;
280
+ ReferenceId?: number | undefined;
281
281
  }
282
282
  export interface InsightImpactGraphService {
283
- ReferenceId?: number;
284
- Type?: string;
285
- Name?: string;
286
- Names?: string[];
287
- AccountId?: string;
288
- Edges?: InsightImpactGraphEdge[];
283
+ ReferenceId?: number | undefined;
284
+ Type?: string | undefined;
285
+ Name?: string | undefined;
286
+ Names?: string[] | undefined;
287
+ AccountId?: string | undefined;
288
+ Edges?: InsightImpactGraphEdge[] | undefined;
289
289
  }
290
290
  export interface GetInsightImpactGraphResult {
291
- InsightId?: string;
292
- StartTime?: Date;
293
- EndTime?: Date;
294
- ServiceGraphStartTime?: Date;
295
- ServiceGraphEndTime?: Date;
296
- Services?: InsightImpactGraphService[];
297
- NextToken?: string;
291
+ InsightId?: string | undefined;
292
+ StartTime?: Date | undefined;
293
+ EndTime?: Date | undefined;
294
+ ServiceGraphStartTime?: Date | undefined;
295
+ ServiceGraphEndTime?: Date | undefined;
296
+ Services?: InsightImpactGraphService[] | undefined;
297
+ NextToken?: string | undefined;
298
298
  }
299
299
  export interface GetInsightSummariesRequest {
300
- States?: InsightState[];
301
- GroupARN?: string;
302
- GroupName?: string;
300
+ States?: InsightState[] | undefined;
301
+ GroupARN?: string | undefined;
302
+ GroupName?: string | undefined;
303
303
  StartTime: Date | undefined;
304
304
  EndTime: Date | undefined;
305
- MaxResults?: number;
306
- NextToken?: string;
305
+ MaxResults?: number | undefined;
306
+ NextToken?: string | undefined;
307
307
  }
308
308
  export interface InsightSummary {
309
- InsightId?: string;
310
- GroupARN?: string;
311
- GroupName?: string;
312
- RootCauseServiceId?: ServiceId;
313
- Categories?: InsightCategory[];
314
- State?: InsightState;
315
- StartTime?: Date;
316
- EndTime?: Date;
317
- Summary?: string;
318
- ClientRequestImpactStatistics?: RequestImpactStatistics;
319
- RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
320
- TopAnomalousServices?: AnomalousService[];
321
- LastUpdateTime?: Date;
309
+ InsightId?: string | undefined;
310
+ GroupARN?: string | undefined;
311
+ GroupName?: string | undefined;
312
+ RootCauseServiceId?: ServiceId | undefined;
313
+ Categories?: InsightCategory[] | undefined;
314
+ State?: InsightState | undefined;
315
+ StartTime?: Date | undefined;
316
+ EndTime?: Date | undefined;
317
+ Summary?: string | undefined;
318
+ ClientRequestImpactStatistics?: RequestImpactStatistics | undefined;
319
+ RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics | undefined;
320
+ TopAnomalousServices?: AnomalousService[] | undefined;
321
+ LastUpdateTime?: Date | undefined;
322
322
  }
323
323
  export interface GetInsightSummariesResult {
324
- InsightSummaries?: InsightSummary[];
325
- NextToken?: string;
324
+ InsightSummaries?: InsightSummary[] | undefined;
325
+ NextToken?: string | undefined;
326
326
  }
327
327
  export interface GetSamplingRulesRequest {
328
- NextToken?: string;
328
+ NextToken?: string | undefined;
329
329
  }
330
330
  export interface GetSamplingRulesResult {
331
- SamplingRuleRecords?: SamplingRuleRecord[];
332
- NextToken?: string;
331
+ SamplingRuleRecords?: SamplingRuleRecord[] | undefined;
332
+ NextToken?: string | undefined;
333
333
  }
334
334
  export interface GetSamplingStatisticSummariesRequest {
335
- NextToken?: string;
335
+ NextToken?: string | undefined;
336
336
  }
337
337
  export interface SamplingStatisticSummary {
338
- RuleName?: string;
339
- Timestamp?: Date;
340
- RequestCount?: number;
341
- BorrowCount?: number;
342
- SampledCount?: number;
338
+ RuleName?: string | undefined;
339
+ Timestamp?: Date | undefined;
340
+ RequestCount?: number | undefined;
341
+ BorrowCount?: number | undefined;
342
+ SampledCount?: number | undefined;
343
343
  }
344
344
  export interface GetSamplingStatisticSummariesResult {
345
- SamplingStatisticSummaries?: SamplingStatisticSummary[];
346
- NextToken?: string;
345
+ SamplingStatisticSummaries?: SamplingStatisticSummary[] | undefined;
346
+ NextToken?: string | undefined;
347
347
  }
348
348
  export interface SamplingStatisticsDocument {
349
349
  RuleName: string | undefined;
@@ -351,127 +351,127 @@ export interface SamplingStatisticsDocument {
351
351
  Timestamp: Date | undefined;
352
352
  RequestCount: number | undefined;
353
353
  SampledCount: number | undefined;
354
- BorrowCount?: number;
354
+ BorrowCount?: number | undefined;
355
355
  }
356
356
  export interface GetSamplingTargetsRequest {
357
357
  SamplingStatisticsDocuments: SamplingStatisticsDocument[] | undefined;
358
358
  }
359
359
  export interface SamplingTargetDocument {
360
- RuleName?: string;
361
- FixedRate?: number;
362
- ReservoirQuota?: number;
363
- ReservoirQuotaTTL?: Date;
364
- Interval?: number;
360
+ RuleName?: string | undefined;
361
+ FixedRate?: number | undefined;
362
+ ReservoirQuota?: number | undefined;
363
+ ReservoirQuotaTTL?: Date | undefined;
364
+ Interval?: number | undefined;
365
365
  }
366
366
  export interface UnprocessedStatistics {
367
- RuleName?: string;
368
- ErrorCode?: string;
369
- Message?: string;
367
+ RuleName?: string | undefined;
368
+ ErrorCode?: string | undefined;
369
+ Message?: string | undefined;
370
370
  }
371
371
  export interface GetSamplingTargetsResult {
372
- SamplingTargetDocuments?: SamplingTargetDocument[];
373
- LastRuleModification?: Date;
374
- UnprocessedStatistics?: UnprocessedStatistics[];
372
+ SamplingTargetDocuments?: SamplingTargetDocument[] | undefined;
373
+ LastRuleModification?: Date | undefined;
374
+ UnprocessedStatistics?: UnprocessedStatistics[] | undefined;
375
375
  }
376
376
  export interface GetServiceGraphRequest {
377
377
  StartTime: Date | undefined;
378
378
  EndTime: Date | undefined;
379
- GroupName?: string;
380
- GroupARN?: string;
381
- NextToken?: string;
379
+ GroupName?: string | undefined;
380
+ GroupARN?: string | undefined;
381
+ NextToken?: string | undefined;
382
382
  }
383
383
  export interface HistogramEntry {
384
- Value?: number;
385
- Count?: number;
384
+ Value?: number | undefined;
385
+ Count?: number | undefined;
386
386
  }
387
387
  export interface ErrorStatistics {
388
- ThrottleCount?: number;
389
- OtherCount?: number;
390
- TotalCount?: number;
388
+ ThrottleCount?: number | undefined;
389
+ OtherCount?: number | undefined;
390
+ TotalCount?: number | undefined;
391
391
  }
392
392
  export interface FaultStatistics {
393
- OtherCount?: number;
394
- TotalCount?: number;
393
+ OtherCount?: number | undefined;
394
+ TotalCount?: number | undefined;
395
395
  }
396
396
  export interface EdgeStatistics {
397
- OkCount?: number;
398
- ErrorStatistics?: ErrorStatistics;
399
- FaultStatistics?: FaultStatistics;
400
- TotalCount?: number;
401
- TotalResponseTime?: number;
397
+ OkCount?: number | undefined;
398
+ ErrorStatistics?: ErrorStatistics | undefined;
399
+ FaultStatistics?: FaultStatistics | undefined;
400
+ TotalCount?: number | undefined;
401
+ TotalResponseTime?: number | undefined;
402
402
  }
403
403
  export interface Edge {
404
- ReferenceId?: number;
405
- StartTime?: Date;
406
- EndTime?: Date;
407
- SummaryStatistics?: EdgeStatistics;
408
- ResponseTimeHistogram?: HistogramEntry[];
409
- Aliases?: Alias[];
410
- EdgeType?: string;
411
- ReceivedEventAgeHistogram?: HistogramEntry[];
404
+ ReferenceId?: number | undefined;
405
+ StartTime?: Date | undefined;
406
+ EndTime?: Date | undefined;
407
+ SummaryStatistics?: EdgeStatistics | undefined;
408
+ ResponseTimeHistogram?: HistogramEntry[] | undefined;
409
+ Aliases?: Alias[] | undefined;
410
+ EdgeType?: string | undefined;
411
+ ReceivedEventAgeHistogram?: HistogramEntry[] | undefined;
412
412
  }
413
413
  export interface ServiceStatistics {
414
- OkCount?: number;
415
- ErrorStatistics?: ErrorStatistics;
416
- FaultStatistics?: FaultStatistics;
417
- TotalCount?: number;
418
- TotalResponseTime?: number;
414
+ OkCount?: number | undefined;
415
+ ErrorStatistics?: ErrorStatistics | undefined;
416
+ FaultStatistics?: FaultStatistics | undefined;
417
+ TotalCount?: number | undefined;
418
+ TotalResponseTime?: number | undefined;
419
419
  }
420
420
  export interface Service {
421
- ReferenceId?: number;
422
- Name?: string;
423
- Names?: string[];
424
- Root?: boolean;
425
- AccountId?: string;
426
- Type?: string;
427
- State?: string;
428
- StartTime?: Date;
429
- EndTime?: Date;
430
- Edges?: Edge[];
431
- SummaryStatistics?: ServiceStatistics;
432
- DurationHistogram?: HistogramEntry[];
433
- ResponseTimeHistogram?: HistogramEntry[];
421
+ ReferenceId?: number | undefined;
422
+ Name?: string | undefined;
423
+ Names?: string[] | undefined;
424
+ Root?: boolean | undefined;
425
+ AccountId?: string | undefined;
426
+ Type?: string | undefined;
427
+ State?: string | undefined;
428
+ StartTime?: Date | undefined;
429
+ EndTime?: Date | undefined;
430
+ Edges?: Edge[] | undefined;
431
+ SummaryStatistics?: ServiceStatistics | undefined;
432
+ DurationHistogram?: HistogramEntry[] | undefined;
433
+ ResponseTimeHistogram?: HistogramEntry[] | undefined;
434
434
  }
435
435
  export interface GetServiceGraphResult {
436
- StartTime?: Date;
437
- EndTime?: Date;
438
- Services?: Service[];
439
- ContainsOldGroupVersions?: boolean;
440
- NextToken?: string;
436
+ StartTime?: Date | undefined;
437
+ EndTime?: Date | undefined;
438
+ Services?: Service[] | undefined;
439
+ ContainsOldGroupVersions?: boolean | undefined;
440
+ NextToken?: string | undefined;
441
441
  }
442
442
  export interface GetTimeSeriesServiceStatisticsRequest {
443
443
  StartTime: Date | undefined;
444
444
  EndTime: Date | undefined;
445
- GroupName?: string;
446
- GroupARN?: string;
447
- EntitySelectorExpression?: string;
448
- Period?: number;
449
- ForecastStatistics?: boolean;
450
- NextToken?: string;
445
+ GroupName?: string | undefined;
446
+ GroupARN?: string | undefined;
447
+ EntitySelectorExpression?: string | undefined;
448
+ Period?: number | undefined;
449
+ ForecastStatistics?: boolean | undefined;
450
+ NextToken?: string | undefined;
451
451
  }
452
452
  export interface ForecastStatistics {
453
- FaultCountHigh?: number;
454
- FaultCountLow?: number;
453
+ FaultCountHigh?: number | undefined;
454
+ FaultCountLow?: number | undefined;
455
455
  }
456
456
  export interface TimeSeriesServiceStatistics {
457
- Timestamp?: Date;
458
- EdgeSummaryStatistics?: EdgeStatistics;
459
- ServiceSummaryStatistics?: ServiceStatistics;
460
- ServiceForecastStatistics?: ForecastStatistics;
461
- ResponseTimeHistogram?: HistogramEntry[];
457
+ Timestamp?: Date | undefined;
458
+ EdgeSummaryStatistics?: EdgeStatistics | undefined;
459
+ ServiceSummaryStatistics?: ServiceStatistics | undefined;
460
+ ServiceForecastStatistics?: ForecastStatistics | undefined;
461
+ ResponseTimeHistogram?: HistogramEntry[] | undefined;
462
462
  }
463
463
  export interface GetTimeSeriesServiceStatisticsResult {
464
- TimeSeriesServiceStatistics?: TimeSeriesServiceStatistics[];
465
- ContainsOldGroupVersions?: boolean;
466
- NextToken?: string;
464
+ TimeSeriesServiceStatistics?: TimeSeriesServiceStatistics[] | undefined;
465
+ ContainsOldGroupVersions?: boolean | undefined;
466
+ NextToken?: string | undefined;
467
467
  }
468
468
  export interface GetTraceGraphRequest {
469
469
  TraceIds: string[] | undefined;
470
- NextToken?: string;
470
+ NextToken?: string | undefined;
471
471
  }
472
472
  export interface GetTraceGraphResult {
473
- Services?: Service[];
474
- NextToken?: string;
473
+ Services?: Service[] | undefined;
474
+ NextToken?: string | undefined;
475
475
  }
476
476
  export declare const SamplingStrategyName: {
477
477
  readonly FixedRate: "FixedRate";
@@ -480,8 +480,8 @@ export declare const SamplingStrategyName: {
480
480
  export type SamplingStrategyName =
481
481
  (typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
482
482
  export interface SamplingStrategy {
483
- Name?: SamplingStrategyName;
484
- Value?: number;
483
+ Name?: SamplingStrategyName | undefined;
484
+ Value?: number | undefined;
485
485
  }
486
486
  export declare const TimeRangeType: {
487
487
  readonly Event: "Event";
@@ -492,154 +492,154 @@ export type TimeRangeType = (typeof TimeRangeType)[keyof typeof TimeRangeType];
492
492
  export interface GetTraceSummariesRequest {
493
493
  StartTime: Date | undefined;
494
494
  EndTime: Date | undefined;
495
- TimeRangeType?: TimeRangeType;
496
- Sampling?: boolean;
497
- SamplingStrategy?: SamplingStrategy;
498
- FilterExpression?: string;
499
- NextToken?: string;
495
+ TimeRangeType?: TimeRangeType | undefined;
496
+ Sampling?: boolean | undefined;
497
+ SamplingStrategy?: SamplingStrategy | undefined;
498
+ FilterExpression?: string | undefined;
499
+ NextToken?: string | undefined;
500
500
  }
501
501
  export interface RootCauseException {
502
- Name?: string;
503
- Message?: string;
502
+ Name?: string | undefined;
503
+ Message?: string | undefined;
504
504
  }
505
505
  export interface ErrorRootCauseEntity {
506
- Name?: string;
507
- Exceptions?: RootCauseException[];
508
- Remote?: boolean;
506
+ Name?: string | undefined;
507
+ Exceptions?: RootCauseException[] | undefined;
508
+ Remote?: boolean | undefined;
509
509
  }
510
510
  export interface ErrorRootCauseService {
511
- Name?: string;
512
- Names?: string[];
513
- Type?: string;
514
- AccountId?: string;
515
- EntityPath?: ErrorRootCauseEntity[];
516
- Inferred?: boolean;
511
+ Name?: string | undefined;
512
+ Names?: string[] | undefined;
513
+ Type?: string | undefined;
514
+ AccountId?: string | undefined;
515
+ EntityPath?: ErrorRootCauseEntity[] | undefined;
516
+ Inferred?: boolean | undefined;
517
517
  }
518
518
  export interface ErrorRootCause {
519
- Services?: ErrorRootCauseService[];
520
- ClientImpacting?: boolean;
519
+ Services?: ErrorRootCauseService[] | undefined;
520
+ ClientImpacting?: boolean | undefined;
521
521
  }
522
522
  export interface FaultRootCauseEntity {
523
- Name?: string;
524
- Exceptions?: RootCauseException[];
525
- Remote?: boolean;
523
+ Name?: string | undefined;
524
+ Exceptions?: RootCauseException[] | undefined;
525
+ Remote?: boolean | undefined;
526
526
  }
527
527
  export interface FaultRootCauseService {
528
- Name?: string;
529
- Names?: string[];
530
- Type?: string;
531
- AccountId?: string;
532
- EntityPath?: FaultRootCauseEntity[];
533
- Inferred?: boolean;
528
+ Name?: string | undefined;
529
+ Names?: string[] | undefined;
530
+ Type?: string | undefined;
531
+ AccountId?: string | undefined;
532
+ EntityPath?: FaultRootCauseEntity[] | undefined;
533
+ Inferred?: boolean | undefined;
534
534
  }
535
535
  export interface FaultRootCause {
536
- Services?: FaultRootCauseService[];
537
- ClientImpacting?: boolean;
536
+ Services?: FaultRootCauseService[] | undefined;
537
+ ClientImpacting?: boolean | undefined;
538
538
  }
539
539
  export interface Http {
540
- HttpURL?: string;
541
- HttpStatus?: number;
542
- HttpMethod?: string;
543
- UserAgent?: string;
544
- ClientIp?: string;
540
+ HttpURL?: string | undefined;
541
+ HttpStatus?: number | undefined;
542
+ HttpMethod?: string | undefined;
543
+ UserAgent?: string | undefined;
544
+ ClientIp?: string | undefined;
545
545
  }
546
546
  export interface InstanceIdDetail {
547
- Id?: string;
547
+ Id?: string | undefined;
548
548
  }
549
549
  export interface ResourceARNDetail {
550
- ARN?: string;
550
+ ARN?: string | undefined;
551
551
  }
552
552
  export interface ResponseTimeRootCauseEntity {
553
- Name?: string;
554
- Coverage?: number;
555
- Remote?: boolean;
553
+ Name?: string | undefined;
554
+ Coverage?: number | undefined;
555
+ Remote?: boolean | undefined;
556
556
  }
557
557
  export interface ResponseTimeRootCauseService {
558
- Name?: string;
559
- Names?: string[];
560
- Type?: string;
561
- AccountId?: string;
562
- EntityPath?: ResponseTimeRootCauseEntity[];
563
- Inferred?: boolean;
558
+ Name?: string | undefined;
559
+ Names?: string[] | undefined;
560
+ Type?: string | undefined;
561
+ AccountId?: string | undefined;
562
+ EntityPath?: ResponseTimeRootCauseEntity[] | undefined;
563
+ Inferred?: boolean | undefined;
564
564
  }
565
565
  export interface ResponseTimeRootCause {
566
- Services?: ResponseTimeRootCauseService[];
567
- ClientImpacting?: boolean;
566
+ Services?: ResponseTimeRootCauseService[] | undefined;
567
+ ClientImpacting?: boolean | undefined;
568
568
  }
569
569
  export interface TraceUser {
570
- UserName?: string;
571
- ServiceIds?: ServiceId[];
570
+ UserName?: string | undefined;
571
+ ServiceIds?: ServiceId[] | undefined;
572
572
  }
573
573
  export interface TraceSummary {
574
- Id?: string;
575
- StartTime?: Date;
576
- Duration?: number;
577
- ResponseTime?: number;
578
- HasFault?: boolean;
579
- HasError?: boolean;
580
- HasThrottle?: boolean;
581
- IsPartial?: boolean;
582
- Http?: Http;
583
- Annotations?: Record<string, ValueWithServiceIds[]>;
584
- Users?: TraceUser[];
585
- ServiceIds?: ServiceId[];
586
- ResourceARNs?: ResourceARNDetail[];
587
- InstanceIds?: InstanceIdDetail[];
588
- AvailabilityZones?: AvailabilityZoneDetail[];
589
- EntryPoint?: ServiceId;
590
- FaultRootCauses?: FaultRootCause[];
591
- ErrorRootCauses?: ErrorRootCause[];
592
- ResponseTimeRootCauses?: ResponseTimeRootCause[];
593
- Revision?: number;
594
- MatchedEventTime?: Date;
574
+ Id?: string | undefined;
575
+ StartTime?: Date | undefined;
576
+ Duration?: number | undefined;
577
+ ResponseTime?: number | undefined;
578
+ HasFault?: boolean | undefined;
579
+ HasError?: boolean | undefined;
580
+ HasThrottle?: boolean | undefined;
581
+ IsPartial?: boolean | undefined;
582
+ Http?: Http | undefined;
583
+ Annotations?: Record<string, ValueWithServiceIds[]> | undefined;
584
+ Users?: TraceUser[] | undefined;
585
+ ServiceIds?: ServiceId[] | undefined;
586
+ ResourceARNs?: ResourceARNDetail[] | undefined;
587
+ InstanceIds?: InstanceIdDetail[] | undefined;
588
+ AvailabilityZones?: AvailabilityZoneDetail[] | undefined;
589
+ EntryPoint?: ServiceId | undefined;
590
+ FaultRootCauses?: FaultRootCause[] | undefined;
591
+ ErrorRootCauses?: ErrorRootCause[] | undefined;
592
+ ResponseTimeRootCauses?: ResponseTimeRootCause[] | undefined;
593
+ Revision?: number | undefined;
594
+ MatchedEventTime?: Date | undefined;
595
595
  }
596
596
  export interface GetTraceSummariesResult {
597
- TraceSummaries?: TraceSummary[];
598
- ApproximateTime?: Date;
599
- TracesProcessedCount?: number;
600
- NextToken?: string;
597
+ TraceSummaries?: TraceSummary[] | undefined;
598
+ ApproximateTime?: Date | undefined;
599
+ TracesProcessedCount?: number | undefined;
600
+ NextToken?: string | undefined;
601
601
  }
602
602
  export interface ListResourcePoliciesRequest {
603
- NextToken?: string;
603
+ NextToken?: string | undefined;
604
604
  }
605
605
  export interface ResourcePolicy {
606
- PolicyName?: string;
607
- PolicyDocument?: string;
608
- PolicyRevisionId?: string;
609
- LastUpdatedTime?: Date;
606
+ PolicyName?: string | undefined;
607
+ PolicyDocument?: string | undefined;
608
+ PolicyRevisionId?: string | undefined;
609
+ LastUpdatedTime?: Date | undefined;
610
610
  }
611
611
  export interface ListResourcePoliciesResult {
612
- ResourcePolicies?: ResourcePolicy[];
613
- NextToken?: string;
612
+ ResourcePolicies?: ResourcePolicy[] | undefined;
613
+ NextToken?: string | undefined;
614
614
  }
615
615
  export interface ListTagsForResourceRequest {
616
616
  ResourceARN: string | undefined;
617
- NextToken?: string;
617
+ NextToken?: string | undefined;
618
618
  }
619
619
  export interface ListTagsForResourceResponse {
620
- Tags?: Tag[];
621
- NextToken?: string;
620
+ Tags?: Tag[] | undefined;
621
+ NextToken?: string | undefined;
622
622
  }
623
623
  export declare class ResourceNotFoundException extends __BaseException {
624
624
  readonly name: "ResourceNotFoundException";
625
625
  readonly $fault: "client";
626
- Message?: string;
627
- ResourceName?: string;
626
+ Message?: string | undefined;
627
+ ResourceName?: string | undefined;
628
628
  constructor(
629
629
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
630
630
  );
631
631
  }
632
632
  export interface PutEncryptionConfigRequest {
633
- KeyId?: string;
633
+ KeyId?: string | undefined;
634
634
  Type: EncryptionType | undefined;
635
635
  }
636
636
  export interface PutEncryptionConfigResult {
637
- EncryptionConfig?: EncryptionConfig;
637
+ EncryptionConfig?: EncryptionConfig | undefined;
638
638
  }
639
639
  export declare class LockoutPreventionException extends __BaseException {
640
640
  readonly name: "LockoutPreventionException";
641
641
  readonly $fault: "client";
642
- Message?: string;
642
+ Message?: string | undefined;
643
643
  constructor(
644
644
  opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>
645
645
  );
@@ -647,7 +647,7 @@ export declare class LockoutPreventionException extends __BaseException {
647
647
  export declare class MalformedPolicyDocumentException extends __BaseException {
648
648
  readonly name: "MalformedPolicyDocumentException";
649
649
  readonly $fault: "client";
650
- Message?: string;
650
+ Message?: string | undefined;
651
651
  constructor(
652
652
  opts: __ExceptionOptionType<
653
653
  MalformedPolicyDocumentException,
@@ -658,7 +658,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
658
658
  export declare class PolicyCountLimitExceededException extends __BaseException {
659
659
  readonly name: "PolicyCountLimitExceededException";
660
660
  readonly $fault: "client";
661
- Message?: string;
661
+ Message?: string | undefined;
662
662
  constructor(
663
663
  opts: __ExceptionOptionType<
664
664
  PolicyCountLimitExceededException,
@@ -669,7 +669,7 @@ export declare class PolicyCountLimitExceededException extends __BaseException {
669
669
  export declare class PolicySizeLimitExceededException extends __BaseException {
670
670
  readonly name: "PolicySizeLimitExceededException";
671
671
  readonly $fault: "client";
672
- Message?: string;
672
+ Message?: string | undefined;
673
673
  constructor(
674
674
  opts: __ExceptionOptionType<
675
675
  PolicySizeLimitExceededException,
@@ -680,45 +680,45 @@ export declare class PolicySizeLimitExceededException extends __BaseException {
680
680
  export interface PutResourcePolicyRequest {
681
681
  PolicyName: string | undefined;
682
682
  PolicyDocument: string | undefined;
683
- PolicyRevisionId?: string;
684
- BypassPolicyLockoutCheck?: boolean;
683
+ PolicyRevisionId?: string | undefined;
684
+ BypassPolicyLockoutCheck?: boolean | undefined;
685
685
  }
686
686
  export interface PutResourcePolicyResult {
687
- ResourcePolicy?: ResourcePolicy;
687
+ ResourcePolicy?: ResourcePolicy | undefined;
688
688
  }
689
689
  export interface BackendConnectionErrors {
690
- TimeoutCount?: number;
691
- ConnectionRefusedCount?: number;
692
- HTTPCode4XXCount?: number;
693
- HTTPCode5XXCount?: number;
694
- UnknownHostCount?: number;
695
- OtherCount?: number;
690
+ TimeoutCount?: number | undefined;
691
+ ConnectionRefusedCount?: number | undefined;
692
+ HTTPCode4XXCount?: number | undefined;
693
+ HTTPCode5XXCount?: number | undefined;
694
+ UnknownHostCount?: number | undefined;
695
+ OtherCount?: number | undefined;
696
696
  }
697
697
  export interface TelemetryRecord {
698
698
  Timestamp: Date | undefined;
699
- SegmentsReceivedCount?: number;
700
- SegmentsSentCount?: number;
701
- SegmentsSpilloverCount?: number;
702
- SegmentsRejectedCount?: number;
703
- BackendConnectionErrors?: BackendConnectionErrors;
699
+ SegmentsReceivedCount?: number | undefined;
700
+ SegmentsSentCount?: number | undefined;
701
+ SegmentsSpilloverCount?: number | undefined;
702
+ SegmentsRejectedCount?: number | undefined;
703
+ BackendConnectionErrors?: BackendConnectionErrors | undefined;
704
704
  }
705
705
  export interface PutTelemetryRecordsRequest {
706
706
  TelemetryRecords: TelemetryRecord[] | undefined;
707
- EC2InstanceId?: string;
708
- Hostname?: string;
709
- ResourceARN?: string;
707
+ EC2InstanceId?: string | undefined;
708
+ Hostname?: string | undefined;
709
+ ResourceARN?: string | undefined;
710
710
  }
711
711
  export interface PutTelemetryRecordsResult {}
712
712
  export interface PutTraceSegmentsRequest {
713
713
  TraceSegmentDocuments: string[] | undefined;
714
714
  }
715
715
  export interface UnprocessedTraceSegment {
716
- Id?: string;
717
- ErrorCode?: string;
718
- Message?: string;
716
+ Id?: string | undefined;
717
+ ErrorCode?: string | undefined;
718
+ Message?: string | undefined;
719
719
  }
720
720
  export interface PutTraceSegmentsResult {
721
- UnprocessedTraceSegments?: UnprocessedTraceSegment[];
721
+ UnprocessedTraceSegments?: UnprocessedTraceSegment[] | undefined;
722
722
  }
723
723
  export interface TagResourceRequest {
724
724
  ResourceARN: string | undefined;
@@ -728,8 +728,8 @@ export interface TagResourceResponse {}
728
728
  export declare class TooManyTagsException extends __BaseException {
729
729
  readonly name: "TooManyTagsException";
730
730
  readonly $fault: "client";
731
- Message?: string;
732
- ResourceName?: string;
731
+ Message?: string | undefined;
732
+ ResourceName?: string | undefined;
733
733
  constructor(
734
734
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
735
735
  );
@@ -740,31 +740,31 @@ export interface UntagResourceRequest {
740
740
  }
741
741
  export interface UntagResourceResponse {}
742
742
  export interface UpdateGroupRequest {
743
- GroupName?: string;
744
- GroupARN?: string;
745
- FilterExpression?: string;
746
- InsightsConfiguration?: InsightsConfiguration;
743
+ GroupName?: string | undefined;
744
+ GroupARN?: string | undefined;
745
+ FilterExpression?: string | undefined;
746
+ InsightsConfiguration?: InsightsConfiguration | undefined;
747
747
  }
748
748
  export interface UpdateGroupResult {
749
- Group?: Group;
749
+ Group?: Group | undefined;
750
750
  }
751
751
  export interface SamplingRuleUpdate {
752
- RuleName?: string;
753
- RuleARN?: string;
754
- ResourceARN?: string;
755
- Priority?: number;
756
- FixedRate?: number;
757
- ReservoirSize?: number;
758
- Host?: string;
759
- ServiceName?: string;
760
- ServiceType?: string;
761
- HTTPMethod?: string;
762
- URLPath?: string;
763
- Attributes?: Record<string, string>;
752
+ RuleName?: string | undefined;
753
+ RuleARN?: string | undefined;
754
+ ResourceARN?: string | undefined;
755
+ Priority?: number | undefined;
756
+ FixedRate?: number | undefined;
757
+ ReservoirSize?: number | undefined;
758
+ Host?: string | undefined;
759
+ ServiceName?: string | undefined;
760
+ ServiceType?: string | undefined;
761
+ HTTPMethod?: string | undefined;
762
+ URLPath?: string | undefined;
763
+ Attributes?: Record<string, string> | undefined;
764
764
  }
765
765
  export interface UpdateSamplingRuleRequest {
766
766
  SamplingRuleUpdate: SamplingRuleUpdate | undefined;
767
767
  }
768
768
  export interface UpdateSamplingRuleResult {
769
- SamplingRuleRecord?: SamplingRuleRecord;
769
+ SamplingRuleRecord?: SamplingRuleRecord | undefined;
770
770
  }