Struct aws_sdk_personalize::input::UpdateCampaignInput
source · #[non_exhaustive]pub struct UpdateCampaignInput { /* private fields */ }Implementations§
source§impl UpdateCampaignInput
impl UpdateCampaignInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCampaign, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCampaign, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateCampaign>
Examples found in repository?
src/client.rs (line 6526)
6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateCampaign,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateCampaignError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateCampaignOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateCampaignError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateCampaignInput.
source§impl UpdateCampaignInput
impl UpdateCampaignInput
sourcepub fn campaign_arn(&self) -> Option<&str>
pub fn campaign_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the campaign.
sourcepub fn solution_version_arn(&self) -> Option<&str>
pub fn solution_version_arn(&self) -> Option<&str>
The ARN of a new solution version to deploy.
sourcepub fn min_provisioned_tps(&self) -> Option<i32>
pub fn min_provisioned_tps(&self) -> Option<i32>
Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
sourcepub fn campaign_config(&self) -> Option<&CampaignConfig>
pub fn campaign_config(&self) -> Option<&CampaignConfig>
The configuration details of a campaign.
Trait Implementations§
source§impl Clone for UpdateCampaignInput
impl Clone for UpdateCampaignInput
source§fn clone(&self) -> UpdateCampaignInput
fn clone(&self) -> UpdateCampaignInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more