Skip to content

Commit 91bb84e

Browse files
committed
Update services based on release-2025-09-22 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-09-22
1 parent 16db692 commit 91bb84e

File tree

4 files changed

+29
-86
lines changed

4 files changed

+29
-86
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-09-19
1+
release-2025-09-22

lib/aws/generated/batch.ex

Lines changed: 3 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -2837,8 +2837,6 @@ defmodule AWS.Batch do
28372837
percentage of the
28382838
On-Demand price.
28392839
2840-
Multi-node parallel jobs aren't supported on Spot Instances.
2841-
28422840
In an unmanaged compute environment, you can manage your own EC2 compute
28432841
resources and
28442842
have flexibility with how you configure your compute resources. For example, you
@@ -2855,84 +2853,10 @@ defmodule AWS.Batch do
28552853
cluster. For more information, see [Launching an Amazon ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html)
28562854
in the *Amazon Elastic Container Service Developer Guide*.
28572855
2858-
To create a compute environment that uses EKS resources, the caller must have
2859-
permissions to call `eks:DescribeCluster`.
2860-
28612856
Batch doesn't automatically upgrade the AMIs in a compute environment after it's
2862-
created. For example, it also doesn't update the AMIs in your compute
2863-
environment when a
2864-
newer version of the Amazon ECS optimized AMI is available. You're responsible
2865-
for the management
2866-
of the guest operating system. This includes any updates and security patches.
2867-
You're also
2868-
responsible for any additional application software or utilities that you
2869-
install on the
2870-
compute resources. There are two ways to use a new AMI for your Batch jobs. The
2871-
original
2872-
method is to complete these steps:
2873-
2874-
2875-
Create a new compute environment with the new AMI.
2876-
2877-
2878-
Add the compute environment to an existing job queue.
2879-
2880-
2881-
Remove the earlier compute environment from your job queue.
2882-
2883-
2884-
Delete the earlier compute environment.
2885-
2886-
In April 2022, Batch added enhanced support for updating compute environments.
2887-
For
2888-
more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html).
2889-
To use the enhanced updating of compute environments to update AMIs, follow
2890-
these
2891-
rules:
2892-
2893-
2894-
Either don't set the service role (`serviceRole`) parameter or set it to
2895-
the **AWSBatchServiceRole** service-linked role.
2896-
2897-
2898-
Set the allocation strategy (`allocationStrategy`) parameter to
2899-
`BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED`, or
2900-
`SPOT_PRICE_CAPACITY_OPTIMIZED`.
2901-
2902-
2903-
Set the update to latest image version (`updateToLatestImageVersion`)
2904-
parameter to `true`. The `updateToLatestImageVersion` parameter
2905-
is used when you update a compute environment. This parameter is ignored when
2906-
you create
2907-
a compute environment.
2908-
2909-
2910-
Don't specify an AMI ID in `imageId`, `imageIdOverride` (in
2911-
[
2912-
`ec2Configuration`
2913-
](https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html)),
2914-
or in the launch template
2915-
(`launchTemplate`). In that case, Batch selects the latest Amazon ECS
2916-
optimized AMI that's supported by Batch at the time the infrastructure update is
2917-
initiated. Alternatively, you can specify the AMI ID in the `imageId` or
2918-
`imageIdOverride` parameters, or the launch template identified by the
2919-
`LaunchTemplate` properties. Changing any of these properties starts an
2920-
infrastructure update. If the AMI ID is specified in the launch template, it
2921-
can't be
2922-
replaced by specifying an AMI ID in either the `imageId` or
2923-
`imageIdOverride` parameters. It can only be replaced by specifying a
2924-
different launch template, or if the launch template version is set to
2925-
`$Default` or `$Latest`, by setting either a new default version
2926-
for the launch template (if `$Default`) or by adding a new version to the
2927-
launch template (if `$Latest`).
2928-
2929-
If these rules are followed, any update that starts an infrastructure update
2930-
causes the
2931-
AMI ID to be re-selected. If the `version` setting in the launch template
2932-
(`launchTemplate`) is set to `$Latest` or `$Default`, the
2933-
latest or default version of the launch template is evaluated up at the time of
2934-
the
2935-
infrastructure update, even if the `launchTemplate` wasn't updated.
2857+
created. For more information on how to update a compute environment's AMI, see
2858+
[Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html)
2859+
in the *Batch User Guide*.
29362860
"""
29372861
@spec create_compute_environment(map(), create_compute_environment_request(), list()) ::
29382862
{:ok, create_compute_environment_response(), any()}

lib/aws/generated/eks.ex

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,6 +1429,20 @@ defmodule AWS.EKS do
14291429

14301430
@typedoc """
14311431
1432+
## Example:
1433+
1434+
node_repair_config_overrides() :: %{
1435+
"minRepairWaitTimeMins" => integer(),
1436+
"nodeMonitoringCondition" => String.t() | atom(),
1437+
"nodeUnhealthyReason" => String.t() | atom(),
1438+
"repairAction" => list(any())
1439+
}
1440+
1441+
"""
1442+
@type node_repair_config_overrides() :: %{(String.t() | atom()) => any()}
1443+
1444+
@typedoc """
1445+
14321446
## Example:
14331447
14341448
fargate_profile_health() :: %{
@@ -1673,7 +1687,12 @@ defmodule AWS.EKS do
16731687
## Example:
16741688
16751689
node_repair_config() :: %{
1676-
"enabled" => boolean()
1690+
"enabled" => boolean(),
1691+
"maxParallelNodesRepairedCount" => integer(),
1692+
"maxParallelNodesRepairedPercentage" => integer(),
1693+
"maxUnhealthyNodeThresholdCount" => integer(),
1694+
"maxUnhealthyNodeThresholdPercentage" => integer(),
1695+
"nodeRepairConfigOverrides" => list(node_repair_config_overrides())
16771696
}
16781697
16791698
"""

lib/aws/generated/imagebuilder.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -939,9 +939,9 @@ defmodule AWS.Imagebuilder do
939939
## Example:
940940
941941
list_component_build_versions_request() :: %{
942+
optional("componentVersionArn") => String.t() | atom(),
942943
optional("maxResults") => integer(),
943-
optional("nextToken") => String.t() | atom(),
944-
required("componentVersionArn") => String.t() | atom()
944+
optional("nextToken") => String.t() | atom()
945945
}
946946
947947
"""
@@ -2362,9 +2362,9 @@ defmodule AWS.Imagebuilder do
23622362
23632363
list_image_build_versions_request() :: %{
23642364
optional("filters") => list(filter()),
2365+
optional("imageVersionArn") => String.t() | atom(),
23652366
optional("maxResults") => integer(),
2366-
optional("nextToken") => String.t() | atom(),
2367-
required("imageVersionArn") => String.t() | atom()
2367+
optional("nextToken") => String.t() | atom()
23682368
}
23692369
23702370
"""
@@ -2852,7 +2852,7 @@ defmodule AWS.Imagebuilder do
28522852
list_workflow_build_versions_request() :: %{
28532853
optional("maxResults") => integer(),
28542854
optional("nextToken") => String.t() | atom(),
2855-
required("workflowVersionArn") => String.t() | atom()
2855+
optional("workflowVersionArn") => String.t() | atom()
28562856
}
28572857
28582858
"""

0 commit comments

Comments
 (0)