Skip to content

Commit 4bb851f

Browse files
committed
Update services based on release-2026-04-17 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-04-17
1 parent 7e24690 commit 4bb851f

File tree

9 files changed

+594
-6
lines changed

9 files changed

+594
-6
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-2026-04-16
1+
release-2026-04-17

src/aws_cleanrooms.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@
243243
%% Example:
244244
%% protected_job_worker_compute_configuration() :: #{
245245
%% <<"number">> => [integer()],
246+
%% <<"properties">> => list(),
246247
%% <<"type">> => list(any())
247248
%% }
248249
-type protected_job_worker_compute_configuration() :: #{binary() => any()}.

src/aws_connect.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8579,10 +8579,10 @@
85798579

85808580
%% Example:
85818581
%% list_test_case_executions_request() :: #{
8582-
%% <<"EndTime">> => non_neg_integer(),
8582+
%% <<"EndTime">> => float(),
85838583
%% <<"MaxResults">> => integer(),
85848584
%% <<"NextToken">> => string(),
8585-
%% <<"StartTime">> => non_neg_integer(),
8585+
%% <<"StartTime">> => float(),
85868586
%% <<"Status">> => list(any()),
85878587
%% <<"TestCaseId">> => string(),
85888588
%% <<"TestCaseName">> => string()

src/aws_connectcampaignsv2.erl

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
delete_campaign_communication_limits/4,
1515
delete_campaign_communication_time/3,
1616
delete_campaign_communication_time/4,
17+
delete_campaign_entry_limits/3,
18+
delete_campaign_entry_limits/4,
1719
delete_connect_instance_config/3,
1820
delete_connect_instance_config/4,
1921
delete_connect_instance_integration/3,
@@ -73,6 +75,8 @@
7375
update_campaign_communication_limits/4,
7476
update_campaign_communication_time/3,
7577
update_campaign_communication_time/4,
78+
update_campaign_entry_limits/3,
79+
update_campaign_entry_limits/4,
7680
update_campaign_flow_association/3,
7781
update_campaign_flow_association/4,
7882
update_campaign_name/3,
@@ -141,6 +145,7 @@
141145
%% <<"communicationTimeConfig">> => communication_time_config(),
142146
%% <<"connectCampaignFlowArn">> => string(),
143147
%% <<"connectInstanceId">> => string(),
148+
%% <<"entryLimitsConfig">> => entry_limits_config(),
144149
%% <<"id">> => string(),
145150
%% <<"name">> => string(),
146151
%% <<"schedule">> => schedule(),
@@ -363,6 +368,14 @@
363368
-type successful_profile_outbound_request() :: #{binary() => any()}.
364369

365370

371+
%% Example:
372+
%% entry_limits_config() :: #{
373+
%% <<"maxEntryCount">> => [integer()],
374+
%% <<"minEntryInterval">> => string()
375+
%% }
376+
-type entry_limits_config() :: #{binary() => any()}.
377+
378+
366379
%% Example:
367380
%% list_campaigns_request() :: #{
368381
%% <<"filters">> => campaign_filters(),
@@ -587,6 +600,10 @@
587600
%% }
588601
-type internal_server_exception() :: #{binary() => any()}.
589602

603+
%% Example:
604+
%% delete_campaign_entry_limits_request() :: #{}
605+
-type delete_campaign_entry_limits_request() :: #{}.
606+
590607

591608
%% Example:
592609
%% schedule() :: #{
@@ -687,6 +704,7 @@
687704
%% <<"communicationTimeConfig">> => communication_time_config(),
688705
%% <<"connectCampaignFlowArn">> => string(),
689706
%% <<"connectInstanceId">> := string(),
707+
%% <<"entryLimitsConfig">> => entry_limits_config(),
690708
%% <<"name">> := string(),
691709
%% <<"schedule">> => schedule(),
692710
%% <<"source">> => list(),
@@ -793,6 +811,13 @@
793811
-type q_connect_integration_identifier() :: #{binary() => any()}.
794812

795813

814+
%% Example:
815+
%% update_campaign_entry_limits_request() :: #{
816+
%% <<"entryLimitsConfig">> := entry_limits_config()
817+
%% }
818+
-type update_campaign_entry_limits_request() :: #{binary() => any()}.
819+
820+
796821
%% Example:
797822
%% profile_outbound_request() :: #{
798823
%% <<"clientToken">> => string(),
@@ -891,6 +916,7 @@
891916
%% <<"channelSubtypes">> => list(string()),
892917
%% <<"connectCampaignFlowArn">> => string(),
893918
%% <<"connectInstanceId">> => string(),
919+
%% <<"entryLimitsConfig">> => entry_limits_config(),
894920
%% <<"id">> => string(),
895921
%% <<"name">> => string(),
896922
%% <<"schedule">> => schedule(),
@@ -971,6 +997,14 @@
971997
conflict_exception() |
972998
invalid_campaign_state_exception().
973999

1000+
-type delete_campaign_entry_limits_errors() ::
1001+
validation_exception() |
1002+
access_denied_exception() |
1003+
internal_server_exception() |
1004+
resource_not_found_exception() |
1005+
conflict_exception() |
1006+
invalid_campaign_state_exception().
1007+
9741008
-type delete_connect_instance_config_errors() ::
9751009
throttling_exception() |
9761010
validation_exception() |
@@ -1163,6 +1197,14 @@
11631197
conflict_exception() |
11641198
invalid_campaign_state_exception().
11651199

1200+
-type update_campaign_entry_limits_errors() ::
1201+
validation_exception() |
1202+
access_denied_exception() |
1203+
internal_server_exception() |
1204+
resource_not_found_exception() |
1205+
conflict_exception() |
1206+
invalid_campaign_state_exception().
1207+
11661208
-type update_campaign_flow_association_errors() ::
11671209
validation_exception() |
11681210
access_denied_exception() |
@@ -1379,6 +1421,42 @@ delete_campaign_communication_time(Client, Id, Input0, Options0) ->
13791421
{Query_, Input} = aws_request:build_headers(QueryMapping, Input2),
13801422
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).
13811423

1424+
%% @doc Deletes the entry limits config for a campaign.
1425+
%%
1426+
%% This API is idempotent.
1427+
-spec delete_campaign_entry_limits(aws_client:aws_client(), binary() | list(), delete_campaign_entry_limits_request()) ->
1428+
{ok, undefined, tuple()} |
1429+
{error, any()} |
1430+
{error, delete_campaign_entry_limits_errors(), tuple()}.
1431+
delete_campaign_entry_limits(Client, Id, Input) ->
1432+
delete_campaign_entry_limits(Client, Id, Input, []).
1433+
1434+
-spec delete_campaign_entry_limits(aws_client:aws_client(), binary() | list(), delete_campaign_entry_limits_request(), proplists:proplist()) ->
1435+
{ok, undefined, tuple()} |
1436+
{error, any()} |
1437+
{error, delete_campaign_entry_limits_errors(), tuple()}.
1438+
delete_campaign_entry_limits(Client, Id, Input0, Options0) ->
1439+
Method = delete,
1440+
Path = ["/v2/campaigns/", aws_util:encode_uri(Id), "/entry-limits"],
1441+
SuccessStatusCode = 200,
1442+
{SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false),
1443+
{ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false),
1444+
Options = [{send_body_as_binary, SendBodyAsBinary},
1445+
{receive_body_as_binary, ReceiveBodyAsBinary},
1446+
{append_sha256_content_hash, false}
1447+
| Options2],
1448+
1449+
Headers = [],
1450+
Input1 = Input0,
1451+
1452+
CustomHeaders = [],
1453+
Input2 = Input1,
1454+
1455+
Query_ = [],
1456+
Input = Input2,
1457+
1458+
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).
1459+
13821460
%% @doc Deletes a connect instance config from the specified AWS account.
13831461
-spec delete_connect_instance_config(aws_client:aws_client(), binary() | list(), delete_connect_instance_config_request()) ->
13841462
{ok, undefined, tuple()} |
@@ -2309,6 +2387,42 @@ update_campaign_communication_time(Client, Id, Input0, Options0) ->
23092387

23102388
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).
23112389

2390+
%% @doc Updates the entry limits config for a campaign.
2391+
%%
2392+
%% This API is idempotent.
2393+
-spec update_campaign_entry_limits(aws_client:aws_client(), binary() | list(), update_campaign_entry_limits_request()) ->
2394+
{ok, undefined, tuple()} |
2395+
{error, any()} |
2396+
{error, update_campaign_entry_limits_errors(), tuple()}.
2397+
update_campaign_entry_limits(Client, Id, Input) ->
2398+
update_campaign_entry_limits(Client, Id, Input, []).
2399+
2400+
-spec update_campaign_entry_limits(aws_client:aws_client(), binary() | list(), update_campaign_entry_limits_request(), proplists:proplist()) ->
2401+
{ok, undefined, tuple()} |
2402+
{error, any()} |
2403+
{error, update_campaign_entry_limits_errors(), tuple()}.
2404+
update_campaign_entry_limits(Client, Id, Input0, Options0) ->
2405+
Method = post,
2406+
Path = ["/v2/campaigns/", aws_util:encode_uri(Id), "/entry-limits"],
2407+
SuccessStatusCode = 200,
2408+
{SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false),
2409+
{ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false),
2410+
Options = [{send_body_as_binary, SendBodyAsBinary},
2411+
{receive_body_as_binary, ReceiveBodyAsBinary},
2412+
{append_sha256_content_hash, false}
2413+
| Options2],
2414+
2415+
Headers = [],
2416+
Input1 = Input0,
2417+
2418+
CustomHeaders = [],
2419+
Input2 = Input1,
2420+
2421+
Query_ = [],
2422+
Input = Input2,
2423+
2424+
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).
2425+
23122426
%% @doc Updates the campaign flow associated with a campaign.
23132427
%%
23142428
%% This API is idempotent.

0 commit comments

Comments
 (0)