#[non_exhaustive]pub struct DeleteResourcePolicyInput {
pub resource_arn: Option<String>,
pub expected_revision_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_arn: Option<String>The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
expected_revision_id: Option<String>The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
Implementations§
source§impl DeleteResourcePolicyInput
impl DeleteResourcePolicyInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
sourcepub fn expected_revision_id(&self) -> Option<&str>
pub fn expected_revision_id(&self) -> Option<&str>
The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
source§impl DeleteResourcePolicyInput
impl DeleteResourcePolicyInput
sourcepub fn builder() -> DeleteResourcePolicyInputBuilder
pub fn builder() -> DeleteResourcePolicyInputBuilder
Creates a new builder-style object to manufacture DeleteResourcePolicyInput.
Trait Implementations§
source§impl Clone for DeleteResourcePolicyInput
impl Clone for DeleteResourcePolicyInput
source§fn clone(&self) -> DeleteResourcePolicyInput
fn clone(&self) -> DeleteResourcePolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeleteResourcePolicyInput
impl Debug for DeleteResourcePolicyInput
source§impl PartialEq for DeleteResourcePolicyInput
impl PartialEq for DeleteResourcePolicyInput
source§fn eq(&self, other: &DeleteResourcePolicyInput) -> bool
fn eq(&self, other: &DeleteResourcePolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteResourcePolicyInput
Auto Trait Implementations§
impl Freeze for DeleteResourcePolicyInput
impl RefUnwindSafe for DeleteResourcePolicyInput
impl Send for DeleteResourcePolicyInput
impl Sync for DeleteResourcePolicyInput
impl Unpin for DeleteResourcePolicyInput
impl UnwindSafe for DeleteResourcePolicyInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.