Skip to content

Commit

Permalink
Update services based on v1.50.3 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jan 25, 2024
1 parent f081ee8 commit 9129856
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 17 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.50.2
v1.50.3
4 changes: 3 additions & 1 deletion src/aws_ecs.erl
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ create_service(Client, Input, Options)
%% type. For more information, see Amazon ECS deployment types in the Amazon
%% Elastic Container Service Developer Guide.
%%
%% You can create a maximum of 5 tasks sets for a deployment.
%% For information about the maximum number of task sets and otther quotas,
%% see Amazon ECS service quotas in the Amazon Elastic Container Service
%% Developer Guide.
create_task_set(Client, Input)
when is_map(Client), is_map(Input) ->
create_task_set(Client, Input, []).
Expand Down
71 changes: 68 additions & 3 deletions src/aws_rds.erl
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
create_db_proxy_endpoint/3,
create_db_security_group/2,
create_db_security_group/3,
create_db_shard_group/2,
create_db_shard_group/3,
create_db_snapshot/2,
create_db_snapshot/3,
create_db_subnet_group/2,
Expand Down Expand Up @@ -143,6 +145,8 @@
delete_db_proxy_endpoint/3,
delete_db_security_group/2,
delete_db_security_group/3,
delete_db_shard_group/2,
delete_db_shard_group/3,
delete_db_snapshot/2,
delete_db_snapshot/3,
delete_db_subnet_group/2,
Expand Down Expand Up @@ -205,6 +209,8 @@
describe_db_recommendations/3,
describe_db_security_groups/2,
describe_db_security_groups/3,
describe_db_shard_groups/2,
describe_db_shard_groups/3,
describe_db_snapshot_attributes/2,
describe_db_snapshot_attributes/3,
describe_db_snapshot_tenant_databases/2,
Expand Down Expand Up @@ -287,6 +293,8 @@
modify_db_proxy_target_group/3,
modify_db_recommendation/2,
modify_db_recommendation/3,
modify_db_shard_group/2,
modify_db_shard_group/3,
modify_db_snapshot/2,
modify_db_snapshot/3,
modify_db_snapshot_attribute/2,
Expand All @@ -311,6 +319,8 @@
reboot_db_cluster/3,
reboot_db_instance/2,
reboot_db_instance/3,
reboot_db_shard_group/2,
reboot_db_shard_group/3,
register_db_proxy_targets/2,
register_db_proxy_targets/3,
remove_from_global_cluster/2,
Expand Down Expand Up @@ -826,6 +836,18 @@ create_db_security_group(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"CreateDBSecurityGroup">>, Input, Options).

%% @doc Creates a new DB shard group for Aurora Limitless Database.
%%
%% You must enable Aurora Limitless Database to create a DB shard group.
%%
%% Valid for: Aurora DB clusters only
create_db_shard_group(Client, Input)
when is_map(Client), is_map(Input) ->
create_db_shard_group(Client, Input, []).
create_db_shard_group(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"CreateDBShardGroup">>, Input, Options).

%% @doc Creates a snapshot of a DB instance.
%%
%% The source DB instance must be in the `available' or
Expand Down Expand Up @@ -1162,6 +1184,14 @@ delete_db_security_group(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DeleteDBSecurityGroup">>, Input, Options).

%% @doc Deletes an Aurora Limitless Database DB shard group.
delete_db_shard_group(Client, Input)
when is_map(Client), is_map(Input) ->
delete_db_shard_group(Client, Input, []).
delete_db_shard_group(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DeleteDBShardGroup">>, Input, Options).

%% @doc Deletes a DB snapshot.
%%
%% If the snapshot is being copied, the copy operation is terminated.
Expand Down Expand Up @@ -1544,6 +1574,14 @@ describe_db_security_groups(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeDBSecurityGroups">>, Input, Options).

%% @doc Describes existing Aurora Limitless Database DB shard groups.
describe_db_shard_groups(Client, Input)
when is_map(Client), is_map(Input) ->
describe_db_shard_groups(Client, Input, []).
describe_db_shard_groups(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeDBShardGroups">>, Input, Options).

%% @doc Returns a list of DB snapshot attribute names and values for a manual
%% DB snapshot.
%%
Expand Down Expand Up @@ -1857,9 +1895,11 @@ enable_http_endpoint(Client, Input, Options)
%% Aurora Replicas (read-only instances) in the DB cluster to be the primary
%% DB instance (the cluster writer).
%%
%% For a Multi-AZ DB cluster, failover for a DB cluster promotes one of the
%% readable standby DB instances (read-only instances) in the DB cluster to
%% be the primary DB instance (the cluster writer).
%% For a Multi-AZ DB cluster, after RDS terminates the primary DB instance,
%% the internal monitoring system detects that the primary DB instance is
%% unhealthy and promotes a readable standby (read-only instances) in the DB
%% cluster to be the primary DB instance (the cluster writer). Failover times
%% are typically less than 35 seconds.
%%
%% An Amazon Aurora DB cluster automatically fails over to an Aurora Replica,
%% if one exists, when the primary DB instance fails. A Multi-AZ DB cluster
Expand Down Expand Up @@ -2221,6 +2261,17 @@ modify_db_recommendation(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"ModifyDBRecommendation">>, Input, Options).

%% @doc Modifies the settings of an Aurora Limitless Database DB shard group.
%%
%% You can change one or more settings by specifying these parameters and the
%% new values in the request.
modify_db_shard_group(Client, Input)
when is_map(Client), is_map(Input) ->
modify_db_shard_group(Client, Input, []).
modify_db_shard_group(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"ModifyDBShardGroup">>, Input, Options).

%% @doc Updates a manual DB snapshot with a new engine version.
%%
%% The snapshot can be encrypted or unencrypted, but not shared or public.
Expand Down Expand Up @@ -2410,6 +2461,20 @@ reboot_db_instance(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"RebootDBInstance">>, Input, Options).

%% @doc You might need to reboot your DB shard group, usually for maintenance
%% reasons.
%%
%% For example, if you make certain modifications, reboot the DB shard group
%% for the changes to take effect.
%%
%% This operation applies only to Aurora Limitless Database DBb shard groups.
reboot_db_shard_group(Client, Input)
when is_map(Client), is_map(Input) ->
reboot_db_shard_group(Client, Input, []).
reboot_db_shard_group(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"RebootDBShardGroup">>, Input, Options).

%% @doc Associate one or more `DBProxyTarget' data structures with a
%% `DBProxyTargetGroup'.
register_db_proxy_targets(Client, Input)
Expand Down
32 changes: 20 additions & 12 deletions src/aws_storage_gateway.erl
Original file line number Diff line number Diff line change
Expand Up @@ -975,12 +975,19 @@ describe_tape_recovery_points(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeTapeRecoveryPoints">>, Input, Options).

%% @doc Returns a description of the specified Amazon Resource Name (ARN) of
%% virtual tapes.
%% @doc Returns a description of virtual tapes that correspond to the
%% specified Amazon Resource Names (ARNs).
%%
%% If a `TapeARN' is not specified, returns a description of all virtual
%% If `TapeARN' is not specified, returns a description of the virtual
%% tapes associated with the specified gateway. This operation is only
%% supported in the tape gateway type.
%% supported for the tape gateway type.
%%
%% The operation supports pagination. By default, the operation returns a
%% maximum of up to 100 tapes. You can optionally specify the `Limit'
%% field in the body to limit the number of tapes in the response. If the
%% number of tapes returned in the response is truncated, the response
%% includes a `Marker' field. You can use this `Marker' value in your
%% subsequent request to retrieve the next set of tapes.
describe_tapes(Client, Input)
when is_map(Client), is_map(Input) ->
describe_tapes(Client, Input, []).
Expand Down Expand Up @@ -1271,9 +1278,7 @@ list_volumes(Client, Input, Options)
request(Client, <<"ListVolumes">>, Input, Options).

%% @doc Sends you notification through CloudWatch Events when all files
%% written to your file share have been uploaded to S3.
%%
%% Amazon S3.
%% written to your file share have been uploaded to Amazon S3.
%%
%% Storage Gateway can send a notification through Amazon CloudWatch Events
%% when all files written to your file share up to that point in time have
Expand Down Expand Up @@ -1305,8 +1310,8 @@ notify_when_uploaded(Client, Input, Options)
%%
%% You can subscribe to be notified through an Amazon CloudWatch event when
%% your `RefreshCache' operation completes. For more information, see
%% Getting notified about file operations in the Storage Gateway User Guide.
%% This operation is Only supported for S3 File Gateways.
%% Getting notified about file operations in the Amazon S3 File Gateway User
%% Guide. This operation is Only supported for S3 File Gateways.
%%
%% When this API is called, it only initiates the refresh operation. When the
%% API call completes and returns a success code, it doesn't necessarily
Expand All @@ -1320,7 +1325,7 @@ notify_when_uploaded(Client, Input, Options)
%% more than two refreshes at any time. We recommend using the
%% refresh-complete CloudWatch event notification before issuing additional
%% requests. For more information, see Getting notified about file operations
%% in the Storage Gateway User Guide.
%% in the Amazon S3 File Gateway User Guide.
%%
%% Wait at least 60 seconds between consecutive RefreshCache API requests.
%%
Expand All @@ -1333,7 +1338,7 @@ notify_when_uploaded(Client, Input, Options)
%% folders in the FolderList parameter.
%%
%% For more information, see Getting notified about file operations in the
%% Storage Gateway User Guide.
%% Amazon S3 File Gateway User Guide.
refresh_cache(Client, Input)
when is_map(Client), is_map(Input) ->
refresh_cache(Client, Input, []).
Expand Down Expand Up @@ -1434,11 +1439,14 @@ set_smb_guest_password(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"SetSMBGuestPassword">>, Input, Options).

%% @doc Shuts down a gateway.
%% @doc Shuts down a Tape Gateway or Volume Gateway.
%%
%% To specify which gateway to shut down, use the Amazon Resource Name (ARN)
%% of the gateway in the body of your request.
%%
%% This API action cannot be used to shut down S3 File Gateway or FSx File
%% Gateway.
%%
%% The operation shuts down the gateway service component running in the
%% gateway's virtual machine (VM) and not the host VM.
%%
Expand Down

0 comments on commit 9129856

Please sign in to comment.