Skip to content

Commit

Permalink
Update services based on release-2024-09-30 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Oct 1, 2024
1 parent d17a26b commit 75f3366
Show file tree
Hide file tree
Showing 7 changed files with 1,905 additions and 379 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release-2024-09-27
release-2024-09-30
114 changes: 97 additions & 17 deletions lib/aws/generated/connect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,28 @@ defmodule AWS.Connect do

@typedoc """

## Example:

start_outbound_chat_contact_request() :: %{
optional("Attributes") => map(),
optional("ChatDurationInMinutes") => integer(),
optional("ClientToken") => String.t(),
optional("InitialSystemMessage") => chat_message(),
optional("ParticipantDetails") => participant_details(),
optional("RelatedContactId") => String.t(),
optional("SupportedMessagingContentTypes") => list(String.t()()),
required("ContactFlowId") => String.t(),
required("DestinationEndpoint") => endpoint(),
required("InstanceId") => String.t(),
required("SegmentAttributes") => map(),
required("SourceEndpoint") => endpoint()
}

"""
@type start_outbound_chat_contact_request() :: %{String.t() => any()}

@typedoc """

## Example:

start_contact_recording_request() :: %{
Expand Down Expand Up @@ -7295,6 +7317,17 @@ defmodule AWS.Connect do

@typedoc """

## Example:

start_outbound_chat_contact_response() :: %{
"ContactId" => String.t()
}

"""
@type start_outbound_chat_contact_response() :: %{String.t() => any()}

@typedoc """

## Example:

list_integration_associations_response() :: %{
Expand Down Expand Up @@ -11117,6 +11150,15 @@ defmodule AWS.Connect do
| resource_not_found_exception()
| internal_service_exception()

@type start_outbound_chat_contact_errors() ::
limit_exceeded_exception()
| throttling_exception()
| access_denied_exception()
| invalid_request_exception()
| resource_not_found_exception()
| conflict_exception()
| internal_service_exception()

@type start_outbound_voice_contact_errors() ::
limit_exceeded_exception()
| invalid_parameter_exception()
Expand Down Expand Up @@ -11628,10 +11670,9 @@ defmodule AWS.Connect do
end

@doc """
This API is in preview release for Amazon Connect and is subject to change.

Associates the specified dataset for a Amazon Connect instance with the target
account.

You can associate only one dataset in a single call.
"""
@spec associate_analytics_data_set(
Expand Down Expand Up @@ -12026,11 +12067,11 @@ defmodule AWS.Connect do
end

@doc """
This API is in preview release for Amazon Connect and is subject to change.

Associates a list of analytics datasets for a given Amazon Connect instance to a
target
account. You can associate multiple datasets in a single call.
account.

You can associate multiple datasets in a single call.
"""
@spec batch_associate_analytics_data_set(
map(),
Expand All @@ -12052,10 +12093,9 @@ defmodule AWS.Connect do
end

@doc """
This API is in preview release for Amazon Connect and is subject to change.

Removes a list of analytics datasets associated with a given Amazon Connect
instance.

You can disassociate multiple datasets in a single call.
"""
@spec batch_disassociate_analytics_data_set(
Expand Down Expand Up @@ -13968,12 +14008,10 @@ defmodule AWS.Connect do

Describes the specified contact.

Contact information remains available in Amazon Connect for 24 months, and then
it is
deleted.

Only data from November 12, 2021, and later is returned by this
API.
Contact information remains available in Amazon Connect for 24 months from the
InitiationTimestamp, and then it is deleted. Only contact information that is
available in
Amazon Connect is returned by this API
"""
@spec describe_contact(map(), String.t(), String.t(), list()) ::
{:ok, describe_contact_response(), any()}
Expand Down Expand Up @@ -14530,8 +14568,6 @@ defmodule AWS.Connect do
end

@doc """
This API is in preview release for Amazon Connect and is subject to change.

Removes the dataset ID associated with a given Amazon Connect instance.
"""
@spec disassociate_analytics_data_set(
Expand Down Expand Up @@ -15566,8 +15602,6 @@ defmodule AWS.Connect do
end

@doc """
This API is in preview release for Amazon Connect and is subject to change.

Lists the association status of requested dataset ID for a given Amazon Connect
instance.
"""
Expand Down Expand Up @@ -18611,6 +18645,52 @@ defmodule AWS.Connect do
)
end

@doc """
Initiates a new outbound SMS contact to a customer.

Response of this API provides the
ContactId of the outbound SMS contact created.

**SourceEndpoint** only supports Endpoints with
`CONNECT_PHONENUMBER_ARN` as Type and **DestinationEndpoint** only supports
Endpoints with `TELEPHONE_NUMBER` as
Type. **ContactFlowId** initiates the flow to manage the new SMS
contact created.

This API can be used to initiate outbound SMS contacts for an agent or it can
also deflect
an ongoing contact to an outbound SMS contact by using the
[StartOutboundChatContact](https://docs.aws.amazon.com/connect/latest/APIReference/API_StartOutboundChatContact.html) Flow Action.

For more information about using SMS in Amazon Connect, see the following topics
in the
*Amazon Connect Administrator Guide*:

*

[Set
up SMS
messaging](https://docs.aws.amazon.com/connect/latest/adminguide/setup-sms-messaging.html)

*

[Request an SMS-enabled phone number through AWS End User Messaging
SMS](https://docs.aws.amazon.com/connect/latest/adminguide/sms-number.html)
"""
@spec start_outbound_chat_contact(map(), start_outbound_chat_contact_request(), list()) ::
{:ok, start_outbound_chat_contact_response(), any()}
| {:error, {:unexpected_response, any()}}
| {:error, start_outbound_chat_contact_errors()}
def start_outbound_chat_contact(%Client{} = client, input, options \\ []) do
url_path = "/contact/outbound-chat"
headers = []
query_params = []

meta = metadata()

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

@doc """
Places an outbound call to a contact, and then initiates the flow.

Expand Down
2 changes: 1 addition & 1 deletion lib/aws/generated/pricing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule AWS.Pricing do
Web Services
Use `GetServices` without a service code to retrieve the service codes for
all Amazon Web Services, then `GetServices` with a service code to
all Amazon Web Services services, then `GetServices` with a service code to
retrieve the attribute names for that service. After you have the service code
and
attribute names, you can use `GetAttributeValues` to see what values are
Expand Down
Loading

0 comments on commit 75f3366

Please sign in to comment.