@aws-sdk/client-xray 3.687.0 → 3.692.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.
@@ -9,17 +9,17 @@ export interface Alias {
9
9
  * <p>The canonical name of the alias.</p>
10
10
  * @public
11
11
  */
12
- Name?: string;
12
+ Name?: string | undefined;
13
13
  /**
14
14
  * <p>A list of names for the alias, including the canonical name.</p>
15
15
  * @public
16
16
  */
17
- Names?: string[];
17
+ Names?: string[] | undefined;
18
18
  /**
19
19
  * <p>The type of the alias.</p>
20
20
  * @public
21
21
  */
22
- Type?: string;
22
+ Type?: string | undefined;
23
23
  }
24
24
  /**
25
25
  * <p>Value of a segment annotation. Has one of three value types: Number, Boolean, or String.</p>
@@ -86,22 +86,22 @@ export interface ServiceId {
86
86
  * <p></p>
87
87
  * @public
88
88
  */
89
- Name?: string;
89
+ Name?: string | undefined;
90
90
  /**
91
91
  * <p></p>
92
92
  * @public
93
93
  */
94
- Names?: string[];
94
+ Names?: string[] | undefined;
95
95
  /**
96
96
  * <p></p>
97
97
  * @public
98
98
  */
99
- AccountId?: string;
99
+ AccountId?: string | undefined;
100
100
  /**
101
101
  * <p></p>
102
102
  * @public
103
103
  */
104
- Type?: string;
104
+ Type?: string | undefined;
105
105
  }
106
106
  /**
107
107
  * <p>Information about a segment annotation.</p>
@@ -112,12 +112,12 @@ export interface ValueWithServiceIds {
112
112
  * <p>Values of the annotation.</p>
113
113
  * @public
114
114
  */
115
- AnnotationValue?: AnnotationValue;
115
+ AnnotationValue?: AnnotationValue | undefined;
116
116
  /**
117
117
  * <p>Services to which the annotation applies.</p>
118
118
  * @public
119
119
  */
120
- ServiceIds?: ServiceId[];
120
+ ServiceIds?: ServiceId[] | undefined;
121
121
  }
122
122
  /**
123
123
  * <p>The service within the service graph that has anomalously high fault rates. </p>
@@ -128,7 +128,7 @@ export interface AnomalousService {
128
128
  * <p></p>
129
129
  * @public
130
130
  */
131
- ServiceId?: ServiceId;
131
+ ServiceId?: ServiceId | undefined;
132
132
  }
133
133
  /**
134
134
  * <p>A list of Availability Zones corresponding to the segments in a trace.</p>
@@ -139,7 +139,7 @@ export interface AvailabilityZoneDetail {
139
139
  * <p>The name of a corresponding Availability Zone.</p>
140
140
  * @public
141
141
  */
142
- Name?: string;
142
+ Name?: string | undefined;
143
143
  }
144
144
  /**
145
145
  * @public
@@ -154,7 +154,7 @@ export interface BatchGetTracesRequest {
154
154
  * <p>Pagination token.</p>
155
155
  * @public
156
156
  */
157
- NextToken?: string;
157
+ NextToken?: string | undefined;
158
158
  }
159
159
  /**
160
160
  * <p>A segment from a trace that has been ingested by the X-Ray service. The segment can be
@@ -170,12 +170,12 @@ export interface Segment {
170
170
  * <p>The segment's ID.</p>
171
171
  * @public
172
172
  */
173
- Id?: string;
173
+ Id?: string | undefined;
174
174
  /**
175
175
  * <p>The segment document.</p>
176
176
  * @public
177
177
  */
178
- Document?: string;
178
+ Document?: string | undefined;
179
179
  }
180
180
  /**
181
181
  * <p>A collection of segment documents with matching trace IDs.</p>
@@ -187,24 +187,24 @@ export interface Trace {
187
187
  * subsegments.</p>
188
188
  * @public
189
189
  */
190
- Id?: string;
190
+ Id?: string | undefined;
191
191
  /**
192
192
  * <p>The length of time in seconds between the start time of the root segment and the end
193
193
  * time of the last segment that completed.</p>
194
194
  * @public
195
195
  */
196
- Duration?: number;
196
+ Duration?: number | undefined;
197
197
  /**
198
198
  * <p>LimitExceeded is set to true when the trace has exceeded the <code>Trace document size</code> limit. For
199
199
  * more information about this limit and other X-Ray limits and quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/xray.html">Amazon Web Services X-Ray endpoints and quotas</a>.</p>
200
200
  * @public
201
201
  */
202
- LimitExceeded?: boolean;
202
+ LimitExceeded?: boolean | undefined;
203
203
  /**
204
204
  * <p>Segment documents for the segments and subsegments that comprise the trace.</p>
205
205
  * @public
206
206
  */
207
- Segments?: Segment[];
207
+ Segments?: Segment[] | undefined;
208
208
  }
209
209
  /**
210
210
  * @public
@@ -214,17 +214,17 @@ export interface BatchGetTracesResult {
214
214
  * <p>Full traces for the specified requests.</p>
215
215
  * @public
216
216
  */
217
- Traces?: Trace[];
217
+ Traces?: Trace[] | undefined;
218
218
  /**
219
219
  * <p>Trace IDs of requests that haven't been processed.</p>
220
220
  * @public
221
221
  */
222
- UnprocessedTraceIds?: string[];
222
+ UnprocessedTraceIds?: string[] | undefined;
223
223
  /**
224
224
  * <p>Pagination token.</p>
225
225
  * @public
226
226
  */
227
- NextToken?: string;
227
+ NextToken?: string | undefined;
228
228
  }
229
229
  /**
230
230
  * <p>The request is missing required parameters or has invalid parameters.</p>
@@ -233,7 +233,7 @@ export interface BatchGetTracesResult {
233
233
  export declare class InvalidRequestException extends __BaseException {
234
234
  readonly name: "InvalidRequestException";
235
235
  readonly $fault: "client";
236
- Message?: string;
236
+ Message?: string | undefined;
237
237
  /**
238
238
  * @internal
239
239
  */
@@ -246,7 +246,7 @@ export declare class InvalidRequestException extends __BaseException {
246
246
  export declare class ThrottledException extends __BaseException {
247
247
  readonly name: "ThrottledException";
248
248
  readonly $fault: "client";
249
- Message?: string;
249
+ Message?: string | undefined;
250
250
  /**
251
251
  * @internal
252
252
  */
@@ -262,13 +262,13 @@ export interface InsightsConfiguration {
262
262
  * insights.</p>
263
263
  * @public
264
264
  */
265
- InsightsEnabled?: boolean;
265
+ InsightsEnabled?: boolean | undefined;
266
266
  /**
267
267
  * <p>Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be
268
268
  * enabled on a group with InsightsEnabled set to true.</p>
269
269
  * @public
270
270
  */
271
- NotificationsEnabled?: boolean;
271
+ NotificationsEnabled?: boolean | undefined;
272
272
  }
273
273
  /**
274
274
  * <p>A map that contains tag keys and tag values to attach to an Amazon Web Services X-Ray group or sampling
@@ -321,7 +321,7 @@ export interface CreateGroupRequest {
321
321
  * <p>The filter expression defining criteria by which to group traces.</p>
322
322
  * @public
323
323
  */
324
- FilterExpression?: string;
324
+ FilterExpression?: string | undefined;
325
325
  /**
326
326
  * <p>The structure containing configurations related to insights.</p>
327
327
  * <ul>
@@ -337,7 +337,7 @@ export interface CreateGroupRequest {
337
337
  * </ul>
338
338
  * @public
339
339
  */
340
- InsightsConfiguration?: InsightsConfiguration;
340
+ InsightsConfiguration?: InsightsConfiguration | undefined;
341
341
  /**
342
342
  * <p>A map that contains one or more tag keys and tag values to attach to an X-Ray group.
343
343
  * For more information about ways to use tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
@@ -367,7 +367,7 @@ export interface CreateGroupRequest {
367
367
  * </ul>
368
368
  * @public
369
369
  */
370
- Tags?: Tag[];
370
+ Tags?: Tag[] | undefined;
371
371
  }
372
372
  /**
373
373
  * <p>Details and metadata for a group.</p>
@@ -378,17 +378,17 @@ export interface Group {
378
378
  * <p>The unique case-sensitive name of the group.</p>
379
379
  * @public
380
380
  */
381
- GroupName?: string;
381
+ GroupName?: string | undefined;
382
382
  /**
383
383
  * <p>The Amazon Resource Name (ARN) of the group generated based on the GroupName.</p>
384
384
  * @public
385
385
  */
386
- GroupARN?: string;
386
+ GroupARN?: string | undefined;
387
387
  /**
388
388
  * <p>The filter expression defining the parameters to include traces.</p>
389
389
  * @public
390
390
  */
391
- FilterExpression?: string;
391
+ FilterExpression?: string | undefined;
392
392
  /**
393
393
  * <p>The structure containing configurations related to insights.</p>
394
394
  * <ul>
@@ -403,7 +403,7 @@ export interface Group {
403
403
  * </ul>
404
404
  * @public
405
405
  */
406
- InsightsConfiguration?: InsightsConfiguration;
406
+ InsightsConfiguration?: InsightsConfiguration | undefined;
407
407
  }
408
408
  /**
409
409
  * @public
@@ -415,7 +415,7 @@ export interface CreateGroupResult {
415
415
  * configuration that was assigned to the group.</p>
416
416
  * @public
417
417
  */
418
- Group?: Group;
418
+ Group?: Group | undefined;
419
419
  }
420
420
  /**
421
421
  * <p>A sampling rule that services use to decide whether to instrument a request. Rule
@@ -428,12 +428,12 @@ export interface SamplingRule {
428
428
  * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
429
429
  * @public
430
430
  */
431
- RuleName?: string;
431
+ RuleName?: string | undefined;
432
432
  /**
433
433
  * <p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
434
434
  * @public
435
435
  */
436
- RuleARN?: string;
436
+ RuleARN?: string | undefined;
437
437
  /**
438
438
  * <p>Matches the ARN of the Amazon Web Services resource on which the service runs.</p>
439
439
  * @public
@@ -490,7 +490,7 @@ export interface SamplingRule {
490
490
  * <p>Matches attributes derived from the request.</p>
491
491
  * @public
492
492
  */
493
- Attributes?: Record<string, string>;
493
+ Attributes?: Record<string, string> | undefined;
494
494
  }
495
495
  /**
496
496
  * @public
@@ -530,7 +530,7 @@ export interface CreateSamplingRuleRequest {
530
530
  * </ul>
531
531
  * @public
532
532
  */
533
- Tags?: Tag[];
533
+ Tags?: Tag[] | undefined;
534
534
  }
535
535
  /**
536
536
  * <p>A <a href="https://docs.aws.amazon.com/xray/latest/api/API_SamplingRule.html">SamplingRule</a> and its metadata.</p>
@@ -541,17 +541,17 @@ export interface SamplingRuleRecord {
541
541
  * <p>The sampling rule.</p>
542
542
  * @public
543
543
  */
544
- SamplingRule?: SamplingRule;
544
+ SamplingRule?: SamplingRule | undefined;
545
545
  /**
546
546
  * <p>When the rule was created.</p>
547
547
  * @public
548
548
  */
549
- CreatedAt?: Date;
549
+ CreatedAt?: Date | undefined;
550
550
  /**
551
551
  * <p>When the rule was last modified.</p>
552
552
  * @public
553
553
  */
554
- ModifiedAt?: Date;
554
+ ModifiedAt?: Date | undefined;
555
555
  }
556
556
  /**
557
557
  * @public
@@ -561,7 +561,7 @@ export interface CreateSamplingRuleResult {
561
561
  * <p>The saved rule definition and metadata.</p>
562
562
  * @public
563
563
  */
564
- SamplingRuleRecord?: SamplingRuleRecord;
564
+ SamplingRuleRecord?: SamplingRuleRecord | undefined;
565
565
  }
566
566
  /**
567
567
  * <p>You have reached the maximum number of sampling rules.</p>
@@ -570,7 +570,7 @@ export interface CreateSamplingRuleResult {
570
570
  export declare class RuleLimitExceededException extends __BaseException {
571
571
  readonly name: "RuleLimitExceededException";
572
572
  readonly $fault: "client";
573
- Message?: string;
573
+ Message?: string | undefined;
574
574
  /**
575
575
  * @internal
576
576
  */
@@ -584,12 +584,12 @@ export interface DeleteGroupRequest {
584
584
  * <p>The case-sensitive name of the group.</p>
585
585
  * @public
586
586
  */
587
- GroupName?: string;
587
+ GroupName?: string | undefined;
588
588
  /**
589
589
  * <p>The ARN of the group that was generated on creation.</p>
590
590
  * @public
591
591
  */
592
- GroupARN?: string;
592
+ GroupARN?: string | undefined;
593
593
  }
594
594
  /**
595
595
  * @public
@@ -611,7 +611,7 @@ export interface DeleteResourcePolicyRequest {
611
611
  * </p>
612
612
  * @public
613
613
  */
614
- PolicyRevisionId?: string;
614
+ PolicyRevisionId?: string | undefined;
615
615
  }
616
616
  /**
617
617
  * @public
@@ -626,7 +626,7 @@ export interface DeleteResourcePolicyResult {
626
626
  export declare class InvalidPolicyRevisionIdException extends __BaseException {
627
627
  readonly name: "InvalidPolicyRevisionIdException";
628
628
  readonly $fault: "client";
629
- Message?: string;
629
+ Message?: string | undefined;
630
630
  /**
631
631
  * @internal
632
632
  */
@@ -640,12 +640,12 @@ export interface DeleteSamplingRuleRequest {
640
640
  * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
641
641
  * @public
642
642
  */
643
- RuleName?: string;
643
+ RuleName?: string | undefined;
644
644
  /**
645
645
  * <p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
646
646
  * @public
647
647
  */
648
- RuleARN?: string;
648
+ RuleARN?: string | undefined;
649
649
  }
650
650
  /**
651
651
  * @public
@@ -655,7 +655,7 @@ export interface DeleteSamplingRuleResult {
655
655
  * <p>The deleted rule definition and metadata.</p>
656
656
  * @public
657
657
  */
658
- SamplingRuleRecord?: SamplingRuleRecord;
658
+ SamplingRuleRecord?: SamplingRuleRecord | undefined;
659
659
  }
660
660
  /**
661
661
  * @public
@@ -695,18 +695,18 @@ export interface EncryptionConfig {
695
695
  * <p>The ID of the KMS key used for encryption, if applicable.</p>
696
696
  * @public
697
697
  */
698
- KeyId?: string;
698
+ KeyId?: string | undefined;
699
699
  /**
700
700
  * <p>The encryption status. While the status is <code>UPDATING</code>, X-Ray may encrypt data with a combination of the new and old settings.</p>
701
701
  * @public
702
702
  */
703
- Status?: EncryptionStatus;
703
+ Status?: EncryptionStatus | undefined;
704
704
  /**
705
705
  * <p>The type of encryption. Set to <code>KMS</code> for encryption with KMS keys. Set to <code>NONE</code> for
706
706
  * default encryption.</p>
707
707
  * @public
708
708
  */
709
- Type?: EncryptionType;
709
+ Type?: EncryptionType | undefined;
710
710
  }
711
711
  /**
712
712
  * @public
@@ -716,7 +716,7 @@ export interface GetEncryptionConfigResult {
716
716
  * <p>The encryption configuration document.</p>
717
717
  * @public
718
718
  */
719
- EncryptionConfig?: EncryptionConfig;
719
+ EncryptionConfig?: EncryptionConfig | undefined;
720
720
  }
721
721
  /**
722
722
  * @public
@@ -726,12 +726,12 @@ export interface GetGroupRequest {
726
726
  * <p>The case-sensitive name of the group.</p>
727
727
  * @public
728
728
  */
729
- GroupName?: string;
729
+ GroupName?: string | undefined;
730
730
  /**
731
731
  * <p>The ARN of the group that was generated on creation.</p>
732
732
  * @public
733
733
  */
734
- GroupARN?: string;
734
+ GroupARN?: string | undefined;
735
735
  }
736
736
  /**
737
737
  * @public
@@ -742,7 +742,7 @@ export interface GetGroupResult {
742
742
  * the filter expression, and the insight configuration assigned to the group.</p>
743
743
  * @public
744
744
  */
745
- Group?: Group;
745
+ Group?: Group | undefined;
746
746
  }
747
747
  /**
748
748
  * @public
@@ -752,7 +752,7 @@ export interface GetGroupsRequest {
752
752
  * <p>Pagination token.</p>
753
753
  * @public
754
754
  */
755
- NextToken?: string;
755
+ NextToken?: string | undefined;
756
756
  }
757
757
  /**
758
758
  * <p>Details for a group without metadata.</p>
@@ -763,17 +763,17 @@ export interface GroupSummary {
763
763
  * <p>The unique case-sensitive name of the group.</p>
764
764
  * @public
765
765
  */
766
- GroupName?: string;
766
+ GroupName?: string | undefined;
767
767
  /**
768
768
  * <p>The ARN of the group generated based on the GroupName.</p>
769
769
  * @public
770
770
  */
771
- GroupARN?: string;
771
+ GroupARN?: string | undefined;
772
772
  /**
773
773
  * <p>The filter expression defining the parameters to include traces.</p>
774
774
  * @public
775
775
  */
776
- FilterExpression?: string;
776
+ FilterExpression?: string | undefined;
777
777
  /**
778
778
  * <p>The structure containing configurations related to insights.</p>
779
779
  * <ul>
@@ -788,7 +788,7 @@ export interface GroupSummary {
788
788
  * </ul>
789
789
  * @public
790
790
  */
791
- InsightsConfiguration?: InsightsConfiguration;
791
+ InsightsConfiguration?: InsightsConfiguration | undefined;
792
792
  }
793
793
  /**
794
794
  * @public
@@ -798,12 +798,12 @@ export interface GetGroupsResult {
798
798
  * <p>The collection of all active groups.</p>
799
799
  * @public
800
800
  */
801
- Groups?: GroupSummary[];
801
+ Groups?: GroupSummary[] | undefined;
802
802
  /**
803
803
  * <p>Pagination token.</p>
804
804
  * @public
805
805
  */
806
- NextToken?: string;
806
+ NextToken?: string | undefined;
807
807
  }
808
808
  /**
809
809
  * @public
@@ -835,17 +835,17 @@ export interface RequestImpactStatistics {
835
835
  * <p>The number of requests that have resulted in a fault,</p>
836
836
  * @public
837
837
  */
838
- FaultCount?: number;
838
+ FaultCount?: number | undefined;
839
839
  /**
840
840
  * <p>The number of successful requests.</p>
841
841
  * @public
842
842
  */
843
- OkCount?: number;
843
+ OkCount?: number | undefined;
844
844
  /**
845
845
  * <p>The total number of requests to the service.</p>
846
846
  * @public
847
847
  */
848
- TotalCount?: number;
848
+ TotalCount?: number | undefined;
849
849
  }
850
850
  /**
851
851
  * @public
@@ -869,64 +869,64 @@ export interface Insight {
869
869
  * <p>The insights unique identifier. </p>
870
870
  * @public
871
871
  */
872
- InsightId?: string;
872
+ InsightId?: string | undefined;
873
873
  /**
874
874
  * <p>The Amazon Resource Name (ARN) of the group that the insight belongs to.</p>
875
875
  * @public
876
876
  */
877
- GroupARN?: string;
877
+ GroupARN?: string | undefined;
878
878
  /**
879
879
  * <p>The name of the group that the insight belongs to.</p>
880
880
  * @public
881
881
  */
882
- GroupName?: string;
882
+ GroupName?: string | undefined;
883
883
  /**
884
884
  * <p></p>
885
885
  * @public
886
886
  */
887
- RootCauseServiceId?: ServiceId;
887
+ RootCauseServiceId?: ServiceId | undefined;
888
888
  /**
889
889
  * <p>The categories that label and describe the type of insight.</p>
890
890
  * @public
891
891
  */
892
- Categories?: InsightCategory[];
892
+ Categories?: InsightCategory[] | undefined;
893
893
  /**
894
894
  * <p>The current state of the insight.</p>
895
895
  * @public
896
896
  */
897
- State?: InsightState;
897
+ State?: InsightState | undefined;
898
898
  /**
899
899
  * <p>The time, in Unix seconds, at which the insight began.</p>
900
900
  * @public
901
901
  */
902
- StartTime?: Date;
902
+ StartTime?: Date | undefined;
903
903
  /**
904
904
  * <p>The time, in Unix seconds, at which the insight ended.</p>
905
905
  * @public
906
906
  */
907
- EndTime?: Date;
907
+ EndTime?: Date | undefined;
908
908
  /**
909
909
  * <p>A brief description of the insight.</p>
910
910
  * @public
911
911
  */
912
- Summary?: string;
912
+ Summary?: string | undefined;
913
913
  /**
914
914
  * <p>The impact statistics of the client side service. This includes the number of requests to the client service
915
915
  * and whether the requests were faults or okay.</p>
916
916
  * @public
917
917
  */
918
- ClientRequestImpactStatistics?: RequestImpactStatistics;
918
+ ClientRequestImpactStatistics?: RequestImpactStatistics | undefined;
919
919
  /**
920
920
  * <p>The impact statistics of the root cause service. This includes the number of requests to the client service
921
921
  * and whether the requests were faults or okay.</p>
922
922
  * @public
923
923
  */
924
- RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
924
+ RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics | undefined;
925
925
  /**
926
926
  * <p>The service within the insight that is most impacted by the incident.</p>
927
927
  * @public
928
928
  */
929
- TopAnomalousServices?: AnomalousService[];
929
+ TopAnomalousServices?: AnomalousService[] | undefined;
930
930
  }
931
931
  /**
932
932
  * @public
@@ -936,7 +936,7 @@ export interface GetInsightResult {
936
936
  * <p>The summary information of an insight.</p>
937
937
  * @public
938
938
  */
939
- Insight?: Insight;
939
+ Insight?: Insight | undefined;
940
940
  }
941
941
  /**
942
942
  * @public
@@ -951,12 +951,12 @@ export interface GetInsightEventsRequest {
951
951
  * <p>Used to retrieve at most the specified value of events.</p>
952
952
  * @public
953
953
  */
954
- MaxResults?: number;
954
+ MaxResults?: number | undefined;
955
955
  /**
956
956
  * <p>Specify the pagination token returned by a previous request to retrieve the next page of events. </p>
957
957
  * @public
958
958
  */
959
- NextToken?: string;
959
+ NextToken?: string | undefined;
960
960
  }
961
961
  /**
962
962
  * <p>X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an
@@ -968,29 +968,29 @@ export interface InsightEvent {
968
968
  * <p>A brief description of the event.</p>
969
969
  * @public
970
970
  */
971
- Summary?: string;
971
+ Summary?: string | undefined;
972
972
  /**
973
973
  * <p>The time, in Unix seconds, at which the event was recorded.</p>
974
974
  * @public
975
975
  */
976
- EventTime?: Date;
976
+ EventTime?: Date | undefined;
977
977
  /**
978
978
  * <p>The impact statistics of the client side service. This includes the number of requests to the client service
979
979
  * and whether the requests were faults or okay.</p>
980
980
  * @public
981
981
  */
982
- ClientRequestImpactStatistics?: RequestImpactStatistics;
982
+ ClientRequestImpactStatistics?: RequestImpactStatistics | undefined;
983
983
  /**
984
984
  * <p>The impact statistics of the root cause service. This includes the number of requests to the client service
985
985
  * and whether the requests were faults or okay.</p>
986
986
  * @public
987
987
  */
988
- RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
988
+ RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics | undefined;
989
989
  /**
990
990
  * <p>The service during the event that is most impacted by the incident.</p>
991
991
  * @public
992
992
  */
993
- TopAnomalousServices?: AnomalousService[];
993
+ TopAnomalousServices?: AnomalousService[] | undefined;
994
994
  }
995
995
  /**
996
996
  * @public
@@ -1002,12 +1002,12 @@ export interface GetInsightEventsResult {
1002
1002
  * event.</p>
1003
1003
  * @public
1004
1004
  */
1005
- InsightEvents?: InsightEvent[];
1005
+ InsightEvents?: InsightEvent[] | undefined;
1006
1006
  /**
1007
1007
  * <p>Use this token to retrieve the next page of insight events.</p>
1008
1008
  * @public
1009
1009
  */
1010
- NextToken?: string;
1010
+ NextToken?: string | undefined;
1011
1011
  }
1012
1012
  /**
1013
1013
  * @public
@@ -1034,7 +1034,7 @@ export interface GetInsightImpactGraphRequest {
1034
1034
  * <p>Specify the pagination token returned by a previous request to retrieve the next page of results. </p>
1035
1035
  * @public
1036
1036
  */
1037
- NextToken?: string;
1037
+ NextToken?: string | undefined;
1038
1038
  }
1039
1039
  /**
1040
1040
  * <p>The connection between two service in an insight impact graph.</p>
@@ -1045,7 +1045,7 @@ export interface InsightImpactGraphEdge {
1045
1045
  * <p>Identifier of the edge. Unique within a service map.</p>
1046
1046
  * @public
1047
1047
  */
1048
- ReferenceId?: number;
1048
+ ReferenceId?: number | undefined;
1049
1049
  }
1050
1050
  /**
1051
1051
  * <p>Information about an application that processed requests, users that made requests, or downstream services,
@@ -1057,7 +1057,7 @@ export interface InsightImpactGraphService {
1057
1057
  * <p>Identifier for the service. Unique within the service map.</p>
1058
1058
  * @public
1059
1059
  */
1060
- ReferenceId?: number;
1060
+ ReferenceId?: number | undefined;
1061
1061
  /**
1062
1062
  * <p>Identifier for the service. Unique within the service map.</p>
1063
1063
  * <ul>
@@ -1079,27 +1079,27 @@ export interface InsightImpactGraphService {
1079
1079
  * </ul>
1080
1080
  * @public
1081
1081
  */
1082
- Type?: string;
1082
+ Type?: string | undefined;
1083
1083
  /**
1084
1084
  * <p>The canonical name of the service.</p>
1085
1085
  * @public
1086
1086
  */
1087
- Name?: string;
1087
+ Name?: string | undefined;
1088
1088
  /**
1089
1089
  * <p>A list of names for the service, including the canonical name.</p>
1090
1090
  * @public
1091
1091
  */
1092
- Names?: string[];
1092
+ Names?: string[] | undefined;
1093
1093
  /**
1094
1094
  * <p>Identifier of the Amazon Web Services account in which the service runs.</p>
1095
1095
  * @public
1096
1096
  */
1097
- AccountId?: string;
1097
+ AccountId?: string | undefined;
1098
1098
  /**
1099
1099
  * <p>Connections to downstream services.</p>
1100
1100
  * @public
1101
1101
  */
1102
- Edges?: InsightImpactGraphEdge[];
1102
+ Edges?: InsightImpactGraphEdge[] | undefined;
1103
1103
  }
1104
1104
  /**
1105
1105
  * @public
@@ -1109,37 +1109,37 @@ export interface GetInsightImpactGraphResult {
1109
1109
  * <p>The insight's unique identifier.</p>
1110
1110
  * @public
1111
1111
  */
1112
- InsightId?: string;
1112
+ InsightId?: string | undefined;
1113
1113
  /**
1114
1114
  * <p>The provided start time.</p>
1115
1115
  * @public
1116
1116
  */
1117
- StartTime?: Date;
1117
+ StartTime?: Date | undefined;
1118
1118
  /**
1119
1119
  * <p>The provided end time. </p>
1120
1120
  * @public
1121
1121
  */
1122
- EndTime?: Date;
1122
+ EndTime?: Date | undefined;
1123
1123
  /**
1124
1124
  * <p>The time, in Unix seconds, at which the service graph started.</p>
1125
1125
  * @public
1126
1126
  */
1127
- ServiceGraphStartTime?: Date;
1127
+ ServiceGraphStartTime?: Date | undefined;
1128
1128
  /**
1129
1129
  * <p>The time, in Unix seconds, at which the service graph ended.</p>
1130
1130
  * @public
1131
1131
  */
1132
- ServiceGraphEndTime?: Date;
1132
+ ServiceGraphEndTime?: Date | undefined;
1133
1133
  /**
1134
1134
  * <p>The Amazon Web Services instrumented services related to the insight.</p>
1135
1135
  * @public
1136
1136
  */
1137
- Services?: InsightImpactGraphService[];
1137
+ Services?: InsightImpactGraphService[] | undefined;
1138
1138
  /**
1139
1139
  * <p>Pagination token.</p>
1140
1140
  * @public
1141
1141
  */
1142
- NextToken?: string;
1142
+ NextToken?: string | undefined;
1143
1143
  }
1144
1144
  /**
1145
1145
  * @public
@@ -1149,17 +1149,17 @@ export interface GetInsightSummariesRequest {
1149
1149
  * <p>The list of insight states. </p>
1150
1150
  * @public
1151
1151
  */
1152
- States?: InsightState[];
1152
+ States?: InsightState[] | undefined;
1153
1153
  /**
1154
1154
  * <p>The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.</p>
1155
1155
  * @public
1156
1156
  */
1157
- GroupARN?: string;
1157
+ GroupARN?: string | undefined;
1158
1158
  /**
1159
1159
  * <p>The name of the group. Required if the GroupARN isn't provided.</p>
1160
1160
  * @public
1161
1161
  */
1162
- GroupName?: string;
1162
+ GroupName?: string | undefined;
1163
1163
  /**
1164
1164
  * <p>The beginning of the time frame in which the insights started. The start time can't be more than 30 days
1165
1165
  * old.</p>
@@ -1175,12 +1175,12 @@ export interface GetInsightSummariesRequest {
1175
1175
  * <p>The maximum number of results to display.</p>
1176
1176
  * @public
1177
1177
  */
1178
- MaxResults?: number;
1178
+ MaxResults?: number | undefined;
1179
1179
  /**
1180
1180
  * <p>Pagination token.</p>
1181
1181
  * @public
1182
1182
  */
1183
- NextToken?: string;
1183
+ NextToken?: string | undefined;
1184
1184
  }
1185
1185
  /**
1186
1186
  * <p>Information that describes an insight.</p>
@@ -1191,69 +1191,69 @@ export interface InsightSummary {
1191
1191
  * <p>The insights unique identifier. </p>
1192
1192
  * @public
1193
1193
  */
1194
- InsightId?: string;
1194
+ InsightId?: string | undefined;
1195
1195
  /**
1196
1196
  * <p>The Amazon Resource Name (ARN) of the group that the insight belongs to.</p>
1197
1197
  * @public
1198
1198
  */
1199
- GroupARN?: string;
1199
+ GroupARN?: string | undefined;
1200
1200
  /**
1201
1201
  * <p>The name of the group that the insight belongs to.</p>
1202
1202
  * @public
1203
1203
  */
1204
- GroupName?: string;
1204
+ GroupName?: string | undefined;
1205
1205
  /**
1206
1206
  * <p></p>
1207
1207
  * @public
1208
1208
  */
1209
- RootCauseServiceId?: ServiceId;
1209
+ RootCauseServiceId?: ServiceId | undefined;
1210
1210
  /**
1211
1211
  * <p> Categories The categories that label and describe the type of insight.</p>
1212
1212
  * @public
1213
1213
  */
1214
- Categories?: InsightCategory[];
1214
+ Categories?: InsightCategory[] | undefined;
1215
1215
  /**
1216
1216
  * <p>The current state of the insight.</p>
1217
1217
  * @public
1218
1218
  */
1219
- State?: InsightState;
1219
+ State?: InsightState | undefined;
1220
1220
  /**
1221
1221
  * <p>The time, in Unix seconds, at which the insight began.</p>
1222
1222
  * @public
1223
1223
  */
1224
- StartTime?: Date;
1224
+ StartTime?: Date | undefined;
1225
1225
  /**
1226
1226
  * <p>The time, in Unix seconds, at which the insight ended.</p>
1227
1227
  * @public
1228
1228
  */
1229
- EndTime?: Date;
1229
+ EndTime?: Date | undefined;
1230
1230
  /**
1231
1231
  * <p>A brief description of the insight.</p>
1232
1232
  * @public
1233
1233
  */
1234
- Summary?: string;
1234
+ Summary?: string | undefined;
1235
1235
  /**
1236
1236
  * <p>The impact statistics of the client side service. This includes the number of requests
1237
1237
  * to the client service and whether the requests were faults or okay. </p>
1238
1238
  * @public
1239
1239
  */
1240
- ClientRequestImpactStatistics?: RequestImpactStatistics;
1240
+ ClientRequestImpactStatistics?: RequestImpactStatistics | undefined;
1241
1241
  /**
1242
1242
  * <p>The impact statistics of the root cause service. This includes the number of requests to
1243
1243
  * the client service and whether the requests were faults or okay. </p>
1244
1244
  * @public
1245
1245
  */
1246
- RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
1246
+ RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics | undefined;
1247
1247
  /**
1248
1248
  * <p>The service within the insight that is most impacted by the incident.</p>
1249
1249
  * @public
1250
1250
  */
1251
- TopAnomalousServices?: AnomalousService[];
1251
+ TopAnomalousServices?: AnomalousService[] | undefined;
1252
1252
  /**
1253
1253
  * <p>The time, in Unix seconds, that the insight was last updated.</p>
1254
1254
  * @public
1255
1255
  */
1256
- LastUpdateTime?: Date;
1256
+ LastUpdateTime?: Date | undefined;
1257
1257
  }
1258
1258
  /**
1259
1259
  * @public
@@ -1265,12 +1265,12 @@ export interface GetInsightSummariesResult {
1265
1265
  * client impact statistics, the top anomalous services, and the status of the insight.</p>
1266
1266
  * @public
1267
1267
  */
1268
- InsightSummaries?: InsightSummary[];
1268
+ InsightSummaries?: InsightSummary[] | undefined;
1269
1269
  /**
1270
1270
  * <p>Pagination token.</p>
1271
1271
  * @public
1272
1272
  */
1273
- NextToken?: string;
1273
+ NextToken?: string | undefined;
1274
1274
  }
1275
1275
  /**
1276
1276
  * @public
@@ -1280,7 +1280,7 @@ export interface GetSamplingRulesRequest {
1280
1280
  * <p>Pagination token.</p>
1281
1281
  * @public
1282
1282
  */
1283
- NextToken?: string;
1283
+ NextToken?: string | undefined;
1284
1284
  }
1285
1285
  /**
1286
1286
  * @public
@@ -1290,12 +1290,12 @@ export interface GetSamplingRulesResult {
1290
1290
  * <p>Rule definitions and metadata.</p>
1291
1291
  * @public
1292
1292
  */
1293
- SamplingRuleRecords?: SamplingRuleRecord[];
1293
+ SamplingRuleRecords?: SamplingRuleRecord[] | undefined;
1294
1294
  /**
1295
1295
  * <p>Pagination token.</p>
1296
1296
  * @public
1297
1297
  */
1298
- NextToken?: string;
1298
+ NextToken?: string | undefined;
1299
1299
  }
1300
1300
  /**
1301
1301
  * @public
@@ -1305,7 +1305,7 @@ export interface GetSamplingStatisticSummariesRequest {
1305
1305
  * <p>Pagination token.</p>
1306
1306
  * @public
1307
1307
  */
1308
- NextToken?: string;
1308
+ NextToken?: string | undefined;
1309
1309
  }
1310
1310
  /**
1311
1311
  * <p>Aggregated request sampling data for a sampling rule across all services for a 10-second window.</p>
@@ -1316,27 +1316,27 @@ export interface SamplingStatisticSummary {
1316
1316
  * <p>The name of the sampling rule.</p>
1317
1317
  * @public
1318
1318
  */
1319
- RuleName?: string;
1319
+ RuleName?: string | undefined;
1320
1320
  /**
1321
1321
  * <p>The start time of the reporting window.</p>
1322
1322
  * @public
1323
1323
  */
1324
- Timestamp?: Date;
1324
+ Timestamp?: Date | undefined;
1325
1325
  /**
1326
1326
  * <p>The number of requests that matched the rule.</p>
1327
1327
  * @public
1328
1328
  */
1329
- RequestCount?: number;
1329
+ RequestCount?: number | undefined;
1330
1330
  /**
1331
1331
  * <p>The number of requests recorded with borrowed reservoir quota.</p>
1332
1332
  * @public
1333
1333
  */
1334
- BorrowCount?: number;
1334
+ BorrowCount?: number | undefined;
1335
1335
  /**
1336
1336
  * <p>The number of requests recorded.</p>
1337
1337
  * @public
1338
1338
  */
1339
- SampledCount?: number;
1339
+ SampledCount?: number | undefined;
1340
1340
  }
1341
1341
  /**
1342
1342
  * @public
@@ -1347,12 +1347,12 @@ export interface GetSamplingStatisticSummariesResult {
1347
1347
  * rule.</p>
1348
1348
  * @public
1349
1349
  */
1350
- SamplingStatisticSummaries?: SamplingStatisticSummary[];
1350
+ SamplingStatisticSummaries?: SamplingStatisticSummary[] | undefined;
1351
1351
  /**
1352
1352
  * <p>Pagination token.</p>
1353
1353
  * @public
1354
1354
  */
1355
- NextToken?: string;
1355
+ NextToken?: string | undefined;
1356
1356
  }
1357
1357
  /**
1358
1358
  * <p>Request sampling results for a single rule from a service. Results are for the last 10
@@ -1390,7 +1390,7 @@ export interface SamplingStatisticsDocument {
1390
1390
  * <p>The number of requests recorded with borrowed reservoir quota.</p>
1391
1391
  * @public
1392
1392
  */
1393
- BorrowCount?: number;
1393
+ BorrowCount?: number | undefined;
1394
1394
  }
1395
1395
  /**
1396
1396
  * @public
@@ -1413,29 +1413,29 @@ export interface SamplingTargetDocument {
1413
1413
  * <p>The name of the sampling rule.</p>
1414
1414
  * @public
1415
1415
  */
1416
- RuleName?: string;
1416
+ RuleName?: string | undefined;
1417
1417
  /**
1418
1418
  * <p>The percentage of matching requests to instrument, after the reservoir is
1419
1419
  * exhausted.</p>
1420
1420
  * @public
1421
1421
  */
1422
- FixedRate?: number;
1422
+ FixedRate?: number | undefined;
1423
1423
  /**
1424
1424
  * <p>The number of requests per second that X-Ray allocated for this service.</p>
1425
1425
  * @public
1426
1426
  */
1427
- ReservoirQuota?: number;
1427
+ ReservoirQuota?: number | undefined;
1428
1428
  /**
1429
1429
  * <p>When the reservoir quota expires.</p>
1430
1430
  * @public
1431
1431
  */
1432
- ReservoirQuotaTTL?: Date;
1432
+ ReservoirQuotaTTL?: Date | undefined;
1433
1433
  /**
1434
1434
  * <p>The number of seconds for the service to wait before getting sampling targets
1435
1435
  * again.</p>
1436
1436
  * @public
1437
1437
  */
1438
- Interval?: number;
1438
+ Interval?: number | undefined;
1439
1439
  }
1440
1440
  /**
1441
1441
  * <p>Sampling statistics from a call to <a href="https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html">GetSamplingTargets</a> that X-Ray
@@ -1447,17 +1447,17 @@ export interface UnprocessedStatistics {
1447
1447
  * <p>The name of the sampling rule.</p>
1448
1448
  * @public
1449
1449
  */
1450
- RuleName?: string;
1450
+ RuleName?: string | undefined;
1451
1451
  /**
1452
1452
  * <p>The error code.</p>
1453
1453
  * @public
1454
1454
  */
1455
- ErrorCode?: string;
1455
+ ErrorCode?: string | undefined;
1456
1456
  /**
1457
1457
  * <p>The error message.</p>
1458
1458
  * @public
1459
1459
  */
1460
- Message?: string;
1460
+ Message?: string | undefined;
1461
1461
  }
1462
1462
  /**
1463
1463
  * @public
@@ -1467,20 +1467,20 @@ export interface GetSamplingTargetsResult {
1467
1467
  * <p>Updated rules that the service should use to sample requests.</p>
1468
1468
  * @public
1469
1469
  */
1470
- SamplingTargetDocuments?: SamplingTargetDocument[];
1470
+ SamplingTargetDocuments?: SamplingTargetDocument[] | undefined;
1471
1471
  /**
1472
1472
  * <p>The last time a user changed the sampling rule configuration. If
1473
1473
  * the sampling rule configuration changed since the service last retrieved it, the service
1474
1474
  * should call <a href="https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingRules.html">GetSamplingRules</a> to get the latest version.</p>
1475
1475
  * @public
1476
1476
  */
1477
- LastRuleModification?: Date;
1477
+ LastRuleModification?: Date | undefined;
1478
1478
  /**
1479
1479
  * <p>Information about <a href="https://docs.aws.amazon.com/xray/latest/api/API_SamplingStatisticsDocument.html">SamplingStatisticsDocument</a> that X-Ray could not
1480
1480
  * process.</p>
1481
1481
  * @public
1482
1482
  */
1483
- UnprocessedStatistics?: UnprocessedStatistics[];
1483
+ UnprocessedStatistics?: UnprocessedStatistics[] | undefined;
1484
1484
  }
1485
1485
  /**
1486
1486
  * @public
@@ -1500,17 +1500,17 @@ export interface GetServiceGraphRequest {
1500
1500
  * <p>The name of a group based on which you want to generate a graph.</p>
1501
1501
  * @public
1502
1502
  */
1503
- GroupName?: string;
1503
+ GroupName?: string | undefined;
1504
1504
  /**
1505
1505
  * <p>The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.</p>
1506
1506
  * @public
1507
1507
  */
1508
- GroupARN?: string;
1508
+ GroupARN?: string | undefined;
1509
1509
  /**
1510
1510
  * <p>Pagination token.</p>
1511
1511
  * @public
1512
1512
  */
1513
- NextToken?: string;
1513
+ NextToken?: string | undefined;
1514
1514
  }
1515
1515
  /**
1516
1516
  * <p>An entry in a histogram for a statistic. A histogram maps the range of observed values
@@ -1522,12 +1522,12 @@ export interface HistogramEntry {
1522
1522
  * <p>The value of the entry.</p>
1523
1523
  * @public
1524
1524
  */
1525
- Value?: number;
1525
+ Value?: number | undefined;
1526
1526
  /**
1527
1527
  * <p>The prevalence of the entry.</p>
1528
1528
  * @public
1529
1529
  */
1530
- Count?: number;
1530
+ Count?: number | undefined;
1531
1531
  }
1532
1532
  /**
1533
1533
  * <p>Information about requests that failed with a 4xx Client Error status code.</p>
@@ -1538,18 +1538,18 @@ export interface ErrorStatistics {
1538
1538
  * <p>The number of requests that failed with a 419 throttling status code.</p>
1539
1539
  * @public
1540
1540
  */
1541
- ThrottleCount?: number;
1541
+ ThrottleCount?: number | undefined;
1542
1542
  /**
1543
1543
  * <p>The number of requests that failed with untracked 4xx Client Error status
1544
1544
  * codes.</p>
1545
1545
  * @public
1546
1546
  */
1547
- OtherCount?: number;
1547
+ OtherCount?: number | undefined;
1548
1548
  /**
1549
1549
  * <p>The total number of requests that failed with a 4xx Client Error status code.</p>
1550
1550
  * @public
1551
1551
  */
1552
- TotalCount?: number;
1552
+ TotalCount?: number | undefined;
1553
1553
  }
1554
1554
  /**
1555
1555
  * <p>Information about requests that failed with a 5xx Server Error status code.</p>
@@ -1561,12 +1561,12 @@ export interface FaultStatistics {
1561
1561
  * codes.</p>
1562
1562
  * @public
1563
1563
  */
1564
- OtherCount?: number;
1564
+ OtherCount?: number | undefined;
1565
1565
  /**
1566
1566
  * <p>The total number of requests that failed with a 5xx Server Error status code.</p>
1567
1567
  * @public
1568
1568
  */
1569
- TotalCount?: number;
1569
+ TotalCount?: number | undefined;
1570
1570
  }
1571
1571
  /**
1572
1572
  * <p>Response statistics for an edge.</p>
@@ -1577,27 +1577,27 @@ export interface EdgeStatistics {
1577
1577
  * <p>The number of requests that completed with a 2xx Success status code.</p>
1578
1578
  * @public
1579
1579
  */
1580
- OkCount?: number;
1580
+ OkCount?: number | undefined;
1581
1581
  /**
1582
1582
  * <p>Information about requests that failed with a 4xx Client Error status code.</p>
1583
1583
  * @public
1584
1584
  */
1585
- ErrorStatistics?: ErrorStatistics;
1585
+ ErrorStatistics?: ErrorStatistics | undefined;
1586
1586
  /**
1587
1587
  * <p>Information about requests that failed with a 5xx Server Error status code.</p>
1588
1588
  * @public
1589
1589
  */
1590
- FaultStatistics?: FaultStatistics;
1590
+ FaultStatistics?: FaultStatistics | undefined;
1591
1591
  /**
1592
1592
  * <p>The total number of completed requests.</p>
1593
1593
  * @public
1594
1594
  */
1595
- TotalCount?: number;
1595
+ TotalCount?: number | undefined;
1596
1596
  /**
1597
1597
  * <p>The aggregate response time of completed requests.</p>
1598
1598
  * @public
1599
1599
  */
1600
- TotalResponseTime?: number;
1600
+ TotalResponseTime?: number | undefined;
1601
1601
  }
1602
1602
  /**
1603
1603
  * <p>Information about a connection between two services. An edge can be a synchronous connection, such as typical
@@ -1610,45 +1610,45 @@ export interface Edge {
1610
1610
  * <p>Identifier of the edge. Unique within a service map.</p>
1611
1611
  * @public
1612
1612
  */
1613
- ReferenceId?: number;
1613
+ ReferenceId?: number | undefined;
1614
1614
  /**
1615
1615
  * <p>The start time of the first segment on the edge.</p>
1616
1616
  * @public
1617
1617
  */
1618
- StartTime?: Date;
1618
+ StartTime?: Date | undefined;
1619
1619
  /**
1620
1620
  * <p>The end time of the last segment on the edge.</p>
1621
1621
  * @public
1622
1622
  */
1623
- EndTime?: Date;
1623
+ EndTime?: Date | undefined;
1624
1624
  /**
1625
1625
  * <p>Response statistics for segments on the edge.</p>
1626
1626
  * @public
1627
1627
  */
1628
- SummaryStatistics?: EdgeStatistics;
1628
+ SummaryStatistics?: EdgeStatistics | undefined;
1629
1629
  /**
1630
1630
  * <p>A histogram that maps the spread of client response times on an edge. Only populated
1631
1631
  * for synchronous edges.</p>
1632
1632
  * @public
1633
1633
  */
1634
- ResponseTimeHistogram?: HistogramEntry[];
1634
+ ResponseTimeHistogram?: HistogramEntry[] | undefined;
1635
1635
  /**
1636
1636
  * <p>Aliases for the edge.</p>
1637
1637
  * @public
1638
1638
  */
1639
- Aliases?: Alias[];
1639
+ Aliases?: Alias[] | undefined;
1640
1640
  /**
1641
1641
  * <p>Describes an asynchronous connection, with a value of <code>link</code>.</p>
1642
1642
  * @public
1643
1643
  */
1644
- EdgeType?: string;
1644
+ EdgeType?: string | undefined;
1645
1645
  /**
1646
1646
  * <p>A histogram that maps the spread of event age when received by consumers.
1647
1647
  * Age is calculated each time an event is received. Only populated when <i>EdgeType</i> is
1648
1648
  * <code>link</code>.</p>
1649
1649
  * @public
1650
1650
  */
1651
- ReceivedEventAgeHistogram?: HistogramEntry[];
1651
+ ReceivedEventAgeHistogram?: HistogramEntry[] | undefined;
1652
1652
  }
1653
1653
  /**
1654
1654
  * <p>Response statistics for a service.</p>
@@ -1659,27 +1659,27 @@ export interface ServiceStatistics {
1659
1659
  * <p>The number of requests that completed with a 2xx Success status code.</p>
1660
1660
  * @public
1661
1661
  */
1662
- OkCount?: number;
1662
+ OkCount?: number | undefined;
1663
1663
  /**
1664
1664
  * <p>Information about requests that failed with a 4xx Client Error status code.</p>
1665
1665
  * @public
1666
1666
  */
1667
- ErrorStatistics?: ErrorStatistics;
1667
+ ErrorStatistics?: ErrorStatistics | undefined;
1668
1668
  /**
1669
1669
  * <p>Information about requests that failed with a 5xx Server Error status code.</p>
1670
1670
  * @public
1671
1671
  */
1672
- FaultStatistics?: FaultStatistics;
1672
+ FaultStatistics?: FaultStatistics | undefined;
1673
1673
  /**
1674
1674
  * <p>The total number of completed requests.</p>
1675
1675
  * @public
1676
1676
  */
1677
- TotalCount?: number;
1677
+ TotalCount?: number | undefined;
1678
1678
  /**
1679
1679
  * <p>The aggregate response time of completed requests.</p>
1680
1680
  * @public
1681
1681
  */
1682
- TotalResponseTime?: number;
1682
+ TotalResponseTime?: number | undefined;
1683
1683
  }
1684
1684
  /**
1685
1685
  * <p>Information about an application that processed requests, users that made requests, or downstream services,
@@ -1691,27 +1691,27 @@ export interface Service {
1691
1691
  * <p>Identifier for the service. Unique within the service map.</p>
1692
1692
  * @public
1693
1693
  */
1694
- ReferenceId?: number;
1694
+ ReferenceId?: number | undefined;
1695
1695
  /**
1696
1696
  * <p>The canonical name of the service.</p>
1697
1697
  * @public
1698
1698
  */
1699
- Name?: string;
1699
+ Name?: string | undefined;
1700
1700
  /**
1701
1701
  * <p>A list of names for the service, including the canonical name.</p>
1702
1702
  * @public
1703
1703
  */
1704
- Names?: string[];
1704
+ Names?: string[] | undefined;
1705
1705
  /**
1706
1706
  * <p>Indicates that the service was the first service to process a request.</p>
1707
1707
  * @public
1708
1708
  */
1709
- Root?: boolean;
1709
+ Root?: boolean | undefined;
1710
1710
  /**
1711
1711
  * <p>Identifier of the Amazon Web Services account in which the service runs.</p>
1712
1712
  * @public
1713
1713
  */
1714
- AccountId?: string;
1714
+ AccountId?: string | undefined;
1715
1715
  /**
1716
1716
  * <p>The type of service.</p>
1717
1717
  * <ul>
@@ -1736,42 +1736,42 @@ export interface Service {
1736
1736
  * </ul>
1737
1737
  * @public
1738
1738
  */
1739
- Type?: string;
1739
+ Type?: string | undefined;
1740
1740
  /**
1741
1741
  * <p>The service's state.</p>
1742
1742
  * @public
1743
1743
  */
1744
- State?: string;
1744
+ State?: string | undefined;
1745
1745
  /**
1746
1746
  * <p>The start time of the first segment that the service generated.</p>
1747
1747
  * @public
1748
1748
  */
1749
- StartTime?: Date;
1749
+ StartTime?: Date | undefined;
1750
1750
  /**
1751
1751
  * <p>The end time of the last segment that the service generated.</p>
1752
1752
  * @public
1753
1753
  */
1754
- EndTime?: Date;
1754
+ EndTime?: Date | undefined;
1755
1755
  /**
1756
1756
  * <p>Connections to downstream services.</p>
1757
1757
  * @public
1758
1758
  */
1759
- Edges?: Edge[];
1759
+ Edges?: Edge[] | undefined;
1760
1760
  /**
1761
1761
  * <p>Aggregated statistics for the service.</p>
1762
1762
  * @public
1763
1763
  */
1764
- SummaryStatistics?: ServiceStatistics;
1764
+ SummaryStatistics?: ServiceStatistics | undefined;
1765
1765
  /**
1766
1766
  * <p>A histogram that maps the spread of service durations.</p>
1767
1767
  * @public
1768
1768
  */
1769
- DurationHistogram?: HistogramEntry[];
1769
+ DurationHistogram?: HistogramEntry[] | undefined;
1770
1770
  /**
1771
1771
  * <p>A histogram that maps the spread of service response times.</p>
1772
1772
  * @public
1773
1773
  */
1774
- ResponseTimeHistogram?: HistogramEntry[];
1774
+ ResponseTimeHistogram?: HistogramEntry[] | undefined;
1775
1775
  }
1776
1776
  /**
1777
1777
  * @public
@@ -1781,30 +1781,30 @@ export interface GetServiceGraphResult {
1781
1781
  * <p>The start of the time frame for which the graph was generated.</p>
1782
1782
  * @public
1783
1783
  */
1784
- StartTime?: Date;
1784
+ StartTime?: Date | undefined;
1785
1785
  /**
1786
1786
  * <p>The end of the time frame for which the graph was generated.</p>
1787
1787
  * @public
1788
1788
  */
1789
- EndTime?: Date;
1789
+ EndTime?: Date | undefined;
1790
1790
  /**
1791
1791
  * <p>The services that have processed a traced request during the specified time
1792
1792
  * frame.</p>
1793
1793
  * @public
1794
1794
  */
1795
- Services?: Service[];
1795
+ Services?: Service[] | undefined;
1796
1796
  /**
1797
1797
  * <p>A flag indicating whether the group's filter expression has been consistent, or
1798
1798
  * if the returned service graph may show traces from an older version of the group's filter
1799
1799
  * expression.</p>
1800
1800
  * @public
1801
1801
  */
1802
- ContainsOldGroupVersions?: boolean;
1802
+ ContainsOldGroupVersions?: boolean | undefined;
1803
1803
  /**
1804
1804
  * <p>Pagination token.</p>
1805
1805
  * @public
1806
1806
  */
1807
- NextToken?: string;
1807
+ NextToken?: string | undefined;
1808
1808
  }
1809
1809
  /**
1810
1810
  * @public
@@ -1824,35 +1824,35 @@ export interface GetTimeSeriesServiceStatisticsRequest {
1824
1824
  * <p>The case-sensitive name of the group for which to pull statistics from.</p>
1825
1825
  * @public
1826
1826
  */
1827
- GroupName?: string;
1827
+ GroupName?: string | undefined;
1828
1828
  /**
1829
1829
  * <p>The Amazon Resource Name (ARN) of the group for which to pull statistics from.</p>
1830
1830
  * @public
1831
1831
  */
1832
- GroupARN?: string;
1832
+ GroupARN?: string | undefined;
1833
1833
  /**
1834
1834
  * <p>A filter expression defining entities that will be aggregated for statistics.
1835
1835
  * Supports ID, service, and edge functions. If no selector expression is specified, edge
1836
1836
  * statistics are returned. </p>
1837
1837
  * @public
1838
1838
  */
1839
- EntitySelectorExpression?: string;
1839
+ EntitySelectorExpression?: string | undefined;
1840
1840
  /**
1841
1841
  * <p>Aggregation period in seconds.</p>
1842
1842
  * @public
1843
1843
  */
1844
- Period?: number;
1844
+ Period?: number | undefined;
1845
1845
  /**
1846
1846
  * <p>The forecasted high and low fault count values. Forecast enabled requests require the
1847
1847
  * EntitySelectorExpression ID be provided.</p>
1848
1848
  * @public
1849
1849
  */
1850
- ForecastStatistics?: boolean;
1850
+ ForecastStatistics?: boolean | undefined;
1851
1851
  /**
1852
1852
  * <p>Pagination token.</p>
1853
1853
  * @public
1854
1854
  */
1855
- NextToken?: string;
1855
+ NextToken?: string | undefined;
1856
1856
  }
1857
1857
  /**
1858
1858
  * <p>The predicted high and low fault count. This is used to determine if a service has
@@ -1864,12 +1864,12 @@ export interface ForecastStatistics {
1864
1864
  * <p>The upper limit of fault counts for a service.</p>
1865
1865
  * @public
1866
1866
  */
1867
- FaultCountHigh?: number;
1867
+ FaultCountHigh?: number | undefined;
1868
1868
  /**
1869
1869
  * <p>The lower limit of fault counts for a service.</p>
1870
1870
  * @public
1871
1871
  */
1872
- FaultCountLow?: number;
1872
+ FaultCountLow?: number | undefined;
1873
1873
  }
1874
1874
  /**
1875
1875
  * <p>A list of TimeSeriesStatistic structures.</p>
@@ -1880,27 +1880,27 @@ export interface TimeSeriesServiceStatistics {
1880
1880
  * <p>Timestamp of the window for which statistics are aggregated.</p>
1881
1881
  * @public
1882
1882
  */
1883
- Timestamp?: Date;
1883
+ Timestamp?: Date | undefined;
1884
1884
  /**
1885
1885
  * <p>Response statistics for an edge.</p>
1886
1886
  * @public
1887
1887
  */
1888
- EdgeSummaryStatistics?: EdgeStatistics;
1888
+ EdgeSummaryStatistics?: EdgeStatistics | undefined;
1889
1889
  /**
1890
1890
  * <p>Response statistics for a service.</p>
1891
1891
  * @public
1892
1892
  */
1893
- ServiceSummaryStatistics?: ServiceStatistics;
1893
+ ServiceSummaryStatistics?: ServiceStatistics | undefined;
1894
1894
  /**
1895
1895
  * <p>The forecasted high and low fault count values.</p>
1896
1896
  * @public
1897
1897
  */
1898
- ServiceForecastStatistics?: ForecastStatistics;
1898
+ ServiceForecastStatistics?: ForecastStatistics | undefined;
1899
1899
  /**
1900
1900
  * <p>The response time histogram for the selected entities.</p>
1901
1901
  * @public
1902
1902
  */
1903
- ResponseTimeHistogram?: HistogramEntry[];
1903
+ ResponseTimeHistogram?: HistogramEntry[] | undefined;
1904
1904
  }
1905
1905
  /**
1906
1906
  * @public
@@ -1910,18 +1910,18 @@ export interface GetTimeSeriesServiceStatisticsResult {
1910
1910
  * <p>The collection of statistics.</p>
1911
1911
  * @public
1912
1912
  */
1913
- TimeSeriesServiceStatistics?: TimeSeriesServiceStatistics[];
1913
+ TimeSeriesServiceStatistics?: TimeSeriesServiceStatistics[] | undefined;
1914
1914
  /**
1915
1915
  * <p>A flag indicating whether or not a group's filter expression has been consistent, or if a returned
1916
1916
  * aggregation might show statistics from an older version of the group's filter expression.</p>
1917
1917
  * @public
1918
1918
  */
1919
- ContainsOldGroupVersions?: boolean;
1919
+ ContainsOldGroupVersions?: boolean | undefined;
1920
1920
  /**
1921
1921
  * <p>Pagination token.</p>
1922
1922
  * @public
1923
1923
  */
1924
- NextToken?: string;
1924
+ NextToken?: string | undefined;
1925
1925
  }
1926
1926
  /**
1927
1927
  * @public
@@ -1936,7 +1936,7 @@ export interface GetTraceGraphRequest {
1936
1936
  * <p>Pagination token.</p>
1937
1937
  * @public
1938
1938
  */
1939
- NextToken?: string;
1939
+ NextToken?: string | undefined;
1940
1940
  }
1941
1941
  /**
1942
1942
  * @public
@@ -1946,12 +1946,12 @@ export interface GetTraceGraphResult {
1946
1946
  * <p>The services that have processed one of the specified requests.</p>
1947
1947
  * @public
1948
1948
  */
1949
- Services?: Service[];
1949
+ Services?: Service[] | undefined;
1950
1950
  /**
1951
1951
  * <p>Pagination token.</p>
1952
1952
  * @public
1953
1953
  */
1954
- NextToken?: string;
1954
+ NextToken?: string | undefined;
1955
1955
  }
1956
1956
  /**
1957
1957
  * @public
@@ -1974,12 +1974,12 @@ export interface SamplingStrategy {
1974
1974
  * <p>The name of a sampling rule.</p>
1975
1975
  * @public
1976
1976
  */
1977
- Name?: SamplingStrategyName;
1977
+ Name?: SamplingStrategyName | undefined;
1978
1978
  /**
1979
1979
  * <p>The value of a sampling rule.</p>
1980
1980
  * @public
1981
1981
  */
1982
- Value?: number;
1982
+ Value?: number | undefined;
1983
1983
  }
1984
1984
  /**
1985
1985
  * @public
@@ -2012,31 +2012,31 @@ export interface GetTraceSummariesRequest {
2012
2012
  * <p>A parameter to indicate whether to query trace summaries by TraceId, Event (trace update time), or Service (segment end time).</p>
2013
2013
  * @public
2014
2014
  */
2015
- TimeRangeType?: TimeRangeType;
2015
+ TimeRangeType?: TimeRangeType | undefined;
2016
2016
  /**
2017
2017
  * <p>Set to <code>true</code> to get summaries for only a subset of available
2018
2018
  * traces.</p>
2019
2019
  * @public
2020
2020
  */
2021
- Sampling?: boolean;
2021
+ Sampling?: boolean | undefined;
2022
2022
  /**
2023
2023
  * <p>A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and
2024
2024
  * Value.</p>
2025
2025
  * @public
2026
2026
  */
2027
- SamplingStrategy?: SamplingStrategy;
2027
+ SamplingStrategy?: SamplingStrategy | undefined;
2028
2028
  /**
2029
2029
  * <p>Specify a filter expression to retrieve trace summaries for services or requests that
2030
2030
  * meet certain requirements.</p>
2031
2031
  * @public
2032
2032
  */
2033
- FilterExpression?: string;
2033
+ FilterExpression?: string | undefined;
2034
2034
  /**
2035
2035
  * <p>Specify the pagination token returned by a previous request to retrieve the next page
2036
2036
  * of results.</p>
2037
2037
  * @public
2038
2038
  */
2039
- NextToken?: string;
2039
+ NextToken?: string | undefined;
2040
2040
  }
2041
2041
  /**
2042
2042
  * <p>The exception associated with a root cause.</p>
@@ -2047,12 +2047,12 @@ export interface RootCauseException {
2047
2047
  * <p>The name of the exception.</p>
2048
2048
  * @public
2049
2049
  */
2050
- Name?: string;
2050
+ Name?: string | undefined;
2051
2051
  /**
2052
2052
  * <p>The message of the exception.</p>
2053
2053
  * @public
2054
2054
  */
2055
- Message?: string;
2055
+ Message?: string | undefined;
2056
2056
  }
2057
2057
  /**
2058
2058
  * <p>A collection of segments and corresponding subsegments associated to a trace summary
@@ -2064,17 +2064,17 @@ export interface ErrorRootCauseEntity {
2064
2064
  * <p>The name of the entity.</p>
2065
2065
  * @public
2066
2066
  */
2067
- Name?: string;
2067
+ Name?: string | undefined;
2068
2068
  /**
2069
2069
  * <p>The types and messages of the exceptions.</p>
2070
2070
  * @public
2071
2071
  */
2072
- Exceptions?: RootCauseException[];
2072
+ Exceptions?: RootCauseException[] | undefined;
2073
2073
  /**
2074
2074
  * <p>A flag that denotes a remote subsegment.</p>
2075
2075
  * @public
2076
2076
  */
2077
- Remote?: boolean;
2077
+ Remote?: boolean | undefined;
2078
2078
  }
2079
2079
  /**
2080
2080
  * <p>A collection of fields identifying the services in a trace summary error.</p>
@@ -2085,32 +2085,32 @@ export interface ErrorRootCauseService {
2085
2085
  * <p>The service name.</p>
2086
2086
  * @public
2087
2087
  */
2088
- Name?: string;
2088
+ Name?: string | undefined;
2089
2089
  /**
2090
2090
  * <p>A collection of associated service names.</p>
2091
2091
  * @public
2092
2092
  */
2093
- Names?: string[];
2093
+ Names?: string[] | undefined;
2094
2094
  /**
2095
2095
  * <p>The type associated to the service.</p>
2096
2096
  * @public
2097
2097
  */
2098
- Type?: string;
2098
+ Type?: string | undefined;
2099
2099
  /**
2100
2100
  * <p>The account ID associated to the service.</p>
2101
2101
  * @public
2102
2102
  */
2103
- AccountId?: string;
2103
+ AccountId?: string | undefined;
2104
2104
  /**
2105
2105
  * <p>The path of root cause entities found on the service. </p>
2106
2106
  * @public
2107
2107
  */
2108
- EntityPath?: ErrorRootCauseEntity[];
2108
+ EntityPath?: ErrorRootCauseEntity[] | undefined;
2109
2109
  /**
2110
2110
  * <p>A Boolean value indicating if the service is inferred from the trace.</p>
2111
2111
  * @public
2112
2112
  */
2113
- Inferred?: boolean;
2113
+ Inferred?: boolean | undefined;
2114
2114
  }
2115
2115
  /**
2116
2116
  * <p>The root cause of a trace summary error.</p>
@@ -2122,12 +2122,12 @@ export interface ErrorRootCause {
2122
2122
  * contains a name, account ID, type, and inferred flag.</p>
2123
2123
  * @public
2124
2124
  */
2125
- Services?: ErrorRootCauseService[];
2125
+ Services?: ErrorRootCauseService[] | undefined;
2126
2126
  /**
2127
2127
  * <p>A flag that denotes that the root cause impacts the trace client.</p>
2128
2128
  * @public
2129
2129
  */
2130
- ClientImpacting?: boolean;
2130
+ ClientImpacting?: boolean | undefined;
2131
2131
  }
2132
2132
  /**
2133
2133
  * <p>A collection of segments and corresponding subsegments associated to a trace summary
@@ -2139,17 +2139,17 @@ export interface FaultRootCauseEntity {
2139
2139
  * <p>The name of the entity.</p>
2140
2140
  * @public
2141
2141
  */
2142
- Name?: string;
2142
+ Name?: string | undefined;
2143
2143
  /**
2144
2144
  * <p>The types and messages of the exceptions.</p>
2145
2145
  * @public
2146
2146
  */
2147
- Exceptions?: RootCauseException[];
2147
+ Exceptions?: RootCauseException[] | undefined;
2148
2148
  /**
2149
2149
  * <p>A flag that denotes a remote subsegment.</p>
2150
2150
  * @public
2151
2151
  */
2152
- Remote?: boolean;
2152
+ Remote?: boolean | undefined;
2153
2153
  }
2154
2154
  /**
2155
2155
  * <p>A collection of fields identifying the services in a trace summary fault.</p>
@@ -2160,32 +2160,32 @@ export interface FaultRootCauseService {
2160
2160
  * <p>The service name.</p>
2161
2161
  * @public
2162
2162
  */
2163
- Name?: string;
2163
+ Name?: string | undefined;
2164
2164
  /**
2165
2165
  * <p>A collection of associated service names.</p>
2166
2166
  * @public
2167
2167
  */
2168
- Names?: string[];
2168
+ Names?: string[] | undefined;
2169
2169
  /**
2170
2170
  * <p>The type associated to the service.</p>
2171
2171
  * @public
2172
2172
  */
2173
- Type?: string;
2173
+ Type?: string | undefined;
2174
2174
  /**
2175
2175
  * <p>The account ID associated to the service.</p>
2176
2176
  * @public
2177
2177
  */
2178
- AccountId?: string;
2178
+ AccountId?: string | undefined;
2179
2179
  /**
2180
2180
  * <p>The path of root cause entities found on the service. </p>
2181
2181
  * @public
2182
2182
  */
2183
- EntityPath?: FaultRootCauseEntity[];
2183
+ EntityPath?: FaultRootCauseEntity[] | undefined;
2184
2184
  /**
2185
2185
  * <p>A Boolean value indicating if the service is inferred from the trace.</p>
2186
2186
  * @public
2187
2187
  */
2188
- Inferred?: boolean;
2188
+ Inferred?: boolean | undefined;
2189
2189
  }
2190
2190
  /**
2191
2191
  * <p>The root cause information for a trace summary fault.</p>
@@ -2197,12 +2197,12 @@ export interface FaultRootCause {
2197
2197
  * name, account ID, type, and inferred flag.</p>
2198
2198
  * @public
2199
2199
  */
2200
- Services?: FaultRootCauseService[];
2200
+ Services?: FaultRootCauseService[] | undefined;
2201
2201
  /**
2202
2202
  * <p>A flag that denotes that the root cause impacts the trace client.</p>
2203
2203
  * @public
2204
2204
  */
2205
- ClientImpacting?: boolean;
2205
+ ClientImpacting?: boolean | undefined;
2206
2206
  }
2207
2207
  /**
2208
2208
  * <p>Information about an HTTP request.</p>
@@ -2213,27 +2213,27 @@ export interface Http {
2213
2213
  * <p>The request URL.</p>
2214
2214
  * @public
2215
2215
  */
2216
- HttpURL?: string;
2216
+ HttpURL?: string | undefined;
2217
2217
  /**
2218
2218
  * <p>The response status.</p>
2219
2219
  * @public
2220
2220
  */
2221
- HttpStatus?: number;
2221
+ HttpStatus?: number | undefined;
2222
2222
  /**
2223
2223
  * <p>The request method.</p>
2224
2224
  * @public
2225
2225
  */
2226
- HttpMethod?: string;
2226
+ HttpMethod?: string | undefined;
2227
2227
  /**
2228
2228
  * <p>The request's user agent string.</p>
2229
2229
  * @public
2230
2230
  */
2231
- UserAgent?: string;
2231
+ UserAgent?: string | undefined;
2232
2232
  /**
2233
2233
  * <p>The IP address of the requestor.</p>
2234
2234
  * @public
2235
2235
  */
2236
- ClientIp?: string;
2236
+ ClientIp?: string | undefined;
2237
2237
  }
2238
2238
  /**
2239
2239
  * <p>A list of EC2 instance IDs corresponding to the segments in a trace. </p>
@@ -2244,7 +2244,7 @@ export interface InstanceIdDetail {
2244
2244
  * <p>The ID of a corresponding EC2 instance.</p>
2245
2245
  * @public
2246
2246
  */
2247
- Id?: string;
2247
+ Id?: string | undefined;
2248
2248
  }
2249
2249
  /**
2250
2250
  * <p>A list of resources ARNs corresponding to the segments in a trace.</p>
@@ -2255,7 +2255,7 @@ export interface ResourceARNDetail {
2255
2255
  * <p>The ARN of a corresponding resource.</p>
2256
2256
  * @public
2257
2257
  */
2258
- ARN?: string;
2258
+ ARN?: string | undefined;
2259
2259
  }
2260
2260
  /**
2261
2261
  * <p>A collection of segments and corresponding subsegments associated to a response time
@@ -2267,17 +2267,17 @@ export interface ResponseTimeRootCauseEntity {
2267
2267
  * <p>The name of the entity.</p>
2268
2268
  * @public
2269
2269
  */
2270
- Name?: string;
2270
+ Name?: string | undefined;
2271
2271
  /**
2272
2272
  * <p>The type and messages of the exceptions.</p>
2273
2273
  * @public
2274
2274
  */
2275
- Coverage?: number;
2275
+ Coverage?: number | undefined;
2276
2276
  /**
2277
2277
  * <p>A flag that denotes a remote subsegment.</p>
2278
2278
  * @public
2279
2279
  */
2280
- Remote?: boolean;
2280
+ Remote?: boolean | undefined;
2281
2281
  }
2282
2282
  /**
2283
2283
  * <p>A collection of fields identifying the service in a response time warning.</p>
@@ -2288,32 +2288,32 @@ export interface ResponseTimeRootCauseService {
2288
2288
  * <p>The service name.</p>
2289
2289
  * @public
2290
2290
  */
2291
- Name?: string;
2291
+ Name?: string | undefined;
2292
2292
  /**
2293
2293
  * <p>A collection of associated service names.</p>
2294
2294
  * @public
2295
2295
  */
2296
- Names?: string[];
2296
+ Names?: string[] | undefined;
2297
2297
  /**
2298
2298
  * <p>The type associated to the service.</p>
2299
2299
  * @public
2300
2300
  */
2301
- Type?: string;
2301
+ Type?: string | undefined;
2302
2302
  /**
2303
2303
  * <p>The account ID associated to the service.</p>
2304
2304
  * @public
2305
2305
  */
2306
- AccountId?: string;
2306
+ AccountId?: string | undefined;
2307
2307
  /**
2308
2308
  * <p>The path of root cause entities found on the service. </p>
2309
2309
  * @public
2310
2310
  */
2311
- EntityPath?: ResponseTimeRootCauseEntity[];
2311
+ EntityPath?: ResponseTimeRootCauseEntity[] | undefined;
2312
2312
  /**
2313
2313
  * <p>A Boolean value indicating if the service is inferred from the trace.</p>
2314
2314
  * @public
2315
2315
  */
2316
- Inferred?: boolean;
2316
+ Inferred?: boolean | undefined;
2317
2317
  }
2318
2318
  /**
2319
2319
  * <p>The root cause information for a response time warning.</p>
@@ -2325,12 +2325,12 @@ export interface ResponseTimeRootCause {
2325
2325
  * account ID, type, and inferred flag.</p>
2326
2326
  * @public
2327
2327
  */
2328
- Services?: ResponseTimeRootCauseService[];
2328
+ Services?: ResponseTimeRootCauseService[] | undefined;
2329
2329
  /**
2330
2330
  * <p>A flag that denotes that the root cause impacts the trace client.</p>
2331
2331
  * @public
2332
2332
  */
2333
- ClientImpacting?: boolean;
2333
+ ClientImpacting?: boolean | undefined;
2334
2334
  }
2335
2335
  /**
2336
2336
  * <p>Information about a user recorded in segment documents.</p>
@@ -2341,12 +2341,12 @@ export interface TraceUser {
2341
2341
  * <p>The user's name.</p>
2342
2342
  * @public
2343
2343
  */
2344
- UserName?: string;
2344
+ UserName?: string | undefined;
2345
2345
  /**
2346
2346
  * <p>Services that the user's request hit.</p>
2347
2347
  * @public
2348
2348
  */
2349
- ServiceIds?: ServiceId[];
2349
+ ServiceIds?: ServiceId[] | undefined;
2350
2350
  }
2351
2351
  /**
2352
2352
  * <p>Metadata generated from the segment documents in a trace.</p>
@@ -2358,18 +2358,18 @@ export interface TraceSummary {
2358
2358
  * subsegments.</p>
2359
2359
  * @public
2360
2360
  */
2361
- Id?: string;
2361
+ Id?: string | undefined;
2362
2362
  /**
2363
2363
  * <p>The start time of a trace, based on the earliest trace segment start time.</p>
2364
2364
  * @public
2365
2365
  */
2366
- StartTime?: Date;
2366
+ StartTime?: Date | undefined;
2367
2367
  /**
2368
2368
  * <p>The length of time in seconds between the start time of the root segment and the end
2369
2369
  * time of the last segment that completed.</p>
2370
2370
  * @public
2371
2371
  */
2372
- Duration?: number;
2372
+ Duration?: number | undefined;
2373
2373
  /**
2374
2374
  * <p>The length of time in seconds between the start and end times of the root segment. If
2375
2375
  * the service performs work asynchronously, the response time measures the time before the
@@ -2377,95 +2377,95 @@ export interface TraceSummary {
2377
2377
  * traced activity completes.</p>
2378
2378
  * @public
2379
2379
  */
2380
- ResponseTime?: number;
2380
+ ResponseTime?: number | undefined;
2381
2381
  /**
2382
2382
  * <p>The root segment document has a 500 series error.</p>
2383
2383
  * @public
2384
2384
  */
2385
- HasFault?: boolean;
2385
+ HasFault?: boolean | undefined;
2386
2386
  /**
2387
2387
  * <p>The root segment document has a 400 series error.</p>
2388
2388
  * @public
2389
2389
  */
2390
- HasError?: boolean;
2390
+ HasError?: boolean | undefined;
2391
2391
  /**
2392
2392
  * <p>One or more of the segment documents has a 429 throttling error.</p>
2393
2393
  * @public
2394
2394
  */
2395
- HasThrottle?: boolean;
2395
+ HasThrottle?: boolean | undefined;
2396
2396
  /**
2397
2397
  * <p>One or more of the segment documents is in progress.</p>
2398
2398
  * @public
2399
2399
  */
2400
- IsPartial?: boolean;
2400
+ IsPartial?: boolean | undefined;
2401
2401
  /**
2402
2402
  * <p>Information about the HTTP request served by the trace.</p>
2403
2403
  * @public
2404
2404
  */
2405
- Http?: Http;
2405
+ Http?: Http | undefined;
2406
2406
  /**
2407
2407
  * <p>Annotations from the trace's segment documents.</p>
2408
2408
  * @public
2409
2409
  */
2410
- Annotations?: Record<string, ValueWithServiceIds[]>;
2410
+ Annotations?: Record<string, ValueWithServiceIds[]> | undefined;
2411
2411
  /**
2412
2412
  * <p>Users from the trace's segment documents.</p>
2413
2413
  * @public
2414
2414
  */
2415
- Users?: TraceUser[];
2415
+ Users?: TraceUser[] | undefined;
2416
2416
  /**
2417
2417
  * <p>Service IDs from the trace's segment documents.</p>
2418
2418
  * @public
2419
2419
  */
2420
- ServiceIds?: ServiceId[];
2420
+ ServiceIds?: ServiceId[] | undefined;
2421
2421
  /**
2422
2422
  * <p>A list of resource ARNs for any resource corresponding to the trace segments.</p>
2423
2423
  * @public
2424
2424
  */
2425
- ResourceARNs?: ResourceARNDetail[];
2425
+ ResourceARNs?: ResourceARNDetail[] | undefined;
2426
2426
  /**
2427
2427
  * <p>A list of EC2 instance IDs for any instance corresponding to the trace
2428
2428
  * segments.</p>
2429
2429
  * @public
2430
2430
  */
2431
- InstanceIds?: InstanceIdDetail[];
2431
+ InstanceIds?: InstanceIdDetail[] | undefined;
2432
2432
  /**
2433
2433
  * <p>A list of Availability Zones for any zone corresponding to the trace segments.</p>
2434
2434
  * @public
2435
2435
  */
2436
- AvailabilityZones?: AvailabilityZoneDetail[];
2436
+ AvailabilityZones?: AvailabilityZoneDetail[] | undefined;
2437
2437
  /**
2438
2438
  * <p>The root of a trace.</p>
2439
2439
  * @public
2440
2440
  */
2441
- EntryPoint?: ServiceId;
2441
+ EntryPoint?: ServiceId | undefined;
2442
2442
  /**
2443
2443
  * <p>A collection of FaultRootCause structures corresponding to the trace segments.</p>
2444
2444
  * @public
2445
2445
  */
2446
- FaultRootCauses?: FaultRootCause[];
2446
+ FaultRootCauses?: FaultRootCause[] | undefined;
2447
2447
  /**
2448
2448
  * <p>A collection of ErrorRootCause structures corresponding to the trace
2449
2449
  * segments.</p>
2450
2450
  * @public
2451
2451
  */
2452
- ErrorRootCauses?: ErrorRootCause[];
2452
+ ErrorRootCauses?: ErrorRootCause[] | undefined;
2453
2453
  /**
2454
2454
  * <p>A collection of ResponseTimeRootCause structures corresponding to the trace
2455
2455
  * segments.</p>
2456
2456
  * @public
2457
2457
  */
2458
- ResponseTimeRootCauses?: ResponseTimeRootCause[];
2458
+ ResponseTimeRootCauses?: ResponseTimeRootCause[] | undefined;
2459
2459
  /**
2460
2460
  * <p>The revision number of a trace.</p>
2461
2461
  * @public
2462
2462
  */
2463
- Revision?: number;
2463
+ Revision?: number | undefined;
2464
2464
  /**
2465
2465
  * <p>The matched time stamp of a defined event.</p>
2466
2466
  * @public
2467
2467
  */
2468
- MatchedEventTime?: Date;
2468
+ MatchedEventTime?: Date | undefined;
2469
2469
  }
2470
2470
  /**
2471
2471
  * @public
@@ -2476,24 +2476,24 @@ export interface GetTraceSummariesResult {
2476
2476
  * frame.</p>
2477
2477
  * @public
2478
2478
  */
2479
- TraceSummaries?: TraceSummary[];
2479
+ TraceSummaries?: TraceSummary[] | undefined;
2480
2480
  /**
2481
2481
  * <p>The start time of this page of results.</p>
2482
2482
  * @public
2483
2483
  */
2484
- ApproximateTime?: Date;
2484
+ ApproximateTime?: Date | undefined;
2485
2485
  /**
2486
2486
  * <p>The total number of traces processed, including traces that did not match the specified
2487
2487
  * filter expression.</p>
2488
2488
  * @public
2489
2489
  */
2490
- TracesProcessedCount?: number;
2490
+ TracesProcessedCount?: number | undefined;
2491
2491
  /**
2492
2492
  * <p>If the requested time frame contained more than one page of results, you can use this token to retrieve the
2493
2493
  * next page. The first page contains the most recent results, closest to the end of the time frame.</p>
2494
2494
  * @public
2495
2495
  */
2496
- NextToken?: string;
2496
+ NextToken?: string | undefined;
2497
2497
  }
2498
2498
  /**
2499
2499
  * @public
@@ -2503,7 +2503,7 @@ export interface ListResourcePoliciesRequest {
2503
2503
  * <p>Not currently supported.</p>
2504
2504
  * @public
2505
2505
  */
2506
- NextToken?: string;
2506
+ NextToken?: string | undefined;
2507
2507
  }
2508
2508
  /**
2509
2509
  * <p>A resource policy grants one or more Amazon Web Services services and accounts permissions
@@ -2516,22 +2516,22 @@ export interface ResourcePolicy {
2516
2516
  * <p>The name of the resource policy. Must be unique within a specific Amazon Web Services account.</p>
2517
2517
  * @public
2518
2518
  */
2519
- PolicyName?: string;
2519
+ PolicyName?: string | undefined;
2520
2520
  /**
2521
2521
  * <p>The resource policy document, which can be up to 5kb in size.</p>
2522
2522
  * @public
2523
2523
  */
2524
- PolicyDocument?: string;
2524
+ PolicyDocument?: string | undefined;
2525
2525
  /**
2526
2526
  * <p>Returns the current policy revision id for this policy name.</p>
2527
2527
  * @public
2528
2528
  */
2529
- PolicyRevisionId?: string;
2529
+ PolicyRevisionId?: string | undefined;
2530
2530
  /**
2531
2531
  * <p>When the policy was last updated, in Unix time seconds.</p>
2532
2532
  * @public
2533
2533
  */
2534
- LastUpdatedTime?: Date;
2534
+ LastUpdatedTime?: Date | undefined;
2535
2535
  }
2536
2536
  /**
2537
2537
  * @public
@@ -2541,12 +2541,12 @@ export interface ListResourcePoliciesResult {
2541
2541
  * <p>The list of resource policies in the target Amazon Web Services account.</p>
2542
2542
  * @public
2543
2543
  */
2544
- ResourcePolicies?: ResourcePolicy[];
2544
+ ResourcePolicies?: ResourcePolicy[] | undefined;
2545
2545
  /**
2546
2546
  * <p>Pagination token. Not currently supported.</p>
2547
2547
  * @public
2548
2548
  */
2549
- NextToken?: string;
2549
+ NextToken?: string | undefined;
2550
2550
  }
2551
2551
  /**
2552
2552
  * @public
@@ -2562,7 +2562,7 @@ export interface ListTagsForResourceRequest {
2562
2562
  * the current page of results as the value of this parameter to get the next page of results.</p>
2563
2563
  * @public
2564
2564
  */
2565
- NextToken?: string;
2565
+ NextToken?: string | undefined;
2566
2566
  }
2567
2567
  /**
2568
2568
  * @public
@@ -2572,13 +2572,13 @@ export interface ListTagsForResourceResponse {
2572
2572
  * <p>A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.</p>
2573
2573
  * @public
2574
2574
  */
2575
- Tags?: Tag[];
2575
+ Tags?: Tag[] | undefined;
2576
2576
  /**
2577
2577
  * <p>A pagination token. If multiple pages of results are returned, use the <code>NextToken</code> value returned with
2578
2578
  * the current page of results to get the next page of results.</p>
2579
2579
  * @public
2580
2580
  */
2581
- NextToken?: string;
2581
+ NextToken?: string | undefined;
2582
2582
  }
2583
2583
  /**
2584
2584
  * <p>The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is
@@ -2588,8 +2588,8 @@ export interface ListTagsForResourceResponse {
2588
2588
  export declare class ResourceNotFoundException extends __BaseException {
2589
2589
  readonly name: "ResourceNotFoundException";
2590
2590
  readonly $fault: "client";
2591
- Message?: string;
2592
- ResourceName?: string;
2591
+ Message?: string | undefined;
2592
+ ResourceName?: string | undefined;
2593
2593
  /**
2594
2594
  * @internal
2595
2595
  */
@@ -2623,7 +2623,7 @@ export interface PutEncryptionConfigRequest {
2623
2623
  * <p>Omit this key if you set <code>Type</code> to <code>NONE</code>.</p>
2624
2624
  * @public
2625
2625
  */
2626
- KeyId?: string;
2626
+ KeyId?: string | undefined;
2627
2627
  /**
2628
2628
  * <p>The type of encryption. Set to <code>KMS</code> to use your own key for encryption. Set
2629
2629
  * to <code>NONE</code> for default encryption.</p>
@@ -2639,7 +2639,7 @@ export interface PutEncryptionConfigResult {
2639
2639
  * <p>The new encryption configuration.</p>
2640
2640
  * @public
2641
2641
  */
2642
- EncryptionConfig?: EncryptionConfig;
2642
+ EncryptionConfig?: EncryptionConfig | undefined;
2643
2643
  }
2644
2644
  /**
2645
2645
  * <p>The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.</p>
@@ -2648,7 +2648,7 @@ export interface PutEncryptionConfigResult {
2648
2648
  export declare class LockoutPreventionException extends __BaseException {
2649
2649
  readonly name: "LockoutPreventionException";
2650
2650
  readonly $fault: "client";
2651
- Message?: string;
2651
+ Message?: string | undefined;
2652
2652
  /**
2653
2653
  * @internal
2654
2654
  */
@@ -2661,7 +2661,7 @@ export declare class LockoutPreventionException extends __BaseException {
2661
2661
  export declare class MalformedPolicyDocumentException extends __BaseException {
2662
2662
  readonly name: "MalformedPolicyDocumentException";
2663
2663
  readonly $fault: "client";
2664
- Message?: string;
2664
+ Message?: string | undefined;
2665
2665
  /**
2666
2666
  * @internal
2667
2667
  */
@@ -2674,7 +2674,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
2674
2674
  export declare class PolicyCountLimitExceededException extends __BaseException {
2675
2675
  readonly name: "PolicyCountLimitExceededException";
2676
2676
  readonly $fault: "client";
2677
- Message?: string;
2677
+ Message?: string | undefined;
2678
2678
  /**
2679
2679
  * @internal
2680
2680
  */
@@ -2687,7 +2687,7 @@ export declare class PolicyCountLimitExceededException extends __BaseException {
2687
2687
  export declare class PolicySizeLimitExceededException extends __BaseException {
2688
2688
  readonly name: "PolicySizeLimitExceededException";
2689
2689
  readonly $fault: "client";
2690
- Message?: string;
2690
+ Message?: string | undefined;
2691
2691
  /**
2692
2692
  * @internal
2693
2693
  */
@@ -2715,7 +2715,7 @@ export interface PutResourcePolicyRequest {
2715
2715
  * </p>
2716
2716
  * @public
2717
2717
  */
2718
- PolicyRevisionId?: string;
2718
+ PolicyRevisionId?: string | undefined;
2719
2719
  /**
2720
2720
  * <p>A flag to indicate whether to bypass the resource policy lockout safety check.</p>
2721
2721
  * <important>
@@ -2725,7 +2725,7 @@ export interface PutResourcePolicyRequest {
2725
2725
  * <p>The default value is false.</p>
2726
2726
  * @public
2727
2727
  */
2728
- BypassPolicyLockoutCheck?: boolean;
2728
+ BypassPolicyLockoutCheck?: boolean | undefined;
2729
2729
  }
2730
2730
  /**
2731
2731
  * @public
@@ -2735,7 +2735,7 @@ export interface PutResourcePolicyResult {
2735
2735
  * <p>The resource policy document, as provided in the <code>PutResourcePolicyRequest</code>.</p>
2736
2736
  * @public
2737
2737
  */
2738
- ResourcePolicy?: ResourcePolicy;
2738
+ ResourcePolicy?: ResourcePolicy | undefined;
2739
2739
  }
2740
2740
  /**
2741
2741
  * <p></p>
@@ -2746,32 +2746,32 @@ export interface BackendConnectionErrors {
2746
2746
  * <p></p>
2747
2747
  * @public
2748
2748
  */
2749
- TimeoutCount?: number;
2749
+ TimeoutCount?: number | undefined;
2750
2750
  /**
2751
2751
  * <p></p>
2752
2752
  * @public
2753
2753
  */
2754
- ConnectionRefusedCount?: number;
2754
+ ConnectionRefusedCount?: number | undefined;
2755
2755
  /**
2756
2756
  * <p></p>
2757
2757
  * @public
2758
2758
  */
2759
- HTTPCode4XXCount?: number;
2759
+ HTTPCode4XXCount?: number | undefined;
2760
2760
  /**
2761
2761
  * <p></p>
2762
2762
  * @public
2763
2763
  */
2764
- HTTPCode5XXCount?: number;
2764
+ HTTPCode5XXCount?: number | undefined;
2765
2765
  /**
2766
2766
  * <p></p>
2767
2767
  * @public
2768
2768
  */
2769
- UnknownHostCount?: number;
2769
+ UnknownHostCount?: number | undefined;
2770
2770
  /**
2771
2771
  * <p></p>
2772
2772
  * @public
2773
2773
  */
2774
- OtherCount?: number;
2774
+ OtherCount?: number | undefined;
2775
2775
  }
2776
2776
  /**
2777
2777
  * <p></p>
@@ -2787,27 +2787,27 @@ export interface TelemetryRecord {
2787
2787
  * <p></p>
2788
2788
  * @public
2789
2789
  */
2790
- SegmentsReceivedCount?: number;
2790
+ SegmentsReceivedCount?: number | undefined;
2791
2791
  /**
2792
2792
  * <p></p>
2793
2793
  * @public
2794
2794
  */
2795
- SegmentsSentCount?: number;
2795
+ SegmentsSentCount?: number | undefined;
2796
2796
  /**
2797
2797
  * <p></p>
2798
2798
  * @public
2799
2799
  */
2800
- SegmentsSpilloverCount?: number;
2800
+ SegmentsSpilloverCount?: number | undefined;
2801
2801
  /**
2802
2802
  * <p></p>
2803
2803
  * @public
2804
2804
  */
2805
- SegmentsRejectedCount?: number;
2805
+ SegmentsRejectedCount?: number | undefined;
2806
2806
  /**
2807
2807
  * <p></p>
2808
2808
  * @public
2809
2809
  */
2810
- BackendConnectionErrors?: BackendConnectionErrors;
2810
+ BackendConnectionErrors?: BackendConnectionErrors | undefined;
2811
2811
  }
2812
2812
  /**
2813
2813
  * @public
@@ -2822,17 +2822,17 @@ export interface PutTelemetryRecordsRequest {
2822
2822
  * <p></p>
2823
2823
  * @public
2824
2824
  */
2825
- EC2InstanceId?: string;
2825
+ EC2InstanceId?: string | undefined;
2826
2826
  /**
2827
2827
  * <p></p>
2828
2828
  * @public
2829
2829
  */
2830
- Hostname?: string;
2830
+ Hostname?: string | undefined;
2831
2831
  /**
2832
2832
  * <p></p>
2833
2833
  * @public
2834
2834
  */
2835
- ResourceARN?: string;
2835
+ ResourceARN?: string | undefined;
2836
2836
  }
2837
2837
  /**
2838
2838
  * @public
@@ -2859,17 +2859,17 @@ export interface UnprocessedTraceSegment {
2859
2859
  * <p>The segment's ID.</p>
2860
2860
  * @public
2861
2861
  */
2862
- Id?: string;
2862
+ Id?: string | undefined;
2863
2863
  /**
2864
2864
  * <p>The error that caused processing to fail.</p>
2865
2865
  * @public
2866
2866
  */
2867
- ErrorCode?: string;
2867
+ ErrorCode?: string | undefined;
2868
2868
  /**
2869
2869
  * <p>The error message.</p>
2870
2870
  * @public
2871
2871
  */
2872
- Message?: string;
2872
+ Message?: string | undefined;
2873
2873
  }
2874
2874
  /**
2875
2875
  * @public
@@ -2879,7 +2879,7 @@ export interface PutTraceSegmentsResult {
2879
2879
  * <p>Segments that failed processing.</p>
2880
2880
  * @public
2881
2881
  */
2882
- UnprocessedTraceSegments?: UnprocessedTraceSegment[];
2882
+ UnprocessedTraceSegments?: UnprocessedTraceSegment[] | undefined;
2883
2883
  }
2884
2884
  /**
2885
2885
  * @public
@@ -2933,8 +2933,8 @@ export interface TagResourceResponse {
2933
2933
  export declare class TooManyTagsException extends __BaseException {
2934
2934
  readonly name: "TooManyTagsException";
2935
2935
  readonly $fault: "client";
2936
- Message?: string;
2937
- ResourceName?: string;
2936
+ Message?: string | undefined;
2937
+ ResourceName?: string | undefined;
2938
2938
  /**
2939
2939
  * @internal
2940
2940
  */
@@ -2968,17 +2968,17 @@ export interface UpdateGroupRequest {
2968
2968
  * <p>The case-sensitive name of the group.</p>
2969
2969
  * @public
2970
2970
  */
2971
- GroupName?: string;
2971
+ GroupName?: string | undefined;
2972
2972
  /**
2973
2973
  * <p>The ARN that was generated upon creation.</p>
2974
2974
  * @public
2975
2975
  */
2976
- GroupARN?: string;
2976
+ GroupARN?: string | undefined;
2977
2977
  /**
2978
2978
  * <p>The updated filter expression defining criteria by which to group traces.</p>
2979
2979
  * @public
2980
2980
  */
2981
- FilterExpression?: string;
2981
+ FilterExpression?: string | undefined;
2982
2982
  /**
2983
2983
  * <p>The structure containing configurations related to insights.</p>
2984
2984
  * <ul>
@@ -2993,7 +2993,7 @@ export interface UpdateGroupRequest {
2993
2993
  * </ul>
2994
2994
  * @public
2995
2995
  */
2996
- InsightsConfiguration?: InsightsConfiguration;
2996
+ InsightsConfiguration?: InsightsConfiguration | undefined;
2997
2997
  }
2998
2998
  /**
2999
2999
  * @public
@@ -3005,7 +3005,7 @@ export interface UpdateGroupResult {
3005
3005
  * configuration assigned to the group.</p>
3006
3006
  * @public
3007
3007
  */
3008
- Group?: Group;
3008
+ Group?: Group | undefined;
3009
3009
  }
3010
3010
  /**
3011
3011
  * <p>A document specifying changes to a sampling rule's configuration.</p>
@@ -3016,64 +3016,64 @@ export interface SamplingRuleUpdate {
3016
3016
  * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
3017
3017
  * @public
3018
3018
  */
3019
- RuleName?: string;
3019
+ RuleName?: string | undefined;
3020
3020
  /**
3021
3021
  * <p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
3022
3022
  * @public
3023
3023
  */
3024
- RuleARN?: string;
3024
+ RuleARN?: string | undefined;
3025
3025
  /**
3026
3026
  * <p>Matches the ARN of the Amazon Web Services resource on which the service runs.</p>
3027
3027
  * @public
3028
3028
  */
3029
- ResourceARN?: string;
3029
+ ResourceARN?: string | undefined;
3030
3030
  /**
3031
3031
  * <p>The priority of the sampling rule.</p>
3032
3032
  * @public
3033
3033
  */
3034
- Priority?: number;
3034
+ Priority?: number | undefined;
3035
3035
  /**
3036
3036
  * <p>The percentage of matching requests to instrument, after the reservoir is
3037
3037
  * exhausted.</p>
3038
3038
  * @public
3039
3039
  */
3040
- FixedRate?: number;
3040
+ FixedRate?: number | undefined;
3041
3041
  /**
3042
3042
  * <p>A fixed number of matching requests to instrument per second, prior to applying the
3043
3043
  * fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.</p>
3044
3044
  * @public
3045
3045
  */
3046
- ReservoirSize?: number;
3046
+ ReservoirSize?: number | undefined;
3047
3047
  /**
3048
3048
  * <p>Matches the hostname from a request URL.</p>
3049
3049
  * @public
3050
3050
  */
3051
- Host?: string;
3051
+ Host?: string | undefined;
3052
3052
  /**
3053
3053
  * <p>Matches the <code>name</code> that the service uses to identify itself in segments.</p>
3054
3054
  * @public
3055
3055
  */
3056
- ServiceName?: string;
3056
+ ServiceName?: string | undefined;
3057
3057
  /**
3058
3058
  * <p>Matches the <code>origin</code> that the service uses to identify its type in segments.</p>
3059
3059
  * @public
3060
3060
  */
3061
- ServiceType?: string;
3061
+ ServiceType?: string | undefined;
3062
3062
  /**
3063
3063
  * <p>Matches the HTTP method of a request.</p>
3064
3064
  * @public
3065
3065
  */
3066
- HTTPMethod?: string;
3066
+ HTTPMethod?: string | undefined;
3067
3067
  /**
3068
3068
  * <p>Matches the path from a request URL.</p>
3069
3069
  * @public
3070
3070
  */
3071
- URLPath?: string;
3071
+ URLPath?: string | undefined;
3072
3072
  /**
3073
3073
  * <p>Matches attributes derived from the request.</p>
3074
3074
  * @public
3075
3075
  */
3076
- Attributes?: Record<string, string>;
3076
+ Attributes?: Record<string, string> | undefined;
3077
3077
  }
3078
3078
  /**
3079
3079
  * @public
@@ -3093,5 +3093,5 @@ export interface UpdateSamplingRuleResult {
3093
3093
  * <p>The updated rule definition and metadata.</p>
3094
3094
  * @public
3095
3095
  */
3096
- SamplingRuleRecord?: SamplingRuleRecord;
3096
+ SamplingRuleRecord?: SamplingRuleRecord | undefined;
3097
3097
  }