update_launch_configuration_defaults
async
¶
update_launch_configuration_defaults(
source_server_id: SourceServerID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
account_id: Optional[AccountID] = None,
small_volume_max_size: Optional[PositiveInteger] = None,
small_volume_configuration: Optional[SourceServerVolumeConfiguration] = None,
large_volume_configuration: Optional[SourceServerVolumeConfiguration] = None,
) -> UpdateLaunchConfigurationDefaultsResponse
Updates the launch configuration defaults of a source server. They apply only to disk mappings created later in the source server's Amazon Elastic Compute Cloud (Amazon EC2) launch template, and members you omit keep their current values.
Parameters:
-
source_server_id(SourceServerID) –Request to update the launch configuration defaults by Source Server ID.
-
account_id(Optional[AccountID], default:None) –Request to update the launch configuration defaults by Account ID.
-
small_volume_max_size(Optional[PositiveInteger], default:None) –Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one.
0means every disk uses the large one. If you omit it, the current value is kept. -
small_volume_configuration(Optional[SourceServerVolumeConfiguration], default:None) –Volume configuration for disks up to
smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them. -
large_volume_configuration(Optional[SourceServerVolumeConfiguration], default:None) –Volume configuration for disks larger than
smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.
Raises:
-
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
7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 | |