From bd3ccfbd1caa709e4f655f91c9113be7f11f857a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 19 Jan 2024 01:38:45 +0000 Subject: [PATCH] Update services based on v1.49.24 of AWS Go SDK Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.49.24 --- .latest-tag-aws-sdk-go | 2 +- src/aws_b2bi.erl | 2 + src/aws_cloudtrail.erl | 66 +++++++++++++++++----- src/aws_sagemaker_featurestore_runtime.erl | 22 +++++--- 4 files changed, 69 insertions(+), 23 deletions(-) diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index 1b128cca..7470132c 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -v1.49.23 +v1.49.24 diff --git a/src/aws_b2bi.erl b/src/aws_b2bi.erl index 69f1007c..c60a49aa 100644 --- a/src/aws_b2bi.erl +++ b/src/aws_b2bi.erl @@ -325,6 +325,8 @@ test_mapping(Client, Input, Options) request(Client, <<"TestMapping">>, Input, Options). %% @doc Parses the input EDI (electronic data interchange) file. +%% +%% The input file has a file size limit of 250 KB. test_parsing(Client, Input) when is_map(Client), is_map(Input) -> test_parsing(Client, Input, []). diff --git a/src/aws_cloudtrail.erl b/src/aws_cloudtrail.erl index 5f351799..ce0167fd 100644 --- a/src/aws_cloudtrail.erl +++ b/src/aws_cloudtrail.erl @@ -81,6 +81,8 @@ list_import_failures/3, list_imports/2, list_imports/3, + list_insights_metric_data/2, + list_insights_metric_data/3, list_public_keys/2, list_public_keys/3, list_queries/2, @@ -278,10 +280,12 @@ describe_trails(Client, Input, Options) %% @doc Disables Lake query federation on the specified event data store. %% -%% When you disable federation, CloudTrail removes the metadata associated -%% with the federated event data store in the Glue Data Catalog and removes -%% registration for the federation role ARN and event data store in Lake -%% Formation. No CloudTrail Lake data is deleted when you disable federation. +%% When you disable federation, CloudTrail disables the integration with +%% Glue, Lake Formation, and Amazon Athena. After disabling Lake query +%% federation, you can no longer query your event data in Amazon Athena. +%% +%% No CloudTrail Lake data is deleted when you disable federation and you can +%% continue to run queries in CloudTrail Lake. disable_federation(Client, Input) when is_map(Client), is_map(Input) -> disable_federation(Client, Input, []). @@ -297,13 +301,13 @@ disable_federation(Client, Input, Options) %% Data Catalog lets the Athena query engine know how to find, read, and %% process the data that you want to query. %% -%% When you enable Lake query federation, CloudTrail creates a federated +%% When you enable Lake query federation, CloudTrail creates a managed %% database named `aws:cloudtrail' (if the database doesn't already -%% exist) and a federated table in the Glue Data Catalog. The event data -%% store ID is used for the table name. CloudTrail registers the role ARN and -%% event data store in Lake Formation, the service responsible for revoking -%% or granting permissions to the federated resources in the Glue Data -%% Catalog. +%% exist) and a managed federated table in the Glue Data Catalog. The event +%% data store ID is used for the table name. CloudTrail registers the role +%% ARN and event data store in Lake Formation, the service responsible for +%% allowing fine-grained access control of the federated resources in the +%% Glue Data Catalog. %% %% For more information about Lake query federation, see Federate an event %% data store. @@ -467,6 +471,37 @@ list_imports(Client, Input, Options) when is_map(Client), is_map(Input), is_list(Options) -> request(Client, <<"ListImports">>, Input, Options). +%% @doc Returns Insights metrics data for trails that have enabled Insights. +%% +%% The request must include the `EventSource', `EventName', and +%% `InsightType' parameters. +%% +%% If the `InsightType' is set to `ApiErrorRateInsight', the request +%% must also include the `ErrorCode' parameter. +%% +%% The following are the available time periods for +%% `ListInsightsMetricData'. Each cutoff is inclusive. +%% +%% Access to the `ListInsightsMetricData' API operation is +%% linked to the `cloudtrail:LookupEvents' action. To use this operation, +%% you must have permissions to perform the `cloudtrail:LookupEvents' +%% action. +list_insights_metric_data(Client, Input) + when is_map(Client), is_map(Input) -> + list_insights_metric_data(Client, Input, []). +list_insights_metric_data(Client, Input, Options) + when is_map(Client), is_map(Input), is_list(Options) -> + request(Client, <<"ListInsightsMetricData">>, Input, Options). + %% @doc Returns all public keys whose private keys were used to sign the %% digest files within the specified time range. %% @@ -835,13 +870,14 @@ update_channel(Client, Input, Options) %% By default, `TerminationProtection' is enabled. %% %% For event data stores for CloudTrail events, `AdvancedEventSelectors' -%% includes or excludes management, data, or Insights events in your event -%% data store. For more information about `AdvancedEventSelectors', see +%% includes or excludes management or data events in your event data store. +%% For more information about `AdvancedEventSelectors', see %% AdvancedEventSelectors. %% -%% For event data stores for Config configuration items, Audit Manager -%% evidence, or non-Amazon Web Services events, `AdvancedEventSelectors' -%% includes events of that type in your event data store. +%% For event data stores for CloudTrail Insights events, Config configuration +%% items, Audit Manager evidence, or non-Amazon Web Services events, +%% `AdvancedEventSelectors' includes events of that type in your event +%% data store. update_event_data_store(Client, Input) when is_map(Client), is_map(Input) -> update_event_data_store(Client, Input, []). diff --git a/src/aws_sagemaker_featurestore_runtime.erl b/src/aws_sagemaker_featurestore_runtime.erl index febdeb13..9c2b0eae 100644 --- a/src/aws_sagemaker_featurestore_runtime.erl +++ b/src/aws_sagemaker_featurestore_runtime.erl @@ -68,24 +68,32 @@ batch_get_record(Client, Input0, Options0) -> %% record is no longer retrievable by `GetRecord' or %% `BatchGetRecord'. For `HardDelete', the complete `Record' is %% removed from the `OnlineStore'. In both cases, Feature Store appends -%% the deleted record marker to the `OfflineStore' with feature values -%% set to `null', `is_deleted' value set to `True', and -%% `EventTime' set to the delete input `EventTime'. +%% the deleted record marker to the `OfflineStore'. The deleted record +%% marker is a record with the same `RecordIdentifer' as the original, +%% but with `is_deleted' value set to `True', `EventTime' set to +%% the delete input `EventTime', and other feature values set to +%% `null'. %% %% Note that the `EventTime' specified in `DeleteRecord' should be %% set later than the `EventTime' of the existing record in the %% `OnlineStore' for that `RecordIdentifer'. If it is not, the %% deletion does not occur: %% -%% When a record is deleted from the `OnlineStore', the +%% deleted record marker is appended to the `OfflineStore'. If you have +%% the Iceberg table format enabled for your `OfflineStore', you can +%% remove all history of a record from the `OfflineStore' using Amazon +%% Athena or Apache Spark. For information on how to hard delete a record +%% from the `OfflineStore' with the Iceberg table format enabled, see +%% Delete records from the offline store. delete_record(Client, FeatureGroupName, Input) -> delete_record(Client, FeatureGroupName, Input, []). delete_record(Client, FeatureGroupName, Input0, Options0) ->