#[non_exhaustive]pub struct ListIamPolicyAssignmentsForUserInput { /* private fields */ }Implementations§
source§impl ListIamPolicyAssignmentsForUserInput
impl ListIamPolicyAssignmentsForUserInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListIAMPolicyAssignmentsForUser, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListIAMPolicyAssignmentsForUser, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListIAMPolicyAssignmentsForUser>
Examples found in repository?
src/client.rs (line 10688)
10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListIAMPolicyAssignmentsForUser,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListIAMPolicyAssignmentsForUserError>,
> {
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::ListIamPolicyAssignmentsForUserOutput,
aws_smithy_http::result::SdkError<crate::error::ListIAMPolicyAssignmentsForUserError>,
> {
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 ListIamPolicyAssignmentsForUserInput.
source§impl ListIamPolicyAssignmentsForUserInput
impl ListIamPolicyAssignmentsForUserInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the assignments.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results, or null if there are no more results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to be returned per request.
Trait Implementations§
source§impl Clone for ListIamPolicyAssignmentsForUserInput
impl Clone for ListIamPolicyAssignmentsForUserInput
source§fn clone(&self) -> ListIamPolicyAssignmentsForUserInput
fn clone(&self) -> ListIamPolicyAssignmentsForUserInput
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