#[non_exhaustive]pub struct StartOrganizationServiceAccessUpdateInput { /* private fields */ }Implementations§
source§impl StartOrganizationServiceAccessUpdateInput
impl StartOrganizationServiceAccessUpdateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartOrganizationServiceAccessUpdate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartOrganizationServiceAccessUpdate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartOrganizationServiceAccessUpdate>
Examples found in repository?
src/client.rs (line 9342)
9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StartOrganizationServiceAccessUpdate,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::StartOrganizationServiceAccessUpdateError,
>,
> {
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::StartOrganizationServiceAccessUpdateOutput,
aws_smithy_http::result::SdkError<
crate::error::StartOrganizationServiceAccessUpdateError,
>,
> {
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 StartOrganizationServiceAccessUpdateInput.
Trait Implementations§
source§impl Clone for StartOrganizationServiceAccessUpdateInput
impl Clone for StartOrganizationServiceAccessUpdateInput
source§fn clone(&self) -> StartOrganizationServiceAccessUpdateInput
fn clone(&self) -> StartOrganizationServiceAccessUpdateInput
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