Skip to content

Commit

Permalink
Update services based on v1.50.0 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jan 20, 2024
1 parent bd3ccfb commit f0dc10b
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 4 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.49.24
v1.50.0
8 changes: 5 additions & 3 deletions src/aws_athena.erl
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,11 @@ get_work_group(Client, Input, Options)

%% @doc Imports a single `ipynb' file to a Spark enabled workgroup.
%%
%% The maximum file size that can be imported is 10 megabytes. If an
%% `ipynb' file with the same name already exists in the workgroup,
%% throws an error.
%% To import the notebook, the request must specify a value for either
%% `Payload' or `NoteBookS3LocationUri'. If neither is specified or
%% both are specified, an `InvalidRequestException' occurs. The maximum
%% file size that can be imported is 10 megabytes. If an `ipynb' file
%% with the same name already exists in the workgroup, throws an error.
import_notebook(Client, Input)
when is_map(Client), is_map(Input) ->
import_notebook(Client, Input, []).
Expand Down
53 changes: 53 additions & 0 deletions src/aws_codebuild.erl
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@
batch_get_build_batches/3,
batch_get_builds/2,
batch_get_builds/3,
batch_get_fleets/2,
batch_get_fleets/3,
batch_get_projects/2,
batch_get_projects/3,
batch_get_report_groups/2,
batch_get_report_groups/3,
batch_get_reports/2,
batch_get_reports/3,
create_fleet/2,
create_fleet/3,
create_project/2,
create_project/3,
create_report_group/2,
Expand All @@ -36,6 +40,8 @@
create_webhook/3,
delete_build_batch/2,
delete_build_batch/3,
delete_fleet/2,
delete_fleet/3,
delete_project/2,
delete_project/3,
delete_report/2,
Expand Down Expand Up @@ -70,6 +76,8 @@
list_builds_for_project/3,
list_curated_environment_images/2,
list_curated_environment_images/3,
list_fleets/2,
list_fleets/3,
list_projects/2,
list_projects/3,
list_report_groups/2,
Expand Down Expand Up @@ -98,6 +106,8 @@
stop_build/3,
stop_build_batch/2,
stop_build_batch/3,
update_fleet/2,
update_fleet/3,
update_project/2,
update_project/3,
update_project_visibility/2,
Expand Down Expand Up @@ -137,6 +147,14 @@ batch_get_builds(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"BatchGetBuilds">>, Input, Options).

%% @doc Gets information about one or more compute fleets.
batch_get_fleets(Client, Input)
when is_map(Client), is_map(Input) ->
batch_get_fleets(Client, Input, []).
batch_get_fleets(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"BatchGetFleets">>, Input, Options).

%% @doc Gets information about one or more build projects.
batch_get_projects(Client, Input)
when is_map(Client), is_map(Input) ->
Expand All @@ -161,6 +179,14 @@ batch_get_reports(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"BatchGetReports">>, Input, Options).

%% @doc Creates a compute fleet.
create_fleet(Client, Input)
when is_map(Client), is_map(Input) ->
create_fleet(Client, Input, []).
create_fleet(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"CreateFleet">>, Input, Options).

%% @doc Creates a build project.
create_project(Client, Input)
when is_map(Client), is_map(Input) ->
Expand Down Expand Up @@ -207,6 +233,16 @@ delete_build_batch(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DeleteBuildBatch">>, Input, Options).

%% @doc Deletes a compute fleet.
%%
%% When you delete a compute fleet, its builds are not deleted.
delete_fleet(Client, Input)
when is_map(Client), is_map(Input) ->
delete_fleet(Client, Input, []).
delete_fleet(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DeleteFleet">>, Input, Options).

%% @doc Deletes a build project.
%%
%% When you delete a project, its builds are not deleted.
Expand Down Expand Up @@ -358,6 +394,15 @@ list_curated_environment_images(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"ListCuratedEnvironmentImages">>, Input, Options).

%% @doc Gets a list of compute fleet names with each compute fleet name
%% representing a single compute fleet.
list_fleets(Client, Input)
when is_map(Client), is_map(Input) ->
list_fleets(Client, Input, []).
list_fleets(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"ListFleets">>, Input, Options).

%% @doc Gets a list of build project names, with each build project name
%% representing a single build project.
list_projects(Client, Input)
Expand Down Expand Up @@ -479,6 +524,14 @@ stop_build_batch(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"StopBuildBatch">>, Input, Options).

%% @doc Updates a compute fleet.
update_fleet(Client, Input)
when is_map(Client), is_map(Input) ->
update_fleet(Client, Input, []).
update_fleet(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"UpdateFleet">>, Input, Options).

%% @doc Changes the settings of a build project.
update_project(Client, Input)
when is_map(Client), is_map(Input) ->
Expand Down
10 changes: 10 additions & 0 deletions src/aws_dynamodb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@
update_global_table_settings/3,
update_item/2,
update_item/3,
update_kinesis_streaming_destination/2,
update_kinesis_streaming_destination/3,
update_table/2,
update_table/3,
update_table_replica_auto_scaling/2,
Expand Down Expand Up @@ -1393,6 +1395,14 @@ update_item(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"UpdateItem">>, Input, Options).

%% @doc The command to update the Kinesis stream destination.
update_kinesis_streaming_destination(Client, Input)
when is_map(Client), is_map(Input) ->
update_kinesis_streaming_destination(Client, Input, []).
update_kinesis_streaming_destination(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"UpdateKinesisStreamingDestination">>, Input, Options).

%% @doc Modifies the provisioned throughput settings, global secondary
%% indexes, or DynamoDB Streams settings for a given table.
%%
Expand Down

0 comments on commit f0dc10b

Please sign in to comment.