Skip to content

Commit 5325f57

Browse files
committed
Update services based on release-2025-08-29 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-08-29
1 parent aab5024 commit 5325f57

File tree

2 files changed

+54
-9
lines changed

2 files changed

+54
-9
lines changed

.latest-tag-aws-sdk-go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release-2025-08-28
1+
release-2025-08-29

lib/aws/generated/xray.ex

Lines changed: 53 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ defmodule AWS.XRay do
269269
"ResourceARN" => String.t() | atom(),
270270
"RuleARN" => String.t() | atom(),
271271
"RuleName" => String.t() | atom(),
272+
"SamplingRateBoost" => sampling_rate_boost(),
272273
"ServiceName" => String.t() | atom(),
273274
"ServiceType" => String.t() | atom(),
274275
"URLPath" => String.t() | atom()
@@ -480,6 +481,18 @@ defmodule AWS.XRay do
480481

481482
@typedoc """
482483
484+
## Example:
485+
486+
sampling_rate_boost() :: %{
487+
"CooldownWindowMinutes" => integer(),
488+
"MaxRate" => float()
489+
}
490+
491+
"""
492+
@type sampling_rate_boost() :: %{(String.t() | atom()) => any()}
493+
494+
@typedoc """
495+
483496
## Example:
484497
485498
get_sampling_rules_request() :: %{
@@ -543,7 +556,8 @@ defmodule AWS.XRay do
543556
"Interval" => integer(),
544557
"ReservoirQuota" => integer(),
545558
"ReservoirQuotaTTL" => non_neg_integer(),
546-
"RuleName" => String.t() | atom()
559+
"RuleName" => String.t() | atom(),
560+
"SamplingBoost" => sampling_boost()
547561
}
548562
549563
"""
@@ -844,6 +858,7 @@ defmodule AWS.XRay do
844858
"ResourceARN" => String.t() | atom(),
845859
"RuleARN" => String.t() | atom(),
846860
"RuleName" => String.t() | atom(),
861+
"SamplingRateBoost" => sampling_rate_boost(),
847862
"ServiceName" => String.t() | atom(),
848863
"ServiceType" => String.t() | atom(),
849864
"URLPath" => String.t() | atom(),
@@ -921,6 +936,7 @@ defmodule AWS.XRay do
921936
## Example:
922937
923938
get_sampling_targets_request() :: %{
939+
optional("SamplingBoostStatisticsDocuments") => list(sampling_boost_statistics_document()),
924940
required("SamplingStatisticsDocuments") => list(sampling_statistics_document())
925941
}
926942
@@ -978,6 +994,7 @@ defmodule AWS.XRay do
978994
get_sampling_targets_result() :: %{
979995
"LastRuleModification" => non_neg_integer(),
980996
"SamplingTargetDocuments" => list(sampling_target_document()),
997+
"UnprocessedBoostStatistics" => list(unprocessed_statistics()),
981998
"UnprocessedStatistics" => list(unprocessed_statistics())
982999
}
9831000
@@ -995,6 +1012,18 @@ defmodule AWS.XRay do
9951012

9961013
@typedoc """
9971014
1015+
## Example:
1016+
1017+
sampling_boost() :: %{
1018+
"BoostRate" => float(),
1019+
"BoostRateTTL" => non_neg_integer()
1020+
}
1021+
1022+
"""
1023+
@type sampling_boost() :: %{(String.t() | atom()) => any()}
1024+
1025+
@typedoc """
1026+
9981027
## Example:
9991028
10001029
fault_root_cause_service() :: %{
@@ -1167,6 +1196,22 @@ defmodule AWS.XRay do
11671196

11681197
@typedoc """
11691198
1199+
## Example:
1200+
1201+
sampling_boost_statistics_document() :: %{
1202+
"AnomalyCount" => integer(),
1203+
"RuleName" => String.t() | atom(),
1204+
"SampledAnomalyCount" => integer(),
1205+
"ServiceName" => String.t() | atom(),
1206+
"Timestamp" => non_neg_integer(),
1207+
"TotalCount" => integer()
1208+
}
1209+
1210+
"""
1211+
@type sampling_boost_statistics_document() :: %{(String.t() | atom()) => any()}
1212+
1213+
@typedoc """
1214+
11701215
## Example:
11711216
11721217
fault_root_cause_entity() :: %{
@@ -2753,7 +2798,7 @@ defmodule AWS.XRay do
27532798
@doc """
27542799
27552800
Retrieves the current destination of data sent to `PutTraceSegments` and
2756-
*OpenTelemetry* API.
2801+
*OpenTelemetry protocol (OTLP)* endpoint.
27572802
27582803
The Transaction Search feature requires a CloudWatchLogs destination. For more
27592804
information, see [Transaction Search](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html)
@@ -2874,20 +2919,20 @@ defmodule AWS.XRay do
28742919
28752920
For information on what each trace returns, see
28762921
[BatchGetTraces](https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html).
2877-
This API does not initiate a retrieval job. To start a trace retrieval, use
2922+
This API does not initiate a retrieval process. To start a trace retrieval, use
28782923
`StartTraceRetrieval`, which generates the required `RetrievalToken`.
28792924
28802925
When the `RetrievalStatus` is not *COMPLETE*, the API will return an empty
28812926
response. Retry the request once the retrieval has completed to access the full
28822927
list of traces.
28832928
28842929
For cross-account observability, this API can retrieve traces from linked
2885-
accounts when CloudWatch log is the destination across relevant accounts. For
2886-
more details, see [CloudWatch cross-account
2930+
accounts when CloudWatch log is set as the destination across relevant accounts.
2931+
For more details, see [CloudWatch cross-account
28872932
observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html).
28882933
2889-
For retrieving data from X-Ray directly as opposed to the Transaction-Search Log
2890-
group, see
2934+
For retrieving data from X-Ray directly as opposed to the Transaction Search
2935+
generated log group, see
28912936
[BatchGetTraces](https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html).
28922937
"""
28932938
@spec list_retrieved_traces(map(), list_retrieved_traces_request(), list()) ::
@@ -3155,7 +3200,7 @@ defmodule AWS.XRay do
31553200
@doc """
31563201
31573202
Initiates a trace retrieval process using the specified time range and for the
3158-
give trace IDs on Transaction Search generated by the CloudWatch log group.
3203+
given trace IDs in the Transaction Search generated CloudWatch log group.
31593204
31603205
For more information, see [Transaction Search](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html).
31613206

0 commit comments

Comments
 (0)