Skip to content

Commit

Permalink
Update services based on v1.49.24 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jan 19, 2024
1 parent 88ab603 commit bd3ccfb
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 23 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.49.23
v1.49.24
2 changes: 2 additions & 0 deletions src/aws_b2bi.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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, []).
Expand Down
66 changes: 51 additions & 15 deletions src/aws_cloudtrail.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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, []).
Expand All @@ -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.
Expand Down Expand Up @@ -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.
%%
%% <ul> <li> Data points with a period of 60 seconds (1-minute) are available
%% for 15 days.
%%
%% </li> <li> Data points with a period of 300 seconds (5-minute) are
%% available for 63 days.
%%
%% </li> <li> Data points with a period of 3600 seconds (1 hour) are
%% available for 90 days.
%%
%% </li> </ul> 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.
%%
Expand Down Expand Up @@ -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, []).
Expand Down
22 changes: 15 additions & 7 deletions src/aws_sagemaker_featurestore_runtime.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
%%
%% <ul> <li> For `SoftDelete', the existing (undeleted) record remains in
%% the `OnlineStore', though the delete record marker is still written to
%% the `OfflineStore'.
%% <ul> <li> For `SoftDelete', the existing (not deleted) record remains
%% in the `OnlineStore', though the delete record marker is still written
%% to the `OfflineStore'.
%%
%% </li> <li> `HardDelete' returns `EventTime': `400
%% ValidationException' to indicate that the delete operation failed. No
%% delete record marker is written to the `OfflineStore'.
%%
%% </li> </ul>
%% </li> </ul> 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) ->
Expand Down

0 comments on commit bd3ccfb

Please sign in to comment.