Skip to content

Commit

Permalink
Update services based on release-2024-11-18 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Nov 19, 2024
1 parent 194fea2 commit a65661c
Show file tree
Hide file tree
Showing 11 changed files with 3,771 additions and 694 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-2024-11-15.2
release-2024-11-18
13 changes: 13 additions & 0 deletions src/aws_auto_scaling.erl
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,13 @@
%% }
-type metric_granularity_type() :: #{binary() => any()}.

%% Example:
%% availability_zone_impairment_policy() :: #{
%% <<"ImpairedZoneHealthCheckBehavior">> => list(any()),
%% <<"ZonalShiftEnabled">> => boolean()
%% }
-type availability_zone_impairment_policy() :: #{binary() => any()}.

%% Example:
%% describe_warm_pool_type() :: #{
%% <<"AutoScalingGroupName">> := string(),
Expand Down Expand Up @@ -951,6 +958,7 @@
%% Example:
%% attach_traffic_sources_type() :: #{
%% <<"AutoScalingGroupName">> := string(),
%% <<"SkipZonalShiftValidation">> => boolean(),
%% <<"TrafficSources">> := list(traffic_source_identifier()())
%% }
-type attach_traffic_sources_type() :: #{binary() => any()}.
Expand Down Expand Up @@ -1068,6 +1076,7 @@
%% create_auto_scaling_group_type() :: #{
%% <<"AutoScalingGroupName">> := string(),
%% <<"AvailabilityZoneDistribution">> => availability_zone_distribution(),
%% <<"AvailabilityZoneImpairmentPolicy">> => availability_zone_impairment_policy(),
%% <<"AvailabilityZones">> => list(string()()),
%% <<"CapacityRebalance">> => boolean(),
%% <<"Context">> => string(),
Expand All @@ -1090,6 +1099,7 @@
%% <<"NewInstancesProtectedFromScaleIn">> => boolean(),
%% <<"PlacementGroup">> => string(),
%% <<"ServiceLinkedRoleARN">> => string(),
%% <<"SkipZonalShiftValidation">> => boolean(),
%% <<"Tags">> => list(tag()()),
%% <<"TargetGroupARNs">> => list(string()()),
%% <<"TerminationPolicies">> => list(string()()),
Expand Down Expand Up @@ -1359,6 +1369,7 @@
%% <<"Tags">> => list(tag_description()()),
%% <<"CapacityRebalance">> => boolean(),
%% <<"TrafficSources">> => list(traffic_source_identifier()()),
%% <<"AvailabilityZoneImpairmentPolicy">> => availability_zone_impairment_policy(),
%% <<"InstanceMaintenancePolicy">> => instance_maintenance_policy(),
%% <<"CreatedTime">> => non_neg_integer(),
%% <<"DefaultCooldown">> => integer(),
Expand Down Expand Up @@ -1431,6 +1442,7 @@
%% update_auto_scaling_group_type() :: #{
%% <<"AutoScalingGroupName">> := string(),
%% <<"AvailabilityZoneDistribution">> => availability_zone_distribution(),
%% <<"AvailabilityZoneImpairmentPolicy">> => availability_zone_impairment_policy(),
%% <<"AvailabilityZones">> => list(string()()),
%% <<"CapacityRebalance">> => boolean(),
%% <<"Context">> => string(),
Expand All @@ -1450,6 +1462,7 @@
%% <<"NewInstancesProtectedFromScaleIn">> => boolean(),
%% <<"PlacementGroup">> => string(),
%% <<"ServiceLinkedRoleARN">> => string(),
%% <<"SkipZonalShiftValidation">> => boolean(),
%% <<"TerminationPolicies">> => list(string()()),
%% <<"VPCZoneIdentifier">> => string()
%% }
Expand Down
58 changes: 58 additions & 0 deletions src/aws_cloudformation.erl
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
list_exports/3,
list_generated_templates/2,
list_generated_templates/3,
list_hook_results/2,
list_hook_results/3,
list_imports/2,
list_imports/3,
list_resource_scan_related_resources/2,
Expand Down Expand Up @@ -610,6 +612,15 @@
%% }
-type describe_stack_instance_input() :: #{binary() => any()}.

%% Example:
%% list_hook_results_output() :: #{
%% <<"HookResults">> => list(hook_result_summary()()),
%% <<"NextToken">> => string(),
%% <<"TargetId">> => string(),
%% <<"TargetType">> => list(any())
%% }
-type list_hook_results_output() :: #{binary() => any()}.

%% Example:
%% invalid_operation_exception() :: #{
%% <<"Message">> => string()
Expand Down Expand Up @@ -656,6 +667,12 @@
%% }
-type list_stack_set_operation_results_input() :: #{binary() => any()}.

%% Example:
%% hook_result_not_found_exception() :: #{
%% <<"Message">> => string()
%% }
-type hook_result_not_found_exception() :: #{binary() => any()}.

%% Example:
%% detect_stack_resource_drift_input() :: #{
%% <<"LogicalResourceId">> := string(),
Expand Down Expand Up @@ -1096,6 +1113,14 @@
%% }
-type stack_summary() :: #{binary() => any()}.

%% Example:
%% list_hook_results_input() :: #{
%% <<"NextToken">> => string(),
%% <<"TargetId">> := string(),
%% <<"TargetType">> := list(any())
%% }
-type list_hook_results_input() :: #{binary() => any()}.

%% Example:
%% tag() :: #{
%% <<"Key">> => string(),
Expand Down Expand Up @@ -1930,6 +1955,18 @@
%% }
-type describe_resource_scan_input() :: #{binary() => any()}.

%% Example:
%% hook_result_summary() :: #{
%% <<"FailureMode">> => list(any()),
%% <<"HookStatusReason">> => string(),
%% <<"InvocationPoint">> => list(any()),
%% <<"Status">> => list(any()),
%% <<"TypeConfigurationVersionId">> => string(),
%% <<"TypeName">> => string(),
%% <<"TypeVersionId">> => string()
%% }
-type hook_result_summary() :: #{binary() => any()}.

%% Example:
%% resource_change_detail() :: #{
%% <<"CausingEntity">> => string(),
Expand Down Expand Up @@ -2632,6 +2669,9 @@
invalid_operation_exception() |
stale_request_exception().

-type list_hook_results_errors() ::
hook_result_not_found_exception().

-type list_resource_scan_related_resources_errors() ::
resource_scan_in_progress_exception() |
resource_scan_not_found_exception().
Expand Down Expand Up @@ -4078,6 +4118,24 @@ list_generated_templates(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"ListGeneratedTemplates">>, Input, Options).

%% @doc Returns summaries of invoked Hooks when a change set or Cloud Control
%% API operation target is provided.
-spec list_hook_results(aws_client:aws_client(), list_hook_results_input()) ->
{ok, list_hook_results_output(), tuple()} |
{error, any()} |
{error, list_hook_results_errors(), tuple()}.
list_hook_results(Client, Input)
when is_map(Client), is_map(Input) ->
list_hook_results(Client, Input, []).

-spec list_hook_results(aws_client:aws_client(), list_hook_results_input(), proplists:proplist()) ->
{ok, list_hook_results_output(), tuple()} |
{error, any()} |
{error, list_hook_results_errors(), tuple()}.
list_hook_results(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"ListHookResults">>, Input, Options).

%% @doc Lists all stacks that are importing an exported output value.
%%
%% To modify or remove an
Expand Down
Loading

0 comments on commit a65661c

Please sign in to comment.