#[non_exhaustive]pub struct UpdateDashboardPublishedVersionInput { /* private fields */ }Implementations§
source§impl UpdateDashboardPublishedVersionInput
impl UpdateDashboardPublishedVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDashboardPublishedVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDashboardPublishedVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDashboardPublishedVersion>
Examples found in repository?
src/client.rs (line 13774)
13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDashboardPublishedVersion,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDashboardPublishedVersionError>,
> {
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::UpdateDashboardPublishedVersionOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDashboardPublishedVersionError>,
> {
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 UpdateDashboardPublishedVersionInput.
source§impl UpdateDashboardPublishedVersionInput
impl UpdateDashboardPublishedVersionInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the dashboard that you're updating.
sourcepub fn dashboard_id(&self) -> Option<&str>
pub fn dashboard_id(&self) -> Option<&str>
The ID for the dashboard.
sourcepub fn version_number(&self) -> Option<i64>
pub fn version_number(&self) -> Option<i64>
The version number of the dashboard.
Trait Implementations§
source§impl Clone for UpdateDashboardPublishedVersionInput
impl Clone for UpdateDashboardPublishedVersionInput
source§fn clone(&self) -> UpdateDashboardPublishedVersionInput
fn clone(&self) -> UpdateDashboardPublishedVersionInput
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