Skip to content

Commit

Permalink
Update services based on v1.44.322 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Aug 12, 2023
1 parent c3fb602 commit c235dd6
Show file tree
Hide file tree
Showing 6 changed files with 286 additions and 157 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.44.320
v1.44.322
102 changes: 102 additions & 0 deletions lib/aws/generated/connect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,26 @@ defmodule AWS.Connect do
Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, nil)
end

@doc """
Associates an agent with a traffic distribution group.
"""
def associate_traffic_distribution_group_user(
%Client{} = client,
traffic_distribution_group_id,
input,
options \\ []
) do
url_path =
"/traffic-distribution-group/#{AWS.Util.encode_uri(traffic_distribution_group_id)}/user"

headers = []
query_params = []

meta = metadata()

Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, nil)
end

@doc """
Claims an available phone number to your Amazon Connect instance or traffic
distribution group.
Expand Down Expand Up @@ -2021,6 +2041,42 @@ defmodule AWS.Connect do
)
end

@doc """
Disassociates an agent from a traffic distribution group.
"""
def disassociate_traffic_distribution_group_user(
%Client{} = client,
traffic_distribution_group_id,
input,
options \\ []
) do
url_path =
"/traffic-distribution-group/#{AWS.Util.encode_uri(traffic_distribution_group_id)}/user"

headers = []

{query_params, input} =
[
{"InstanceId", "InstanceId"},
{"UserId", "UserId"}
]
|> Request.build_params(input)

meta = metadata()

Request.request_rest(
client,
meta,
:delete,
url_path,
query_params,
headers,
input,
options,
nil
)
end

@doc """
Dismisses contacts from an agent’s CCP and returns the agent to an available
state, which allows the agent to receive a new routed contact.
Expand Down Expand Up @@ -2964,6 +3020,12 @@ defmodule AWS.Connect do
For more information about phone numbers, see [Set Up Phone Numbers for Your Contact
Center](https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html)
in the *Amazon Connect Administrator Guide*.
When given an instance ARN, `ListPhoneNumbersV2` returns only the
phone numbers claimed to the instance.
When given a traffic distribution group ARN `ListPhoneNumbersV2`
returns only the phone numbers claimed to the traffic distribution group.
"""
def list_phone_numbers_v2(%Client{} = client, input, options \\ []) do
url_path = "/phone-number/list"
Expand Down Expand Up @@ -3446,6 +3508,41 @@ defmodule AWS.Connect do
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, nil)
end

@doc """
Lists traffic distribution group users.
"""
def list_traffic_distribution_group_users(
%Client{} = client,
traffic_distribution_group_id,
max_results \\ nil,
next_token \\ nil,
options \\ []
) do
url_path =
"/traffic-distribution-group/#{AWS.Util.encode_uri(traffic_distribution_group_id)}/user"

headers = []
query_params = []

query_params =
if !is_nil(next_token) do
[{"nextToken", next_token} | query_params]
else
query_params
end

query_params =
if !is_nil(max_results) do
[{"maxResults", max_results} | query_params]
else
query_params
end

meta = metadata()

Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, nil)
end

@doc """
Lists traffic distribution groups.
"""
Expand Down Expand Up @@ -5430,6 +5527,11 @@ defmodule AWS.Connect do
@doc """
Updates the traffic distribution for a given traffic distribution group.
You can change the `SignInConfig` only for a default `TrafficDistributionGroup`.
If you call `UpdateTrafficDistribution` with a modified `SignInConfig` and a
non-default `TrafficDistributionGroup`, an `InvalidRequestException` is
returned.
For more information about updating a traffic distribution group, see [Update telephony traffic distribution across Amazon Web Services Regions
](https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html)
in the *Amazon Connect Administrator Guide*.
Expand Down
10 changes: 7 additions & 3 deletions lib/aws/generated/elastic_load_balancingv2.ex
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ defmodule AWS.ElasticLoadBalancingv2 do
After the targets are deregistered, they no longer receive traffic from the load
balancer.
Note: If the specified target does not exist, the action returns successfully.
"""
def deregister_targets(%Client{} = client, input, options \\ []) do
meta = metadata()
Expand Down Expand Up @@ -530,13 +532,15 @@ defmodule AWS.ElasticLoadBalancingv2 do

@doc """
Associates the specified security groups with the specified Application Load
Balancer.
Balancer or Network Load Balancer.
The specified security groups override the previously associated security
groups.
You can't specify a security group for a Network Load Balancer or Gateway Load
Balancer.
You can't perform this operation on a Network Load Balancer unless you specified
a security group for the load balancer when you created it.
You can't associate a security group with a Gateway Load Balancer.
"""
def set_security_groups(%Client{} = client, input, options \\ []) do
meta = metadata()
Expand Down
6 changes: 5 additions & 1 deletion lib/aws/generated/quick_sight.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3921,7 +3921,11 @@ defmodule AWS.QuickSight do
@doc """
Starts an asynchronous job that generates a dashboard snapshot.
You can request up to one paginated PDF and up to five CSVs per API call.
You can request one of the following format configurations per API call.
* 1 paginated PDF
* 5 CSVs
Poll job descriptions with a `DescribeDashboardSnapshotJob` API call. Once the
job succeeds, use the `DescribeDashboardSnapshotJobResult` API to obtain the
Expand Down
Loading

0 comments on commit c235dd6

Please sign in to comment.