Skip to content

Commit

Permalink
Update services based on v1.44.297 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jul 7, 2023
1 parent 4ee467a commit f31fce8
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.44.296
v1.44.297
66 changes: 47 additions & 19 deletions lib/aws/generated/location.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down Expand Up @@ -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.")

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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)}"
Expand Down Expand Up @@ -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)}"

Expand All @@ -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)
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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.")

Expand Down Expand Up @@ -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.")

Expand Down Expand Up @@ -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.")

Expand Down Expand Up @@ -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)}"
Expand Down
4 changes: 2 additions & 2 deletions lib/aws/generated/quick_sight.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion lib/aws/generated/rds.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f31fce8

Please sign in to comment.