Struct aws_sdk_evidently::client::fluent_builders::UpdateLaunch
source · [−]pub struct UpdateLaunch { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateLaunch
.
Updates a launch of a given feature.
Don't use this operation to update the tags of an existing launch. Instead, use TagResource.
Implementations
sourceimpl UpdateLaunch
impl UpdateLaunch
sourcepub async fn send(
self
) -> Result<UpdateLaunchOutput, SdkError<UpdateLaunchError>>
pub async fn send(
self
) -> Result<UpdateLaunchOutput, SdkError<UpdateLaunchError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn project(self, input: impl Into<String>) -> Self
pub fn project(self, input: impl Into<String>) -> Self
The name or ARN of the project that contains the launch that you want to update.
sourcepub fn set_project(self, input: Option<String>) -> Self
pub fn set_project(self, input: Option<String>) -> Self
The name or ARN of the project that contains the launch that you want to update.
sourcepub fn launch(self, input: impl Into<String>) -> Self
pub fn launch(self, input: impl Into<String>) -> Self
The name of the launch that is to be updated.
sourcepub fn set_launch(self, input: Option<String>) -> Self
pub fn set_launch(self, input: Option<String>) -> Self
The name of the launch that is to be updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description for the launch.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description for the launch.
sourcepub fn groups(self, input: LaunchGroupConfig) -> Self
pub fn groups(self, input: LaunchGroupConfig) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
An array of structures that contains the feature and variations that are to be used for the launch.
sourcepub fn set_groups(self, input: Option<Vec<LaunchGroupConfig>>) -> Self
pub fn set_groups(self, input: Option<Vec<LaunchGroupConfig>>) -> Self
An array of structures that contains the feature and variations that are to be used for the launch.
sourcepub fn metric_monitors(self, input: MetricMonitorConfig) -> Self
pub fn metric_monitors(self, input: MetricMonitorConfig) -> Self
Appends an item to metricMonitors
.
To override the contents of this collection use set_metric_monitors
.
An array of structures that define the metrics that will be used to monitor the launch performance.
sourcepub fn set_metric_monitors(
self,
input: Option<Vec<MetricMonitorConfig>>
) -> Self
pub fn set_metric_monitors(
self,
input: Option<Vec<MetricMonitorConfig>>
) -> Self
An array of structures that define the metrics that will be used to monitor the launch performance.
sourcepub fn randomization_salt(self, input: impl Into<String>) -> Self
pub fn randomization_salt(self, input: impl Into<String>) -> Self
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the launch name as the randomizationSalt
.
sourcepub fn set_randomization_salt(self, input: Option<String>) -> Self
pub fn set_randomization_salt(self, input: Option<String>) -> Self
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the launch name as the randomizationSalt
.
sourcepub fn scheduled_splits_config(self, input: ScheduledSplitsLaunchConfig) -> Self
pub fn scheduled_splits_config(self, input: ScheduledSplitsLaunchConfig) -> Self
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
sourcepub fn set_scheduled_splits_config(
self,
input: Option<ScheduledSplitsLaunchConfig>
) -> Self
pub fn set_scheduled_splits_config(
self,
input: Option<ScheduledSplitsLaunchConfig>
) -> Self
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
Trait Implementations
sourceimpl Clone for UpdateLaunch
impl Clone for UpdateLaunch
sourcefn clone(&self) -> UpdateLaunch
fn clone(&self) -> UpdateLaunch
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateLaunch
impl Send for UpdateLaunch
impl Sync for UpdateLaunch
impl Unpin for UpdateLaunch
impl !UnwindSafe for UpdateLaunch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more