Skip to content

Commit

Permalink
Update services based on v1.50.30 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Mar 2, 2024
1 parent d0afe9e commit 60cf495
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 16 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.29
v1.50.30
22 changes: 21 additions & 1 deletion src/aws_accessanalyzer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,10 @@ get_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap, Options0)
request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).

%% @doc Retrieves information about the specified finding.
%%
%% GetFinding and GetFindingV2 both use `access-analyzer:GetFinding' in
%% the `Action' element of an IAM policy statement. You must have
%% permission to perform the `access-analyzer:GetFinding' action.
get_finding(Client, Id, AnalyzerArn)
when is_map(Client) ->
get_finding(Client, Id, AnalyzerArn, #{}, #{}).
Expand Down Expand Up @@ -486,6 +490,10 @@ get_finding(Client, Id, AnalyzerArn, QueryMap, HeadersMap, Options0)
request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).

%% @doc Retrieves information about the specified finding.
%%
%% GetFinding and GetFindingV2 both use `access-analyzer:GetFinding' in
%% the `Action' element of an IAM policy statement. You must have
%% permission to perform the `access-analyzer:GetFinding' action.
get_finding_v2(Client, Id, AnalyzerArn)
when is_map(Client) ->
get_finding_v2(Client, Id, AnalyzerArn, #{}, #{}).
Expand Down Expand Up @@ -597,7 +605,9 @@ list_access_previews(Client, AnalyzerArn, QueryMap, HeadersMap, Options0)
request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).

%% @doc Retrieves a list of resources of the specified type that have been
%% analyzed by the specified analyzer..
%% analyzed by the specified external access analyzer.
%%
%% This action is not supported for unused access analyzers.
list_analyzed_resources(Client, Input) ->
list_analyzed_resources(Client, Input, []).
list_analyzed_resources(Client, Input0, Options0) ->
Expand Down Expand Up @@ -679,6 +689,11 @@ list_archive_rules(Client, AnalyzerName, QueryMap, HeadersMap, Options0)

%% @doc Retrieves a list of findings generated by the specified analyzer.
%%
%% ListFindings and ListFindingsV2 both use
%% `access-analyzer:ListFindings' in the `Action' element of an IAM
%% policy statement. You must have permission to perform the
%% `access-analyzer:ListFindings' action.
%%
%% To learn about filter keys that you can use to retrieve a list of
%% findings, see IAM Access Analyzer filter keys:
%% https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html
Expand Down Expand Up @@ -707,6 +722,11 @@ list_findings(Client, Input0, Options0) ->

%% @doc Retrieves a list of findings generated by the specified analyzer.
%%
%% ListFindings and ListFindingsV2 both use
%% `access-analyzer:ListFindings' in the `Action' element of an IAM
%% policy statement. You must have permission to perform the
%% `access-analyzer:ListFindings' action.
%%
%% To learn about filter keys that you can use to retrieve a list of
%% findings, see IAM Access Analyzer filter keys:
%% https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html
Expand Down
11 changes: 3 additions & 8 deletions src/aws_auto_scaling.erl
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,9 @@ complete_lifecycle_action(Client, Input, Options)
%% https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html
%% in the Amazon EC2 Auto Scaling User Guide.
%%
%% For introductory exercises for creating an Auto Scaling group, see Getting
%% started with Amazon EC2 Auto Scaling:
%% https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html
%% and Tutorial: Set up a scaled and load-balanced application:
%% https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html
%% in the Amazon EC2 Auto Scaling User Guide. For more information, see Auto
%% Scaling groups:
%% https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html
%% If you're new to Amazon EC2 Auto Scaling, see the introductory
%% tutorials in Get started with Amazon EC2 Auto Scaling:
%% https://docs.aws.amazon.com/autoscaling/ec2/userguide/get-started-with-ec2-auto-scaling.html
%% in the Amazon EC2 Auto Scaling User Guide.
%%
%% Every Auto Scaling group has three size properties (`DesiredCapacity',
Expand Down
42 changes: 36 additions & 6 deletions src/aws_ec2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -4859,7 +4859,8 @@ describe_byoip_cidrs(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeByoipCidrs">>, Input, Options).

%% @doc Describes Capacity Block offerings available for purchase.
%% @doc Describes Capacity Block offerings available for purchase in the
%% Amazon Web Services Region that you're currently using.
%%
%% With Capacity Blocks, you purchase a specific instance type for a period
%% of time.
Expand Down Expand Up @@ -5080,7 +5081,11 @@ describe_fleet_history(Client, Input, Options)

%% @doc Describes the running instances for the specified EC2 Fleet.
%%
%% For more information, see Monitor your EC2 Fleet:
%% Currently, `DescribeFleetInstances' does not support fleets of type
%% `instant'. Instead, use `DescribeFleets', specifying the
%% `instant' fleet ID in the request.
%%
%% For more information, see Describe your EC2 Fleet:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet
%% in the Amazon EC2 User Guide.
describe_fleet_instances(Client, Input)
Expand All @@ -5090,9 +5095,12 @@ describe_fleet_instances(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeFleetInstances">>, Input, Options).

%% @doc Describes the specified EC2 Fleets or all of your EC2 Fleets.
%% @doc Describes the specified EC2 Fleet or all of your EC2 Fleets.
%%
%% If a fleet is of type `instant', you must specify the fleet ID in the
%% request, otherwise the fleet does not appear in the response.
%%
%% For more information, see Monitor your EC2 Fleet:
%% For more information, see Describe your EC2 Fleet:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet
%% in the Amazon EC2 User Guide.
describe_fleets(Client, Input)
Expand Down Expand Up @@ -5411,7 +5419,9 @@ describe_instance_event_windows(Client, Input, Options)
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
%% in the Amazon EC2 User Guide.
%%
%% </li> </ul>
%% </li> </ul> The order of the elements in the response, including those
%% within nested structures, might vary. Applications should not assume the
%% elements appear in a particular order.
describe_instance_status(Client, Input)
when is_map(Client), is_map(Input) ->
describe_instance_status(Client, Input, []).
Expand Down Expand Up @@ -5501,6 +5511,10 @@ describe_instance_types(Client, Input, Options)
%% the affected zone, or do not specify any instance IDs at all, the call
%% fails. If you describe instances and specify only instance IDs that are in
%% an unaffected zone, the call works normally.
%%
%% The order of the elements in the response, including those within nested
%% structures, might vary. Applications should not assume the elements appear
%% in a particular order.
describe_instances(Client, Input)
when is_map(Client), is_map(Input) ->
describe_instances(Client, Input, []).
Expand Down Expand Up @@ -5886,6 +5900,10 @@ describe_replace_root_volume_tasks(Client, Input, Options)
%% For more information about Reserved Instances, see Reserved Instances:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
%% in the Amazon EC2 User Guide.
%%
%% The order of the elements in the response, including those within nested
%% structures, might vary. Applications should not assume the elements appear
%% in a particular order.
describe_reserved_instances(Client, Input)
when is_map(Client), is_map(Input) ->
describe_reserved_instances(Client, Input, []).
Expand Down Expand Up @@ -5917,6 +5935,10 @@ describe_reserved_instances(Client, Input, Options)
%% For more information, see Reserved Instance Marketplace:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
%% in the Amazon EC2 User Guide.
%%
%% The order of the elements in the response, including those within nested
%% structures, might vary. Applications should not assume the elements appear
%% in a particular order.
describe_reserved_instances_listings(Client, Input)
when is_map(Client), is_map(Input) ->
describe_reserved_instances_listings(Client, Input, []).
Expand All @@ -5933,6 +5955,10 @@ describe_reserved_instances_listings(Client, Input, Options)
%% For more information, see Modifying Reserved Instances:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html in
%% the Amazon EC2 User Guide.
%%
%% The order of the elements in the response, including those within nested
%% structures, might vary. Applications should not assume the elements appear
%% in a particular order.
describe_reserved_instances_modifications(Client, Input)
when is_map(Client), is_map(Input) ->
describe_reserved_instances_modifications(Client, Input, []).
Expand All @@ -5955,6 +5981,10 @@ describe_reserved_instances_modifications(Client, Input, Options)
%% For more information, see Reserved Instance Marketplace:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
%% in the Amazon EC2 User Guide.
%%
%% The order of the elements in the response, including those within nested
%% structures, might vary. Applications should not assume the elements appear
%% in a particular order.
describe_reserved_instances_offerings(Client, Input)
when is_map(Client), is_map(Input) ->
describe_reserved_instances_offerings(Client, Input, []).
Expand Down Expand Up @@ -8689,7 +8719,7 @@ modify_instance_metadata_options(Client, Input, Options)
%% <ul> <li> Modify the affinity between an instance and a Dedicated Host:
%% https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html.
%% When affinity is set to `host' and the instance is not associated with
%% a specific Dedicated Host, the next time the instance is launched, it is
%% a specific Dedicated Host, the next time the instance is started, it is
%% automatically associated with the host on which it lands. If the instance
%% is restarted or rebooted, this relationship persists.
%%
Expand Down

0 comments on commit 60cf495

Please sign in to comment.