Skip to content

Commit

Permalink
Update services based on v1.47.4 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Nov 7, 2023
1 parent d6c5d30 commit fa0e31b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.47.3
v1.47.4
3 changes: 1 addition & 2 deletions src/aws_codebuild.erl
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,7 @@ update_project(Client, Input, Options)
%% output to the build logs and artifacts. You must be careful about what
%% information is output to the build logs. Some best practice are:
%%
%% Do not store sensitive values, especially Amazon Web Services access key
%% IDs and secret access keys, in environment variables. We recommend that
%% Do not store sensitive values in environment variables. We recommend that
%% you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager
%% to store sensitive values.
%%
Expand Down
33 changes: 33 additions & 0 deletions src/aws_connect.erl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
associate_traffic_distribution_group_user/4,
batch_get_flow_association/3,
batch_get_flow_association/4,
batch_put_contact/3,
batch_put_contact/4,
claim_phone_number/2,
claim_phone_number/3,
create_agent_status/3,
Expand Down Expand Up @@ -867,6 +869,37 @@ batch_get_flow_association(Client, InstanceId, Input0, Options0) ->

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

%% @doc Only the Amazon Connect outbound campaigns service principal is
%% allowed to assume a role in your account and call this API.
%%
%% Allows you to create a batch of contacts in Amazon Connect. The outbound
%% campaigns capability ingests dial requests via the PutDialRequestBatch
%% API. It then uses BatchPutContact to create contacts corresponding to
%% those dial requests. If agents are available, the dial requests are dialed
%% out, which results in a voice call. The resulting voice call uses the same
%% contactId that was created by BatchPutContact.
batch_put_contact(Client, InstanceId, Input) ->
batch_put_contact(Client, InstanceId, Input, []).
batch_put_contact(Client, InstanceId, Input0, Options0) ->
Method = put,
Path = ["/contact/batch/", aws_util:encode_uri(InstanceId), ""],
SuccessStatusCode = undefined,
Options = [{send_body_as_binary, false},
{receive_body_as_binary, false},
{append_sha256_content_hash, false}
| Options0],

Headers = [],
Input1 = Input0,

CustomHeaders = [],
Input2 = Input1,

Query_ = [],
Input = Input2,

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

%% @doc Claims an available phone number to your Amazon Connect instance or
%% traffic distribution group.
%%
Expand Down
10 changes: 2 additions & 8 deletions src/aws_mwaa.erl
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@
%%
%% </li> <li> CreateWebLoginToken
%%
%% </li> </ul> </li> <li> `ops.airflow.{region}.amazonaws.com' - This
%% endpoint is used to push environment metrics that track environment
%% health.
%%
%% <ul> <li> PublishMetrics
%%
%% </li> </ul> </li> </ul> Regions
%%
%% For a list of regions that Amazon MWAA supports, see Region availability
%% in the Amazon MWAA User Guide.
%% For a list of supported regions, see Amazon MWAA endpoints and quotas in
%% the Amazon Web Services General Reference.
-module(aws_mwaa).

-export([create_cli_token/3,
Expand Down

0 comments on commit fa0e31b

Please sign in to comment.