import_dataset
async
¶
import_dataset(
source_dataset_arn: DatasetArn,
client_token: IdempotenceToken,
*,
config_overrides: Optional[AsyncLookoutEquipmentClientConfig] = None,
dataset_name: Optional[DatasetName] = None,
server_side_kms_key_id: Optional[NameOrArn] = None,
tags: Optional[TagList] = None,
) -> ImportDatasetResponse
Imports a dataset.
Parameters:
-
source_dataset_arn(DatasetArn) –The Amazon Resource Name (ARN) of the dataset to import.
-
dataset_name(Optional[DatasetName], default:None) –The name of the machine learning dataset to be created. If the dataset already exists, Amazon Lookout for Equipment overwrites the existing dataset. If you don't specify this field, it is filled with the name of the source dataset.
-
client_token(IdempotenceToken) –A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
-
server_side_kms_key_id(Optional[NameOrArn], default:None) –Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
-
tags(Optional[TagList], default:None) –Any tags associated with the dataset to be created.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have access to the resource.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–Processing of the request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource requested could not be found. Verify the resource ID and retry your request.
-
ServiceQuotaExceededException–Resource limitations have been exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services service that's being utilized.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lookoutequipment/_services/async_lookout_equipment.py
1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 | |