delete_data_repository_association
async
¶
delete_data_repository_association(
*,
config_overrides: Optional[AsyncFSxClientConfig] = 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/async_f_sx.py
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 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 | |