Skip to content

Commit f2180d6

Browse files
committed
Update services based on release-2025-09-08 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-09-08
1 parent 7c03154 commit f2180d6

File tree

3 files changed

+28
-11
lines changed

3 files changed

+28
-11
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-05
1+
release-2025-09-08

lib/aws/generated/iot_site_wise.ex

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3006,10 +3006,12 @@ defmodule AWS.IoTSiteWise do
30063006
30073007
## Example:
30083008
3009-
describe_computation_model_request() :: %{}
3009+
describe_computation_model_request() :: %{
3010+
optional("computationModelVersion") => String.t() | atom()
3011+
}
30103012
30113013
"""
3012-
@type describe_computation_model_request() :: %{}
3014+
@type describe_computation_model_request() :: %{(String.t() | atom()) => any()}
30133015

30143016
@typedoc """
30153017
@@ -5895,6 +5897,9 @@ defmodule AWS.IoTSiteWise do
58955897
user, IAM Identity Center group, or
58965898
IAM user) access to the specified IoT SiteWise Monitor portal or project
58975899
resource.
5900+
5901+
Support for access policies that use an SSO Group as the identity is not
5902+
supported at this time.
58985903
"""
58995904
@spec create_access_policy(map(), create_access_policy_request(), list()) ::
59005905
{:ok, create_access_policy_response(), any()}
@@ -7121,16 +7126,28 @@ defmodule AWS.IoTSiteWise do
71217126
@doc """
71227127
Retrieves information about a computation model.
71237128
"""
7124-
@spec describe_computation_model(map(), String.t() | atom(), list()) ::
7129+
@spec describe_computation_model(map(), String.t() | atom(), String.t() | atom() | nil, list()) ::
71257130
{:ok, describe_computation_model_response(), any()}
71267131
| {:error, {:unexpected_response, any()}}
71277132
| {:error, term()}
71287133
| {:error, describe_computation_model_errors()}
7129-
def describe_computation_model(%Client{} = client, computation_model_id, options \\ []) do
7134+
def describe_computation_model(
7135+
%Client{} = client,
7136+
computation_model_id,
7137+
computation_model_version \\ nil,
7138+
options \\ []
7139+
) do
71307140
url_path = "/computation-models/#{AWS.Util.encode_uri(computation_model_id)}"
71317141
headers = []
71327142
query_params = []
71337143

7144+
query_params =
7145+
if !is_nil(computation_model_version) do
7146+
[{"computationModelVersion", computation_model_version} | query_params]
7147+
else
7148+
query_params
7149+
end
7150+
71347151
meta = metadata() |> Map.put_new(:host_prefix, "api.")
71357152

71367153
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)

lib/aws/generated/s3.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ defmodule AWS.S3 do
317317
write_get_object_response_request() :: %{
318318
optional("VersionId") => String.t() | atom(),
319319
optional("ChecksumCRC32C") => String.t() | atom(),
320-
optional("Expires") => non_neg_integer(),
320+
optional("Expires") => String.t() | atom(),
321321
optional("Body") => binary(),
322322
optional("DeleteMarker") => boolean(),
323323
optional("ChecksumSHA256") => String.t() | atom(),
@@ -717,7 +717,7 @@ defmodule AWS.S3 do
717717
"ContentType" => String.t() | atom(),
718718
"SSECustomerKeyMD5" => String.t() | atom(),
719719
"LastModified" => non_neg_integer(),
720-
"Expires" => non_neg_integer(),
720+
"Expires" => String.t() | atom(),
721721
"TagCount" => integer(),
722722
"ReplicationStatus" => list(any()),
723723
"ContentDisposition" => String.t() | atom(),
@@ -1499,7 +1499,7 @@ defmodule AWS.S3 do
14991499
optional("GrantRead") => String.t() | atom(),
15001500
optional("IfNoneMatch") => String.t() | atom(),
15011501
optional("ChecksumCRC32C") => String.t() | atom(),
1502-
optional("Expires") => non_neg_integer(),
1502+
optional("Expires") => String.t() | atom(),
15031503
optional("Body") => binary(),
15041504
optional("GrantFullControl") => String.t() | atom(),
15051505
optional("ChecksumSHA256") => String.t() | atom(),
@@ -2198,7 +2198,7 @@ defmodule AWS.S3 do
21982198
optional("ContentLanguage") => String.t() | atom(),
21992199
optional("ContentType") => String.t() | atom(),
22002200
optional("ExpectedBucketOwner") => String.t() | atom(),
2201-
optional("Expires") => non_neg_integer(),
2201+
optional("Expires") => String.t() | atom(),
22022202
optional("GrantFullControl") => String.t() | atom(),
22032203
optional("GrantRead") => String.t() | atom(),
22042204
optional("GrantReadACP") => String.t() | atom(),
@@ -2693,7 +2693,7 @@ defmodule AWS.S3 do
26932693
"ContentType" => String.t() | atom(),
26942694
"SSECustomerKeyMD5" => String.t() | atom(),
26952695
"LastModified" => non_neg_integer(),
2696-
"Expires" => non_neg_integer(),
2696+
"Expires" => String.t() | atom(),
26972697
"TagCount" => integer(),
26982698
"ReplicationStatus" => list(any()),
26992699
"ContentDisposition" => String.t() | atom(),
@@ -3111,7 +3111,7 @@ defmodule AWS.S3 do
31113111

31123112
copy_object_request() :: %{
31133113
optional("GrantRead") => String.t() | atom(),
3114-
optional("Expires") => non_neg_integer(),
3114+
optional("Expires") => String.t() | atom(),
31153115
optional("CopySourceIfNoneMatch") => String.t() | atom(),
31163116
optional("CopySourceSSECustomerKeyMD5") => String.t() | atom(),
31173117
optional("GrantFullControl") => String.t() | atom(),

0 commit comments

Comments
 (0)