Skip to content

Commit fda9d23

Browse files
committed
Update services based on release-2024-12-23 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2024-12-23
1 parent 1f3ca94 commit fda9d23

4 files changed

Lines changed: 141 additions & 4 deletions

File tree

.latest-tag-aws-sdk-go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release-2024-12-20
1+
release-2024-12-23

lib/aws/generated/ecr.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3059,7 +3059,7 @@ defmodule AWS.ECR do
30593059
end
30603060

30613061
@doc """
3062-
Retrieves the basic scan type version name.
3062+
Retrieves the account setting value for the specified setting name.
30633063
"""
30643064
@spec get_account_setting(map(), get_account_setting_request(), list()) ::
30653065
{:ok, get_account_setting_response(), any()}
@@ -3247,8 +3247,7 @@ defmodule AWS.ECR do
32473247
end
32483248

32493249
@doc """
3250-
Allows you to change the basic scan type version by setting the `name`
3251-
parameter to either `CLAIR` to `AWS_NATIVE`.
3250+
Allows you to change the basic scan type version or registry policy scope.
32523251
"""
32533252
@spec put_account_setting(map(), put_account_setting_request(), list()) ::
32543253
{:ok, put_account_setting_response(), any()}

lib/aws/generated/eks.ex

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,23 @@ defmodule AWS.EKS do
11061106

11071107
@typedoc """
11081108
1109+
## Example:
1110+
1111+
describe_cluster_versions_request() :: %{
1112+
optional("clusterType") => String.t(),
1113+
optional("clusterVersions") => list(String.t()()),
1114+
optional("defaultOnly") => boolean(),
1115+
optional("includeAll") => boolean(),
1116+
optional("maxResults") => integer(),
1117+
optional("nextToken") => String.t(),
1118+
optional("status") => list(any())
1119+
}
1120+
1121+
"""
1122+
@type describe_cluster_versions_request() :: %{String.t() => any()}
1123+
1124+
@typedoc """
1125+
11091126
## Example:
11101127
11111128
deprecation_detail() :: %{
@@ -1328,6 +1345,18 @@ defmodule AWS.EKS do
13281345

13291346
@typedoc """
13301347
1348+
## Example:
1349+
1350+
describe_cluster_versions_response() :: %{
1351+
"clusterVersions" => list(cluster_version_information()()),
1352+
"nextToken" => String.t()
1353+
}
1354+
1355+
"""
1356+
@type describe_cluster_versions_response() :: %{String.t() => any()}
1357+
1358+
@typedoc """
1359+
13311360
## Example:
13321361
13331362
fargate_profile_health() :: %{
@@ -2694,6 +2723,25 @@ defmodule AWS.EKS do
26942723

26952724
@typedoc """
26962725
2726+
## Example:
2727+
2728+
cluster_version_information() :: %{
2729+
"clusterType" => String.t(),
2730+
"clusterVersion" => String.t(),
2731+
"defaultPlatformVersion" => String.t(),
2732+
"defaultVersion" => boolean(),
2733+
"endOfExtendedSupportDate" => non_neg_integer(),
2734+
"endOfStandardSupportDate" => non_neg_integer(),
2735+
"kubernetesPatchVersion" => String.t(),
2736+
"releaseDate" => non_neg_integer(),
2737+
"status" => list(any())
2738+
}
2739+
2740+
"""
2741+
@type cluster_version_information() :: %{String.t() => any()}
2742+
2743+
@typedoc """
2744+
26972745
## Example:
26982746
26992747
create_pod_identity_association_response() :: %{
@@ -2880,6 +2928,9 @@ defmodule AWS.EKS do
28802928
| resource_not_found_exception()
28812929
| client_exception()
28822930

2931+
@type describe_cluster_versions_errors() ::
2932+
server_exception() | invalid_parameter_exception() | invalid_request_exception()
2933+
28832934
@type describe_eks_anywhere_subscription_errors() ::
28842935
server_exception()
28852936
| service_unavailable_exception()
@@ -4097,6 +4148,92 @@ defmodule AWS.EKS do
40974148
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
40984149
end
40994150

4151+
@doc """
4152+
Lists available Kubernetes versions for Amazon EKS clusters.
4153+
"""
4154+
@spec describe_cluster_versions(
4155+
map(),
4156+
String.t() | nil,
4157+
String.t() | nil,
4158+
String.t() | nil,
4159+
String.t() | nil,
4160+
String.t() | nil,
4161+
String.t() | nil,
4162+
String.t() | nil,
4163+
list()
4164+
) ::
4165+
{:ok, describe_cluster_versions_response(), any()}
4166+
| {:error, {:unexpected_response, any()}}
4167+
| {:error, describe_cluster_versions_errors()}
4168+
def describe_cluster_versions(
4169+
%Client{} = client,
4170+
cluster_type \\ nil,
4171+
cluster_versions \\ nil,
4172+
default_only \\ nil,
4173+
include_all \\ nil,
4174+
max_results \\ nil,
4175+
next_token \\ nil,
4176+
status \\ nil,
4177+
options \\ []
4178+
) do
4179+
url_path = "/cluster-versions"
4180+
headers = []
4181+
query_params = []
4182+
4183+
query_params =
4184+
if !is_nil(status) do
4185+
[{"status", status} | query_params]
4186+
else
4187+
query_params
4188+
end
4189+
4190+
query_params =
4191+
if !is_nil(next_token) do
4192+
[{"nextToken", next_token} | query_params]
4193+
else
4194+
query_params
4195+
end
4196+
4197+
query_params =
4198+
if !is_nil(max_results) do
4199+
[{"maxResults", max_results} | query_params]
4200+
else
4201+
query_params
4202+
end
4203+
4204+
query_params =
4205+
if !is_nil(include_all) do
4206+
[{"includeAll", include_all} | query_params]
4207+
else
4208+
query_params
4209+
end
4210+
4211+
query_params =
4212+
if !is_nil(default_only) do
4213+
[{"defaultOnly", default_only} | query_params]
4214+
else
4215+
query_params
4216+
end
4217+
4218+
query_params =
4219+
if !is_nil(cluster_versions) do
4220+
[{"clusterVersions", cluster_versions} | query_params]
4221+
else
4222+
query_params
4223+
end
4224+
4225+
query_params =
4226+
if !is_nil(cluster_type) do
4227+
[{"clusterType", cluster_type} | query_params]
4228+
else
4229+
query_params
4230+
end
4231+
4232+
meta = metadata()
4233+
4234+
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
4235+
end
4236+
41004237
@doc """
41014238
Returns descriptive information about a subscription.
41024239
"""

lib/aws/generated/glue.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4273,6 +4273,7 @@ defmodule AWS.Glue do
42734273
## Example:
42744274
42754275
get_catalogs_request() :: %{
4276+
optional("IncludeRoot") => boolean(),
42764277
optional("MaxResults") => integer(),
42774278
optional("NextToken") => String.t(),
42784279
optional("ParentCatalogId") => String.t(),

0 commit comments

Comments
 (0)