update_remote_source_action
async
¶
update_remote_source_action(
remote_source_action_id: RemoteSourceActionID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
name: Optional[RemoteSourceActionName] = None,
description: Optional[RemoteSourceActionDescription] = None,
ssm_parameter_name: Optional[SsmParameterStoreParameterName] = None,
timeout_seconds: Optional[RemoteSourceActionTimeoutSeconds] = None,
operating_system: Optional[RemoteSourceActionOperatingSystem] = None,
account_id: Optional[AccountID] = None,
) -> UpdateRemoteSourceActionResponse
Updates a source action.
Parameters:
-
remote_source_action_id(RemoteSourceActionID) –The unique identifier of the source action to update.
-
name(Optional[RemoteSourceActionName], default:None) –The updated name of the source action.
-
description(Optional[RemoteSourceActionDescription], default:None) –The updated description of the source action.
-
ssm_parameter_name(Optional[SsmParameterStoreParameterName], default:None) –AWS Systems Manager Parameter Store parameter name.
-
timeout_seconds(Optional[RemoteSourceActionTimeoutSeconds], default:None) –The updated maximum time, in seconds, that the script can run on each source server.
-
operating_system(Optional[RemoteSourceActionOperatingSystem], default:None) –The updated operating system of the source servers that the script runs on. Set to
linuxorwindowsto run the script only on source servers with that operating system, orallto run it on both. -
account_id(Optional[AccountID], default:None) –Account ID.
Raises:
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
ResourceNotFoundException–Resource not found exception.
-
UninitializedAccountException–Uninitialized account exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mgn/_services/async_mgn.py
5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 | |