#[non_exhaustive]pub struct ListPermissionsInput {
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub user_type: Option<UserType>,
pub user_id: Option<String>,
pub group_id: Option<String>,
pub workspace_id: Option<String>,
}
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.max_results: Option<i32>
The maximum number of results to include in the response.
next_token: Option<String>
The token to use when requesting the next set of results. You received this token from a previous ListPermissions
operation.
user_type: Option<UserType>
(Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users are returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups are returned.
user_id: Option<String>
(Optional) Limits the results to only the user that matches this ID.
group_id: Option<String>
(Optional) Limits the results to only the group that matches this ID.
workspace_id: Option<String>
The ID of the workspace to list permissions for. This parameter is required.
Implementations§
source§impl ListPermissionsInput
impl ListPermissionsInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to include in the response.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to use when requesting the next set of results. You received this token from a previous ListPermissions
operation.
sourcepub fn user_type(&self) -> Option<&UserType>
pub fn user_type(&self) -> Option<&UserType>
(Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users are returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups are returned.
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
(Optional) Limits the results to only the user that matches this ID.
sourcepub fn group_id(&self) -> Option<&str>
pub fn group_id(&self) -> Option<&str>
(Optional) Limits the results to only the group that matches this ID.
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to list permissions for. This parameter is required.
source§impl ListPermissionsInput
impl ListPermissionsInput
sourcepub fn builder() -> ListPermissionsInputBuilder
pub fn builder() -> ListPermissionsInputBuilder
Creates a new builder-style object to manufacture ListPermissionsInput
.
Trait Implementations§
source§impl Clone for ListPermissionsInput
impl Clone for ListPermissionsInput
source§fn clone(&self) -> ListPermissionsInput
fn clone(&self) -> ListPermissionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPermissionsInput
impl Debug for ListPermissionsInput
source§impl PartialEq for ListPermissionsInput
impl PartialEq for ListPermissionsInput
impl StructuralPartialEq for ListPermissionsInput
Auto Trait Implementations§
impl Freeze for ListPermissionsInput
impl RefUnwindSafe for ListPermissionsInput
impl Send for ListPermissionsInput
impl Sync for ListPermissionsInput
impl Unpin for ListPermissionsInput
impl UnwindSafe for ListPermissionsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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