diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index e89ac12b..591bdc06 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -v1.44.312 +v1.44.313 diff --git a/lib/aws/generated/amplify_ui_builder.ex b/lib/aws/generated/amplify_ui_builder.ex index ecb60311..083edf85 100644 --- a/lib/aws/generated/amplify_ui_builder.ex +++ b/lib/aws/generated/amplify_ui_builder.ex @@ -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 = @@ -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 diff --git a/lib/aws/generated/clean_rooms.ex b/lib/aws/generated/clean_rooms.ex index e47f719e..a0b822da 100644 --- a/lib/aws/generated/clean_rooms.ex +++ b/lib/aws/generated/clean_rooms.ex @@ -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. """ @@ -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. """ @@ -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. @@ -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. """ @@ -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. """ @@ -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. """ @@ -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. diff --git a/lib/aws/generated/code_star_connections.ex b/lib/aws/generated/code_star_connections.ex index 448838e6..280613c9 100644 --- a/lib/aws/generated/code_star_connections.ex +++ b/lib/aws/generated/code_star_connections.ex @@ -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. @@ -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 @@ -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. @@ -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() diff --git a/lib/aws/generated/inspector2.ex b/lib/aws/generated/inspector2.ex index 654e2c8b..f8b09151 100644 --- a/lib/aws/generated/inspector2.ex +++ b/lib/aws/generated/inspector2.ex @@ -106,6 +106,29 @@ defmodule AWS.Inspector2 do ) end + @doc """ + Gets vulnerability details for findings. + """ + def batch_get_finding_details(%Client{} = client, input, options \\ []) do + url_path = "/findings/details/batch/get" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + @doc """ Gets free trial status for multiple Amazon Web Services accounts. """ diff --git a/lib/aws/generated/lookout_equipment.ex b/lib/aws/generated/lookout_equipment.ex index ca3effb6..d6ac91e0 100644 --- a/lib/aws/generated/lookout_equipment.ex +++ b/lib/aws/generated/lookout_equipment.ex @@ -31,8 +31,8 @@ defmodule AWS.LookoutEquipment do Creates a container for a collection of data being ingested for analysis. The dataset contains the metadata describing where the data is and what the data - actually looks like. In other words, it contains the location of the data - source, the data schema, and other information. A dataset also contains any tags + actually looks like. For example, it contains the location of the data source, + the data schema, and other information. A dataset also contains any tags associated with the ingested data. """ def create_dataset(%Client{} = client, input, options \\ []) do @@ -150,6 +150,15 @@ defmodule AWS.LookoutEquipment do Request.request_post(client, meta, "DeleteModel", input, options) end + @doc """ + Deletes the resource policy attached to the resource. + """ + def delete_resource_policy(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "DeleteResourcePolicy", input, options) + end + @doc """ Provides information on a specific data ingestion job such as creation time, dataset ARN, and status. @@ -209,6 +218,42 @@ defmodule AWS.LookoutEquipment do Request.request_post(client, meta, "DescribeModel", input, options) end + @doc """ + Retrieves information about a specific machine learning model version. + """ + def describe_model_version(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "DescribeModelVersion", input, options) + end + + @doc """ + Provides the details of a resource policy attached to a resource. + """ + def describe_resource_policy(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "DescribeResourcePolicy", input, options) + end + + @doc """ + Imports a dataset. + """ + def import_dataset(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "ImportDataset", input, options) + end + + @doc """ + Imports a model that has been trained successfully. + """ + def import_model_version(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "ImportModelVersion", input, options) + end + @doc """ Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, status, and so on. @@ -277,6 +322,19 @@ defmodule AWS.LookoutEquipment do Request.request_post(client, meta, "ListLabels", input, options) end + @doc """ + Generates a list of all model versions for a given model, including the model + version, model version ARN, and status. + + To list a subset of versions, use the `MaxModelVersion` and `MinModelVersion` + fields. + """ + def list_model_versions(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "ListModelVersions", input, options) + end + @doc """ Generates a list of all models in the account, including model name and ARN, dataset, and status. @@ -308,6 +366,15 @@ defmodule AWS.LookoutEquipment do Request.request_post(client, meta, "ListTagsForResource", input, options) end + @doc """ + Creates a resource control policy for a given resource. + """ + def put_resource_policy(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "PutResourcePolicy", input, options) + end + @doc """ Starts a data ingestion job. @@ -363,6 +430,15 @@ defmodule AWS.LookoutEquipment do Request.request_post(client, meta, "UntagResource", input, options) end + @doc """ + Sets the active model version for a given machine learning model. + """ + def update_active_model_version(%Client{} = client, input, options \\ []) do + meta = metadata() + + Request.request_post(client, meta, "UpdateActiveModelVersion", input, options) + end + @doc """ Updates an inference scheduler. """ diff --git a/lib/aws/generated/route53.ex b/lib/aws/generated/route53.ex index d3d59271..ece46d4d 100644 --- a/lib/aws/generated/route53.ex +++ b/lib/aws/generated/route53.ex @@ -779,13 +779,6 @@ defmodule AWS.Route53 do www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that `CreateTrafficPolicyInstance` created. - - After you submit an `CreateTrafficPolicyInstance` request, there's a brief delay - while Amazon Route 53 creates the resource record sets that are specified in the - traffic policy definition. Use `GetTrafficPolicyInstance` with the `id` of new - traffic policy instance to confirm that the `CreateTrafficPolicyInstance` - request completed successfully. For more information, see the `State` response - element. """ def create_traffic_policy_instance(%Client{} = client, input, options \\ []) do url_path = "/2013-04-01/trafficpolicyinstance" @@ -1687,10 +1680,10 @@ defmodule AWS.Route53 do @doc """ Gets information about a specified traffic policy instance. - Use `GetTrafficPolicyInstance` with the `id` of new traffic policy instance to - confirm that the `CreateTrafficPolicyInstance` or an - `UpdateTrafficPolicyInstance` request completed successfully. For more - information, see the `State` response element. + After you submit a `CreateTrafficPolicyInstance` or an + `UpdateTrafficPolicyInstance` request, there's a brief delay while Amazon Route + 53 creates the resource record sets that are specified in the traffic policy + definition. For more information, see the `State` response element. In the Route 53 console, traffic policy instances are known as policy records. """ @@ -2829,14 +2822,6 @@ defmodule AWS.Route53 do end @doc """ - After you submit a `UpdateTrafficPolicyInstance` request, there's a brief delay - while RouteĀ 53 creates the resource record sets that are specified in the - traffic policy definition. - - Use `GetTrafficPolicyInstance` with the `id` of updated traffic policy instance - confirm that the `UpdateTrafficPolicyInstance` request completed successfully. - For more information, see the `State` response element. - Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.