diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index 1047daff..a856b77b 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -v1.44.290 +v1.44.291 diff --git a/lib/aws/generated/app_fabric.ex b/lib/aws/generated/app_fabric.ex new file mode 100644 index 00000000..fe02962f --- /dev/null +++ b/lib/aws/generated/app_fabric.ex @@ -0,0 +1,752 @@ +# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! +# See https://github.com/aws-beam/aws-codegen for more details. + +defmodule AWS.AppFabric do + @moduledoc """ + Amazon Web Services AppFabric quickly connects software as a service (SaaS) + applications across your organization. + + This allows IT and security teams to easily manage and secure applications using + a standard schema, and employees can complete everyday tasks faster using + generative artificial intelligence (AI). You can use these APIs to complete + AppFabric tasks, such as setting up audit log ingestions or viewing user access. + For more information about AppFabric, including the required permissions to use + the service, see the [Amazon Web Services AppFabric Administration Guide](https://docs.aws.amazon.com/appfabric/latest/adminguide/). For more + information about using the Command Line Interface (CLI) to manage your + AppFabric resources, see the [AppFabric section of the CLI Reference](https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html). + """ + + alias AWS.Client + alias AWS.Request + + def metadata do + %{ + abbreviation: nil, + api_version: "2023-05-19", + content_type: "application/x-amz-json-1.1", + credential_scope: nil, + endpoint_prefix: "appfabric", + global?: false, + protocol: "rest-json", + service_id: "AppFabric", + signature_version: "v4", + signing_name: "appfabric", + target_prefix: nil + } + end + + @doc """ + Gets user access details in a batch request. + + This action polls data from the tasks that are kicked off by the + `StartUserAccessTasks` action. + """ + def batch_get_user_access_tasks(%Client{} = client, input, options \\ []) do + url_path = "/useraccess/batchget" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Establishes a connection between Amazon Web Services AppFabric and an + application, which allows AppFabric to call the APIs of the application. + """ + def connect_app_authorization( + %Client{} = client, + app_authorization_identifier, + app_bundle_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/appauthorizations/#{AWS.Util.encode_uri(app_authorization_identifier)}/connect" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Creates an app authorization within an app bundle, which allows AppFabric to + connect to an application. + """ + def create_app_authorization(%Client{} = client, app_bundle_identifier, input, options \\ []) do + url_path = "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/appauthorizations" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Creates an app bundle to collect data from an application using AppFabric. + """ + def create_app_bundle(%Client{} = client, input, options \\ []) do + url_path = "/appbundles" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Creates a data ingestion for an application. + """ + def create_ingestion(%Client{} = client, app_bundle_identifier, input, options \\ []) do + url_path = "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Creates an ingestion destination, which specifies how an application's ingested + data is processed by Amazon Web Services AppFabric and where it's delivered. + """ + def create_ingestion_destination( + %Client{} = client, + app_bundle_identifier, + ingestion_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/ingestiondestinations" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Deletes an app authorization. + + You must delete the associated ingestion before you can delete an app + authorization. + """ + def delete_app_authorization( + %Client{} = client, + app_authorization_identifier, + app_bundle_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/appauthorizations/#{AWS.Util.encode_uri(app_authorization_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 204 + ) + end + + @doc """ + Deletes an app bundle. + + You must delete all associated app authorizations before you can delete an app + bundle. + """ + def delete_app_bundle(%Client{} = client, app_bundle_identifier, input, options \\ []) do + url_path = "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 204 + ) + end + + @doc """ + Deletes an ingestion. + + You must stop (disable) the ingestion and you must delete all associated + ingestion destinations before you can delete an app ingestion. + """ + def delete_ingestion( + %Client{} = client, + app_bundle_identifier, + ingestion_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 204 + ) + end + + @doc """ + Deletes an ingestion destination. + + This deletes the association between an ingestion and it's destination. It + doesn't delete previously ingested data or the storage destination, such as the + Amazon S3 bucket where the data is delivered. If the ingestion destination is + deleted while the associated ingestion is enabled, the ingestion will fail and + is eventually disabled. + """ + def delete_ingestion_destination( + %Client{} = client, + app_bundle_identifier, + ingestion_destination_identifier, + ingestion_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/ingestiondestinations/#{AWS.Util.encode_uri(ingestion_destination_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 204 + ) + end + + @doc """ + Returns information about an app authorization. + """ + def get_app_authorization( + %Client{} = client, + app_authorization_identifier, + app_bundle_identifier, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/appauthorizations/#{AWS.Util.encode_uri(app_authorization_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Returns information about an app bundle. + """ + def get_app_bundle(%Client{} = client, app_bundle_identifier, options \\ []) do + url_path = "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Returns information about an ingestion. + """ + def get_ingestion( + %Client{} = client, + app_bundle_identifier, + ingestion_identifier, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Returns information about an ingestion destination. + """ + def get_ingestion_destination( + %Client{} = client, + app_bundle_identifier, + ingestion_destination_identifier, + ingestion_identifier, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/ingestiondestinations/#{AWS.Util.encode_uri(ingestion_destination_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Returns a list of all app authorizations configured for an app bundle. + """ + def list_app_authorizations( + %Client{} = client, + app_bundle_identifier, + max_results \\ nil, + next_token \\ nil, + options \\ [] + ) do + url_path = "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/appauthorizations" + 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 """ + Returns a list of app bundles. + """ + def list_app_bundles(%Client{} = client, max_results \\ nil, next_token \\ nil, options \\ []) do + url_path = "/appbundles" + 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 """ + Returns a list of all ingestion destinations configured for an ingestion. + """ + def list_ingestion_destinations( + %Client{} = client, + app_bundle_identifier, + ingestion_identifier, + max_results \\ nil, + next_token \\ nil, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/ingestiondestinations" + + 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 """ + Returns a list of all ingestions configured for an app bundle. + """ + def list_ingestions( + %Client{} = client, + app_bundle_identifier, + max_results \\ nil, + next_token \\ nil, + options \\ [] + ) do + url_path = "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions" + 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 """ + Returns a list of tags for a resource. + """ + def list_tags_for_resource(%Client{} = client, resource_arn, options \\ []) do + url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Starts (enables) an ingestion, which collects data from an application. + """ + def start_ingestion( + %Client{} = client, + app_bundle_identifier, + ingestion_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/start" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Starts the tasks to search user access status for a specific email address. + + The tasks are stopped when the user access status data is found. The tasks are + terminated when the API calls to the application time out. + """ + def start_user_access_tasks(%Client{} = client, input, options \\ []) do + url_path = "/useraccess/start" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Stops (disables) an ingestion. + """ + def stop_ingestion( + %Client{} = client, + app_bundle_identifier, + ingestion_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/stop" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Assigns one or more tags (key-value pairs) to the specified resource. + """ + def tag_resource(%Client{} = client, resource_arn, input, options \\ []) do + url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Removes a tag or tags from a resource. + """ + def untag_resource(%Client{} = client, resource_arn, input, options \\ []) do + url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}" + headers = [] + + {query_params, input} = + [ + {"tagKeys", "tagKeys"} + ] + |> Request.build_params(input) + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Updates an app authorization within an app bundle, which allows AppFabric to + connect to an application. + + If the app authorization was in a `connected` state, updating the app + authorization will set it back to a `PendingConnect` state. + """ + def update_app_authorization( + %Client{} = client, + app_authorization_identifier, + app_bundle_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/appauthorizations/#{AWS.Util.encode_uri(app_authorization_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :patch, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Updates an ingestion destination, which specifies how an application's ingested + data is processed by Amazon Web Services AppFabric and where it's delivered. + """ + def update_ingestion_destination( + %Client{} = client, + app_bundle_identifier, + ingestion_destination_identifier, + ingestion_identifier, + input, + options \\ [] + ) do + url_path = + "/appbundles/#{AWS.Util.encode_uri(app_bundle_identifier)}/ingestions/#{AWS.Util.encode_uri(ingestion_identifier)}/ingestiondestinations/#{AWS.Util.encode_uri(ingestion_destination_identifier)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :patch, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end +end diff --git a/lib/aws/generated/emr_serverless.ex b/lib/aws/generated/emr_serverless.ex index 15d2ccda..13a8ebec 100644 --- a/lib/aws/generated/emr_serverless.ex +++ b/lib/aws/generated/emr_serverless.ex @@ -5,10 +5,11 @@ defmodule AWS.EMRServerless do @moduledoc """ Amazon EMR Serverless is a new deployment option for Amazon EMR. - EMR Serverless provides a serverless runtime environment that simplifies running - analytics applications using the latest open source frameworks such as Apache - Spark and Apache Hive. With EMR Serverless, you don’t have to configure, - optimize, secure, or operate clusters to run applications with these frameworks. + Amazon EMR Serverless provides a serverless runtime environment that simplifies + running analytics applications using the latest open source frameworks such as + Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to + configure, optimize, secure, or operate clusters to run applications with these + frameworks. The API reference to Amazon EMR Serverless is `emr-serverless`. The `emr-serverless` prefix is used in the following scenarios: diff --git a/lib/aws/generated/ivs.ex b/lib/aws/generated/ivs.ex index 6133da52..0a5cdfa2 100644 --- a/lib/aws/generated/ivs.ex +++ b/lib/aws/generated/ivs.ex @@ -180,7 +180,7 @@ defmodule AWS.Ivs do recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed. - ## PlaybackKeyPair Endpoints + ## Private Channel Endpoints For more information, see [Setting Up Private Channels](https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) in the *Amazon IVS User Guide*. @@ -202,6 +202,15 @@ defmodule AWS.Ivs do pair. This invalidates future viewer tokens generated using the key pair’s `privateKey`. + * `StartViewerSessionRevocation` — Starts the process of revoking + the viewer session associated with a specified channel ARN and viewer ID. + Optionally, you can provide a version to revoke viewer sessions less than and + including that version. + + * `BatchStartViewerSessionRevocation` — Performs + `StartViewerSessionRevocation` on multiple channel ARN and viewer ID pairs + simultaneously. + ## RecordingConfiguration Endpoints * `CreateRecordingConfiguration` — Creates a new recording @@ -294,6 +303,30 @@ defmodule AWS.Ivs do ) end + @doc """ + Performs `StartViewerSessionRevocation` on multiple channel ARN and viewer ID + pairs simultaneously. + """ + def batch_start_viewer_session_revocation(%Client{} = client, input, options \\ []) do + url_path = "/BatchStartViewerSessionRevocation" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + @doc """ Creates a new channel and an associated stream key to start streaming. """ @@ -853,6 +886,34 @@ defmodule AWS.Ivs do ) end + @doc """ + Starts the process of revoking the viewer session associated with a specified + channel ARN and viewer ID. + + Optionally, you can provide a version to revoke viewer sessions less than and + including that version. For instructions on associating a viewer ID with a + viewer session, see [Setting Up Private Channels](https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html). + """ + def start_viewer_session_revocation(%Client{} = client, input, options \\ []) do + url_path = "/StartViewerSessionRevocation" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + @doc """ Disconnects the incoming RTMPS stream for the specified channel. diff --git a/lib/aws/generated/kinesis_video.ex b/lib/aws/generated/kinesis_video.ex index 6c3bce9f..4af56903 100644 --- a/lib/aws/generated/kinesis_video.ex +++ b/lib/aws/generated/kinesis_video.ex @@ -79,6 +79,39 @@ defmodule AWS.KinesisVideo do ) end + @doc """ + An asynchronous API that deletes a stream’s existing edge configuration, as well + as the corresponding media from the Edge Agent. + + When you invoke this API, the sync status is set to `DELETING`. A deletion + process starts, in which active edge jobs are stopped and all media is deleted + from the edge device. The time to delete varies, depending on the total amount + of stored media. If the deletion process fails, the sync status changes to + `DELETE_FAILED`. You will need to re-try the deletion. + + When the deletion process has completed successfully, the edge configuration is + no longer accessible. + """ + def delete_edge_configuration(%Client{} = client, input, options \\ []) do + url_path = "/deleteEdgeConfiguration" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + nil + ) + end + @doc """ Deletes a specified signaling channel. @@ -140,10 +173,12 @@ defmodule AWS.KinesisVideo do @doc """ Describes a stream’s edge configuration that was set using the - `StartEdgeConfigurationUpdate` API. + `StartEdgeConfigurationUpdate` API and the latest status of the edge agent's + recorder and uploader jobs. - Use this API to get the status of the configuration if the configuration is in - sync with the Edge Agent. + Use this API to get the status of the configuration to determine if the + configuration is in sync with the Edge Agent. Use this API to evaluate the + health of the Edge Agent. """ def describe_edge_configuration(%Client{} = client, input, options \\ []) do url_path = "/describeEdgeConfiguration" @@ -191,10 +226,7 @@ defmodule AWS.KinesisVideo do @doc """ Returns the most current information about the stream. - Either streamName or streamARN should be provided in the input. - - Returns the most current information about the stream. The `streamName` or - `streamARN` should be provided in the input. + The `streamName` or `streamARN` should be provided in the input. """ def describe_mapped_resource_configuration(%Client{} = client, input, options \\ []) do url_path = "/describeMappedResourceConfiguration" @@ -384,6 +416,32 @@ defmodule AWS.KinesisVideo do ) end + @doc """ + Returns an array of edge configurations associated with the specified Edge + Agent. + + In the request, you must specify the Edge Agent `HubDeviceArn`. + """ + def list_edge_agent_configurations(%Client{} = client, input, options \\ []) do + url_path = "/listEdgeAgentConfigurations" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + nil + ) + end + @doc """ Returns an array of `ChannelInfo` objects. diff --git a/lib/aws/generated/private_networks.ex b/lib/aws/generated/private_networks.ex index 0e0b77ca..a9bbc391 100644 --- a/lib/aws/generated/private_networks.ex +++ b/lib/aws/generated/private_networks.ex @@ -496,13 +496,22 @@ defmodule AWS.PrivateNetworks do end @doc """ - Starts an update of the specified network resource. + Use this action to do the following tasks: + + * Update the duration and renewal status of the commitment period + for a radio unit. + + The update goes into effect immediately. + + * Request a replacement for a network resource. + + * Request that you return a network resource. After you submit a request to replace or return a network resource, the status - of the network resource is `CREATING_SHIPPING_LABEL`. The shipping label is - available when the status of the network resource is `PENDING_RETURN`. After the - network resource is successfully returned, its status is `DELETED`. For more - information, see [Return a radio unit](https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit). + of the network resource changes to `CREATING_SHIPPING_LABEL`. The shipping label + is available when the status of the network resource is `PENDING_RETURN`. After + the network resource is successfully returned, its status changes to `DELETED`. + For more information, see [Return a radio unit](https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit). """ def start_network_resource_update(%Client{} = client, input, options \\ []) do url_path = "/v1/network-resources/update" diff --git a/lib/aws/generated/sage_maker_feature_store_runtime.ex b/lib/aws/generated/sage_maker_feature_store_runtime.ex index 30a913f3..3ea4c7c0 100644 --- a/lib/aws/generated/sage_maker_feature_store_runtime.ex +++ b/lib/aws/generated/sage_maker_feature_store_runtime.ex @@ -65,9 +65,9 @@ defmodule AWS.SageMakerFeatureStoreRuntime do @doc """ Deletes a `Record` from a `FeatureGroup` in the `OnlineStore`. - Feature Store supports both `SOFT_DELETE` and `HARD_DELETE`. For `SOFT_DELETE` + Feature Store supports both `SoftDelete` and `HardDelete`. For `SoftDelete` (default), feature columns are set to `null` and the record is no longer - retrievable by `GetRecord` or `BatchGetRecord`. For` HARD_DELETE`, the complete + 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 @@ -77,11 +77,11 @@ defmodule AWS.SageMakerFeatureStoreRuntime do the `EventTime` of the existing record in the `OnlineStore` for that `RecordIdentifer`. If it is not, the deletion does not occur: - * For `SOFT_DELETE`, the existing (undeleted) record remains in the + * For `SoftDelete`, the existing (undeleted) record remains in the `OnlineStore`, though the delete record marker is still written to the `OfflineStore`. - * `HARD_DELETE` returns `EventTime`: `400 ValidationException` to + * `HardDelete` returns `EventTime`: `400 ValidationException` to indicate that the delete operation failed. No delete record marker is written to the `OfflineStore`. """ @@ -122,6 +122,7 @@ defmodule AWS.SageMakerFeatureStoreRuntime do def get_record( %Client{} = client, feature_group_name, + expiration_time_response \\ nil, feature_names \\ nil, record_identifier_value_as_string, options \\ [] @@ -144,6 +145,13 @@ defmodule AWS.SageMakerFeatureStoreRuntime do query_params end + query_params = + if !is_nil(expiration_time_response) do + [{"ExpirationTimeResponse", expiration_time_response} | query_params] + else + query_params + end + meta = metadata() Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, nil) diff --git a/lib/aws/generated/ssm.ex b/lib/aws/generated/ssm.ex index 8b82a32f..6881bedc 100644 --- a/lib/aws/generated/ssm.ex +++ b/lib/aws/generated/ssm.ex @@ -14,7 +14,7 @@ defmodule AWS.SSM do ## Related resources * For information about each of the capabilities that comprise - Systems Manager, see [Systems Manager capabilities](https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities) + Systems Manager, see [Systems Manager capabilities](https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html) in the *Amazon Web Services Systems Manager User Guide*. * For details about predefined runbooks for Automation, a capability @@ -225,7 +225,7 @@ defmodule AWS.SSM do Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new - OpsItem. For more information, see [Getting started with OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-getting-started.html) + OpsItem. For more information, see [Set up OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-setup.html) in the *Amazon Web Services Systems Manager User Guide*. Operations engineers and IT professionals use Amazon Web Services Systems @@ -601,18 +601,21 @@ defmodule AWS.SSM do end @doc """ - Describes one or more of your managed nodes, including information about the - operating system platform, the version of SSM Agent installed on the managed - node, node status, and so on. + Provides information about one or more of your managed nodes, including the + operating system platform, SSM Agent version, association status, and IP + address. - If you specify one or more managed node IDs, it returns information for those + This operation does not return information for nodes that are either Stopped or + Terminated. + + If you specify one or more node IDs, the operation returns information for those managed nodes. If you don't specify node IDs, it returns information for all your managed nodes. If you specify a node ID that isn't valid or a node that you don't own, you receive an error. - The `IamRole` field for this API operation is the Identity and Access Management - (IAM) role assigned to on-premises managed nodes. This call doesn't return the - IAM role for EC2 instances. + The `IamRole` field returned for this API operation is the Identity and Access + Management (IAM) role assigned to on-premises managed nodes. This operation does + not return the IAM role for EC2 instances. """ def describe_instance_information(%Client{} = client, input, options \\ []) do meta = metadata() @@ -755,7 +758,7 @@ defmodule AWS.SSM do Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list - of OpsItems. For more information, see [Getting started with OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-getting-started.html) + of OpsItems. For more information, see [Set up OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-setup.html) in the *Amazon Web Services Systems Manager User Guide*. Operations engineers and IT professionals use Amazon Web Services Systems @@ -1093,7 +1096,7 @@ defmodule AWS.SSM do Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view - information about an OpsItem. For more information, see [Getting started with OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-getting-started.html) + information about an OpsItem. For more information, see [Set up OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-setup.html) in the *Amazon Web Services Systems Manager User Guide*. Operations engineers and IT professionals use Amazon Web Services Systems @@ -1957,7 +1960,7 @@ defmodule AWS.SSM do Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an - OpsItem. For more information, see [Getting started with OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-getting-started.html) + OpsItem. For more information, see [Set up OpsCenter](https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-setup.html) in the *Amazon Web Services Systems Manager User Guide*. Operations engineers and IT professionals use Amazon Web Services Systems diff --git a/lib/aws/generated/verified_permissions.ex b/lib/aws/generated/verified_permissions.ex index bf9dc547..a5a115b3 100644 --- a/lib/aws/generated/verified_permissions.ex +++ b/lib/aws/generated/verified_permissions.ex @@ -22,7 +22,7 @@ defmodule AWS.VerifiedPermissions do For more information about configuring, administering, and using Amazon Verified Permissions in your applications, see the [Amazon Verified Permissions User Guide](https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/). - For more information about the Cedar policy language, see the [Cedar Policy Language Guide](docs.cedarpolicy.com). + For more information about the Cedar policy language, see the [Cedar Policy Language Guide](https://docs.cedarpolicy.com/). When you write Cedar policies that reference principals, resources and actions, you can define the unique identifiers used for each of those elements. We