Struct aws_sdk_ssoadmin::operation::list_account_assignments_for_principal::ListAccountAssignmentsForPrincipalInput
source · #[non_exhaustive]pub struct ListAccountAssignmentsForPrincipalInput {
pub instance_arn: Option<String>,
pub principal_id: Option<String>,
pub principal_type: Option<PrincipalType>,
pub filter: Option<ListAccountAssignmentsFilter>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_arn: Option<String>
Specifies the ARN of the instance of IAM Identity Center that contains the principal.
principal_id: Option<String>
Specifies the principal for which you want to retrieve the list of account assignments.
principal_type: Option<PrincipalType>
Specifies the type of the principal.
filter: Option<ListAccountAssignmentsFilter>
Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
next_token: Option<String>
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
max_results: Option<i32>
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
Implementations§
source§impl ListAccountAssignmentsForPrincipalInput
impl ListAccountAssignmentsForPrincipalInput
sourcepub fn instance_arn(&self) -> Option<&str>
pub fn instance_arn(&self) -> Option<&str>
Specifies the ARN of the instance of IAM Identity Center that contains the principal.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
Specifies the principal for which you want to retrieve the list of account assignments.
sourcepub fn principal_type(&self) -> Option<&PrincipalType>
pub fn principal_type(&self) -> Option<&PrincipalType>
Specifies the type of the principal.
sourcepub fn filter(&self) -> Option<&ListAccountAssignmentsFilter>
pub fn filter(&self) -> Option<&ListAccountAssignmentsFilter>
Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
source§impl ListAccountAssignmentsForPrincipalInput
impl ListAccountAssignmentsForPrincipalInput
sourcepub fn builder() -> ListAccountAssignmentsForPrincipalInputBuilder
pub fn builder() -> ListAccountAssignmentsForPrincipalInputBuilder
Creates a new builder-style object to manufacture ListAccountAssignmentsForPrincipalInput
.
Trait Implementations§
source§impl Clone for ListAccountAssignmentsForPrincipalInput
impl Clone for ListAccountAssignmentsForPrincipalInput
source§fn clone(&self) -> ListAccountAssignmentsForPrincipalInput
fn clone(&self) -> ListAccountAssignmentsForPrincipalInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListAccountAssignmentsForPrincipalInput
impl PartialEq for ListAccountAssignmentsForPrincipalInput
source§fn eq(&self, other: &ListAccountAssignmentsForPrincipalInput) -> bool
fn eq(&self, other: &ListAccountAssignmentsForPrincipalInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAccountAssignmentsForPrincipalInput
Auto Trait Implementations§
impl Freeze for ListAccountAssignmentsForPrincipalInput
impl RefUnwindSafe for ListAccountAssignmentsForPrincipalInput
impl Send for ListAccountAssignmentsForPrincipalInput
impl Sync for ListAccountAssignmentsForPrincipalInput
impl Unpin for ListAccountAssignmentsForPrincipalInput
impl UnwindSafe for ListAccountAssignmentsForPrincipalInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more