Skip to content

Commit

Permalink
Update services based on v1.47.10 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Nov 14, 2023
1 parent bfbf31b commit 36fc2b5
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 3 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.9
v1.47.10
59 changes: 58 additions & 1 deletion src/aws_service_catalog_appregistry.erl
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,31 @@ associate_attribute_group(Client, Application, AttributeGroup, Input0, Options0)
%%
%% The resource can be specified by its ARN or name. The application can be
%% specified by ARN, ID, or name.
%%
%% Minimum permissions
%%
%% You must have the following permissions to associate a resource using the
%% `OPTIONS' parameter set to `APPLY_APPLICATION_TAG'.
%%
%% <ul> <li> `tag:GetResources'
%%
%% </li> <li> `tag:TagResources'
%%
%% </li> </ul> You must also have these additional permissions if you
%% don't use the `AWSServiceCatalogAppRegistryFullAccess' policy. For
%% more information, see AWSServiceCatalogAppRegistryFullAccess in the
%% AppRegistry Administrator Guide.
%%
%% <ul> <li> `resource-groups:DisassociateResource'
%%
%% </li> <li> `cloudformation:UpdateStack'
%%
%% </li> <li> `cloudformation:DescribeStacks'
%%
%% </li> </ul> In addition, you must have the tagging permission defined by
%% the Amazon Web Services service that creates the resource. For more
%% information, see TagResources in the Resource Groups Tagging API
%% Reference.
associate_resource(Client, Application, Resource, ResourceType, Input) ->
associate_resource(Client, Application, Resource, ResourceType, Input, []).
associate_resource(Client, Application, Resource, ResourceType, Input0, Options0) ->
Expand Down Expand Up @@ -261,6 +286,32 @@ disassociate_attribute_group(Client, Application, AttributeGroup, Input0, Option
%%
%% Both the resource and the application can be specified either by ID or
%% name.
%%
%% Minimum permissions
%%
%% You must have the following permissions to remove a resource that's
%% been associated with an application using the `APPLY_APPLICATION_TAG'
%% option for AssociateResource.
%%
%% <ul> <li> `tag:GetResources'
%%
%% </li> <li> `tag:UntagResources'
%%
%% </li> </ul> You must also have the following permissions if you don't
%% use the `AWSServiceCatalogAppRegistryFullAccess' policy. For more
%% information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry
%% Administrator Guide.
%%
%% <ul> <li> `resource-groups:DisassociateResource'
%%
%% </li> <li> `cloudformation:UpdateStack'
%%
%% </li> <li> `cloudformation:DescribeStacks'
%%
%% </li> </ul> In addition, you must have the tagging permission defined by
%% the Amazon Web Services service that creates the resource. For more
%% information, see UntagResources in the Resource Groups Tagging API
%% Reference.
disassociate_resource(Client, Application, Resource, ResourceType, Input) ->
disassociate_resource(Client, Application, Resource, ResourceType, Input, []).
disassociate_resource(Client, Application, Resource, ResourceType, Input0, Options0) ->
Expand Down Expand Up @@ -331,7 +382,13 @@ get_associated_resource(Client, Application, Resource, ResourceType, QueryMap, H

Headers = [],

Query_ = [],
Query0_ =
[
{<<"maxResults">>, maps:get(<<"maxResults">>, QueryMap, undefined)},
{<<"nextToken">>, maps:get(<<"nextToken">>, QueryMap, undefined)},
{<<"resourceTagStatus">>, maps:get(<<"resourceTagStatus">>, QueryMap, undefined)}
],
Query_ = [H || {_, V} = H <- Query0_, V =/= undefined],

request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).

Expand Down
5 changes: 4 additions & 1 deletion src/aws_transcribe_streaming.erl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ start_medical_stream_transcription(Client, Input0, Options0) ->
%%
%% The following parameters are required:
%%
%% <ul> <li> `language-code' or `identify-language'
%% <ul> <li> `language-code' or `identify-language' or
%% `identify-multiple-language'
%%
%% </li> <li> `media-encoding'
%%
Expand All @@ -219,6 +220,7 @@ start_stream_transcription(Client, Input0, Options0) ->
{<<"x-amzn-transcribe-enable-channel-identification">>, <<"EnableChannelIdentification">>},
{<<"x-amzn-transcribe-enable-partial-results-stabilization">>, <<"EnablePartialResultsStabilization">>},
{<<"x-amzn-transcribe-identify-language">>, <<"IdentifyLanguage">>},
{<<"x-amzn-transcribe-identify-multiple-languages">>, <<"IdentifyMultipleLanguages">>},
{<<"x-amzn-transcribe-language-code">>, <<"LanguageCode">>},
{<<"x-amzn-transcribe-language-model-name">>, <<"LanguageModelName">>},
{<<"x-amzn-transcribe-language-options">>, <<"LanguageOptions">>},
Expand Down Expand Up @@ -253,6 +255,7 @@ start_stream_transcription(Client, Input0, Options0) ->
{<<"x-amzn-transcribe-enable-channel-identification">>, <<"EnableChannelIdentification">>},
{<<"x-amzn-transcribe-enable-partial-results-stabilization">>, <<"EnablePartialResultsStabilization">>},
{<<"x-amzn-transcribe-identify-language">>, <<"IdentifyLanguage">>},
{<<"x-amzn-transcribe-identify-multiple-languages">>, <<"IdentifyMultipleLanguages">>},
{<<"x-amzn-transcribe-language-code">>, <<"LanguageCode">>},
{<<"x-amzn-transcribe-language-model-name">>, <<"LanguageModelName">>},
{<<"x-amzn-transcribe-language-options">>, <<"LanguageOptions">>},
Expand Down

0 comments on commit 36fc2b5

Please sign in to comment.