From f31fce8a477d4e85e3458b44138be3886a3cc5bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Jul 2023 02:13:05 +0000 Subject: [PATCH] Update services based on v1.44.297 of AWS Go SDK Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.44.297 --- .latest-tag-aws-sdk-go | 2 +- lib/aws/generated/location.ex | 66 +++++++++++++++++++++++--------- lib/aws/generated/quick_sight.ex | 4 +- lib/aws/generated/rds.ex | 2 +- 4 files changed, 51 insertions(+), 23 deletions(-) diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index db408c11..c642b5aa 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -v1.44.296 +v1.44.297 diff --git a/lib/aws/generated/location.ex b/lib/aws/generated/location.ex index 15404f8b..93eec04c 100644 --- a/lib/aws/generated/location.ex +++ b/lib/aws/generated/location.ex @@ -277,7 +277,12 @@ defmodule AWS.Location do def calculate_route(%Client{} = client, calculator_name, input, options \\ []) do url_path = "/routes/v0/calculators/#{AWS.Util.encode_uri(calculator_name)}/calculate/route" headers = [] - query_params = [] + + {query_params, input} = + [ + {"Key", "key"} + ] + |> Request.build_params(input) meta = metadata() |> Map.put_new(:host_prefix, "routes.") @@ -333,7 +338,12 @@ defmodule AWS.Location do "/routes/v0/calculators/#{AWS.Util.encode_uri(calculator_name)}/calculate/route-matrix" headers = [] - query_params = [] + + {query_params, input} = + [ + {"Key", "key"} + ] + |> Request.build_params(input) meta = metadata() |> Map.put_new(:host_prefix, "routes.") @@ -375,11 +385,9 @@ defmodule AWS.Location do @doc """ Creates an API key resource in your Amazon Web Services account, which lets you - grant `geo:GetMap*` actions for Amazon Location Map resources to the API key - bearer. + grant actions for Amazon Location resources to the API key bearer. - The API keys feature is in preview. We may add, change, or remove features - before announcing general availability. For more information, see [Using API keys](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html). + For more information, see [Using API keys](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html). """ def create_key(%Client{} = client, input, options \\ []) do url_path = "/metadata/v0/keys" @@ -685,9 +693,6 @@ defmodule AWS.Location do @doc """ Retrieves the API key resource details. - - The API keys feature is in preview. We may add, change, or remove features - before announcing general availability. For more information, see [Using API keys](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html). """ def describe_key(%Client{} = client, key_name, options \\ []) do url_path = "/metadata/v0/keys/#{AWS.Util.encode_uri(key_name)}" @@ -1001,7 +1006,14 @@ defmodule AWS.Location do Data provider specified in the place index resource """ - def get_place(%Client{} = client, index_name, place_id, language \\ nil, options \\ []) do + def get_place( + %Client{} = client, + index_name, + place_id, + key \\ nil, + language \\ nil, + options \\ [] + ) do url_path = "/places/v0/indexes/#{AWS.Util.encode_uri(index_name)}/places/#{AWS.Util.encode_uri(place_id)}" @@ -1015,6 +1027,13 @@ defmodule AWS.Location do query_params end + query_params = + if !is_nil(key) do + [{"key", key} | query_params] + else + query_params + end + meta = metadata() |> Map.put_new(:host_prefix, "places.") Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) @@ -1091,9 +1110,6 @@ defmodule AWS.Location do @doc """ Lists API key resources in your Amazon Web Services account. - - The API keys feature is in preview. We may add, change, or remove features - before announcing general availability. For more information, see [Using API keys](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html). """ def list_keys(%Client{} = client, input, options \\ []) do url_path = "/metadata/v0/list-keys" @@ -1268,7 +1284,12 @@ defmodule AWS.Location do def search_place_index_for_position(%Client{} = client, index_name, input, options \\ []) do url_path = "/places/v0/indexes/#{AWS.Util.encode_uri(index_name)}/search/position" headers = [] - query_params = [] + + {query_params, input} = + [ + {"Key", "key"} + ] + |> Request.build_params(input) meta = metadata() |> Map.put_new(:host_prefix, "places.") @@ -1302,7 +1323,12 @@ defmodule AWS.Location do def search_place_index_for_suggestions(%Client{} = client, index_name, input, options \\ []) do url_path = "/places/v0/indexes/#{AWS.Util.encode_uri(index_name)}/search/suggestions" headers = [] - query_params = [] + + {query_params, input} = + [ + {"Key", "key"} + ] + |> Request.build_params(input) meta = metadata() |> Map.put_new(:host_prefix, "places.") @@ -1335,7 +1361,12 @@ defmodule AWS.Location do def search_place_index_for_text(%Client{} = client, index_name, input, options \\ []) do url_path = "/places/v0/indexes/#{AWS.Util.encode_uri(index_name)}/search/text" headers = [] - query_params = [] + + {query_params, input} = + [ + {"Key", "key"} + ] + |> Request.build_params(input) meta = metadata() |> Map.put_new(:host_prefix, "places.") @@ -1441,9 +1472,6 @@ defmodule AWS.Location do @doc """ Updates the specified properties of a given API key resource. - - The API keys feature is in preview. We may add, change, or remove features - before announcing general availability. For more information, see [Using API keys](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html). """ def update_key(%Client{} = client, key_name, input, options \\ []) do url_path = "/metadata/v0/keys/#{AWS.Util.encode_uri(key_name)}" diff --git a/lib/aws/generated/quick_sight.ex b/lib/aws/generated/quick_sight.ex index 7c3cfff7..0ec50e42 100644 --- a/lib/aws/generated/quick_sight.ex +++ b/lib/aws/generated/quick_sight.ex @@ -3807,7 +3807,7 @@ defmodule AWS.QuickSight do When a job is successfully completed, a download URL that contains the exported assets is returned. The URL is valid for 5 minutes and can be refreshed with a `DescribeAssetBundleExportJob` API call. Each Amazon QuickSight account can run - up to 10 export jobs concurrently. + up to 5 export jobs concurrently. The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported. @@ -3839,7 +3839,7 @@ defmodule AWS.QuickSight do Amazon QuickSight account. You can also choose to import a naming prefix and specified configuration overrides. The assets that are contained in the bundle file that you provide are used to create or update a new or existing asset in - your Amazon QuickSight account. Each Amazon QuickSight account can run up to 10 + your Amazon QuickSight account. Each Amazon QuickSight account can run up to 5 import jobs concurrently. The API caller must have the necessary `"create"`, `"describe"`, and `"update"` diff --git a/lib/aws/generated/rds.ex b/lib/aws/generated/rds.ex index cd7b4b62..39b6b7dc 100644 --- a/lib/aws/generated/rds.ex +++ b/lib/aws/generated/rds.ex @@ -613,7 +613,7 @@ defmodule AWS.RDS do cluster during the create operation, and this cluster becomes the primary cluster of the global database. - This action applies only to Aurora DB clusters. + This operation applies only to Aurora DB clusters. """ def create_global_cluster(%Client{} = client, input, options \\ []) do meta = metadata()