Skip to content

Commit 04bc01d

Browse files
committed
Update services based on release-2026-03-12 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-12
1 parent d0d46ca commit 04bc01d

3 files changed

Lines changed: 68 additions & 35 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-2026-03-11
1+
release-2026-03-12

src/aws_datasync.erl

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,13 @@
269269

270270
%% Example:
271271
%% describe_location_fsx_windows_response() :: #{
272+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
272273
%% <<"CreationTime">> => non_neg_integer(),
274+
%% <<"CustomSecretConfig">> => custom_secret_config(),
273275
%% <<"Domain">> => string(),
274276
%% <<"LocationArn">> => string(),
275277
%% <<"LocationUri">> => string(),
278+
%% <<"ManagedSecretConfig">> => managed_secret_config(),
276279
%% <<"SecurityGroupArns">> => list(string()),
277280
%% <<"User">> => string()
278281
%% }
@@ -343,6 +346,8 @@
343346
%% <<"AgentArns">> => list(string()),
344347
%% <<"AuthenticationType">> => list(any()),
345348
%% <<"BlockSize">> => integer(),
349+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
350+
%% <<"CustomSecretConfig">> => custom_secret_config(),
346351
%% <<"KerberosKeytab">> => binary(),
347352
%% <<"KerberosKrb5Conf">> => binary(),
348353
%% <<"KerberosPrincipal">> => string(),
@@ -675,6 +680,8 @@
675680

676681
%% Example:
677682
%% fsx_update_protocol_smb() :: #{
683+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
684+
%% <<"CustomSecretConfig">> => custom_secret_config(),
678685
%% <<"Domain">> => string(),
679686
%% <<"MountOptions">> => smb_mount_options(),
680687
%% <<"Password">> => string(),
@@ -981,9 +988,11 @@
981988

982989
%% Example:
983990
%% create_location_fsx_windows_request() :: #{
991+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
992+
%% <<"CustomSecretConfig">> => custom_secret_config(),
984993
%% <<"Domain">> => string(),
985994
%% <<"FsxFilesystemArn">> := string(),
986-
%% <<"Password">> := string(),
995+
%% <<"Password">> => string(),
987996
%% <<"SecurityGroupArns">> := list(string()),
988997
%% <<"Subdirectory">> => string(),
989998
%% <<"Tags">> => list(tag_list_entry()),
@@ -1097,6 +1106,8 @@
10971106
%% <<"AgentArns">> := list(string()),
10981107
%% <<"AuthenticationType">> := list(any()),
10991108
%% <<"BlockSize">> => integer(),
1109+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
1110+
%% <<"CustomSecretConfig">> => custom_secret_config(),
11001111
%% <<"KerberosKeytab">> => binary(),
11011112
%% <<"KerberosKrb5Conf">> => binary(),
11021113
%% <<"KerberosPrincipal">> => string(),
@@ -1185,6 +1196,8 @@
11851196

11861197
%% Example:
11871198
%% update_location_fsx_windows_request() :: #{
1199+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
1200+
%% <<"CustomSecretConfig">> => custom_secret_config(),
11881201
%% <<"Domain">> => string(),
11891202
%% <<"LocationArn">> := string(),
11901203
%% <<"Password">> => string(),
@@ -1219,7 +1232,10 @@
12191232

12201233
%% Example:
12211234
%% fsx_protocol_smb() :: #{
1235+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
1236+
%% <<"CustomSecretConfig">> => custom_secret_config(),
12221237
%% <<"Domain">> => string(),
1238+
%% <<"ManagedSecretConfig">> => managed_secret_config(),
12231239
%% <<"MountOptions">> => smb_mount_options(),
12241240
%% <<"Password">> => string(),
12251241
%% <<"User">> => string()
@@ -1326,11 +1342,14 @@
13261342
%% <<"AgentArns">> => list(string()),
13271343
%% <<"AuthenticationType">> => list(any()),
13281344
%% <<"BlockSize">> => integer(),
1345+
%% <<"CmkSecretConfig">> => cmk_secret_config(),
13291346
%% <<"CreationTime">> => non_neg_integer(),
1347+
%% <<"CustomSecretConfig">> => custom_secret_config(),
13301348
%% <<"KerberosPrincipal">> => string(),
13311349
%% <<"KmsKeyProviderUri">> => string(),
13321350
%% <<"LocationArn">> => string(),
13331351
%% <<"LocationUri">> => string(),
1352+
%% <<"ManagedSecretConfig">> => managed_secret_config(),
13341353
%% <<"NameNodes">> => list(hdfs_name_node()),
13351354
%% <<"QopConfiguration">> => qop_configuration(),
13361355
%% <<"ReplicationFactor">> => integer(),

src/aws_s3.erl

Lines changed: 47 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2655,6 +2655,7 @@
26552655
%% Example:
26562656
%% create_bucket_request() :: #{
26572657
%% <<"ACL">> => list(any()),
2658+
%% <<"BucketNamespace">> => list(any()),
26582659
%% <<"CreateBucketConfiguration">> => create_bucket_configuration(),
26592660
%% <<"GrantFullControl">> => string(),
26602661
%% <<"GrantRead">> => string(),
@@ -4189,12 +4190,15 @@ complete_multipart_upload(Client, Bucket, Key, Input0, Options0) ->
41894190
%% the
41904191
%% `s3express:CreateSession'
41914192
%% permission in
4192-
%% the `Action' element of a policy to read the object. By default, the
4193-
%% session is
4194-
%% in the `ReadWrite' mode. If you want to restrict the access, you can
4195-
%% explicitly
4196-
%% set the `s3express:SessionMode' condition key to `ReadOnly' on the
4197-
%% copy source bucket.
4193+
%% the `Action' element of a policy to read the object. If no session
4194+
%% mode is specified,
4195+
%% the session will be created with the maximum allowable privilege,
4196+
%% attempting `ReadWrite'
4197+
%% first, then `ReadOnly' if `ReadWrite' is not permitted. If you
4198+
%% want to explicitly
4199+
%% restrict the access to be read-only, you can set the
4200+
%% `s3express:SessionMode' condition key to
4201+
%% `ReadOnly' on the copy source bucket.
41984202
%%
41994203
%% If the copy destination is a directory bucket, you must have the
42004204
%% `s3express:CreateSession'
@@ -4433,6 +4437,24 @@ copy_object(Client, Bucket, Key, Input0, Options0) ->
44334437
%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html
44344438
%% in the Amazon S3 User Guide.
44354439
%%
4440+
%% General purpose buckets exist in a global namespace, which means that each
4441+
%% bucket name must be unique
4442+
%% across all Amazon Web Services accounts in all the Amazon Web Services
4443+
%% Regions within a partition. A partition is a grouping of
4444+
%% Regions. Amazon Web Services currently has four partitions: `aws'
4445+
%% (Standard Regions), `aws-cn'
4446+
%% (China Regions), `aws-us-gov' (Amazon Web Services GovCloud (US)), and
4447+
%% `aws-eusc'
4448+
%% (European Sovereign Cloud). When you create a general purpose bucket, you
4449+
%% can choose to create a bucket in
4450+
%% the shared global namespace or you can choose to create a bucket in your
4451+
%% account regional namespace.
4452+
%% Your account regional namespace is a subdivision of the global namespace
4453+
%% that only your account can
4454+
%% create buckets in. For more information on account regional namespaces,
4455+
%% see Namespaces for general purpose buckets:
4456+
%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html.
4457+
%%
44364458
%% General purpose buckets - If you send your
44374459
%% `CreateBucket' request to the `s3.amazonaws.com' global endpoint,
44384460
%% the
@@ -4607,6 +4629,7 @@ create_bucket(Client, Bucket, Input0, Options0) ->
46074629

46084630
HeadersMapping = [
46094631
{<<"x-amz-acl">>, <<"ACL">>},
4632+
{<<"x-amz-bucket-namespace">>, <<"BucketNamespace">>},
46104633
{<<"x-amz-grant-full-control">>, <<"GrantFullControl">>},
46114634
{<<"x-amz-grant-read">>, <<"GrantRead">>},
46124635
{<<"x-amz-grant-read-acp">>, <<"GrantReadACP">>},
@@ -6627,14 +6650,6 @@ delete_bucket_replication(Client, Bucket, Input0, Options0) ->
66276650
%% https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html
66286651
%% instead.
66296652
%%
6630-
%% if ABAC is not enabled for the bucket. When you enable ABAC for a general
6631-
%% purpose bucket:
6632-
%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html,
6633-
%% you can no longer use this operation for that bucket and must use
6634-
%% UntagResource:
6635-
%% https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html
6636-
%% instead.
6637-
%%
66386653
%% To use this operation, you must have permission to perform the
66396654
%% `s3:PutBucketTagging'
66406655
%% action. By default, the bucket owner has this permission and can grant
@@ -9025,14 +9040,6 @@ get_bucket_request_payment(Client, Bucket, QueryMap, HeadersMap, Options0)
90259040
%%
90269041
%% Returns the tag set associated with the general purpose bucket.
90279042
%%
9028-
%% if ABAC is not enabled for the bucket. When you enable ABAC for a general
9029-
%% purpose bucket:
9030-
%% https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html,
9031-
%% you can no longer use this operation for that bucket and must use
9032-
%% ListTagsForResource:
9033-
%% https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html
9034-
%% instead.
9035-
%%
90369043
%% To use this operation, you must have permission to perform the
90379044
%% `s3:GetBucketTagging'
90389045
%% action. By default, the bucket owner has this permission and can grant
@@ -10442,11 +10449,15 @@ get_public_access_block(Client, Bucket, QueryMap, HeadersMap, Options0)
1044210449
%%
1044310450
%% `s3express:CreateSession'
1044410451
%% permission in the
10445-
%% `Action' element of a policy. By default, the session is in the
10446-
%% `ReadWrite' mode. If you want to restrict the access, you can
10447-
%% explicitly set the
10448-
%% `s3express:SessionMode' condition key to `ReadOnly' on the
10449-
%% bucket.
10452+
%% `Action' element of a policy. If no session mode is specified, the
10453+
%% session will be
10454+
%% created with the maximum allowable privilege, attempting `ReadWrite'
10455+
%% first,
10456+
%% then `ReadOnly' if `ReadWrite' is not permitted. If you want to
10457+
%% explicitly
10458+
%% restrict the access to be read-only, you can set the
10459+
%% `s3express:SessionMode' condition key to
10460+
%% `ReadOnly' on the bucket.
1045010461
%%
1045110462
%% For more information about example bucket policies, see Example
1045210463
%% bucket policies for S3 Express One Zone:
@@ -16766,12 +16777,15 @@ upload_part(Client, Bucket, Key, Input0, Options0) ->
1676616777
%% the
1676716778
%% `s3express:CreateSession'
1676816779
%% permission in
16769-
%% the `Action' element of a policy to read the object. By default, the
16770-
%% session is
16771-
%% in the `ReadWrite' mode. If you want to restrict the access, you can
16772-
%% explicitly
16773-
%% set the `s3express:SessionMode' condition key to `ReadOnly' on the
16774-
%% copy source bucket.
16780+
%% the `Action' element of a policy to read the object. If no session
16781+
%% mode is specified,
16782+
%% the session will be created with the maximum allowable privilege,
16783+
%% attempting
16784+
%% `ReadWrite' first, then `ReadOnly' if `ReadWrite' is not
16785+
%% permitted.
16786+
%% If you want to explicitly restrict the access to be read-only, you can set
16787+
%% the `s3express:SessionMode'
16788+
%% condition key to `ReadOnly' on the copy source bucket.
1677516789
%%
1677616790
%% If the copy destination is a directory bucket, you must have the
1677716791
%% `s3express:CreateSession'

0 commit comments

Comments
 (0)