Skip to content

Commit

Permalink
Update services based on v1.48.11 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Dec 2, 2023
1 parent ed798ac commit 5056f32
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 7 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.48.10
v1.48.11
46 changes: 40 additions & 6 deletions src/aws_qconnect.erl
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
%% WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
%% See https://github.com/aws-beam/aws-codegen for more details.

%% @doc Amazon Q in Connect is a generative AI customer service assistant.
%% @doc Powered by Amazon Bedrock: Amazon Web Services implements automated
%% abuse detection.
%%
%% It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers
%% real-time recommendations to help contact center agents resolve customer
%% issues quickly and accurately.
%% Because Amazon Q in Connect is built on Amazon Bedrock, users can take
%% full advantage of the controls implemented in Amazon Bedrock to enforce
%% safety, security, and the responsible use of artificial intelligence (AI).
%%
%% Amazon Q in Connect is a generative AI customer service assistant. It is
%% an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time
%% recommendations to help contact center agents resolve customer issues
%% quickly and accurately.
%%
%% Amazon Q automatically detects customer intent during calls and chats
%% using conversational analytics and natural language understanding (NLU).
Expand Down Expand Up @@ -96,6 +102,8 @@
list_tags_for_resource/5,
notify_recommendations_received/4,
notify_recommendations_received/5,
put_feedback/3,
put_feedback/4,
query_assistant/3,
query_assistant/4,
remove_knowledge_base_template_uri/3,
Expand Down Expand Up @@ -243,7 +251,7 @@ create_knowledge_base(Client, Input0, Options0) ->

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

%% @doc Creates a Amazon Q quick response.
%% @doc Creates an Amazon Q quick response.
create_quick_response(Client, KnowledgeBaseId, Input) ->
create_quick_response(Client, KnowledgeBaseId, Input, []).
create_quick_response(Client, KnowledgeBaseId, Input0, Options0) ->
Expand Down Expand Up @@ -876,6 +884,32 @@ notify_recommendations_received(Client, AssistantId, SessionId, Input0, Options0

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

%% @doc Provides feedback against the specified assistant for the specified
%% target.
%%
%% This API only supports generative targets.
put_feedback(Client, AssistantId, Input) ->
put_feedback(Client, AssistantId, Input, []).
put_feedback(Client, AssistantId, Input0, Options0) ->
Method = put,
Path = ["/assistants/", aws_util:encode_uri(AssistantId), "/feedback"],
SuccessStatusCode = 200,
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 Performs a manual search against the specified assistant.
%%
%% To retrieve recommendations for an assistant, use GetRecommendations.
Expand Down Expand Up @@ -951,7 +985,7 @@ search_content(Client, KnowledgeBaseId, Input0, Options0) ->
{Query_, Input} = aws_request:build_headers(QueryMapping, Input2),
request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode).

%% @doc Searches existing Amazon Q quick responses in a Amazon Q knowledge
%% @doc Searches existing Amazon Q quick responses in an Amazon Q knowledge
%% base.
search_quick_responses(Client, KnowledgeBaseId, Input) ->
search_quick_responses(Client, KnowledgeBaseId, Input, []).
Expand Down
5 changes: 5 additions & 0 deletions src/aws_verifiedpermissions.erl
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@
%% The `entities' of a `BatchIsAuthorized' API request can contain up
%% to 100 principals and up to 100 resources. The `requests' of a
%% `BatchIsAuthorized' API request can contain up to 30 requests.
%%
%% The `BatchIsAuthorized' operation doesn't have its own IAM
%% permission. To authorize this operation for Amazon Web Services
%% principals, include the permission `verifiedpermissions:IsAuthorized'
%% in their IAM policies.
batch_is_authorized(Client, Input)
when is_map(Client), is_map(Input) ->
batch_is_authorized(Client, Input, []).
Expand Down

0 comments on commit 5056f32

Please sign in to comment.