Skip to content

Commit

Permalink
Update services based on release-2024-09-12 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Sep 13, 2024
1 parent 9530b46 commit 40eb646
Show file tree
Hide file tree
Showing 7 changed files with 343 additions and 40 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-11
release-2024-09-12
80 changes: 57 additions & 23 deletions lib/aws/generated/cognito_identity_provider.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ defmodule AWS.CognitoIdentityProvider do
## Example:
set_user_pool_mfa_config_response() :: %{
"EmailMfaConfiguration" => email_mfa_config_type(),
"MfaConfiguration" => list(any()),
"SmsMfaConfiguration" => sms_mfa_config_type(),
"SoftwareTokenMfaConfiguration" => software_token_mfa_config_type()
Expand Down Expand Up @@ -1577,6 +1578,7 @@ defmodule AWS.CognitoIdentityProvider do
## Example:
get_user_pool_mfa_config_response() :: %{
"EmailMfaConfiguration" => email_mfa_config_type(),
"MfaConfiguration" => list(any()),
"SmsMfaConfiguration" => sms_mfa_config_type(),
"SoftwareTokenMfaConfiguration" => software_token_mfa_config_type()
Expand Down Expand Up @@ -2705,6 +2707,18 @@ defmodule AWS.CognitoIdentityProvider do

@typedoc """
## Example:
email_mfa_settings_type() :: %{
"Enabled" => boolean(),
"PreferredMfa" => boolean()
}
"""
@type email_mfa_settings_type() :: %{String.t() => any()}

@typedoc """
## Example:
not_authorized_exception() :: %{
Expand Down Expand Up @@ -2886,6 +2900,7 @@ defmodule AWS.CognitoIdentityProvider do
## Example:
set_user_pool_mfa_config_request() :: %{
optional("EmailMfaConfiguration") => email_mfa_config_type(),
optional("MfaConfiguration") => list(any()),
optional("SmsMfaConfiguration") => sms_mfa_config_type(),
optional("SoftwareTokenMfaConfiguration") => software_token_mfa_config_type(),
Expand Down Expand Up @@ -3164,6 +3179,18 @@ defmodule AWS.CognitoIdentityProvider do

@typedoc """
## Example:
email_mfa_config_type() :: %{
"Message" => String.t(),
"Subject" => String.t()
}
"""
@type email_mfa_config_type() :: %{String.t() => any()}

@typedoc """
## Example:
admin_update_user_attributes_response() :: %{}
Expand Down Expand Up @@ -3743,6 +3770,7 @@ defmodule AWS.CognitoIdentityProvider do
## Example:
admin_set_user_mfa_preference_request() :: %{
optional("EmailMfaSettings") => email_mfa_settings_type(),
optional("SMSMfaSettings") => sms_mfa_settings_type(),
optional("SoftwareTokenMfaSettings") => software_token_mfa_settings_type(),
required("UserPoolId") => String.t(),
Expand Down Expand Up @@ -3933,6 +3961,7 @@ defmodule AWS.CognitoIdentityProvider do
## Example:
set_user_mfa_preference_request() :: %{
optional("EmailMfaSettings") => email_mfa_settings_type(),
optional("SMSMfaSettings") => sms_mfa_settings_type(),
optional("SoftwareTokenMfaSettings") => software_token_mfa_settings_type(),
required("AccessToken") => String.t()
Expand Down Expand Up @@ -4144,6 +4173,7 @@ defmodule AWS.CognitoIdentityProvider do
| resource_not_found_exception()
| invalid_sms_role_access_policy_exception()
| too_many_requests_exception()
| invalid_email_role_access_policy_exception()
| user_not_confirmed_exception()

@type admin_link_provider_for_user_errors() ::
Expand Down Expand Up @@ -4225,6 +4255,7 @@ defmodule AWS.CognitoIdentityProvider do
| too_many_requests_exception()
| alias_exists_exception()
| password_history_policy_violation_exception()
| invalid_email_role_access_policy_exception()
| user_not_confirmed_exception()

@type admin_set_user_mfa_preference_errors() ::
Expand Down Expand Up @@ -4691,6 +4722,7 @@ defmodule AWS.CognitoIdentityProvider do
| invalid_sms_role_access_policy_exception()
| too_many_requests_exception()
| forbidden_exception()
| invalid_email_role_access_policy_exception()
| user_not_confirmed_exception()

@type list_devices_errors() ::
Expand Down Expand Up @@ -4806,6 +4838,7 @@ defmodule AWS.CognitoIdentityProvider do
| alias_exists_exception()
| forbidden_exception()
| password_history_policy_violation_exception()
| invalid_email_role_access_policy_exception()
| user_not_confirmed_exception()

@type revoke_token_errors() ::
Expand Down Expand Up @@ -5180,7 +5213,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -5524,7 +5557,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -5749,7 +5782,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -5829,7 +5862,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -5867,15 +5900,16 @@ defmodule AWS.CognitoIdentityProvider do
end

@doc """
The user's multi-factor authentication (MFA) preference, including which MFA
options
are activated, and if any are preferred.
Sets the user's multi-factor authentication (MFA) preference, including which
MFA
options are activated, and if any are preferred.
Only one factor can be set as preferred. The
preferred MFA factor will be used to authenticate a user if multiple factors are
activated. If multiple options are activated and no preference is set, a
challenge to
choose an MFA option will be returned during sign-in.
Only one factor can be set as
preferred. The preferred MFA factor will be used to authenticate a user if
multiple
factors are activated. If multiple options are activated and no preference is
set, a
challenge to choose an MFA option will be returned during sign-in.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in
requests for this API operation. For
Expand Down Expand Up @@ -6078,7 +6112,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -6479,7 +6513,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -6909,7 +6943,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -7115,7 +7149,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -7237,7 +7271,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -7558,7 +7592,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -7617,7 +7651,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -7790,7 +7824,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -7870,7 +7904,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -8150,7 +8184,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down Expand Up @@ -8189,7 +8223,7 @@ defmodule AWS.CognitoIdentityProvider do
in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon
Web Services service,
Web Servicesservice,
Amazon Simple Notification Service might place your account in the SMS sandbox.
In *
[sandbox mode](https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html)
Expand Down
4 changes: 4 additions & 0 deletions lib/aws/generated/emr.ex
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ defmodule AWS.EMR do
## Example:
spot_resizing_specification() :: %{
"AllocationStrategy" => list(any()),
"TimeoutDurationMinutes" => integer()
}
Expand Down Expand Up @@ -2170,6 +2171,8 @@ defmodule AWS.EMR do
## Example:
on_demand_resizing_specification() :: %{
"AllocationStrategy" => list(any()),
"CapacityReservationOptions" => on_demand_capacity_reservation_options(),
"TimeoutDurationMinutes" => integer()
}
Expand Down Expand Up @@ -2454,6 +2457,7 @@ defmodule AWS.EMR do
instance_fleet_modify_config() :: %{
"InstanceFleetId" => String.t(),
"InstanceTypeConfigs" => list(instance_type_config()()),
"ResizeSpecifications" => instance_fleet_resizing_specifications(),
"TargetOnDemandCapacity" => integer(),
"TargetSpotCapacity" => integer()
Expand Down
Loading

0 comments on commit 40eb646

Please sign in to comment.