Skip to content

Commit

Permalink
Update services based on release-2024-09-18 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Sep 19, 2024
1 parent 2a35303 commit 993ca75
Show file tree
Hide file tree
Showing 8 changed files with 2,128 additions and 94 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-09-17
release-2024-09-18
18 changes: 18 additions & 0 deletions src/aws_cost_explorer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@
%% reservation_purchase_recommendation_detail() :: #{
%% <<"AccountId">> => string(),
%% <<"AverageNormalizedUnitsUsedPerHour">> => string(),
%% <<"AverageNumberOfCapacityUnitsUsedPerHour">> => string(),
%% <<"AverageNumberOfInstancesUsedPerHour">> => string(),
%% <<"AverageUtilization">> => string(),
%% <<"CurrencyCode">> => string(),
Expand All @@ -1122,12 +1123,16 @@
%% <<"EstimatedReservationCostForLookbackPeriod">> => string(),
%% <<"InstanceDetails">> => instance_details(),
%% <<"MaximumNormalizedUnitsUsedPerHour">> => string(),
%% <<"MaximumNumberOfCapacityUnitsUsedPerHour">> => string(),
%% <<"MaximumNumberOfInstancesUsedPerHour">> => string(),
%% <<"MinimumNormalizedUnitsUsedPerHour">> => string(),
%% <<"MinimumNumberOfCapacityUnitsUsedPerHour">> => string(),
%% <<"MinimumNumberOfInstancesUsedPerHour">> => string(),
%% <<"RecommendedNormalizedUnitsToPurchase">> => string(),
%% <<"RecommendedNumberOfCapacityUnitsToPurchase">> => string(),
%% <<"RecommendedNumberOfInstancesToPurchase">> => string(),
%% <<"RecurringStandardMonthlyCost">> => string(),
%% <<"ReservedCapacityDetails">> => reserved_capacity_details(),
%% <<"UpfrontCost">> => string()
%% }
-type reservation_purchase_recommendation_detail() :: #{binary() => any()}.
Expand Down Expand Up @@ -1641,6 +1646,13 @@
%% }
-type elasti_cache_instance_details() :: #{binary() => any()}.

%% Example:
%% dynamo_db_capacity_details() :: #{
%% <<"CapacityUnits">> => string(),
%% <<"Region">> => string()
%% }
-type dynamo_db_capacity_details() :: #{binary() => any()}.

%% Example:
%% list_savings_plans_purchase_recommendation_generation_response() :: #{
%% <<"GenerationSummaryList">> => list(generation_summary()()),
Expand All @@ -1660,6 +1672,12 @@
%% }
-type get_cost_categories_request() :: #{binary() => any()}.

%% Example:
%% reserved_capacity_details() :: #{
%% <<"DynamoDBCapacityDetails">> => dynamo_db_capacity_details()
%% }
-type reserved_capacity_details() :: #{binary() => any()}.

%% Example:
%% reservation_purchase_recommendation_metadata() :: #{
%% <<"AdditionalMetadata">> => string(),
Expand Down
124 changes: 124 additions & 0 deletions src/aws_directory.erl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
describe_conditional_forwarders/3,
describe_directories/2,
describe_directories/3,
describe_directory_data_access/2,
describe_directory_data_access/3,
describe_domain_controllers/2,
describe_domain_controllers/3,
describe_event_topics/2,
Expand All @@ -99,6 +101,8 @@
describe_update_directory/3,
disable_client_authentication/2,
disable_client_authentication/3,
disable_directory_data_access/2,
disable_directory_data_access/3,
disable_ldaps/2,
disable_ldaps/3,
disable_radius/2,
Expand All @@ -107,6 +111,8 @@
disable_sso/3,
enable_client_authentication/2,
enable_client_authentication/3,
enable_directory_data_access/2,
enable_directory_data_access/3,
enable_ldaps/2,
enable_ldaps/3,
enable_radius/2,
Expand Down Expand Up @@ -525,6 +531,12 @@
%% }
-type update_trust_result() :: #{binary() => any()}.

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

%% Example:
%% enable_radius_request() :: #{
%% <<"DirectoryId">> := string(),
Expand Down Expand Up @@ -579,6 +591,12 @@
%% }
-type list_schema_extensions_result() :: #{binary() => any()}.

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

%% Example:
%% add_tags_to_resource_request() :: #{
%% <<"ResourceId">> := string(),
Expand Down Expand Up @@ -852,6 +870,12 @@
%% }
-type incompatible_settings_exception() :: #{binary() => any()}.

%% Example:
%% enable_directory_data_access_result() :: #{

%% }
-type enable_directory_data_access_result() :: #{binary() => any()}.

%% Example:
%% tag() :: #{
%% <<"Key">> => string(),
Expand Down Expand Up @@ -1203,6 +1227,12 @@
%% }
-type reset_user_password_request() :: #{binary() => any()}.

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

%% Example:
%% trust() :: #{
%% <<"CreatedDateTime">> => non_neg_integer(),
Expand Down Expand Up @@ -1478,6 +1508,12 @@
%% }
-type create_log_subscription_result() :: #{binary() => any()}.

%% Example:
%% describe_directory_data_access_result() :: #{
%% <<"DataAccessStatus">> => list(any())
%% }
-type describe_directory_data_access_result() :: #{binary() => any()}.

%% Example:
%% directory_limit_exceeded_exception() :: #{
%% <<"Message">> => string(),
Expand Down Expand Up @@ -1592,6 +1628,12 @@
%% }
-type add_tags_to_resource_result() :: #{binary() => any()}.

%% Example:
%% disable_directory_data_access_result() :: #{

%% }
-type disable_directory_data_access_result() :: #{binary() => any()}.

%% Example:
%% ip_route_info() :: #{
%% <<"AddedDateTime">> => non_neg_integer(),
Expand Down Expand Up @@ -1926,6 +1968,13 @@
invalid_next_token_exception() |
client_exception().

-type describe_directory_data_access_errors() ::
access_denied_exception() |
service_exception() |
directory_does_not_exist_exception() |
client_exception() |
unsupported_operation_exception().

-type describe_domain_controllers_errors() ::
entity_does_not_exist_exception() |
invalid_parameter_exception() |
Expand Down Expand Up @@ -2004,6 +2053,15 @@
client_exception() |
unsupported_operation_exception().

-type disable_directory_data_access_errors() ::
directory_unavailable_exception() |
access_denied_exception() |
service_exception() |
directory_does_not_exist_exception() |
client_exception() |
directory_in_desired_state_exception() |
unsupported_operation_exception().

-type disable_ldaps_errors() ::
directory_unavailable_exception() |
invalid_parameter_exception() |
Expand Down Expand Up @@ -2034,6 +2092,15 @@
no_available_certificate_exception() |
unsupported_operation_exception().

-type enable_directory_data_access_errors() ::
directory_unavailable_exception() |
access_denied_exception() |
service_exception() |
directory_does_not_exist_exception() |
client_exception() |
directory_in_desired_state_exception() |
unsupported_operation_exception().

-type enable_ldaps_errors() ::
directory_unavailable_exception() |
invalid_parameter_exception() |
Expand Down Expand Up @@ -2819,6 +2886,24 @@ describe_directories(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeDirectories">>, Input, Options).

%% @doc Obtains status of directory data access enablement through the
%% Directory Service Data API for the specified directory.
-spec describe_directory_data_access(aws_client:aws_client(), describe_directory_data_access_request()) ->
{ok, describe_directory_data_access_result(), tuple()} |
{error, any()} |
{error, describe_directory_data_access_errors(), tuple()}.
describe_directory_data_access(Client, Input)
when is_map(Client), is_map(Input) ->
describe_directory_data_access(Client, Input, []).

-spec describe_directory_data_access(aws_client:aws_client(), describe_directory_data_access_request(), proplists:proplist()) ->
{ok, describe_directory_data_access_result(), tuple()} |
{error, any()} |
{error, describe_directory_data_access_errors(), tuple()}.
describe_directory_data_access(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DescribeDirectoryDataAccess">>, Input, Options).

%% @doc Provides information about any domain controllers in your directory.
-spec describe_domain_controllers(aws_client:aws_client(), describe_domain_controllers_request()) ->
{ok, describe_domain_controllers_result(), tuple()} |
Expand Down Expand Up @@ -3016,6 +3101,24 @@ disable_client_authentication(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DisableClientAuthentication">>, Input, Options).

%% @doc Deactivates access to directory data via the Directory Service Data
%% API for the specified directory.
-spec disable_directory_data_access(aws_client:aws_client(), disable_directory_data_access_request()) ->
{ok, disable_directory_data_access_result(), tuple()} |
{error, any()} |
{error, disable_directory_data_access_errors(), tuple()}.
disable_directory_data_access(Client, Input)
when is_map(Client), is_map(Input) ->
disable_directory_data_access(Client, Input, []).

-spec disable_directory_data_access(aws_client:aws_client(), disable_directory_data_access_request(), proplists:proplist()) ->
{ok, disable_directory_data_access_result(), tuple()} |
{error, any()} |
{error, disable_directory_data_access_errors(), tuple()}.
disable_directory_data_access(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"DisableDirectoryDataAccess">>, Input, Options).

%% @doc Deactivates LDAP secure calls for the specified directory.
-spec disable_ldaps(aws_client:aws_client(), disable_ldaps_request()) ->
{ok, disable_ldaps_result(), tuple()} |
Expand Down Expand Up @@ -3088,6 +3191,24 @@ enable_client_authentication(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"EnableClientAuthentication">>, Input, Options).

%% @doc Enables access to directory data via the Directory Service Data API
%% for the specified directory.
-spec enable_directory_data_access(aws_client:aws_client(), enable_directory_data_access_request()) ->
{ok, enable_directory_data_access_result(), tuple()} |
{error, any()} |
{error, enable_directory_data_access_errors(), tuple()}.
enable_directory_data_access(Client, Input)
when is_map(Client), is_map(Input) ->
enable_directory_data_access(Client, Input, []).

-spec enable_directory_data_access(aws_client:aws_client(), enable_directory_data_access_request(), proplists:proplist()) ->
{ok, enable_directory_data_access_result(), tuple()} |
{error, any()} |
{error, enable_directory_data_access_errors(), tuple()}.
enable_directory_data_access(Client, Input, Options)
when is_map(Client), is_map(Input), is_list(Options) ->
request(Client, <<"EnableDirectoryDataAccess">>, Input, Options).

%% @doc Activates the switch for the specific directory to always use LDAP
%% secure calls.
-spec enable_ldaps(aws_client:aws_client(), enable_ldaps_request()) ->
Expand Down Expand Up @@ -3390,6 +3511,9 @@ remove_tags_from_resource(Client, Input, Options)
%% Simple AD
%% directory.
%%
%% Disabled users will become enabled and can be authenticated following the
%% API call.
%%
%% You can reset the password for any user in your directory with the
%% following
%% exceptions:
Expand Down
Loading

0 comments on commit 993ca75

Please sign in to comment.