#[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
source§fn eq(&self, other: &ListPermissionsInput) -> bool
fn eq(&self, other: &ListPermissionsInput) -> bool
self and other values to be equal, and is used
by ==.