#[non_exhaustive]pub struct ListIamPolicyAssignmentsInput { /* private fields */ }Implementations§
source§impl ListIamPolicyAssignmentsInput
impl ListIamPolicyAssignmentsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListIAMPolicyAssignments, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListIAMPolicyAssignments, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListIAMPolicyAssignments>
Examples found in repository?
src/client.rs (line 10569)
10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListIAMPolicyAssignments,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListIAMPolicyAssignmentsError>,
> {
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::ListIamPolicyAssignmentsOutput,
aws_smithy_http::result::SdkError<crate::error::ListIAMPolicyAssignmentsError>,
> {
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 ListIamPolicyAssignmentsInput.
source§impl ListIamPolicyAssignmentsInput
impl ListIamPolicyAssignmentsInput
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 these IAM policy assignments.
sourcepub fn assignment_status(&self) -> Option<&AssignmentStatus>
pub fn assignment_status(&self) -> Option<&AssignmentStatus>
The status of 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 ListIamPolicyAssignmentsInput
impl Clone for ListIamPolicyAssignmentsInput
source§fn clone(&self) -> ListIamPolicyAssignmentsInput
fn clone(&self) -> ListIamPolicyAssignmentsInput
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