Struct aws_sdk_lexmodelsv2::operation::delete_resource_policy_statement::DeleteResourcePolicyStatementOutput
source · #[non_exhaustive]pub struct DeleteResourcePolicyStatementOutput {
pub resource_arn: Option<String>,
pub revision_id: Option<String>,
/* private fields */
}
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.resource_arn: Option<String>
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy statement was removed from.
revision_id: Option<String>
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
Implementations§
source§impl DeleteResourcePolicyStatementOutput
impl DeleteResourcePolicyStatementOutput
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 the resource policy statement was removed from.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
source§impl DeleteResourcePolicyStatementOutput
impl DeleteResourcePolicyStatementOutput
sourcepub fn builder() -> DeleteResourcePolicyStatementOutputBuilder
pub fn builder() -> DeleteResourcePolicyStatementOutputBuilder
Creates a new builder-style object to manufacture DeleteResourcePolicyStatementOutput
.
Trait Implementations§
source§impl Clone for DeleteResourcePolicyStatementOutput
impl Clone for DeleteResourcePolicyStatementOutput
source§fn clone(&self) -> DeleteResourcePolicyStatementOutput
fn clone(&self) -> DeleteResourcePolicyStatementOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DeleteResourcePolicyStatementOutput
impl PartialEq for DeleteResourcePolicyStatementOutput
source§fn eq(&self, other: &DeleteResourcePolicyStatementOutput) -> bool
fn eq(&self, other: &DeleteResourcePolicyStatementOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DeleteResourcePolicyStatementOutput
impl RequestId for DeleteResourcePolicyStatementOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DeleteResourcePolicyStatementOutput
Auto Trait Implementations§
impl Freeze for DeleteResourcePolicyStatementOutput
impl RefUnwindSafe for DeleteResourcePolicyStatementOutput
impl Send for DeleteResourcePolicyStatementOutput
impl Sync for DeleteResourcePolicyStatementOutput
impl Unpin for DeleteResourcePolicyStatementOutput
impl UnwindSafe for DeleteResourcePolicyStatementOutput
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> 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