Skip to content

Commit 0d9c612

Browse files
committed
Update services based on release-2026-06-02 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-06-02
1 parent 399fffc commit 0d9c612

10 files changed

Lines changed: 1809 additions & 146 deletions

.latest-tag-aws-sdk-go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release-2026-06-01
1+
release-2026-06-02

src/aws_ec2.erl

Lines changed: 119 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
create_capacity_reservation/3,
181181
create_capacity_reservation_by_splitting/2,
182182
create_capacity_reservation_by_splitting/3,
183+
create_capacity_reservation_cancellation_quote/2,
184+
create_capacity_reservation_cancellation_quote/3,
183185
create_capacity_reservation_fleet/2,
184186
create_capacity_reservation_fleet/3,
185187
create_carrier_gateway/2,
@@ -616,6 +618,8 @@
616618
describe_capacity_manager_data_exports/3,
617619
describe_capacity_reservation_billing_requests/2,
618620
describe_capacity_reservation_billing_requests/3,
621+
describe_capacity_reservation_cancellation_quotes/2,
622+
describe_capacity_reservation_cancellation_quotes/3,
619623
describe_capacity_reservation_fleets/2,
620624
describe_capacity_reservation_fleets/3,
621625
describe_capacity_reservation_topology/2,
@@ -5303,6 +5307,13 @@
53035307
%% }
53045308
-type associate_capacity_reservation_billing_owner_request() :: #{binary() => any()}.
53055309

5310+
%% Example:
5311+
%% capacity_reservation_configuration() :: #{
5312+
%% <<"InstanceCount">> => integer(),
5313+
%% <<"ReservationState">> => string()
5314+
%% }
5315+
-type capacity_reservation_configuration() :: #{binary() => any()}.
5316+
53065317
%% Example:
53075318
%% describe_internet_gateways_request() :: #{
53085319
%% <<"DryRun">> => boolean(),
@@ -11907,6 +11918,15 @@
1190711918
%% }
1190811919
-type replace_network_acl_entry_request() :: #{binary() => any()}.
1190911920

11921+
%% Example:
11922+
%% create_capacity_reservation_cancellation_quote_request() :: #{
11923+
%% <<"CapacityReservationId">> := string(),
11924+
%% <<"ClientToken">> => string(),
11925+
%% <<"DryRun">> => boolean(),
11926+
%% <<"TagSpecifications">> => list(tag_specification())
11927+
%% }
11928+
-type create_capacity_reservation_cancellation_quote_request() :: #{binary() => any()}.
11929+
1191011930
%% Example:
1191111931
%% instance_private_ip_address() :: #{
1191211932
%% <<"Association">> => instance_network_interface_association(),
@@ -14852,8 +14872,10 @@
1485214872

1485314873
%% Example:
1485414874
%% cancel_capacity_reservation_request() :: #{
14875+
%% <<"ApplyCancellationCharges">> => list(any()),
1485514876
%% <<"CapacityReservationId">> := string(),
14856-
%% <<"DryRun">> => boolean()
14877+
%% <<"DryRun">> => boolean(),
14878+
%% <<"QuoteId">> => string()
1485714879
%% }
1485814880
-type cancel_capacity_reservation_request() :: #{binary() => any()}.
1485914881

@@ -15038,6 +15060,16 @@
1503815060
%% }
1503915061
-type instance_network_interface_attachment() :: #{binary() => any()}.
1504015062

15063+
%% Example:
15064+
%% describe_capacity_reservation_cancellation_quotes_request() :: #{
15065+
%% <<"CapacityReservationCancellationQuoteIds">> => list(string()),
15066+
%% <<"DryRun">> => boolean(),
15067+
%% <<"Filters">> => list(filter()),
15068+
%% <<"MaxResults">> => integer(),
15069+
%% <<"NextToken">> => string()
15070+
%% }
15071+
-type describe_capacity_reservation_cancellation_quotes_request() :: #{binary() => any()}.
15072+
1504115073
%% Example:
1504215074
%% instance_status_event() :: #{
1504315075
%% <<"Code">> => list(any()),
@@ -16424,6 +16456,12 @@
1642416456
%% }
1642516457
-type describe_network_interface_permissions_request() :: #{binary() => any()}.
1642616458

16459+
%% Example:
16460+
%% create_capacity_reservation_cancellation_quote_result() :: #{
16461+
%% <<"CapacityReservationCancellationQuote">> => capacity_reservation_cancellation_quote()
16462+
%% }
16463+
-type create_capacity_reservation_cancellation_quote_result() :: #{binary() => any()}.
16464+
1642716465
%% Example:
1642816466
%% client_vpn_endpoint_attribute_status() :: #{
1642916467
%% <<"Code">> => list(any()),
@@ -16690,6 +16728,16 @@
1669016728
%% }
1669116729
-type delete_image_usage_report_result() :: #{binary() => any()}.
1669216730

16731+
%% Example:
16732+
%% cancellation_terms() :: #{
16733+
%% <<"CancellationType">> => list(any()),
16734+
%% <<"ChargeCommitmentDurationHours">> => float(),
16735+
%% <<"ChargeEndDate">> => non_neg_integer(),
16736+
%% <<"CommittedInstanceCount">> => integer(),
16737+
%% <<"ReservationState">> => string()
16738+
%% }
16739+
-type cancellation_terms() :: #{binary() => any()}.
16740+
1669316741
%% Example:
1669416742
%% describe_vpcs_request() :: #{
1669516743
%% <<"DryRun">> => boolean(),
@@ -19673,6 +19721,13 @@
1967319721
%% }
1967419722
-type verified_access_sse_specification_response() :: #{binary() => any()}.
1967519723

19724+
%% Example:
19725+
%% describe_capacity_reservation_cancellation_quotes_result() :: #{
19726+
%% <<"CapacityReservationCancellationQuotes">> => list(capacity_reservation_cancellation_quote()),
19727+
%% <<"NextToken">> => string()
19728+
%% }
19729+
-type describe_capacity_reservation_cancellation_quotes_result() :: #{binary() => any()}.
19730+
1967619731
%% Example:
1967719732
%% destination_options_request() :: #{
1967819733
%% <<"FileFormat">> => list(any()),
@@ -22618,6 +22673,19 @@
2261822673
%% }
2261922674
-type delete_placement_group_request() :: #{binary() => any()}.
2262022675

22676+
%% Example:
22677+
%% capacity_reservation_cancellation_quote() :: #{
22678+
%% <<"CancellationTerms">> => list(cancellation_terms()),
22679+
%% <<"CapacityReservationCancellationQuoteId">> => string(),
22680+
%% <<"CapacityReservationId">> => string(),
22681+
%% <<"CreateTime">> => non_neg_integer(),
22682+
%% <<"CurrentConfiguration">> => capacity_reservation_configuration(),
22683+
%% <<"ExpirationTime">> => non_neg_integer(),
22684+
%% <<"QuoteState">> => list(any()),
22685+
%% <<"Tags">> => list(tag())
22686+
%% }
22687+
-type capacity_reservation_cancellation_quote() :: #{binary() => any()}.
22688+
2262122689
%% Example:
2262222690
%% instance_network_interface_specification() :: #{
2262322691
%% <<"AssociateCarrierIpAddress">> => boolean(),
@@ -24217,10 +24285,16 @@ cancel_bundle_task(Client, Input, Options)
2421724285
%%
2421824286
%% `assessing'
2421924287
%%
24288+
%% `scheduled'
24289+
%%
2422024290
%% `active' and there is no commitment duration or the commitment
24221-
%% duration has elapsed. You can't cancel a future-dated Capacity
24222-
%% Reservation
24223-
%% during the commitment duration.
24291+
%% duration has elapsed.
24292+
%%
24293+
%% `active' during the commitment duration, if you provide a
24294+
%% cancellation quote ID and accept the cancellation charges. Use
24295+
%% `CreateCapacityReservationCancellationQuote' to generate a quote.
24296+
%% The Capacity Reservation transitions to `cancelling' while charges
24297+
%% are applied.
2422424298
%%
2422524299
%% You can't modify or cancel a Capacity Block. For more information, see
2422624300
%% Capacity Blocks for ML:
@@ -24780,6 +24854,28 @@ create_capacity_reservation_by_splitting(Client, Input, Options)
2478024854
when is_map(Client), is_map(Input), is_list(Options) ->
2478124855
request(Client, <<"CreateCapacityReservationBySplitting">>, Input, Options).
2478224856

24857+
%% @doc Generates a cancellation quote for a future-dated Capacity
24858+
%% Reservation that is
24859+
%% within its commitment duration.
24860+
%%
24861+
%% The quote includes the cancellation terms and a quote ID
24862+
%% that you can pass to the `CancelCapacityReservation' action.
24863+
%% Cancellation
24864+
%% quotes are valid for 24 hours.
24865+
-spec create_capacity_reservation_cancellation_quote(aws_client:aws_client(), create_capacity_reservation_cancellation_quote_request()) ->
24866+
{ok, create_capacity_reservation_cancellation_quote_result(), tuple()} |
24867+
{error, any()}.
24868+
create_capacity_reservation_cancellation_quote(Client, Input)
24869+
when is_map(Client), is_map(Input) ->
24870+
create_capacity_reservation_cancellation_quote(Client, Input, []).
24871+
24872+
-spec create_capacity_reservation_cancellation_quote(aws_client:aws_client(), create_capacity_reservation_cancellation_quote_request(), proplists:proplist()) ->
24873+
{ok, create_capacity_reservation_cancellation_quote_result(), tuple()} |
24874+
{error, any()}.
24875+
create_capacity_reservation_cancellation_quote(Client, Input, Options)
24876+
when is_map(Client), is_map(Input), is_list(Options) ->
24877+
request(Client, <<"CreateCapacityReservationCancellationQuote">>, Input, Options).
24878+
2478324879
%% @doc Creates a Capacity Reservation Fleet.
2478424880
%%
2478524881
%% For more information, see Create a
@@ -29925,6 +30021,25 @@ describe_capacity_reservation_billing_requests(Client, Input, Options)
2992530021
when is_map(Client), is_map(Input), is_list(Options) ->
2992630022
request(Client, <<"DescribeCapacityReservationBillingRequests">>, Input, Options).
2992730023

30024+
%% @doc Describes one or more Capacity Reservation cancellation quotes.
30025+
%%
30026+
%% The results describe
30027+
%% only the quotes that you have previously generated by using the
30028+
%% `CreateCapacityReservationCancellationQuote' action.
30029+
-spec describe_capacity_reservation_cancellation_quotes(aws_client:aws_client(), describe_capacity_reservation_cancellation_quotes_request()) ->
30030+
{ok, describe_capacity_reservation_cancellation_quotes_result(), tuple()} |
30031+
{error, any()}.
30032+
describe_capacity_reservation_cancellation_quotes(Client, Input)
30033+
when is_map(Client), is_map(Input) ->
30034+
describe_capacity_reservation_cancellation_quotes(Client, Input, []).
30035+
30036+
-spec describe_capacity_reservation_cancellation_quotes(aws_client:aws_client(), describe_capacity_reservation_cancellation_quotes_request(), proplists:proplist()) ->
30037+
{ok, describe_capacity_reservation_cancellation_quotes_result(), tuple()} |
30038+
{error, any()}.
30039+
describe_capacity_reservation_cancellation_quotes(Client, Input, Options)
30040+
when is_map(Client), is_map(Input), is_list(Options) ->
30041+
request(Client, <<"DescribeCapacityReservationCancellationQuotes">>, Input, Options).
30042+
2992830043
%% @doc Describes one or more Capacity Reservation Fleets.
2992930044
-spec describe_capacity_reservation_fleets(aws_client:aws_client(), describe_capacity_reservation_fleets_request()) ->
2993030045
{ok, describe_capacity_reservation_fleets_result(), tuple()} |

src/aws_elasticache.erl

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@
369369
%% <<"ServerlessCacheName">> => string(),
370370
%% <<"SnapshotRetentionLimit">> => integer(),
371371
%% <<"Status">> => string(),
372+
%% <<"StorageEncryptionType">> => list(any()),
372373
%% <<"SubnetIds">> => list(string()),
373374
%% <<"UserGroupId">> => string()
374375
%% }
@@ -1281,6 +1282,7 @@
12811282
%% <<"CacheParameterGroupName">> => string(),
12821283
%% <<"CacheSecurityGroupNames">> => list(string()),
12831284
%% <<"ClusterMode">> => list(any()),
1285+
%% <<"Durability">> => list(any()),
12841286
%% <<"Engine">> => string(),
12851287
%% <<"EngineVersion">> => string(),
12861288
%% <<"IpDiscovery">> => list(any()),
@@ -1565,38 +1567,41 @@
15651567

15661568
%% Example:
15671569
%% replication_group() :: #{
1568-
%% <<"ARN">> => string(),
1569-
%% <<"AtRestEncryptionEnabled">> => boolean(),
1570+
%% <<"DataTiering">> => list(any()),
1571+
%% <<"ReplicationGroupCreateTime">> => non_neg_integer(),
15701572
%% <<"AuthTokenEnabled">> => boolean(),
1571-
%% <<"AuthTokenLastModifiedDate">> => non_neg_integer(),
1572-
%% <<"AutoMinorVersionUpgrade">> => boolean(),
1573-
%% <<"AutomaticFailover">> => list(any()),
1574-
%% <<"CacheNodeType">> => string(),
15751573
%% <<"ClusterEnabled">> => boolean(),
1576-
%% <<"ClusterMode">> => list(any()),
1577-
%% <<"ConfigurationEndpoint">> => endpoint(),
1578-
%% <<"DataTiering">> => list(any()),
1579-
%% <<"Description">> => string(),
15801574
%% <<"Engine">> => string(),
1581-
%% <<"GlobalReplicationGroupInfo">> => global_replication_group_info(),
1582-
%% <<"IpDiscovery">> => list(any()),
1583-
%% <<"KmsKeyId">> => string(),
1584-
%% <<"LogDeliveryConfigurations">> => list(log_delivery_configuration()),
1575+
%% <<"ReplicationGroupId">> => string(),
1576+
%% <<"NodeGroups">> => list(node_group()),
15851577
%% <<"MemberClusters">> => list(string()),
1578+
%% <<"IpDiscovery">> => list(any()),
1579+
%% <<"ClusterMode">> => list(any()),
1580+
%% <<"TransitEncryptionEnabled">> => boolean(),
1581+
%% <<"SnapshottingClusterId">> => string(),
15861582
%% <<"MemberClustersOutpostArns">> => list(string()),
1587-
%% <<"MultiAZ">> => list(any()),
1588-
%% <<"NetworkType">> => list(any()),
1589-
%% <<"NodeGroups">> => list(node_group()),
15901583
%% <<"PendingModifiedValues">> => replication_group_pending_modified_values(),
1591-
%% <<"ReplicationGroupCreateTime">> => non_neg_integer(),
1592-
%% <<"ReplicationGroupId">> => string(),
1584+
%% <<"AtRestEncryptionEnabled">> => boolean(),
1585+
%% <<"AutomaticFailover">> => list(any()),
1586+
%% <<"ARN">> => string(),
15931587
%% <<"SnapshotRetentionLimit">> => integer(),
1594-
%% <<"SnapshotWindow">> => string(),
1595-
%% <<"SnapshottingClusterId">> => string(),
1588+
%% <<"LogDeliveryConfigurations">> => list(log_delivery_configuration()),
1589+
%% <<"ConfigurationEndpoint">> => endpoint(),
1590+
%% <<"CacheNodeType">> => string(),
1591+
%% <<"UserGroupIds">> => list(string()),
1592+
%% <<"AuthTokenLastModifiedDate">> => non_neg_integer(),
1593+
%% <<"Durability">> => list(any()),
1594+
%% <<"KmsKeyId">> => string(),
1595+
%% <<"GlobalReplicationGroupInfo">> => global_replication_group_info(),
1596+
%% <<"EffectiveDurability">> => list(any()),
1597+
%% <<"AutoMinorVersionUpgrade">> => boolean(),
1598+
%% <<"NetworkType">> => list(any()),
15961599
%% <<"Status">> => string(),
1597-
%% <<"TransitEncryptionEnabled">> => boolean(),
15981600
%% <<"TransitEncryptionMode">> => list(any()),
1599-
%% <<"UserGroupIds">> => list(string())
1601+
%% <<"StorageEncryptionType">> => list(any()),
1602+
%% <<"Description">> => string(),
1603+
%% <<"SnapshotWindow">> => string(),
1604+
%% <<"MultiAZ">> => list(any())
16001605
%% }
16011606
-type replication_group() :: #{binary() => any()}.
16021607

@@ -1899,6 +1904,7 @@
18991904
%% <<"CacheParameterGroupName">> => string(),
19001905
%% <<"CacheSubnetGroupName">> => string(),
19011906
%% <<"DataTiering">> => list(any()),
1907+
%% <<"Durability">> => list(any()),
19021908
%% <<"Engine">> => string(),
19031909
%% <<"EngineVersion">> => string(),
19041910
%% <<"KmsKeyId">> => string(),
@@ -2046,6 +2052,7 @@
20462052
%% <<"ReplicasPerNodeGroup">> => integer(),
20472053
%% <<"Tags">> => list(tag()),
20482054
%% <<"SnapshotName">> => string(),
2055+
%% <<"Durability">> => list(any()),
20492056
%% <<"CacheSubnetGroupName">> => string(),
20502057
%% <<"KmsKeyId">> => string(),
20512058
%% <<"PreferredMaintenanceWindow">> => string(),

0 commit comments

Comments
 (0)