Skip to content

Commit

Permalink
Update services based on release-2025-01-31 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Feb 1, 2025
1 parent 6359a65 commit caf4d3f
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 25 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-2025-01-30
release-2025-01-31
12 changes: 12 additions & 0 deletions src/aws_amp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
%% <<"alias">> => string(),
%% <<"clientToken">> => string(),
%% <<"destination">> => list(),
%% <<"roleConfiguration">> => role_configuration(),
%% <<"scrapeConfiguration">> => list()
%% }
-type update_scraper_request() :: #{binary() => any()}.
Expand Down Expand Up @@ -497,6 +498,7 @@
%% <<"destination">> => list(),
%% <<"lastModifiedAt">> => [non_neg_integer()],
%% <<"roleArn">> => string(),
%% <<"roleConfiguration">> => role_configuration(),
%% <<"scrapeConfiguration">> => list(),
%% <<"scraperId">> => string(),
%% <<"source">> => list(),
Expand All @@ -518,6 +520,14 @@
-type tag_resource_response() :: #{}.


%% Example:
%% role_configuration() :: #{
%% <<"sourceRoleArn">> => string(),
%% <<"targetRoleArn">> => string()
%% }
-type role_configuration() :: #{binary() => any()}.


%% Example:
%% put_alert_manager_definition_response() :: #{
%% <<"status">> => alert_manager_definition_status()
Expand Down Expand Up @@ -594,6 +604,7 @@
%% <<"alias">> => string(),
%% <<"clientToken">> => string(),
%% <<"destination">> := list(),
%% <<"roleConfiguration">> => role_configuration(),
%% <<"scrapeConfiguration">> := list(),
%% <<"source">> := list(),
%% <<"tags">> => map()
Expand Down Expand Up @@ -688,6 +699,7 @@
%% <<"destination">> => list(),
%% <<"lastModifiedAt">> => [non_neg_integer()],
%% <<"roleArn">> => string(),
%% <<"roleConfiguration">> => role_configuration(),
%% <<"scraperId">> => string(),
%% <<"source">> => list(),
%% <<"status">> => scraper_status(),
Expand Down
4 changes: 3 additions & 1 deletion src/aws_bedrock_agent_runtime.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,9 @@

%% Example:
%% citation_event() :: #{
%% <<"citation">> => citation()
%% <<"citation">> => citation(),
%% <<"generatedResponsePart">> => generated_response_part(),
%% <<"retrievedReferences">> => list(retrieved_reference()())
%% }
-type citation_event() :: #{binary() => any()}.

Expand Down
60 changes: 42 additions & 18 deletions src/aws_geo_routes.erl
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
%% WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
%% See https://github.com/aws-beam/aws-codegen for more details.

%% @doc With the Amazon Location Routes API you can calculate
%% routes and estimate travel time based on up-to-date road network and live
%% traffic information.
%% @doc With the Amazon Location Routes API you can calculate routes and
%% estimate travel time
%% based on up-to-date road network and live traffic information.
%%
%% Calculate optimal travel routes and estimate travel times using up-to-date
%% road network and traffic data. Key features include:
%% road network
%% and traffic data. Key features include:
%%
%% Point-to-point routing with estimated travel time, distance, and
%% turn-by-turn directions
%% turn-by-turn
%% directions
%%
%% Multi-point route optimization to minimize travel time or distance
%%
Expand Down Expand Up @@ -326,6 +328,14 @@
-type route_toll_summary() :: #{binary() => any()}.


%% Example:
%% waypoint_optimization_clustering_options() :: #{
%% <<"Algorithm">> => string(),
%% <<"DrivingDistanceOptions">> => waypoint_optimization_driving_distance_options()
%% }
-type waypoint_optimization_clustering_options() :: #{binary() => any()}.


%% Example:
%% route_roundabout_exit_step_details() :: #{
%% <<"Intersection">> => list(localized_string()()),
Expand Down Expand Up @@ -497,6 +507,7 @@
%% Example:
%% optimize_waypoints_request() :: #{
%% <<"Avoid">> => waypoint_optimization_avoidance_options(),
%% <<"Clustering">> => waypoint_optimization_clustering_options(),
%% <<"DepartureTime">> => string(),
%% <<"Destination">> => list([float()]()),
%% <<"DestinationOptions">> => waypoint_optimization_destination_options(),
Expand Down Expand Up @@ -1460,6 +1471,7 @@
%% Example:
%% waypoint_optimization_optimized_waypoint() :: #{
%% <<"ArrivalTime">> => string(),
%% <<"ClusterIndex">> => integer(),
%% <<"DepartureTime">> => string(),
%% <<"Id">> => string(),
%% <<"Position">> => list([float()]())
Expand Down Expand Up @@ -1887,6 +1899,13 @@
-type calculate_routes_response() :: #{binary() => any()}.


%% Example:
%% waypoint_optimization_driving_distance_options() :: #{
%% <<"DrivingDistance">> => float()
%% }
-type waypoint_optimization_driving_distance_options() :: #{binary() => any()}.


%% Example:
%% isoline_truck_options() :: #{
%% <<"AxleCount">> => [integer()],
Expand Down Expand Up @@ -2077,12 +2096,14 @@ calculate_isolines(Client, Input0, Options0) ->
Result
end.

%% @doc Calculates route matrix containing the results for all pairs of
%% Origins to Destinations.
%% @doc Use `CalculateRouteMatrix' to compute results for all pairs of
%% Origins to
%% Destinations.
%%
%% Each row corresponds to one entry in Origins.
%% Each entry in the row corresponds to the route from that entry in Origins
%% to an entry in Destinations positions.
%% Each row corresponds to one entry in Origins. Each entry in the row
%% corresponds to the route from that entry in Origins to an entry in
%% Destinations
%% positions.
-spec calculate_route_matrix(aws_client:aws_client(), calculate_route_matrix_request()) ->
{ok, calculate_route_matrix_response(), tuple()} |
{error, any()} |
Expand Down Expand Up @@ -2133,7 +2154,9 @@ calculate_route_matrix(Client, Input0, Options0) ->
Result
end.

%% @doc Calculates a route given the following required parameters:
%% @doc
%% `CalculateRoutes' computes routes given the following required
%% parameters:
%% `Origin' and `Destination'.
-spec calculate_routes(aws_client:aws_client(), calculate_routes_request()) ->
{ok, calculate_routes_response(), tuple()} |
Expand Down Expand Up @@ -2185,11 +2208,12 @@ calculate_routes(Client, Input0, Options0) ->
Result
end.

%% @doc Calculates the optimal order to travel between a set of waypoints to
%% minimize either the
%% travel time or the distance travelled during the journey, based on road
%% network
%% restrictions and the traffic pattern data.
%% @doc
%% `OptimizeWaypoints' calculates the optimal order to travel between a
%% set of
%% waypoints to minimize either the travel time or the distance travelled
%% during the journey,
%% based on road network restrictions and the traffic pattern data.
-spec optimize_waypoints(aws_client:aws_client(), optimize_waypoints_request()) ->
{ok, optimize_waypoints_response(), tuple()} |
{error, any()} |
Expand Down Expand Up @@ -2240,8 +2264,8 @@ optimize_waypoints(Client, Input0, Options0) ->
Result
end.

%% @doc The SnapToRoads action matches GPS trace to roads most likely
%% traveled on.
%% @doc
%% `SnapToRoads' matches GPS trace to roads most likely traveled on.
-spec snap_to_roads(aws_client:aws_client(), snap_to_roads_request()) ->
{ok, snap_to_roads_response(), tuple()} |
{error, any()} |
Expand Down
12 changes: 7 additions & 5 deletions src/aws_rds.erl
Original file line number Diff line number Diff line change
Expand Up @@ -10933,13 +10933,15 @@ stop_db_cluster(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"StopDBCluster">>, Input, Options).

%% @doc Stops an Amazon RDS DB instance.
%% @doc Stops an Amazon RDS DB instance temporarily.
%%
%% When you stop a DB instance, Amazon RDS retains the DB instance's
%% metadata, including its endpoint,
%% DB parameter group, and option group membership. Amazon RDS also retains
%% the transaction logs so you can do a point-in-time restore if
%% necessary.
%% metadata,
%% including its endpoint, DB parameter group, and option group membership.
%% Amazon RDS also retains
%% the transaction logs so you can do a point-in-time restore if necessary.
%% The instance restarts automatically
%% after 7 days.
%%
%% For more information, see
%%
Expand Down

0 comments on commit caf4d3f

Please sign in to comment.