Skip to content

Commit

Permalink
Update services based on v1.44.313 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Aug 1, 2023
1 parent fe96b1d commit 682e865
Show file tree
Hide file tree
Showing 7 changed files with 356 additions and 45 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.312
v1.44.313
4 changes: 2 additions & 2 deletions lib/aws/generated/amplify_ui_builder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ defmodule AWS.AmplifyUIBuilder do
end

@doc """
Creates a new form for an Amplify.
Creates a new form for an Amplify app.
"""
def create_form(%Client{} = client, app_id, environment_name, input, options \\ []) do
url_path =
Expand Down Expand Up @@ -575,7 +575,7 @@ defmodule AWS.AmplifyUIBuilder do
end

@doc """
Starts a code generation job for for a specified Amplify app and backend
Starts a code generation job for a specified Amplify app and backend
environment.
"""
def start_codegen_job(%Client{} = client, app_id, environment_name, input, options \\ []) do
Expand Down
224 changes: 224 additions & 0 deletions lib/aws/generated/clean_rooms.ex
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,37 @@ defmodule AWS.CleanRooms do
}
end

@doc """
Retrieves multiple analysis templates within a collaboration by their Amazon
Resource Names (ARNs).
"""
def batch_get_collaboration_analysis_template(
%Client{} = client,
collaboration_identifier,
input,
options \\ []
) do
url_path =
"/collaborations/#{AWS.Util.encode_uri(collaboration_identifier)}/batch-analysistemplates"

headers = []
query_params = []

meta = metadata()

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

@doc """
Retrieves multiple schemas by their identifiers.
"""
Expand All @@ -57,6 +88,29 @@ defmodule AWS.CleanRooms do
)
end

@doc """
Creates a new analysis template.
"""
def create_analysis_template(%Client{} = client, membership_identifier, input, options \\ []) do
url_path = "/memberships/#{AWS.Util.encode_uri(membership_identifier)}/analysistemplates"
headers = []
query_params = []

meta = metadata()

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

@doc """
Creates a new collaboration.
"""
Expand Down Expand Up @@ -191,6 +245,37 @@ defmodule AWS.CleanRooms do
)
end

@doc """
Deletes an analysis template.
"""
def delete_analysis_template(
%Client{} = client,
analysis_template_identifier,
membership_identifier,
input,
options \\ []
) do
url_path =
"/memberships/#{AWS.Util.encode_uri(membership_identifier)}/analysistemplates/#{AWS.Util.encode_uri(analysis_template_identifier)}"

headers = []
query_params = []

meta = metadata()

Request.request_rest(
client,
meta,
:delete,
url_path,
query_params,
headers,
input,
options,
204
)
end

@doc """
Deletes a collaboration.
Expand Down Expand Up @@ -366,6 +451,26 @@ defmodule AWS.CleanRooms do
)
end

@doc """
Retrieves an analysis template.
"""
def get_analysis_template(
%Client{} = client,
analysis_template_identifier,
membership_identifier,
options \\ []
) do
url_path =
"/memberships/#{AWS.Util.encode_uri(membership_identifier)}/analysistemplates/#{AWS.Util.encode_uri(analysis_template_identifier)}"

headers = []
query_params = []

meta = metadata()

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

@doc """
Returns metadata about a collaboration.
"""
Expand All @@ -379,6 +484,26 @@ defmodule AWS.CleanRooms do
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
end

@doc """
Retrieves an analysis template within a collaboration.
"""
def get_collaboration_analysis_template(
%Client{} = client,
analysis_template_arn,
collaboration_identifier,
options \\ []
) do
url_path =
"/collaborations/#{AWS.Util.encode_uri(collaboration_identifier)}/analysistemplates/#{AWS.Util.encode_uri(analysis_template_arn)}"

headers = []
query_params = []

meta = metadata()

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

@doc """
Retrieves a configured table.
"""
Expand Down Expand Up @@ -501,6 +626,74 @@ defmodule AWS.CleanRooms do
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
end

@doc """
Lists analysis templates that the caller owns.
"""
def list_analysis_templates(
%Client{} = client,
membership_identifier,
max_results \\ nil,
next_token \\ nil,
options \\ []
) do
url_path = "/memberships/#{AWS.Util.encode_uri(membership_identifier)}/analysistemplates"
headers = []
query_params = []

query_params =
if !is_nil(next_token) do
[{"nextToken", next_token} | query_params]
else
query_params
end

query_params =
if !is_nil(max_results) do
[{"maxResults", max_results} | query_params]
else
query_params
end

meta = metadata()

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

@doc """
Lists analysis templates within a collaboration.
"""
def list_collaboration_analysis_templates(
%Client{} = client,
collaboration_identifier,
max_results \\ nil,
next_token \\ nil,
options \\ []
) do
url_path =
"/collaborations/#{AWS.Util.encode_uri(collaboration_identifier)}/analysistemplates"

headers = []
query_params = []

query_params =
if !is_nil(next_token) do
[{"nextToken", next_token} | query_params]
else
query_params
end

query_params =
if !is_nil(max_results) do
[{"maxResults", max_results} | query_params]
else
query_params
end

meta = metadata()

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

@doc """
Lists collaborations the caller owns, is active in, or has been invited to.
"""
Expand Down Expand Up @@ -850,6 +1043,37 @@ defmodule AWS.CleanRooms do
)
end

@doc """
Updates the analysis template metadata.
"""
def update_analysis_template(
%Client{} = client,
analysis_template_identifier,
membership_identifier,
input,
options \\ []
) do
url_path =
"/memberships/#{AWS.Util.encode_uri(membership_identifier)}/analysistemplates/#{AWS.Util.encode_uri(analysis_template_identifier)}"

headers = []
query_params = []

meta = metadata()

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

@doc """
Updates collaboration metadata and can only be called by the collaboration
owner.
Expand Down
45 changes: 24 additions & 21 deletions lib/aws/generated/code_star_connections.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ defmodule AWS.CodeStarConnections do
@moduledoc """
AWS CodeStar Connections
This AWS CodeStar Connections API Reference provides descriptions and usage
examples of the operations and data types for the AWS CodeStar Connections API.
This Amazon Web Services CodeStar Connections API Reference provides
descriptions and usage examples of the operations and data types for the Amazon
Web Services CodeStar Connections API.
You can use the connections API to work with connections and installations.
*Connections* are configurations that you use to connect AWS resources to
external code repositories. Each connection is a resource that can be given to
services such as CodePipeline to connect to a third-party repository such as
Bitbucket. For example, you can add the connection in CodePipeline so that it
triggers your pipeline when a code change is made to your third-party code
repository. Each connection is named and associated with a unique ARN that is
used to reference the connection.
*Connections* are configurations that you use to connect Amazon Web Services
resources to external code repositories. Each connection is a resource that can
be given to services such as CodePipeline to connect to a third-party repository
such as Bitbucket. For example, you can add the connection in CodePipeline so
that it triggers your pipeline when a code change is made to your third-party
code repository. Each connection is named and associated with a unique ARN that
is used to reference the connection.
When you create a connection, the console initiates a third-party connection
handshake. *Installations* are the apps that are used to conduct this handshake.
Expand Down Expand Up @@ -52,19 +53,21 @@ defmodule AWS.CodeStarConnections do
* `ListHosts`, which lists the hosts associated with your account.
You can work with tags in AWS CodeStar Connections by calling the following:
You can work with tags in Amazon Web Services CodeStar Connections by calling
the following:
* `ListTagsForResource`, which gets information about AWS tags for a
specified Amazon Resource Name (ARN) in AWS CodeStar Connections.
* `TagResource`, which adds or updates tags for a resource in AWS
* `ListTagsForResource`, which gets information about Amazon Web
Services tags for a specified Amazon Resource Name (ARN) in Amazon Web Services
CodeStar Connections.
* `UntagResource`, which removes tags for a resource in AWS CodeStar
Connections.
* `TagResource`, which adds or updates tags for a resource in Amazon
Web Services CodeStar Connections.
* `UntagResource`, which removes tags for a resource in Amazon Web
Services CodeStar Connections.
For information about how to use AWS CodeStar Connections, see the [Developer Tools User
Guide](https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html).
For information about how to use Amazon Web Services CodeStar Connections, see
the [Developer Tools User Guide](https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html).
"""

alias AWS.Client
Expand All @@ -87,8 +90,8 @@ defmodule AWS.CodeStarConnections do
end

@doc """
Creates a connection that can then be given to other AWS services like
CodePipeline so that it can access third-party code repositories.
Creates a connection that can then be given to other Amazon Web Services
services like CodePipeline so that it can access third-party code repositories.
The connection is in pending status until the third-party connection handshake
is completed from the console.
Expand Down Expand Up @@ -198,7 +201,7 @@ defmodule AWS.CodeStarConnections do
end

@doc """
Removes tags from an AWS resource.
Removes tags from an Amazon Web Services resource.
"""
def untag_resource(%Client{} = client, input, options \\ []) do
meta = metadata()
Expand Down
Loading

0 comments on commit 682e865

Please sign in to comment.