sig/client.rbs in aws-sdk-xray-1.77.0 vs sig/client.rbs in aws-sdk-xray-1.78.0

- old
+ new

@@ -86,10 +86,19 @@ trace_ids: Array[::String], ?next_token: ::String ) -> _BatchGetTracesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTracesResponseSuccess + interface _CancelTraceRetrievalResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::CancelTraceRetrievalResult] + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#cancel_trace_retrieval-instance_method + def cancel_trace_retrieval: ( + retrieval_token: ::String + ) -> _CancelTraceRetrievalResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelTraceRetrievalResponseSuccess + interface _CreateGroupResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResult] def group: () -> Types::Group end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#create_group-instance_method @@ -199,10 +208,21 @@ def get_groups: ( ?next_token: ::String ) -> _GetGroupsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupsResponseSuccess + interface _GetIndexingRulesResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexingRulesResult] + def indexing_rules: () -> ::Array[Types::IndexingRule] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_indexing_rules-instance_method + def get_indexing_rules: ( + ?next_token: ::String + ) -> _GetIndexingRulesResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexingRulesResponseSuccess + interface _GetInsightResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightResult] def insight: () -> Types::Insight end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_insight-instance_method @@ -258,10 +278,23 @@ ?max_results: ::Integer, ?next_token: ::String ) -> _GetInsightSummariesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightSummariesResponseSuccess + interface _GetRetrievedTracesGraphResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetRetrievedTracesGraphResult] + def retrieval_status: () -> ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT") + def services: () -> ::Array[Types::RetrievedService] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_retrieved_traces_graph-instance_method + def get_retrieved_traces_graph: ( + retrieval_token: ::String, + ?next_token: ::String + ) -> _GetRetrievedTracesGraphResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRetrievedTracesGraphResponseSuccess + interface _GetSamplingRulesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetSamplingRulesResult] def sampling_rule_records: () -> ::Array[Types::SamplingRuleRecord] def next_token: () -> ::String end @@ -350,10 +383,20 @@ trace_ids: Array[::String], ?next_token: ::String ) -> _GetTraceGraphResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceGraphResponseSuccess + interface _GetTraceSegmentDestinationResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSegmentDestinationResult] + def destination: () -> ("XRay" | "CloudWatchLogs") + def status: () -> ("PENDING" | "ACTIVE") + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#get_trace_segment_destination-instance_method + def get_trace_segment_destination: ( + ) -> _GetTraceSegmentDestinationResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTraceSegmentDestinationResponseSuccess + interface _GetTraceSummariesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetTraceSummariesResult] def trace_summaries: () -> ::Array[Types::TraceSummary] def approximate_time: () -> ::Time def traces_processed_count: () -> ::Integer @@ -383,10 +426,25 @@ def list_resource_policies: ( ?next_token: ::String ) -> _ListResourcePoliciesResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcePoliciesResponseSuccess + interface _ListRetrievedTracesResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListRetrievedTracesResult] + def retrieval_status: () -> ("SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT") + def trace_format: () -> ("XRAY" | "OTEL") + def traces: () -> ::Array[Types::RetrievedTrace] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#list_retrieved_traces-instance_method + def list_retrieved_traces: ( + retrieval_token: ::String, + ?trace_format: ("XRAY" | "OTEL"), + ?next_token: ::String + ) -> _ListRetrievedTracesResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRetrievedTracesResponseSuccess + interface _ListTagsForResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse] def tags: () -> ::Array[Types::Tag] def next_token: () -> ::String end @@ -457,10 +515,22 @@ def put_trace_segments: ( trace_segment_documents: Array[::String] ) -> _PutTraceSegmentsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTraceSegmentsResponseSuccess + interface _StartTraceRetrievalResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::StartTraceRetrievalResult] + def retrieval_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#start_trace_retrieval-instance_method + def start_trace_retrieval: ( + trace_ids: Array[::String], + start_time: ::Time, + end_time: ::Time + ) -> _StartTraceRetrievalResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTraceRetrievalResponseSuccess + interface _TagResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#tag_resource-instance_method def tag_resource: ( @@ -498,10 +568,25 @@ notifications_enabled: bool? } ) -> _UpdateGroupResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess + interface _UpdateIndexingRuleResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIndexingRuleResult] + def indexing_rule: () -> Types::IndexingRule + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_indexing_rule-instance_method + def update_indexing_rule: ( + name: ::String, + rule: { + probabilistic: { + desired_sampling_percentage: ::Float + }? + } + ) -> _UpdateIndexingRuleResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIndexingRuleResponseSuccess + interface _UpdateSamplingRuleResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSamplingRuleResult] def sampling_rule_record: () -> Types::SamplingRuleRecord end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_sampling_rule-instance_method @@ -520,9 +605,20 @@ url_path: ::String?, attributes: Hash[::String, ::String]? } ) -> _UpdateSamplingRuleResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSamplingRuleResponseSuccess + + interface _UpdateTraceSegmentDestinationResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTraceSegmentDestinationResult] + def destination: () -> ("XRay" | "CloudWatchLogs") + def status: () -> ("PENDING" | "ACTIVE") + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_trace_segment_destination-instance_method + def update_trace_segment_destination: ( + ?destination: ("XRay" | "CloudWatchLogs") + ) -> _UpdateTraceSegmentDestinationResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTraceSegmentDestinationResponseSuccess end end end