put_launch_action
async
¶
put_launch_action(
resource_id: LaunchActionResourceId,
action_code: SsmDocumentName,
order: LaunchActionOrder,
action_id: LaunchActionId,
optional: bool,
active: bool,
name: LaunchActionName,
action_version: LaunchActionVersion,
category: LaunchActionCategory,
description: LaunchActionDescription,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
parameters: Optional[LaunchActionParameters] = None,
) -> PutLaunchActionResponse
Puts a resource launch action.
Parameters:
-
action_code(SsmDocumentName) –Launch action code.
-
optional(bool) –Whether the launch will not be marked as failed if this action fails.
-
active(bool) –Whether the launch action is active.
Raises:
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
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 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 | |