Struct aws_sdk_kms::input::RetireGrantInput
source · [−]#[non_exhaustive]pub struct RetireGrantInput {
pub grant_token: Option<String>,
pub key_id: Option<String>,
pub grant_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.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 Key Management Service Developer Guide.
key_id: Option<String>The key ARN KMS key 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
grant_id: Option<String>Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
-
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
Implementations
sourceimpl RetireGrantInput
impl RetireGrantInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RetireGrant, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RetireGrant, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RetireGrant>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RetireGrantInput
sourceimpl RetireGrantInput
impl RetireGrantInput
sourcepub fn grant_token(&self) -> Option<&str>
pub fn grant_token(&self) -> Option<&str>
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 Key Management Service Developer Guide.
Trait Implementations
sourceimpl Clone for RetireGrantInput
impl Clone for RetireGrantInput
sourcefn clone(&self) -> RetireGrantInput
fn clone(&self) -> RetireGrantInput
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 RetireGrantInput
impl Debug for RetireGrantInput
sourceimpl PartialEq<RetireGrantInput> for RetireGrantInput
impl PartialEq<RetireGrantInput> for RetireGrantInput
sourcefn eq(&self, other: &RetireGrantInput) -> bool
fn eq(&self, other: &RetireGrantInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RetireGrantInput) -> bool
fn ne(&self, other: &RetireGrantInput) -> bool
This method tests for !=.
impl StructuralPartialEq for RetireGrantInput
Auto Trait Implementations
impl RefUnwindSafe for RetireGrantInput
impl Send for RetireGrantInput
impl Sync for RetireGrantInput
impl Unpin for RetireGrantInput
impl UnwindSafe for RetireGrantInput
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> 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