update_dataset¶
Operation¶
update_dataset
async
¶
update_dataset(input: UpdateDatasetInput, plugins: list[Plugin] | None = None) -> UpdateDatasetOutput
Updates a dataset's metadata. Synchronous operation. Only provided
fields are updated; omitted fields remain unchanged. To modify dataset
content, use AddDatasetExamples, UpdateDatasetExamples, or
DeleteDatasetExamples.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateDatasetInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
UpdateDatasetOutput
|
An instance of |
Input¶
UpdateDatasetInput
dataclass
¶
Dataclass for UpdateDatasetInput structure.
Attributes¶
client_token
class-attribute
instance-attribute
¶
client_token: str | None = None
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
Output¶
UpdateDatasetOutput
dataclass
¶
Dataclass for UpdateDatasetOutput structure.
Attributes¶
dataset_arn
instance-attribute
¶
dataset_arn: str
The Amazon Resource Name (ARN) of the updated dataset.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.