Struct aws_sdk_cloudfront::input::UpdateKeyGroupInput
source · #[non_exhaustive]pub struct UpdateKeyGroupInput { /* private fields */ }
Implementations§
source§impl UpdateKeyGroupInput
impl UpdateKeyGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateKeyGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateKeyGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateKeyGroup
>
Examples found in repository?
src/client.rs (line 9200)
9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateKeyGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateKeyGroupError>,
> {
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::UpdateKeyGroupOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateKeyGroupError>,
> {
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 UpdateKeyGroupInput
.
source§impl UpdateKeyGroupInput
impl UpdateKeyGroupInput
sourcepub fn key_group_config(&self) -> Option<&KeyGroupConfig>
pub fn key_group_config(&self) -> Option<&KeyGroupConfig>
The key group configuration.
Trait Implementations§
source§impl Clone for UpdateKeyGroupInput
impl Clone for UpdateKeyGroupInput
source§fn clone(&self) -> UpdateKeyGroupInput
fn clone(&self) -> UpdateKeyGroupInput
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