#[non_exhaustive]pub struct UpdateUserHierarchyGroupNameInput { /* private fields */ }
Implementations§
source§impl UpdateUserHierarchyGroupNameInput
impl UpdateUserHierarchyGroupNameInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUserHierarchyGroupName, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUserHierarchyGroupName, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateUserHierarchyGroupName
>
Examples found in repository?
src/client.rs (line 18928)
18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateUserHierarchyGroupName,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateUserHierarchyGroupNameError>,
> {
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::UpdateUserHierarchyGroupNameOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateUserHierarchyGroupNameError>,
> {
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 UpdateUserHierarchyGroupNameInput
.
source§impl UpdateUserHierarchyGroupNameInput
impl UpdateUserHierarchyGroupNameInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the hierarchy group. Must not be more than 100 characters.
sourcepub fn hierarchy_group_id(&self) -> Option<&str>
pub fn hierarchy_group_id(&self) -> Option<&str>
The identifier of the hierarchy group.
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 UpdateUserHierarchyGroupNameInput
impl Clone for UpdateUserHierarchyGroupNameInput
source§fn clone(&self) -> UpdateUserHierarchyGroupNameInput
fn clone(&self) -> UpdateUserHierarchyGroupNameInput
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