#[non_exhaustive]pub struct UpdateDatasetEntriesInput {
pub project_name: Option<String>,
pub dataset_type: Option<String>,
pub changes: Option<Blob>,
pub client_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_name: Option<String>The name of the project that contains the dataset that you want to update.
dataset_type: Option<String>The type of the dataset that you want to update. Specify train to update the training dataset. Specify test to update the test dataset. If you have a single dataset project, specify train.
changes: Option<Blob>The entries to add to the dataset.
client_token: Option<String>ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from UpdateDatasetEntries. In this case, safely retry your call to UpdateDatasetEntries by using the same ClientToken parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to UpdateDatasetEntries. An idempotency token is active for 8 hours.
Implementations§
source§impl UpdateDatasetEntriesInput
impl UpdateDatasetEntriesInput
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project that contains the dataset that you want to update.
sourcepub fn dataset_type(&self) -> Option<&str>
pub fn dataset_type(&self) -> Option<&str>
The type of the dataset that you want to update. Specify train to update the training dataset. Specify test to update the test dataset. If you have a single dataset project, specify train.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from UpdateDatasetEntries. In this case, safely retry your call to UpdateDatasetEntries by using the same ClientToken parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to UpdateDatasetEntries. An idempotency token is active for 8 hours.
source§impl UpdateDatasetEntriesInput
impl UpdateDatasetEntriesInput
sourcepub fn builder() -> UpdateDatasetEntriesInputBuilder
pub fn builder() -> UpdateDatasetEntriesInputBuilder
Creates a new builder-style object to manufacture UpdateDatasetEntriesInput.
Trait Implementations§
source§impl Clone for UpdateDatasetEntriesInput
impl Clone for UpdateDatasetEntriesInput
source§fn clone(&self) -> UpdateDatasetEntriesInput
fn clone(&self) -> UpdateDatasetEntriesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateDatasetEntriesInput
impl Debug for UpdateDatasetEntriesInput
source§impl PartialEq for UpdateDatasetEntriesInput
impl PartialEq for UpdateDatasetEntriesInput
source§fn eq(&self, other: &UpdateDatasetEntriesInput) -> bool
fn eq(&self, other: &UpdateDatasetEntriesInput) -> bool
self and other values to be equal, and is used
by ==.