Struct rusoto_kms::RetireGrantRequest
source · [−]pub struct RetireGrantRequest {
pub grant_id: Option<String>,
pub grant_token: Option<String>,
pub key_id: Option<String>,
}
Fields
grant_id: Option<String>
Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
-
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
grant_token: Option<String>
Identifies the grant to be retired. You can use a grant token to identify a new grant even before it has achieved eventual consistency.
Only the CreateGrant operation returns a grant token. For details, see Grant token and Eventual consistency in the AWS Key Management Service Developer Guide.
key_id: Option<String>
The key ARN CMK associated with the grant. To find the key ARN, use the ListKeys operation.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
Trait Implementations
sourceimpl Clone for RetireGrantRequest
impl Clone for RetireGrantRequest
sourcefn clone(&self) -> RetireGrantRequest
fn clone(&self) -> RetireGrantRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RetireGrantRequest
impl Debug for RetireGrantRequest
sourceimpl Default for RetireGrantRequest
impl Default for RetireGrantRequest
sourcefn default() -> RetireGrantRequest
fn default() -> RetireGrantRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RetireGrantRequest> for RetireGrantRequest
impl PartialEq<RetireGrantRequest> for RetireGrantRequest
sourcefn eq(&self, other: &RetireGrantRequest) -> bool
fn eq(&self, other: &RetireGrantRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RetireGrantRequest) -> bool
fn ne(&self, other: &RetireGrantRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for RetireGrantRequest
impl Serialize for RetireGrantRequest
impl StructuralPartialEq for RetireGrantRequest
Auto Trait Implementations
impl RefUnwindSafe for RetireGrantRequest
impl Send for RetireGrantRequest
impl Sync for RetireGrantRequest
impl Unpin for RetireGrantRequest
impl UnwindSafe for RetireGrantRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more