#[non_exhaustive]pub struct ListRetirableGrantsInput {
pub limit: Option<i32>,
pub marker: Option<String>,
pub retiring_principal: 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.limit: Option<i32>
Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
marker: Option<String>
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker
from the truncated response you just received.
retiring_principal: Option<String>
The retiring principal for which to list grants. Enter a principal in your Amazon Web Services account.
To specify the retiring principal, use the Amazon Resource Name (ARN) of an Amazon Web Services principal. Valid principals include Amazon Web Services accounts, IAM users, IAM roles, federated users, and assumed role users. For help with the ARN syntax for a principal, see IAM ARNs in the Identity and Access Management User Guide .
Implementations§
Source§impl ListRetirableGrantsInput
impl ListRetirableGrantsInput
Sourcepub fn limit(&self) -> Option<i32>
pub fn limit(&self) -> Option<i32>
Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
Sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker
from the truncated response you just received.
Sourcepub fn retiring_principal(&self) -> Option<&str>
pub fn retiring_principal(&self) -> Option<&str>
The retiring principal for which to list grants. Enter a principal in your Amazon Web Services account.
To specify the retiring principal, use the Amazon Resource Name (ARN) of an Amazon Web Services principal. Valid principals include Amazon Web Services accounts, IAM users, IAM roles, federated users, and assumed role users. For help with the ARN syntax for a principal, see IAM ARNs in the Identity and Access Management User Guide .
Source§impl ListRetirableGrantsInput
impl ListRetirableGrantsInput
Sourcepub fn builder() -> ListRetirableGrantsInputBuilder
pub fn builder() -> ListRetirableGrantsInputBuilder
Creates a new builder-style object to manufacture ListRetirableGrantsInput
.
Trait Implementations§
Source§impl Clone for ListRetirableGrantsInput
impl Clone for ListRetirableGrantsInput
Source§fn clone(&self) -> ListRetirableGrantsInput
fn clone(&self) -> ListRetirableGrantsInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListRetirableGrantsInput
impl Debug for ListRetirableGrantsInput
Source§impl PartialEq for ListRetirableGrantsInput
impl PartialEq for ListRetirableGrantsInput
impl StructuralPartialEq for ListRetirableGrantsInput
Auto Trait Implementations§
impl Freeze for ListRetirableGrantsInput
impl RefUnwindSafe for ListRetirableGrantsInput
impl Send for ListRetirableGrantsInput
impl Sync for ListRetirableGrantsInput
impl Unpin for ListRetirableGrantsInput
impl UnwindSafe for ListRetirableGrantsInput
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§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