Skip to content

Commit 3a1a1c1

Browse files
committed
Update services based on release-2026-08-07 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-08-07
1 parent 693dd7e commit 3a1a1c1

6 files changed

Lines changed: 843 additions & 14 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-08-06
1+
release-2026-08-07

src/aws_connect.erl

Lines changed: 121 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,8 @@
803803
update_contact_routing_data/5,
804804
update_contact_schedule/2,
805805
update_contact_schedule/3,
806+
update_contact_task_template/2,
807+
update_contact_task_template/3,
806808
update_data_table_attribute/5,
807809
update_data_table_attribute/6,
808810
update_data_table_metadata/4,
@@ -10648,6 +10650,19 @@
1064810650
-type update_contact_schedule_response() :: #{}.
1064910651

1065010652

10653+
%% Example:
10654+
%% update_contact_task_template_request() :: #{
10655+
%% <<"ContactId">> := string(),
10656+
%% <<"InstanceId">> := string(),
10657+
%% <<"TaskTemplateId">> := string()
10658+
%% }
10659+
-type update_contact_task_template_request() :: #{binary() => any()}.
10660+
10661+
%% Example:
10662+
%% update_contact_task_template_response() :: #{}
10663+
-type update_contact_task_template_response() :: #{}.
10664+
10665+
1065110666
%% Example:
1065210667
%% update_data_table_attribute_request() :: #{
1065310668
%% <<"Description">> => string(),
@@ -14315,6 +14330,15 @@
1431514330
invalid_parameter_exception() |
1431614331
internal_service_exception().
1431714332

14333+
-type update_contact_task_template_errors() ::
14334+
service_quota_exceeded_exception() |
14335+
resource_not_found_exception() |
14336+
property_validation_exception() |
14337+
limit_exceeded_exception() |
14338+
invalid_request_exception() |
14339+
internal_service_exception() |
14340+
access_denied_exception().
14341+
1431814342
-type update_data_table_attribute_errors() ::
1431914343
throttling_exception() |
1432014344
service_quota_exceeded_exception() |
@@ -17826,18 +17850,18 @@ delete_attached_file(Client, FileId, InstanceId, Input0, Options0) ->
1782617850
%% information (PII) from a
1782717851
%% contact in the specified Connect Customer instance.
1782817852
%%
17829-
%% This operation redacts PII (such as
17853+
%% We redact PII (such as
1783017854
%% customer endpoints, additional email recipients, and the email subject)
1783117855
%% from the contact and its
1783217856
%% associated contact trace record (CTR). The contact must be in a terminated
1783317857
%% state.
1783417858
%%
17835-
%% This operation performs a hard deletion of the specified PII and cannot be
17836-
%% undone. There is
17837-
%% no retention period; after the data is deleted, it cannot be recovered.
17838-
%% Only fields that
17839-
%% Connect Customer identifies and stores as PII are removed. Any PII that
17840-
%% you place in fields
17859+
%% This deletion is permanent and cannot be undone. Performing this
17860+
%% operation permanently deletes the specified PII. There is
17861+
%% no retention period; you cannot recover the data after deletion. We remove
17862+
%% only the fields
17863+
%% that Connect Customer identifies and stores as PII. Any PII that you place
17864+
%% in fields
1784117865
%% outside the scope of this operation remains your responsibility to remove.
1784217866
-spec delete_contact_data(aws_client:aws_client(), binary() | list(), binary() | list(), delete_contact_data_request()) ->
1784317867
{ok, delete_contact_data_response(), tuple()} |
@@ -26968,11 +26992,14 @@ send_outbound_web_notification(Client, InstanceId, Input0, Options0) ->
2696826992
%% @doc Provides a pre-signed Amazon S3 URL in response for uploading your
2696926993
%% content.
2697026994
%%
26971-
%% You may only use this API to upload attachments to an Connect Customer
26995+
%% You may only use this API to upload attachments to a Connect Customer
2697226996
%% Case:
26973-
%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
26974-
%% or Connect Customer Email:
26975-
%% https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html.
26997+
%% https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html,
26998+
%% Connect Customer Email:
26999+
%% https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html,
27000+
%% or
27001+
%% Connect Customer Task:
27002+
%% https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html.
2697627003
-spec start_attached_file_upload(aws_client:aws_client(), binary() | list(), start_attached_file_upload_request()) ->
2697727004
{ok, start_attached_file_upload_response(), tuple()} |
2697827005
{error, any()} |
@@ -28847,6 +28874,89 @@ update_contact_schedule(Client, Input0, Options0) ->
2884728874

2884828875
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).
2884928876

28877+
%% @doc Updates the task template association on an existing task contact.
28878+
%%
28879+
%% You can update the task template on a contact
28880+
%% before assignment to support tasks that are created without a template
28881+
%% (for example Rules:
28882+
%% https://docs.aws.amazon.com/connect/latest/adminguide/connect-rules.html
28883+
%% or disconnect flows:
28884+
%% https://docs.aws.amazon.com/connect/latest/adminguide/set-disconnect-flow.html)
28885+
%% or change the agent interaction
28886+
%% form to represent the latest task data (for example an initial request
28887+
%% that was submitted as a refund gets updated to
28888+
%% an account cancellation and requires a new template).
28889+
%%
28890+
%% This operation can only be used with task contacts that are in progress
28891+
%% and not connected to an agent. A task
28892+
%% template can be updated a maximum of 5 times per contact.
28893+
%%
28894+
%% The task's references must be compatible with the fields of the target
28895+
%% task template. If the target template has
28896+
%% a required field, the task must have a corresponding reference with a
28897+
%% matching name and compatible type. The
28898+
%% following task template field types map to reference types:
28899+
%%
28900+
%% `TEXT', `TEXT_AREA', `BOOLEAN', and `SINGLE_SELECT' map to
28901+
%% references of type `STRING'.
28902+
%%
28903+
%% `NUMBER' maps to references of type `NUMBER'.
28904+
%%
28905+
%% `DATE_TIME' maps to references of type `DATE'.
28906+
%%
28907+
%% `URL' maps to references of type `URL'.
28908+
%%
28909+
%% `EMAIL' maps to references of type `EMAIL'.
28910+
%%
28911+
%% References corresponding to `TEXT' fields must be fewer than 512
28912+
%% characters.
28913+
%% `TEXT_AREA' fields must be fewer than 4,096 characters. `BOOLEAN'
28914+
%% fields must have a value
28915+
%% of `true' or `false'.
28916+
%%
28917+
%% An `InvalidRequestException' occurs when
28918+
%% `UpdateContactTaskTemplate' is called on a
28919+
%% connected or terminated task, when it is called on non-task contacts, and
28920+
%% when the task contact already uses the
28921+
%% provided task template. A `PropertyValidationException' occurs when
28922+
%% the task's references conflict with
28923+
%% the task template's fields, for example if the task is missing a
28924+
%% reference that matches a required field, or if the
28925+
%% task has a reference that matches a required field's name but not its
28926+
%% datatype.
28927+
-spec update_contact_task_template(aws_client:aws_client(), update_contact_task_template_request()) ->
28928+
{ok, update_contact_task_template_response(), tuple()} |
28929+
{error, any()} |
28930+
{error, update_contact_task_template_errors(), tuple()}.
28931+
update_contact_task_template(Client, Input) ->
28932+
update_contact_task_template(Client, Input, []).
28933+
28934+
-spec update_contact_task_template(aws_client:aws_client(), update_contact_task_template_request(), proplists:proplist()) ->
28935+
{ok, update_contact_task_template_response(), tuple()} |
28936+
{error, any()} |
28937+
{error, update_contact_task_template_errors(), tuple()}.
28938+
update_contact_task_template(Client, Input0, Options0) ->
28939+
Method = post,
28940+
Path = ["/contact/task-template"],
28941+
SuccessStatusCode = 200,
28942+
{SendBodyAsBinary, Options1} = proplists_take(send_body_as_binary, Options0, false),
28943+
{ReceiveBodyAsBinary, Options2} = proplists_take(receive_body_as_binary, Options1, false),
28944+
Options = [{send_body_as_binary, SendBodyAsBinary},
28945+
{receive_body_as_binary, ReceiveBodyAsBinary},
28946+
{append_sha256_content_hash, false}
28947+
| Options2],
28948+
28949+
Headers = [],
28950+
Input1 = Input0,
28951+
28952+
CustomHeaders = [],
28953+
Input2 = Input1,
28954+
28955+
Query_ = [],
28956+
Input = Input2,
28957+
28958+
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).
28959+
2885028960
%% @doc Updates all properties for an attribute using all properties from
2885128961
%% CreateDataTableAttribute.
2885228962
%%

0 commit comments

Comments
 (0)