pub struct UpdateEndpointInput {
pub endpoint_config_name: String,
pub endpoint_name: String,
pub exclude_retained_variant_properties: Option<Vec<VariantProperty>>,
pub retain_all_variant_properties: Option<bool>,
}
Fields§
§endpoint_config_name: String
The name of the new endpoint configuration.
endpoint_name: String
The name of the endpoint whose configuration you want to update.
exclude_retained_variant_properties: Option<Vec<VariantProperty>>
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value is set to true
, ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided by EndpointConfig
. If you don't specify a value for ExcludeAllVariantProperties
, no variant properties are overridden.
retain_all_variant_properties: Option<bool>
When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties
to true
. To use the variant properties specified in a new EndpointConfig
call when updating an endpoint, set RetainAllVariantProperties
to false
.
Trait Implementations§
Source§impl Clone for UpdateEndpointInput
impl Clone for UpdateEndpointInput
Source§fn clone(&self) -> UpdateEndpointInput
fn clone(&self) -> UpdateEndpointInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more