#[non_exhaustive]pub struct GetOriginAccessControlConfigInput { /* private fields */ }
Implementations§
source§impl GetOriginAccessControlConfigInput
impl GetOriginAccessControlConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetOriginAccessControlConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetOriginAccessControlConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetOriginAccessControlConfig
>
Examples found in repository?
src/client.rs (line 5363)
5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetOriginAccessControlConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetOriginAccessControlConfigError>,
> {
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::GetOriginAccessControlConfigOutput,
aws_smithy_http::result::SdkError<crate::error::GetOriginAccessControlConfigError>,
> {
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 GetOriginAccessControlConfigInput
.
Trait Implementations§
source§impl Clone for GetOriginAccessControlConfigInput
impl Clone for GetOriginAccessControlConfigInput
source§fn clone(&self) -> GetOriginAccessControlConfigInput
fn clone(&self) -> GetOriginAccessControlConfigInput
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