Struct aws_sdk_quicksight::input::ListUserGroupsInput
source · #[non_exhaustive]pub struct ListUserGroupsInput { /* private fields */ }Implementations§
source§impl ListUserGroupsInput
impl ListUserGroupsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListUserGroups, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListUserGroups, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListUserGroups>
Examples found in repository?
src/client.rs (line 11757)
11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListUserGroups,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListUserGroupsError>,
> {
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::ListUserGroupsOutput,
aws_smithy_http::result::SdkError<crate::error::ListUserGroupsError>,
> {
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 ListUserGroupsInput.
source§impl ListUserGroupsInput
impl ListUserGroupsInput
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The Amazon QuickSight user name that you want to list group memberships for.
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace. Currently, you should set this to default.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A pagination token that can be used in a subsequent request.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return from this request.
Trait Implementations§
source§impl Clone for ListUserGroupsInput
impl Clone for ListUserGroupsInput
source§fn clone(&self) -> ListUserGroupsInput
fn clone(&self) -> ListUserGroupsInput
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