Skip to content

Commit

Permalink
Update services based on release-2024-05-16 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed May 17, 2024
1 parent 07eb750 commit d46a495
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 27 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-05-15
release-2024-05-16
4 changes: 2 additions & 2 deletions lib/aws/generated/connect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11963,7 +11963,7 @@ defmodule AWS.Connect do

For more information about prompts, such as supported file types and
maximum length, see [Create prompts](https://docs.aws.amazon.com/connect/latest/adminguide/prompts.html) in
the *Amazon Connect Administrator's
the *Amazon Connect Administrator
Guide*.
"""
@spec create_prompt(map(), String.t(), create_prompt_request(), list()) ::
Expand Down Expand Up @@ -14683,7 +14683,7 @@ defmodule AWS.Connect do
For a description of the historical metrics that are supported by
`GetMetricDataV2` and `GetMetricData`, see [Historical metrics
definitions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html)
in the *Amazon Connect Administrator's Guide*.
in the *Amazon Connect Administrator Guide*.
"""
@spec get_metric_data_v2(map(), get_metric_data_v2_request(), list()) ::
{:ok, get_metric_data_v2_response(), any()}
Expand Down
13 changes: 13 additions & 0 deletions lib/aws/generated/kafka.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,7 @@ defmodule AWS.Kafka do
## Example:
mutable_cluster_info() :: %{
"BrokerCountUpdateInfo" => broker_count_update_info(),
"BrokerEBSVolumeInfo" => list(broker_ebs_volume_info()()),
"ClientAuthentication" => client_authentication(),
"ConfigurationInfo" => configuration_info(),
Expand Down Expand Up @@ -2393,6 +2394,18 @@ defmodule AWS.Kafka do

@typedoc """
## Example:
broker_count_update_info() :: %{
"CreatedBrokerIds" => list(float()()),
"DeletedBrokerIds" => list(float()())
}
"""
@type broker_count_update_info() :: %{String.t() => any()}

@typedoc """
## Example:
list_nodes_response() :: %{
Expand Down
52 changes: 29 additions & 23 deletions lib/aws/generated/mwaa.ex
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ defmodule AWS.MWAA do
"ExecutionRoleArn" => String.t(),
"KmsKey" => String.t(),
"LoggingConfiguration" => logging_configuration_input(),
"MaxWebservers" => integer(),
"MaxWorkers" => integer(),
"MinWebservers" => integer(),
"MinWorkers" => integer(),
"NetworkConfiguration" => network_configuration(),
"PluginsS3ObjectVersion" => String.t(),
Expand Down Expand Up @@ -280,38 +282,40 @@ defmodule AWS.MWAA do
## Example:
environment() :: %{
"AirflowConfigurationOptions" => map(),
"EnvironmentClass" => String.t(),
"Status" => String.t(),
"LastUpdate" => last_update(),
"MinWorkers" => integer(),
"AirflowVersion" => String.t(),
"Arn" => String.t(),
"CeleryExecutorQueue" => String.t(),
"CreatedAt" => non_neg_integer(),
"DagS3Path" => String.t(),
"ServiceRoleArn" => String.t(),
"MaxWebservers" => integer(),
"DatabaseVpcEndpointService" => String.t(),
"EndpointManagement" => String.t(),
"EnvironmentClass" => String.t(),
"ExecutionRoleArn" => String.t(),
"Tags" => map(),
"NetworkConfiguration" => network_configuration(),
"KmsKey" => String.t(),
"LastUpdate" => last_update(),
"ExecutionRoleArn" => String.t(),
"CreatedAt" => non_neg_integer(),
"LoggingConfiguration" => logging_configuration(),
"MaxWorkers" => integer(),
"MinWorkers" => integer(),
"Name" => String.t(),
"NetworkConfiguration" => network_configuration(),
"PluginsS3ObjectVersion" => String.t(),
"PluginsS3Path" => String.t(),
"WeeklyMaintenanceWindowStart" => String.t(),
"RequirementsS3ObjectVersion" => String.t(),
"RequirementsS3Path" => String.t(),
"Schedulers" => integer(),
"ServiceRoleArn" => String.t(),
"SourceBucketArn" => String.t(),
"WebserverUrl" => String.t(),
"StartupScriptS3ObjectVersion" => [String.t()],
"StartupScriptS3Path" => [String.t()],
"Status" => String.t(),
"Tags" => map(),
"MinWebservers" => integer(),
"WebserverAccessMode" => String.t(),
"WebserverUrl" => String.t(),
"CeleryExecutorQueue" => String.t(),
"SourceBucketArn" => String.t(),
"RequirementsS3Path" => String.t(),
"Schedulers" => integer(),
"WebserverVpcEndpointService" => String.t(),
"WeeklyMaintenanceWindowStart" => String.t()
"AirflowConfigurationOptions" => map(),
"Arn" => String.t(),
"Name" => String.t(),
"PluginsS3Path" => String.t(),
"MaxWorkers" => integer(),
"StartupScriptS3Path" => [String.t()],
"PluginsS3ObjectVersion" => String.t(),
"DagS3Path" => String.t()
}
"""
Expand Down Expand Up @@ -349,7 +353,9 @@ defmodule AWS.MWAA do
optional("EnvironmentClass") => String.t(),
optional("ExecutionRoleArn") => String.t(),
optional("LoggingConfiguration") => logging_configuration_input(),
optional("MaxWebservers") => integer(),
optional("MaxWorkers") => integer(),
optional("MinWebservers") => integer(),
optional("MinWorkers") => integer(),
optional("NetworkConfiguration") => update_network_configuration_input(),
optional("PluginsS3ObjectVersion") => String.t(),
Expand Down
155 changes: 155 additions & 0 deletions lib/aws/generated/quick_sight.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3414,6 +3414,17 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

update_key_registration_request() :: %{
required("KeyRegistration") => list(registered_customer_managed_key()())
}

"""
@type update_key_registration_request() :: %{String.t() => any()}

@typedoc """

## Example:

reference_line_static_data_configuration() :: %{
Expand Down Expand Up @@ -4156,6 +4167,20 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

describe_key_registration_response() :: %{
"AwsAccountId" => String.t(),
"KeyRegistration" => list(registered_customer_managed_key()()),
"RequestId" => String.t(),
"Status" => integer()
}

"""
@type describe_key_registration_response() :: %{String.t() => any()}

@typedoc """

## Example:

word_cloud_chart_configuration() :: %{
Expand Down Expand Up @@ -4764,6 +4789,18 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

registered_customer_managed_key() :: %{
"DefaultKey" => boolean(),
"KeyArn" => String.t()
}

"""
@type registered_customer_managed_key() :: %{String.t() => any()}

@typedoc """

## Example:

describe_analysis_permissions_response() :: %{
Expand Down Expand Up @@ -7038,6 +7075,17 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

describe_key_registration_request() :: %{
optional("DefaultKeyOnly") => boolean()
}

"""
@type describe_key_registration_request() :: %{String.t() => any()}

@typedoc """

## Example:

data_set_summary() :: %{
Expand Down Expand Up @@ -7885,6 +7933,19 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

update_key_registration_response() :: %{
"FailedKeyRegistration" => list(failed_key_registration_entry()()),
"RequestId" => String.t(),
"SuccessfulKeyRegistration" => list(successful_key_registration_entry()())
}

"""
@type update_key_registration_response() :: %{String.t() => any()}

@typedoc """

## Example:

currency_display_format_configuration() :: %{
Expand Down Expand Up @@ -10739,6 +10800,20 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

failed_key_registration_entry() :: %{
"KeyArn" => String.t(),
"Message" => String.t(),
"SenderFault" => boolean(),
"StatusCode" => integer()
}

"""
@type failed_key_registration_entry() :: %{String.t() => any()}

@typedoc """

## Example:

calculated_measure_field() :: %{
Expand Down Expand Up @@ -11198,6 +11273,18 @@ defmodule AWS.QuickSight do

@typedoc """

## Example:

successful_key_registration_entry() :: %{
"KeyArn" => String.t(),
"StatusCode" => integer()
}

"""
@type successful_key_registration_entry() :: %{String.t() => any()}

@typedoc """

## Example:

delete_topic_refresh_schedule_response() :: %{
Expand Down Expand Up @@ -15637,6 +15724,12 @@ defmodule AWS.QuickSight do
| resource_not_found_exception()
| internal_failure_exception()

@type describe_key_registration_errors() ::
throttling_exception()
| access_denied_exception()
| invalid_parameter_value_exception()
| internal_failure_exception()

@type describe_namespace_errors() ::
throttling_exception()
| access_denied_exception()
Expand Down Expand Up @@ -16345,6 +16438,12 @@ defmodule AWS.QuickSight do
| resource_not_found_exception()
| internal_failure_exception()

@type update_key_registration_errors() ::
throttling_exception()
| access_denied_exception()
| invalid_parameter_value_exception()
| internal_failure_exception()

@type update_public_sharing_settings_errors() ::
throttling_exception()
| access_denied_exception()
Expand Down Expand Up @@ -19308,6 +19407,35 @@ defmodule AWS.QuickSight do
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
end

@doc """
Describes all customer managed key registrations in a Amazon QuickSight account.
"""
@spec describe_key_registration(map(), String.t(), String.t() | nil, list()) ::
{:ok, describe_key_registration_response(), any()}
| {:error, {:unexpected_response, any()}}
| {:error, describe_key_registration_errors()}
def describe_key_registration(
%Client{} = client,
aws_account_id,
default_key_only \\ nil,
options \\ []
) do
url_path = "/accounts/#{AWS.Util.encode_uri(aws_account_id)}/key-registration"
headers = []
query_params = []

query_params =
if !is_nil(default_key_only) do
[{"default-key-only", default_key_only} | query_params]
else
query_params
end

meta = metadata()

Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
end

@doc """
Describes the current namespace.
"""
Expand Down Expand Up @@ -22503,6 +22631,33 @@ defmodule AWS.QuickSight do
)
end

@doc """
Updates a customer managed key in a Amazon QuickSight account.
"""
@spec update_key_registration(map(), String.t(), update_key_registration_request(), list()) ::
{:ok, update_key_registration_response(), any()}
| {:error, {:unexpected_response, any()}}
| {:error, update_key_registration_errors()}
def update_key_registration(%Client{} = client, aws_account_id, input, options \\ []) do
url_path = "/accounts/#{AWS.Util.encode_uri(aws_account_id)}/key-registration"
headers = []
query_params = []

meta = metadata()

Request.request_rest(
client,
meta,
:post,
url_path,
query_params,
headers,
input,
options,
200
)
end

@doc """
Use the `UpdatePublicSharingSettings` operation to turn on or turn off the
public sharing settings of an Amazon QuickSight dashboard.
Expand Down
Loading

0 comments on commit d46a495

Please sign in to comment.