diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index 0cc3dd70..3dc3decb 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -release-2025-02-03 +release-2025-02-04 diff --git a/src/aws_database_migration.erl b/src/aws_database_migration.erl index c1d5a581..75afd924 100644 --- a/src/aws_database_migration.erl +++ b/src/aws_database_migration.erl @@ -1249,7 +1249,8 @@ %% <<"NumberOfJobs">> => integer(), %% <<"SelectionRules">> => string(), %% <<"ServiceAccessRoleArn">> => string(), -%% <<"SourceDataSettings">> => list(source_data_setting()()) +%% <<"SourceDataSettings">> => list(source_data_setting()()), +%% <<"TargetDataSettings">> => list(target_data_setting()()) %% } -type modify_data_migration_message() :: #{binary() => any()}. @@ -1769,6 +1770,12 @@ %% } -type describe_pending_maintenance_actions_response() :: #{binary() => any()}. +%% Example: +%% target_data_setting() :: #{ +%% <<"TablePreparationMode">> => list(any()) +%% } +-type target_data_setting() :: #{binary() => any()}. + %% Example: %% recommendation() :: #{ %% <<"CreatedDate">> => string(), @@ -2168,7 +2175,8 @@ %% <<"PublicIpAddresses">> => list(string()()), %% <<"ServiceAccessRoleArn">> => string(), %% <<"SourceDataSettings">> => list(source_data_setting()()), -%% <<"StopReason">> => string() +%% <<"StopReason">> => string(), +%% <<"TargetDataSettings">> => list(target_data_setting()()) %% } -type data_migration() :: #{binary() => any()}. @@ -2769,7 +2777,8 @@ %% <<"SelectionRules">> => string(), %% <<"ServiceAccessRoleArn">> := string(), %% <<"SourceDataSettings">> => list(source_data_setting()()), -%% <<"Tags">> => list(tag()()) +%% <<"Tags">> => list(tag()()), +%% <<"TargetDataSettings">> => list(target_data_setting()()) %% } -type create_data_migration_message() :: #{binary() => any()}. diff --git a/src/aws_iam.erl b/src/aws_iam.erl index 1da8f346..54d19647 100644 --- a/src/aws_iam.erl +++ b/src/aws_iam.erl @@ -418,6 +418,8 @@ %% Example: %% create_saml_provider_request() :: #{ +%% <<"AddPrivateKey">> => string(), +%% <<"AssertionEncryptionMode">> => list(any()), %% <<"Name">> := string(), %% <<"SAMLMetadataDocument">> := string(), %% <<"Tags">> => list(tag()()) @@ -928,8 +930,11 @@ %% Example: %% get_saml_provider_response() :: #{ +%% <<"AssertionEncryptionMode">> => list(any()), %% <<"CreateDate">> => non_neg_integer(), +%% <<"PrivateKeyList">> => list(saml_private_key()()), %% <<"SAMLMetadataDocument">> => string(), +%% <<"SAMLProviderUUID">> => string(), %% <<"Tags">> => list(tag()()), %% <<"ValidUntil">> => non_neg_integer() %% } @@ -2054,7 +2059,10 @@ %% Example: %% update_saml_provider_request() :: #{ -%% <<"SAMLMetadataDocument">> := string(), +%% <<"AddPrivateKey">> => string(), +%% <<"AssertionEncryptionMode">> => list(any()), +%% <<"RemovePrivateKey">> => string(), +%% <<"SAMLMetadataDocument">> => string(), %% <<"SAMLProviderArn">> := string() %% } -type update_saml_provider_request() :: #{binary() => any()}. @@ -2221,6 +2229,13 @@ %% } -type list_attached_group_policies_response() :: #{binary() => any()}. +%% Example: +%% saml_private_key() :: #{ +%% <<"KeyId">> => string(), +%% <<"Timestamp">> => non_neg_integer() +%% } +-type saml_private_key() :: #{binary() => any()}. + %% Example: %% list_server_certificates_request() :: #{ %% <<"Marker">> => string(), @@ -3803,6 +3818,19 @@ add_client_id_to_open_id_connect_provider(Client, Input, Options) %% The caller of this operation must be granted the `PassRole' permission %% on the IAM role by a permissions policy. %% +%% When using the iam:AssociatedResourceArn: +%% https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#available-keys-for-iam +%% condition in a policy to restrict the PassRole: +%% https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html +%% IAM action, special considerations apply if the policy is +%% intended to define access for the `AddRoleToInstanceProfile' action. +%% In +%% this case, you cannot specify a Region or instance ID in the EC2 instance +%% ARN. The +%% ARN value must be `arn:aws:ec2:*:CallerAccountId:instance/*'. Using +%% any +%% other ARN value may lead to unexpected evaluation results. +%% %% For more information about roles, see IAM roles: %% https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html in the %% IAM User Guide. For more information about instance profiles, @@ -5288,8 +5316,8 @@ detach_user_policy(Client, Input, Options) %% your organization. %% %% When you disable this feature, the management account and the -%% delegated admininstrator for IAM can no longer manage root user -%% credentials for member +%% delegated administrator for IAM can no longer manage root user credentials +%% for member %% accounts in your organization. -spec disable_organizations_root_credentials_management(aws_client:aws_client(), disable_organizations_root_credentials_management_request()) -> {ok, disable_organizations_root_credentials_management_response(), tuple()} | @@ -5312,7 +5340,7 @@ disable_organizations_root_credentials_management(Client, Input, Options) %% organization. %% %% When you disable this feature, the management account and the delegated -%% admininstrator for IAM can no longer perform privileged tasks on member +%% administrator for IAM can no longer perform privileged tasks on member %% accounts in %% your organization. -spec disable_organizations_root_sessions(aws_client:aws_client(), disable_organizations_root_sessions_request()) -> @@ -5361,8 +5389,8 @@ enable_mfa_device(Client, Input, Options) %% When you enable root credentials management for centralized root access: %% https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management, %% the management account and the delegated -%% admininstrator for IAM can manage root user credentials for member -%% accounts in your +%% administrator for IAM can manage root user credentials for member accounts +%% in your %% organization. %% %% Before you enable centralized root access, you must have an account @@ -5375,7 +5403,7 @@ enable_mfa_device(Client, Input, Options) %% Enable trusted access for Identity and Access Management in Organizations. %% For details, see %% IAM and Organizations: -%% https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-ra.html +%% https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-iam.html %% in the Organizations User %% Guide. -spec enable_organizations_root_credentials_management(aws_client:aws_client(), enable_organizations_root_credentials_management_request()) -> @@ -6683,9 +6711,9 @@ list_access_keys(Client, Input, Options) %% For information about using an Amazon Web Services account alias, see %% Creating, %% deleting, and listing an Amazon Web Services account alias: -%% https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html -%% in the Amazon Web Services Sign-In -%% User Guide. +%% https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html#CreateAccountAlias +%% in the +%% IAM User Guide. -spec list_account_aliases(aws_client:aws_client(), list_account_aliases_request()) -> {ok, list_account_aliases_response(), tuple()} | {error, any()} | @@ -9204,11 +9232,12 @@ update_role_description(Client, Input, Options) when is_map(Client), is_map(Input), is_list(Options) -> request(Client, <<"UpdateRoleDescription">>, Input, Options). -%% @doc Updates the metadata document for an existing SAML provider resource -%% object. +%% @doc Updates the metadata document, SAML encryption settings, and private +%% keys for an +%% existing SAML provider. %% -%% This operation requires Signature Version 4: -%% https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html. +%% To rotate private keys, add your new private key and then remove +%% the old key in a separate request. -spec update_saml_provider(aws_client:aws_client(), update_saml_provider_request()) -> {ok, update_saml_provider_response(), tuple()} | {error, any()} | diff --git a/src/aws_neptune_graph.erl b/src/aws_neptune_graph.erl index a8e47fdb..4d0183eb 100644 --- a/src/aws_neptune_graph.erl +++ b/src/aws_neptune_graph.erl @@ -604,6 +604,7 @@ %% Example: %% list_export_tasks_input() :: #{ +%% <<"graphIdentifier">> => string(), %% <<"maxResults">> => integer(), %% <<"nextToken">> => string() %% } @@ -1914,6 +1915,7 @@ list_export_tasks(Client, QueryMap, HeadersMap, Options0) Query0_ = [ + {<<"graphIdentifier">>, maps:get(<<"graphIdentifier">>, QueryMap, undefined)}, {<<"maxResults">>, maps:get(<<"maxResults">>, QueryMap, undefined)}, {<<"nextToken">>, maps:get(<<"nextToken">>, QueryMap, undefined)} ], diff --git a/src/aws_qbusiness.erl b/src/aws_qbusiness.erl index ccdfe5fa..16acdeed 100644 --- a/src/aws_qbusiness.erl +++ b/src/aws_qbusiness.erl @@ -356,6 +356,13 @@ -type list_web_experiences_request() :: #{binary() => any()}. +%% Example: +%% applied_orchestration_configuration() :: #{ +%% <<"control">> => list(any()) +%% } +-type applied_orchestration_configuration() :: #{binary() => any()}. + + %% Example: %% index_capacity_configuration() :: #{ %% <<"units">> => integer() @@ -1740,6 +1747,13 @@ %% } -type relevant_content() :: #{binary() => any()}. + +%% Example: +%% orchestration_configuration() :: #{ +%% <<"control">> => list(any()) +%% } +-type orchestration_configuration() :: #{binary() => any()}. + %% Example: %% delete_group_response() :: #{} -type delete_group_response() :: #{}. @@ -1836,6 +1850,7 @@ %% <<"blockedPhrasesConfigurationUpdate">> => blocked_phrases_configuration_update(), %% <<"clientToken">> => string(), %% <<"creatorModeConfiguration">> => creator_mode_configuration(), +%% <<"orchestrationConfiguration">> => orchestration_configuration(), %% <<"responseScope">> => list(any()), %% <<"topicConfigurationsToCreateOrUpdate">> => list(topic_configuration()()), %% <<"topicConfigurationsToDelete">> => list(topic_configuration()()) @@ -2106,6 +2121,7 @@ %% <<"blockedPhrases">> => blocked_phrases_configuration(), %% <<"creatorModeConfiguration">> => applied_creator_mode_configuration(), %% <<"nextToken">> => string(), +%% <<"orchestrationConfiguration">> => applied_orchestration_configuration(), %% <<"responseScope">> => list(any()), %% <<"topicConfigurations">> => list(topic_configuration()()) %% } @@ -4157,7 +4173,7 @@ get_application(Client, ApplicationId, QueryMap, HeadersMap, Options0) request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode). -%% @doc Gets information about an chat controls configured for an existing +%% @doc Gets information about chat controls configured for an existing %% Amazon Q Business %% application. -spec get_chat_controls_configuration(aws_client:aws_client(), binary() | list()) -> @@ -5722,7 +5738,7 @@ update_application(Client, ApplicationId, Input0, Options0) -> request(Client, Method, Path, Query_, CustomHeaders ++ Headers, Input, Options, SuccessStatusCode). -%% @doc Updates an set of chat controls configured for an existing Amazon Q +%% @doc Updates a set of chat controls configured for an existing Amazon Q %% Business %% application. -spec update_chat_controls_configuration(aws_client:aws_client(), binary() | list(), update_chat_controls_configuration_request()) ->