#[non_exhaustive]pub struct ListPermissionsInput {
pub resource_type: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub permission_type: Option<PermissionTypeFilter>,
}
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.resource_type: Option<String>
Specifies that you want to list only those permissions that apply to the specified resource type. This parameter is not case sensitive.
For example, to list only permissions that apply to Amazon EC2 subnets, specify ec2:subnet
. You can use the ListResourceTypes
operation to get the specific string required.
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 on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. 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 part of the 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.
permission_type: Option<PermissionTypeFilter>
Specifies that you want to list only permissions of this type:
-
AWS
– returns only Amazon Web Services managed permissions. -
LOCAL
– returns only customer managed permissions -
ALL
– returns both Amazon Web Services managed permissions and customer managed permissions.
If you don't specify this parameter, the default is All
.
Implementations§
source§impl ListPermissionsInput
impl ListPermissionsInput
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
Specifies that you want to list only those permissions that apply to the specified resource type. This parameter is not case sensitive.
For example, to list only permissions that apply to Amazon EC2 subnets, specify ec2:subnet
. You can use the ListResourceTypes
operation to get the specific string required.
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 on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. 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 part of the 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.
sourcepub fn permission_type(&self) -> Option<&PermissionTypeFilter>
pub fn permission_type(&self) -> Option<&PermissionTypeFilter>
Specifies that you want to list only permissions of this type:
-
AWS
– returns only Amazon Web Services managed permissions. -
LOCAL
– returns only customer managed permissions -
ALL
– returns both Amazon Web Services managed permissions and customer managed permissions.
If you don't specify this parameter, the default is All
.
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 ==
.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> 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