#[non_exhaustive]pub struct UpdateUserHierarchyStructureInput { /* private fields */ }
Implementations§
source§impl UpdateUserHierarchyStructureInput
impl UpdateUserHierarchyStructureInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUserHierarchyStructure, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUserHierarchyStructure, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateUserHierarchyStructure
>
Examples found in repository?
src/client.rs (line 19024)
19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateUserHierarchyStructure,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateUserHierarchyStructureError>,
> {
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::UpdateUserHierarchyStructureOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateUserHierarchyStructureError>,
> {
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 UpdateUserHierarchyStructureInput
.
source§impl UpdateUserHierarchyStructureInput
impl UpdateUserHierarchyStructureInput
sourcepub fn hierarchy_structure(&self) -> Option<&HierarchyStructureUpdate>
pub fn hierarchy_structure(&self) -> Option<&HierarchyStructureUpdate>
The hierarchy levels to update.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Trait Implementations§
source§impl Clone for UpdateUserHierarchyStructureInput
impl Clone for UpdateUserHierarchyStructureInput
source§fn clone(&self) -> UpdateUserHierarchyStructureInput
fn clone(&self) -> UpdateUserHierarchyStructureInput
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