Struct aws_sdk_backup::input::UpdateFrameworkInput
source · #[non_exhaustive]pub struct UpdateFrameworkInput { /* private fields */ }
Implementations§
source§impl UpdateFrameworkInput
impl UpdateFrameworkInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateFramework, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateFramework, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateFramework
>
Examples found in repository?
src/client.rs (line 7242)
7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateFramework,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateFrameworkError>,
> {
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::UpdateFrameworkOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateFrameworkError>,
> {
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 UpdateFrameworkInput
.
source§impl UpdateFrameworkInput
impl UpdateFrameworkInput
sourcepub fn framework_name(&self) -> Option<&str>
pub fn framework_name(&self) -> Option<&str>
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
sourcepub fn framework_description(&self) -> Option<&str>
pub fn framework_description(&self) -> Option<&str>
An optional description of the framework with a maximum 1,024 characters.
sourcepub fn framework_controls(&self) -> Option<&[FrameworkControl]>
pub fn framework_controls(&self) -> Option<&[FrameworkControl]>
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Trait Implementations§
source§impl Clone for UpdateFrameworkInput
impl Clone for UpdateFrameworkInput
source§fn clone(&self) -> UpdateFrameworkInput
fn clone(&self) -> UpdateFrameworkInput
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