delete_data_repository_association
¶
delete_data_repository_association(
*,
config_overrides: Optional[FSxClientConfig] = None,
association_id: Optional[DataRepositoryAssociationId] = None,
client_request_token: Optional[ClientRequestToken] = None,
delete_data_in_file_system: Optional[DeleteDataInFileSystem] = None,
) -> DeleteDataRepositoryAssociationResponse
Deletes a data repository association on an Amazon FSx for Lustre file system. Deleting the data repository association unlinks the file system from the Amazon S3 bucket. When deleting a data repository association, you have the option of deleting the data in the file system that corresponds to the data repository association. Data repository associations are supported on all FSx for Lustre 2.12 and 2.15 file systems, excluding scratch_1 deployment type.
Parameters:
-
association_id(Optional[DataRepositoryAssociationId], default:None) –The ID of the data repository association that you want to delete.
-
delete_data_in_file_system(Optional[DeleteDataInFileSystem], default:None) –Set to
trueto delete the data in the file system that corresponds to the data repository association.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
DataRepositoryAssociationNotFound–No data repository associations were found based upon the supplied parameters.
-
IncompatibleParameterError–The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
-
InternalServerError–A generic error indicating a server-side failure.
-
ServiceLimitExceeded–An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/f_sx.py
1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 | |