Skip to content

Commit 4cc6429

Browse files
committed
Update services based on v1.44.60 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.44.60
1 parent d730751 commit 4cc6429

File tree

5 files changed

+182
-71
lines changed

5 files changed

+182
-71
lines changed

.latest-tag-aws-sdk-go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.44.59
1+
v1.44.60

lib/aws/generated/athena.ex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,17 @@ defmodule AWS.Athena do
217217
Request.request_post(client, metadata(), "GetQueryResults", input, options)
218218
end
219219

220+
@doc """
221+
Returns query execution runtime statistics related to a single execution of a
222+
query if you have access to the workgroup in which the query ran.
223+
224+
The query execution runtime statistics is returned only when
225+
`QueryExecutionStatus$State` is in a SUCCEEDED or FAILED state.
226+
"""
227+
def get_query_runtime_statistics(%Client{} = client, input, options \\ []) do
228+
Request.request_post(client, metadata(), "GetQueryRuntimeStatistics", input, options)
229+
end
230+
220231
@doc """
221232
Returns table metadata for the specified catalog, database, and table.
222233
"""

lib/aws/generated/iot_site_wise.ex

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,40 @@ defmodule AWS.IoTSiteWise do
322322
)
323323
end
324324

325+
@doc """
326+
This API operation is in preview release for IoT SiteWise and is subject to
327+
change.
328+
329+
We recommend that you use this operation only with test data, and not in
330+
production environments.
331+
332+
Defines a job to ingest data to IoT SiteWise from Amazon S3. For more
333+
information, see [Create a bulk import job (CLI)](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/CreateBulkImportJob.html)
334+
in the *Amazon Simple Storage Service User Guide*.
335+
336+
You must enable IoT SiteWise to export data to Amazon S3 before you create a
337+
bulk import job. For more information about how to configure storage settings,
338+
see
339+
[PutStorageConfiguration](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_PutStorageConfiguration.html).
340+
"""
341+
def create_bulk_import_job(%Client{} = client, input, options \\ []) do
342+
url_path = "/jobs"
343+
headers = []
344+
query_params = []
345+
346+
Request.request_rest(
347+
client,
348+
metadata(),
349+
:post,
350+
url_path,
351+
query_params,
352+
headers,
353+
input,
354+
options,
355+
202
356+
)
357+
end
358+
325359
@doc """
326360
Creates a dashboard in an IoT SiteWise Monitor project.
327361
"""
@@ -758,6 +792,35 @@ defmodule AWS.IoTSiteWise do
758792
)
759793
end
760794

795+
@doc """
796+
This API operation is in preview release for IoT SiteWise and is subject to
797+
change.
798+
799+
We recommend that you use this operation only with test data, and not in
800+
production environments.
801+
802+
Retrieves information about a bulk import job request. For more information, see
803+
[Describe a bulk import job (CLI)](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/DescribeBulkImportJob.html)
804+
in the *Amazon Simple Storage Service User Guide*.
805+
"""
806+
def describe_bulk_import_job(%Client{} = client, job_id, options \\ []) do
807+
url_path = "/jobs/#{AWS.Util.encode_uri(job_id)}"
808+
headers = []
809+
query_params = []
810+
811+
Request.request_rest(
812+
client,
813+
metadata(),
814+
:get,
815+
url_path,
816+
query_params,
817+
headers,
818+
nil,
819+
options,
820+
nil
821+
)
822+
end
823+
761824
@doc """
762825
Retrieves information about a dashboard.
763826
"""
@@ -1792,6 +1855,62 @@ defmodule AWS.IoTSiteWise do
17921855
)
17931856
end
17941857

1858+
@doc """
1859+
This API operation is in preview release for IoT SiteWise and is subject to
1860+
change.
1861+
1862+
We recommend that you use this operation only with test data, and not in
1863+
production environments.
1864+
1865+
Retrieves a paginated list of bulk import job requests. For more information,
1866+
see [List bulk import jobs (CLI)](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/ListBulkImportJobs.html)
1867+
in the *Amazon Simple Storage Service User Guide*.
1868+
"""
1869+
def list_bulk_import_jobs(
1870+
%Client{} = client,
1871+
filter \\ nil,
1872+
max_results \\ nil,
1873+
next_token \\ nil,
1874+
options \\ []
1875+
) do
1876+
url_path = "/jobs"
1877+
headers = []
1878+
query_params = []
1879+
1880+
query_params =
1881+
if !is_nil(next_token) do
1882+
[{"nextToken", next_token} | query_params]
1883+
else
1884+
query_params
1885+
end
1886+
1887+
query_params =
1888+
if !is_nil(max_results) do
1889+
[{"maxResults", max_results} | query_params]
1890+
else
1891+
query_params
1892+
end
1893+
1894+
query_params =
1895+
if !is_nil(filter) do
1896+
[{"filter", filter} | query_params]
1897+
else
1898+
query_params
1899+
end
1900+
1901+
Request.request_rest(
1902+
client,
1903+
metadata(),
1904+
:get,
1905+
url_path,
1906+
query_params,
1907+
headers,
1908+
nil,
1909+
options,
1910+
nil
1911+
)
1912+
end
1913+
17951914
@doc """
17961915
Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.
17971916
"""

lib/aws/generated/kendra.ex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ defmodule AWS.Kendra do
126126
without indexing all of your documents again. For example, your index contains
127127
top-secret company documents that only certain employees or users should access.
128128
One of these users leaves the company or switches to a team that should be
129-
blocked from access to top-secret documents. Your documents in your index still
130-
give this user access to top-secret documents due to the user having access at
131-
the time your documents were indexed. You can create a specific access control
132-
configuration for this user with deny access. You can later update the access
133-
control configuration to allow access in the case the user returns to the
134-
company and re-joins the 'top-secret' team. You can re-configure access control
135-
for your documents circumstances change.
129+
blocked from accessing top-secret documents. The user still has access to
130+
top-secret documents because the user had access when your documents were
131+
previously indexed. You can create a specific access control configuration for
132+
the user with deny access. You can later update the access control configuration
133+
to allow access if the user returns to the company and re-joins the 'top-secret'
134+
team. You can re-configure access control for your documents as circumstances
135+
change.
136136
137137
To apply your access control configuration to certain documents, you call the
138138
[BatchPutDocument](https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html) API with the `AccessControlConfigurationId` included in the
@@ -703,9 +703,9 @@ defmodule AWS.Kendra do
703703
`AccessControlConfigurationId` included in the
704704
[Document](https://docs.aws.amazon.com/kendra/latest/dg/API_Document.html)
705705
object. If you use an S3 bucket as a data source, you synchronize your data
706-
source to apply the the `AccessControlConfigurationId` in the `.metadata.json`
707-
file. Amazon Kendra currently only supports access control configuration for S3
708-
data sources and documents indexed using the `BatchPutDocument` API.
706+
source to apply the `AccessControlConfigurationId` in the `.metadata.json` file.
707+
Amazon Kendra currently only supports access control configuration for S3 data
708+
sources and documents indexed using the `BatchPutDocument` API.
709709
"""
710710
def update_access_control_configuration(%Client{} = client, input, options \\ []) do
711711
Request.request_post(client, metadata(), "UpdateAccessControlConfiguration", input, options)

0 commit comments

Comments
 (0)