Skip to content

Commit

Permalink
Update services based on v1.47.3 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Nov 4, 2023
1 parent 1cb5af0 commit 6bc5c15
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 5 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.47.1
v1.47.3
34 changes: 34 additions & 0 deletions lib/aws/generated/connect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,40 @@ defmodule AWS.Connect do
)
end

@doc """
Enables rehydration of chats for the lifespan of a contact.
For more information about chat rehydration, see [Enable persistent chat](https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html)
in the *Amazon Connect Administrator Guide*.
"""
def create_persistent_contact_association(
%Client{} = client,
initial_contact_id,
instance_id,
input,
options \\ []
) do
url_path =
"/contact/persistent-contact-association/#{AWS.Util.encode_uri(instance_id)}/#{AWS.Util.encode_uri(initial_contact_id)}"

headers = []
query_params = []

meta = metadata()

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

@doc """
Creates a prompt.
Expand Down
10 changes: 9 additions & 1 deletion lib/aws/generated/game_lift.ex
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,14 @@ defmodule AWS.GameLift do
If successful, this operation creates a new Fleet resource and places it in
`NEW` status, which prompts Amazon GameLift to initiate the [fleet creation workflow](https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html#fleets-creation-workflow).
You can track fleet creation by checking fleet status using
`DescribeFleetAttributes` and `DescribeFleetLocationAttributes`/, or by
monitoring fleet creation events using `DescribeFleetEvents`.
When the fleet status changes to `ACTIVE`, you can enable automatic scaling with
`PutScalingPolicy` and set capacity for the home Region with
`UpdateFleetCapacity`. When the status of each remote location reaches `ACTIVE`,
you can set capacity by location using `UpdateFleetCapacity`.
## Learn more
Expand Down Expand Up @@ -868,7 +876,7 @@ defmodule AWS.GameLift do
Deletes a custom location.
Before deleting a custom location, review any fleets currently using the custom
location and deregister the location if it is in use. For more information see,
location and deregister the location if it is in use. For more information, see
[DeregisterCompute](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeregisterCompute.html).
"""
def delete_location(%Client{} = client, input, options \\ []) do
Expand Down
217 changes: 217 additions & 0 deletions lib/aws/generated/launch_wizard.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.

defmodule AWS.LaunchWizard do
@moduledoc """
Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon
Web Services resources for third party applications, such as Microsoft SQL
Server Always On and HANA based SAP systems, without the need to manually
identify and provision individual Amazon Web Services resources.
"""

alias AWS.Client
alias AWS.Request

def metadata do
%{
abbreviation: nil,
api_version: "2018-05-10",
content_type: "application/x-amz-json-1.1",
credential_scope: nil,
endpoint_prefix: "launchwizard",
global?: false,
protocol: "rest-json",
service_id: "Launch Wizard",
signature_version: "v4",
signing_name: "launchwizard",
target_prefix: nil
}
end

@doc """
Creates a deployment for the given workload.
Deployments created by this operation are not available in the Launch Wizard
console to use the `Clone deployment` action on.
"""
def create_deployment(%Client{} = client, input, options \\ []) do
url_path = "/createDeployment"
headers = []
query_params = []

meta = metadata()

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

@doc """
Deletes a deployment.
"""
def delete_deployment(%Client{} = client, input, options \\ []) do
url_path = "/deleteDeployment"
headers = []
query_params = []

meta = metadata()

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

@doc """
Returns information about the deployment.
"""
def get_deployment(%Client{} = client, input, options \\ []) do
url_path = "/getDeployment"
headers = []
query_params = []

meta = metadata()

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

@doc """
Returns information about a workload.
"""
def get_workload(%Client{} = client, input, options \\ []) do
url_path = "/getWorkload"
headers = []
query_params = []

meta = metadata()

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

@doc """
Lists the events of a deployment.
"""
def list_deployment_events(%Client{} = client, input, options \\ []) do
url_path = "/listDeploymentEvents"
headers = []
query_params = []

meta = metadata()

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

@doc """
Lists the deployments that have been created.
"""
def list_deployments(%Client{} = client, input, options \\ []) do
url_path = "/listDeployments"
headers = []
query_params = []

meta = metadata()

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

@doc """
Lists the workload deployment patterns.
"""
def list_workload_deployment_patterns(%Client{} = client, input, options \\ []) do
url_path = "/listWorkloadDeploymentPatterns"
headers = []
query_params = []

meta = metadata()

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

@doc """
Lists the workloads.
"""
def list_workloads(%Client{} = client, input, options \\ []) do
url_path = "/listWorkloads"
headers = []
query_params = []

meta = metadata()

Request.request_rest(
client,
meta,
:post,
url_path,
query_params,
headers,
input,
options,
200
)
end
end
6 changes: 3 additions & 3 deletions lib/aws/generated/network_firewall.ex
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ defmodule AWS.NetworkFirewall do
@doc """
Creates an Network Firewall TLS inspection configuration.
A TLS inspection configuration contains the Certificate Manager certificate
associations that Network Firewall uses to decrypt and re-encrypt traffic
traveling through your firewall.
A TLS inspection configuration contains Certificate Manager certificate
associations between and the scope configurations that Network Firewall uses to
decrypt and re-encrypt traffic traveling through your firewall.
After you create a TLS inspection configuration, you can associate it with a new
firewall policy.
Expand Down

0 comments on commit 6bc5c15

Please sign in to comment.