aws-sdk-xray 1.76.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,8 @@ module Aws::XRay
32
32
  BatchGetTracesResult = Shapes::StructureShape.new(name: 'BatchGetTracesResult')
33
33
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
34
34
  BorrowCount = Shapes::IntegerShape.new(name: 'BorrowCount')
35
+ CancelTraceRetrievalRequest = Shapes::StructureShape.new(name: 'CancelTraceRetrievalRequest')
36
+ CancelTraceRetrievalResult = Shapes::StructureShape.new(name: 'CancelTraceRetrievalResult')
35
37
  ClientID = Shapes::StringShape.new(name: 'ClientID')
36
38
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
37
39
  CreateGroupResult = Shapes::StructureShape.new(name: 'CreateGroupResult')
@@ -79,6 +81,8 @@ module Aws::XRay
79
81
  GetGroupsNextToken = Shapes::StringShape.new(name: 'GetGroupsNextToken')
80
82
  GetGroupsRequest = Shapes::StructureShape.new(name: 'GetGroupsRequest')
81
83
  GetGroupsResult = Shapes::StructureShape.new(name: 'GetGroupsResult')
84
+ GetIndexingRulesRequest = Shapes::StructureShape.new(name: 'GetIndexingRulesRequest')
85
+ GetIndexingRulesResult = Shapes::StructureShape.new(name: 'GetIndexingRulesResult')
82
86
  GetInsightEventsMaxResults = Shapes::IntegerShape.new(name: 'GetInsightEventsMaxResults')
83
87
  GetInsightEventsRequest = Shapes::StructureShape.new(name: 'GetInsightEventsRequest')
84
88
  GetInsightEventsResult = Shapes::StructureShape.new(name: 'GetInsightEventsResult')
@@ -89,6 +93,8 @@ module Aws::XRay
89
93
  GetInsightSummariesMaxResults = Shapes::IntegerShape.new(name: 'GetInsightSummariesMaxResults')
90
94
  GetInsightSummariesRequest = Shapes::StructureShape.new(name: 'GetInsightSummariesRequest')
91
95
  GetInsightSummariesResult = Shapes::StructureShape.new(name: 'GetInsightSummariesResult')
96
+ GetRetrievedTracesGraphRequest = Shapes::StructureShape.new(name: 'GetRetrievedTracesGraphRequest')
97
+ GetRetrievedTracesGraphResult = Shapes::StructureShape.new(name: 'GetRetrievedTracesGraphResult')
92
98
  GetSamplingRulesRequest = Shapes::StructureShape.new(name: 'GetSamplingRulesRequest')
93
99
  GetSamplingRulesResult = Shapes::StructureShape.new(name: 'GetSamplingRulesResult')
94
100
  GetSamplingStatisticSummariesRequest = Shapes::StructureShape.new(name: 'GetSamplingStatisticSummariesRequest')
@@ -101,8 +107,11 @@ module Aws::XRay
101
107
  GetTimeSeriesServiceStatisticsResult = Shapes::StructureShape.new(name: 'GetTimeSeriesServiceStatisticsResult')
102
108
  GetTraceGraphRequest = Shapes::StructureShape.new(name: 'GetTraceGraphRequest')
103
109
  GetTraceGraphResult = Shapes::StructureShape.new(name: 'GetTraceGraphResult')
110
+ GetTraceSegmentDestinationRequest = Shapes::StructureShape.new(name: 'GetTraceSegmentDestinationRequest')
111
+ GetTraceSegmentDestinationResult = Shapes::StructureShape.new(name: 'GetTraceSegmentDestinationResult')
104
112
  GetTraceSummariesRequest = Shapes::StructureShape.new(name: 'GetTraceSummariesRequest')
105
113
  GetTraceSummariesResult = Shapes::StructureShape.new(name: 'GetTraceSummariesResult')
114
+ GraphLink = Shapes::StructureShape.new(name: 'GraphLink')
106
115
  Group = Shapes::StructureShape.new(name: 'Group')
107
116
  GroupARN = Shapes::StringShape.new(name: 'GroupARN')
108
117
  GroupName = Shapes::StringShape.new(name: 'GroupName')
@@ -114,6 +123,10 @@ module Aws::XRay
114
123
  Host = Shapes::StringShape.new(name: 'Host')
115
124
  Hostname = Shapes::StringShape.new(name: 'Hostname')
116
125
  Http = Shapes::StructureShape.new(name: 'Http')
126
+ IndexingRule = Shapes::StructureShape.new(name: 'IndexingRule')
127
+ IndexingRuleList = Shapes::ListShape.new(name: 'IndexingRuleList')
128
+ IndexingRuleValue = Shapes::UnionShape.new(name: 'IndexingRuleValue')
129
+ IndexingRuleValueUpdate = Shapes::UnionShape.new(name: 'IndexingRuleValueUpdate')
117
130
  Insight = Shapes::StructureShape.new(name: 'Insight')
118
131
  InsightCategory = Shapes::StringShape.new(name: 'InsightCategory')
119
132
  InsightCategoryList = Shapes::ListShape.new(name: 'InsightCategoryList')
@@ -134,8 +147,11 @@ module Aws::XRay
134
147
  Integer = Shapes::IntegerShape.new(name: 'Integer')
135
148
  InvalidPolicyRevisionIdException = Shapes::StructureShape.new(name: 'InvalidPolicyRevisionIdException')
136
149
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
150
+ LinksList = Shapes::ListShape.new(name: 'LinksList')
137
151
  ListResourcePoliciesRequest = Shapes::StructureShape.new(name: 'ListResourcePoliciesRequest')
138
152
  ListResourcePoliciesResult = Shapes::StructureShape.new(name: 'ListResourcePoliciesResult')
153
+ ListRetrievedTracesRequest = Shapes::StructureShape.new(name: 'ListRetrievedTracesRequest')
154
+ ListRetrievedTracesResult = Shapes::StructureShape.new(name: 'ListRetrievedTracesResult')
139
155
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
140
156
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
141
157
  LockoutPreventionException = Shapes::StructureShape.new(name: 'LockoutPreventionException')
@@ -150,6 +166,8 @@ module Aws::XRay
150
166
  PolicyRevisionId = Shapes::StringShape.new(name: 'PolicyRevisionId')
151
167
  PolicySizeLimitExceededException = Shapes::StructureShape.new(name: 'PolicySizeLimitExceededException')
152
168
  Priority = Shapes::IntegerShape.new(name: 'Priority')
169
+ ProbabilisticRuleValue = Shapes::StructureShape.new(name: 'ProbabilisticRuleValue')
170
+ ProbabilisticRuleValueUpdate = Shapes::StructureShape.new(name: 'ProbabilisticRuleValueUpdate')
153
171
  PutEncryptionConfigRequest = Shapes::StructureShape.new(name: 'PutEncryptionConfigRequest')
154
172
  PutEncryptionConfigResult = Shapes::StructureShape.new(name: 'PutEncryptionConfigResult')
155
173
  PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
@@ -173,6 +191,11 @@ module Aws::XRay
173
191
  ResponseTimeRootCauseService = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseService')
174
192
  ResponseTimeRootCauseServices = Shapes::ListShape.new(name: 'ResponseTimeRootCauseServices')
175
193
  ResponseTimeRootCauses = Shapes::ListShape.new(name: 'ResponseTimeRootCauses')
194
+ RetrievalStatus = Shapes::StringShape.new(name: 'RetrievalStatus')
195
+ RetrievalToken = Shapes::StringShape.new(name: 'RetrievalToken')
196
+ RetrievedService = Shapes::StructureShape.new(name: 'RetrievedService')
197
+ RetrievedServicesList = Shapes::ListShape.new(name: 'RetrievedServicesList')
198
+ RetrievedTrace = Shapes::StructureShape.new(name: 'RetrievedTrace')
176
199
  RootCauseException = Shapes::StructureShape.new(name: 'RootCauseException')
177
200
  RootCauseExceptions = Shapes::ListShape.new(name: 'RootCauseExceptions')
178
201
  RuleLimitExceededException = Shapes::StructureShape.new(name: 'RuleLimitExceededException')
@@ -202,6 +225,12 @@ module Aws::XRay
202
225
  ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
203
226
  ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
204
227
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
228
+ Span = Shapes::StructureShape.new(name: 'Span')
229
+ SpanDocument = Shapes::StringShape.new(name: 'SpanDocument')
230
+ SpanId = Shapes::StringShape.new(name: 'SpanId')
231
+ SpanList = Shapes::ListShape.new(name: 'SpanList')
232
+ StartTraceRetrievalRequest = Shapes::StructureShape.new(name: 'StartTraceRetrievalRequest')
233
+ StartTraceRetrievalResult = Shapes::StructureShape.new(name: 'StartTraceRetrievalResult')
205
234
  String = Shapes::StringShape.new(name: 'String')
206
235
  Tag = Shapes::StructureShape.new(name: 'Tag')
207
236
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -221,13 +250,18 @@ module Aws::XRay
221
250
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
222
251
  Trace = Shapes::StructureShape.new(name: 'Trace')
223
252
  TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
253
+ TraceFormatType = Shapes::StringShape.new(name: 'TraceFormatType')
224
254
  TraceId = Shapes::StringShape.new(name: 'TraceId')
225
255
  TraceIdList = Shapes::ListShape.new(name: 'TraceIdList')
256
+ TraceIdListForRetrieval = Shapes::ListShape.new(name: 'TraceIdListForRetrieval')
226
257
  TraceInstanceIds = Shapes::ListShape.new(name: 'TraceInstanceIds')
227
258
  TraceList = Shapes::ListShape.new(name: 'TraceList')
228
259
  TraceResourceARNs = Shapes::ListShape.new(name: 'TraceResourceARNs')
260
+ TraceSegmentDestination = Shapes::StringShape.new(name: 'TraceSegmentDestination')
261
+ TraceSegmentDestinationStatus = Shapes::StringShape.new(name: 'TraceSegmentDestinationStatus')
229
262
  TraceSegmentDocument = Shapes::StringShape.new(name: 'TraceSegmentDocument')
230
263
  TraceSegmentDocumentList = Shapes::ListShape.new(name: 'TraceSegmentDocumentList')
264
+ TraceSpanList = Shapes::ListShape.new(name: 'TraceSpanList')
231
265
  TraceSummary = Shapes::StructureShape.new(name: 'TraceSummary')
232
266
  TraceSummaryList = Shapes::ListShape.new(name: 'TraceSummaryList')
233
267
  TraceUser = Shapes::StructureShape.new(name: 'TraceUser')
@@ -242,8 +276,12 @@ module Aws::XRay
242
276
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
243
277
  UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
244
278
  UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
279
+ UpdateIndexingRuleRequest = Shapes::StructureShape.new(name: 'UpdateIndexingRuleRequest')
280
+ UpdateIndexingRuleResult = Shapes::StructureShape.new(name: 'UpdateIndexingRuleResult')
245
281
  UpdateSamplingRuleRequest = Shapes::StructureShape.new(name: 'UpdateSamplingRuleRequest')
246
282
  UpdateSamplingRuleResult = Shapes::StructureShape.new(name: 'UpdateSamplingRuleResult')
283
+ UpdateTraceSegmentDestinationRequest = Shapes::StructureShape.new(name: 'UpdateTraceSegmentDestinationRequest')
284
+ UpdateTraceSegmentDestinationResult = Shapes::StructureShape.new(name: 'UpdateTraceSegmentDestinationResult')
247
285
  ValueWithServiceIds = Shapes::StructureShape.new(name: 'ValueWithServiceIds')
248
286
  ValuesWithServiceIds = Shapes::ListShape.new(name: 'ValuesWithServiceIds')
249
287
  Version = Shapes::IntegerShape.new(name: 'Version')
@@ -293,6 +331,11 @@ module Aws::XRay
293
331
  BatchGetTracesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
294
332
  BatchGetTracesResult.struct_class = Types::BatchGetTracesResult
295
333
 
334
+ CancelTraceRetrievalRequest.add_member(:retrieval_token, Shapes::ShapeRef.new(shape: RetrievalToken, required: true, location_name: "RetrievalToken"))
335
+ CancelTraceRetrievalRequest.struct_class = Types::CancelTraceRetrievalRequest
336
+
337
+ CancelTraceRetrievalResult.struct_class = Types::CancelTraceRetrievalResult
338
+
296
339
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
297
340
  CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
298
341
  CreateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
@@ -430,6 +473,13 @@ module Aws::XRay
430
473
  GetGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
431
474
  GetGroupsResult.struct_class = Types::GetGroupsResult
432
475
 
476
+ GetIndexingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
477
+ GetIndexingRulesRequest.struct_class = Types::GetIndexingRulesRequest
478
+
479
+ GetIndexingRulesResult.add_member(:indexing_rules, Shapes::ShapeRef.new(shape: IndexingRuleList, location_name: "IndexingRules"))
480
+ GetIndexingRulesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
481
+ GetIndexingRulesResult.struct_class = Types::GetIndexingRulesResult
482
+
433
483
  GetInsightEventsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
434
484
  GetInsightEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInsightEventsMaxResults, location_name: "MaxResults"))
435
485
  GetInsightEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
@@ -473,6 +523,15 @@ module Aws::XRay
473
523
  GetInsightSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
474
524
  GetInsightSummariesResult.struct_class = Types::GetInsightSummariesResult
475
525
 
526
+ GetRetrievedTracesGraphRequest.add_member(:retrieval_token, Shapes::ShapeRef.new(shape: RetrievalToken, required: true, location_name: "RetrievalToken"))
527
+ GetRetrievedTracesGraphRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
528
+ GetRetrievedTracesGraphRequest.struct_class = Types::GetRetrievedTracesGraphRequest
529
+
530
+ GetRetrievedTracesGraphResult.add_member(:retrieval_status, Shapes::ShapeRef.new(shape: RetrievalStatus, location_name: "RetrievalStatus"))
531
+ GetRetrievedTracesGraphResult.add_member(:services, Shapes::ShapeRef.new(shape: RetrievedServicesList, location_name: "Services"))
532
+ GetRetrievedTracesGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
533
+ GetRetrievedTracesGraphResult.struct_class = Types::GetRetrievedTracesGraphResult
534
+
476
535
  GetSamplingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
477
536
  GetSamplingRulesRequest.struct_class = Types::GetSamplingRulesRequest
478
537
 
@@ -532,6 +591,12 @@ module Aws::XRay
532
591
  GetTraceGraphResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
533
592
  GetTraceGraphResult.struct_class = Types::GetTraceGraphResult
534
593
 
594
+ GetTraceSegmentDestinationRequest.struct_class = Types::GetTraceSegmentDestinationRequest
595
+
596
+ GetTraceSegmentDestinationResult.add_member(:destination, Shapes::ShapeRef.new(shape: TraceSegmentDestination, location_name: "Destination"))
597
+ GetTraceSegmentDestinationResult.add_member(:status, Shapes::ShapeRef.new(shape: TraceSegmentDestinationStatus, location_name: "Status"))
598
+ GetTraceSegmentDestinationResult.struct_class = Types::GetTraceSegmentDestinationResult
599
+
535
600
  GetTraceSummariesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
536
601
  GetTraceSummariesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
537
602
  GetTraceSummariesRequest.add_member(:time_range_type, Shapes::ShapeRef.new(shape: TimeRangeType, location_name: "TimeRangeType"))
@@ -547,6 +612,11 @@ module Aws::XRay
547
612
  GetTraceSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
548
613
  GetTraceSummariesResult.struct_class = Types::GetTraceSummariesResult
549
614
 
615
+ GraphLink.add_member(:reference_type, Shapes::ShapeRef.new(shape: String, location_name: "ReferenceType"))
616
+ GraphLink.add_member(:source_trace_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceTraceId"))
617
+ GraphLink.add_member(:destination_trace_ids, Shapes::ShapeRef.new(shape: TraceIdList, location_name: "DestinationTraceIds"))
618
+ GraphLink.struct_class = Types::GraphLink
619
+
550
620
  Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
551
621
  Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
552
622
  Group.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
@@ -574,6 +644,25 @@ module Aws::XRay
574
644
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
575
645
  Http.struct_class = Types::Http
576
646
 
647
+ IndexingRule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
648
+ IndexingRule.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ModifiedAt"))
649
+ IndexingRule.add_member(:rule, Shapes::ShapeRef.new(shape: IndexingRuleValue, location_name: "Rule"))
650
+ IndexingRule.struct_class = Types::IndexingRule
651
+
652
+ IndexingRuleList.member = Shapes::ShapeRef.new(shape: IndexingRule)
653
+
654
+ IndexingRuleValue.add_member(:probabilistic, Shapes::ShapeRef.new(shape: ProbabilisticRuleValue, location_name: "Probabilistic"))
655
+ IndexingRuleValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
656
+ IndexingRuleValue.add_member_subclass(:probabilistic, Types::IndexingRuleValue::Probabilistic)
657
+ IndexingRuleValue.add_member_subclass(:unknown, Types::IndexingRuleValue::Unknown)
658
+ IndexingRuleValue.struct_class = Types::IndexingRuleValue
659
+
660
+ IndexingRuleValueUpdate.add_member(:probabilistic, Shapes::ShapeRef.new(shape: ProbabilisticRuleValueUpdate, location_name: "Probabilistic"))
661
+ IndexingRuleValueUpdate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
662
+ IndexingRuleValueUpdate.add_member_subclass(:probabilistic, Types::IndexingRuleValueUpdate::Probabilistic)
663
+ IndexingRuleValueUpdate.add_member_subclass(:unknown, Types::IndexingRuleValueUpdate::Unknown)
664
+ IndexingRuleValueUpdate.struct_class = Types::IndexingRuleValueUpdate
665
+
577
666
  Insight.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
578
667
  Insight.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
579
668
  Insight.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
@@ -646,6 +735,8 @@ module Aws::XRay
646
735
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
647
736
  InvalidRequestException.struct_class = Types::InvalidRequestException
648
737
 
738
+ LinksList.member = Shapes::ShapeRef.new(shape: GraphLink)
739
+
649
740
  ListResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ResourcePolicyNextToken, location_name: "NextToken"))
650
741
  ListResourcePoliciesRequest.struct_class = Types::ListResourcePoliciesRequest
651
742
 
@@ -653,6 +744,17 @@ module Aws::XRay
653
744
  ListResourcePoliciesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ResourcePolicyNextToken, location_name: "NextToken"))
654
745
  ListResourcePoliciesResult.struct_class = Types::ListResourcePoliciesResult
655
746
 
747
+ ListRetrievedTracesRequest.add_member(:retrieval_token, Shapes::ShapeRef.new(shape: RetrievalToken, required: true, location_name: "RetrievalToken"))
748
+ ListRetrievedTracesRequest.add_member(:trace_format, Shapes::ShapeRef.new(shape: TraceFormatType, location_name: "TraceFormat"))
749
+ ListRetrievedTracesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
750
+ ListRetrievedTracesRequest.struct_class = Types::ListRetrievedTracesRequest
751
+
752
+ ListRetrievedTracesResult.add_member(:retrieval_status, Shapes::ShapeRef.new(shape: RetrievalStatus, location_name: "RetrievalStatus"))
753
+ ListRetrievedTracesResult.add_member(:trace_format, Shapes::ShapeRef.new(shape: TraceFormatType, location_name: "TraceFormat"))
754
+ ListRetrievedTracesResult.add_member(:traces, Shapes::ShapeRef.new(shape: TraceSpanList, location_name: "Traces"))
755
+ ListRetrievedTracesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
756
+ ListRetrievedTracesResult.struct_class = Types::ListRetrievedTracesResult
757
+
656
758
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
657
759
  ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
658
760
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
@@ -673,6 +775,13 @@ module Aws::XRay
673
775
  PolicySizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
674
776
  PolicySizeLimitExceededException.struct_class = Types::PolicySizeLimitExceededException
675
777
 
778
+ ProbabilisticRuleValue.add_member(:desired_sampling_percentage, Shapes::ShapeRef.new(shape: NullableDouble, required: true, location_name: "DesiredSamplingPercentage"))
779
+ ProbabilisticRuleValue.add_member(:actual_sampling_percentage, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ActualSamplingPercentage"))
780
+ ProbabilisticRuleValue.struct_class = Types::ProbabilisticRuleValue
781
+
782
+ ProbabilisticRuleValueUpdate.add_member(:desired_sampling_percentage, Shapes::ShapeRef.new(shape: NullableDouble, required: true, location_name: "DesiredSamplingPercentage"))
783
+ ProbabilisticRuleValueUpdate.struct_class = Types::ProbabilisticRuleValueUpdate
784
+
676
785
  PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
677
786
  PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
678
787
  PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
@@ -746,6 +855,17 @@ module Aws::XRay
746
855
 
747
856
  ResponseTimeRootCauses.member = Shapes::ShapeRef.new(shape: ResponseTimeRootCause)
748
857
 
858
+ RetrievedService.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "Service"))
859
+ RetrievedService.add_member(:links, Shapes::ShapeRef.new(shape: LinksList, location_name: "Links"))
860
+ RetrievedService.struct_class = Types::RetrievedService
861
+
862
+ RetrievedServicesList.member = Shapes::ShapeRef.new(shape: RetrievedService)
863
+
864
+ RetrievedTrace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
865
+ RetrievedTrace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
866
+ RetrievedTrace.add_member(:spans, Shapes::ShapeRef.new(shape: SpanList, location_name: "Spans"))
867
+ RetrievedTrace.struct_class = Types::RetrievedTrace
868
+
749
869
  RootCauseException.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
750
870
  RootCauseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
751
871
  RootCauseException.struct_class = Types::RootCauseException
@@ -863,6 +983,20 @@ module Aws::XRay
863
983
  ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
864
984
  ServiceStatistics.struct_class = Types::ServiceStatistics
865
985
 
986
+ Span.add_member(:id, Shapes::ShapeRef.new(shape: SpanId, location_name: "Id"))
987
+ Span.add_member(:document, Shapes::ShapeRef.new(shape: SpanDocument, location_name: "Document"))
988
+ Span.struct_class = Types::Span
989
+
990
+ SpanList.member = Shapes::ShapeRef.new(shape: Span)
991
+
992
+ StartTraceRetrievalRequest.add_member(:trace_ids, Shapes::ShapeRef.new(shape: TraceIdListForRetrieval, required: true, location_name: "TraceIds"))
993
+ StartTraceRetrievalRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
994
+ StartTraceRetrievalRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
995
+ StartTraceRetrievalRequest.struct_class = Types::StartTraceRetrievalRequest
996
+
997
+ StartTraceRetrievalResult.add_member(:retrieval_token, Shapes::ShapeRef.new(shape: RetrievalToken, location_name: "RetrievalToken"))
998
+ StartTraceRetrievalResult.struct_class = Types::StartTraceRetrievalResult
999
+
866
1000
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
867
1001
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
868
1002
  Tag.struct_class = Types::Tag
@@ -913,6 +1047,8 @@ module Aws::XRay
913
1047
 
914
1048
  TraceIdList.member = Shapes::ShapeRef.new(shape: TraceId)
915
1049
 
1050
+ TraceIdListForRetrieval.member = Shapes::ShapeRef.new(shape: TraceId)
1051
+
916
1052
  TraceInstanceIds.member = Shapes::ShapeRef.new(shape: InstanceIdDetail)
917
1053
 
918
1054
  TraceList.member = Shapes::ShapeRef.new(shape: Trace)
@@ -921,6 +1057,8 @@ module Aws::XRay
921
1057
 
922
1058
  TraceSegmentDocumentList.member = Shapes::ShapeRef.new(shape: TraceSegmentDocument)
923
1059
 
1060
+ TraceSpanList.member = Shapes::ShapeRef.new(shape: RetrievedTrace)
1061
+
924
1062
  TraceSummary.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
925
1063
  TraceSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
926
1064
  TraceSummary.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
@@ -983,12 +1121,26 @@ module Aws::XRay
983
1121
  UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
984
1122
  UpdateGroupResult.struct_class = Types::UpdateGroupResult
985
1123
 
1124
+ UpdateIndexingRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
1125
+ UpdateIndexingRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: IndexingRuleValueUpdate, required: true, location_name: "Rule"))
1126
+ UpdateIndexingRuleRequest.struct_class = Types::UpdateIndexingRuleRequest
1127
+
1128
+ UpdateIndexingRuleResult.add_member(:indexing_rule, Shapes::ShapeRef.new(shape: IndexingRule, location_name: "IndexingRule"))
1129
+ UpdateIndexingRuleResult.struct_class = Types::UpdateIndexingRuleResult
1130
+
986
1131
  UpdateSamplingRuleRequest.add_member(:sampling_rule_update, Shapes::ShapeRef.new(shape: SamplingRuleUpdate, required: true, location_name: "SamplingRuleUpdate"))
987
1132
  UpdateSamplingRuleRequest.struct_class = Types::UpdateSamplingRuleRequest
988
1133
 
989
1134
  UpdateSamplingRuleResult.add_member(:sampling_rule_record, Shapes::ShapeRef.new(shape: SamplingRuleRecord, location_name: "SamplingRuleRecord"))
990
1135
  UpdateSamplingRuleResult.struct_class = Types::UpdateSamplingRuleResult
991
1136
 
1137
+ UpdateTraceSegmentDestinationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: TraceSegmentDestination, location_name: "Destination"))
1138
+ UpdateTraceSegmentDestinationRequest.struct_class = Types::UpdateTraceSegmentDestinationRequest
1139
+
1140
+ UpdateTraceSegmentDestinationResult.add_member(:destination, Shapes::ShapeRef.new(shape: TraceSegmentDestination, location_name: "Destination"))
1141
+ UpdateTraceSegmentDestinationResult.add_member(:status, Shapes::ShapeRef.new(shape: TraceSegmentDestinationStatus, location_name: "Status"))
1142
+ UpdateTraceSegmentDestinationResult.struct_class = Types::UpdateTraceSegmentDestinationResult
1143
+
992
1144
  ValueWithServiceIds.add_member(:annotation_value, Shapes::ShapeRef.new(shape: AnnotationValue, location_name: "AnnotationValue"))
993
1145
  ValueWithServiceIds.add_member(:service_ids, Shapes::ShapeRef.new(shape: ServiceIds, location_name: "ServiceIds"))
994
1146
  ValueWithServiceIds.struct_class = Types::ValueWithServiceIds
@@ -1028,6 +1180,17 @@ module Aws::XRay
1028
1180
  )
1029
1181
  end)
1030
1182
 
1183
+ api.add_operation(:cancel_trace_retrieval, Seahorse::Model::Operation.new.tap do |o|
1184
+ o.name = "CancelTraceRetrieval"
1185
+ o.http_method = "POST"
1186
+ o.http_request_uri = "/CancelTraceRetrieval"
1187
+ o.input = Shapes::ShapeRef.new(shape: CancelTraceRetrievalRequest)
1188
+ o.output = Shapes::ShapeRef.new(shape: CancelTraceRetrievalResult)
1189
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1190
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1191
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1192
+ end)
1193
+
1031
1194
  api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
1032
1195
  o.name = "CreateGroup"
1033
1196
  o.http_method = "POST"
@@ -1115,6 +1278,16 @@ module Aws::XRay
1115
1278
  )
1116
1279
  end)
1117
1280
 
1281
+ api.add_operation(:get_indexing_rules, Seahorse::Model::Operation.new.tap do |o|
1282
+ o.name = "GetIndexingRules"
1283
+ o.http_method = "POST"
1284
+ o.http_request_uri = "/GetIndexingRules"
1285
+ o.input = Shapes::ShapeRef.new(shape: GetIndexingRulesRequest)
1286
+ o.output = Shapes::ShapeRef.new(shape: GetIndexingRulesResult)
1287
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1288
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1289
+ end)
1290
+
1118
1291
  api.add_operation(:get_insight, Seahorse::Model::Operation.new.tap do |o|
1119
1292
  o.name = "GetInsight"
1120
1293
  o.http_method = "POST"
@@ -1167,6 +1340,17 @@ module Aws::XRay
1167
1340
  )
1168
1341
  end)
1169
1342
 
1343
+ api.add_operation(:get_retrieved_traces_graph, Seahorse::Model::Operation.new.tap do |o|
1344
+ o.name = "GetRetrievedTracesGraph"
1345
+ o.http_method = "POST"
1346
+ o.http_request_uri = "/GetRetrievedTracesGraph"
1347
+ o.input = Shapes::ShapeRef.new(shape: GetRetrievedTracesGraphRequest)
1348
+ o.output = Shapes::ShapeRef.new(shape: GetRetrievedTracesGraphResult)
1349
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1352
+ end)
1353
+
1170
1354
  api.add_operation(:get_sampling_rules, Seahorse::Model::Operation.new.tap do |o|
1171
1355
  o.name = "GetSamplingRules"
1172
1356
  o.http_method = "POST"
@@ -1252,6 +1436,16 @@ module Aws::XRay
1252
1436
  )
1253
1437
  end)
1254
1438
 
1439
+ api.add_operation(:get_trace_segment_destination, Seahorse::Model::Operation.new.tap do |o|
1440
+ o.name = "GetTraceSegmentDestination"
1441
+ o.http_method = "POST"
1442
+ o.http_request_uri = "/GetTraceSegmentDestination"
1443
+ o.input = Shapes::ShapeRef.new(shape: GetTraceSegmentDestinationRequest)
1444
+ o.output = Shapes::ShapeRef.new(shape: GetTraceSegmentDestinationResult)
1445
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1446
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1447
+ end)
1448
+
1255
1449
  api.add_operation(:get_trace_summaries, Seahorse::Model::Operation.new.tap do |o|
1256
1450
  o.name = "GetTraceSummaries"
1257
1451
  o.http_method = "POST"
@@ -1282,6 +1476,17 @@ module Aws::XRay
1282
1476
  )
1283
1477
  end)
1284
1478
 
1479
+ api.add_operation(:list_retrieved_traces, Seahorse::Model::Operation.new.tap do |o|
1480
+ o.name = "ListRetrievedTraces"
1481
+ o.http_method = "POST"
1482
+ o.http_request_uri = "/ListRetrievedTraces"
1483
+ o.input = Shapes::ShapeRef.new(shape: ListRetrievedTracesRequest)
1484
+ o.output = Shapes::ShapeRef.new(shape: ListRetrievedTracesResult)
1485
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1488
+ end)
1489
+
1285
1490
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1286
1491
  o.name = "ListTagsForResource"
1287
1492
  o.http_method = "POST"
@@ -1342,6 +1547,17 @@ module Aws::XRay
1342
1547
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1343
1548
  end)
1344
1549
 
1550
+ api.add_operation(:start_trace_retrieval, Seahorse::Model::Operation.new.tap do |o|
1551
+ o.name = "StartTraceRetrieval"
1552
+ o.http_method = "POST"
1553
+ o.http_request_uri = "/StartTraceRetrieval"
1554
+ o.input = Shapes::ShapeRef.new(shape: StartTraceRetrievalRequest)
1555
+ o.output = Shapes::ShapeRef.new(shape: StartTraceRetrievalResult)
1556
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1557
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1558
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1559
+ end)
1560
+
1345
1561
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1346
1562
  o.name = "TagResource"
1347
1563
  o.http_method = "POST"
@@ -1375,6 +1591,17 @@ module Aws::XRay
1375
1591
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1376
1592
  end)
1377
1593
 
1594
+ api.add_operation(:update_indexing_rule, Seahorse::Model::Operation.new.tap do |o|
1595
+ o.name = "UpdateIndexingRule"
1596
+ o.http_method = "POST"
1597
+ o.http_request_uri = "/UpdateIndexingRule"
1598
+ o.input = Shapes::ShapeRef.new(shape: UpdateIndexingRuleRequest)
1599
+ o.output = Shapes::ShapeRef.new(shape: UpdateIndexingRuleResult)
1600
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1601
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1602
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1603
+ end)
1604
+
1378
1605
  api.add_operation(:update_sampling_rule, Seahorse::Model::Operation.new.tap do |o|
1379
1606
  o.name = "UpdateSamplingRule"
1380
1607
  o.http_method = "POST"
@@ -1384,6 +1611,16 @@ module Aws::XRay
1384
1611
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1385
1612
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1386
1613
  end)
1614
+
1615
+ api.add_operation(:update_trace_segment_destination, Seahorse::Model::Operation.new.tap do |o|
1616
+ o.name = "UpdateTraceSegmentDestination"
1617
+ o.http_method = "POST"
1618
+ o.http_request_uri = "/UpdateTraceSegmentDestination"
1619
+ o.input = Shapes::ShapeRef.new(shape: UpdateTraceSegmentDestinationRequest)
1620
+ o.output = Shapes::ShapeRef.new(shape: UpdateTraceSegmentDestinationResult)
1621
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1623
+ end)
1387
1624
  end
1388
1625
 
1389
1626
  end
@@ -52,15 +52,18 @@ module Aws::XRay
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -32,7 +32,7 @@ module Aws::XRay
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://xray-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"