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