Struct aws_sdk_lexmodelsv2::operation::describe_resource_policy::DescribeResourcePolicyOutput
source · #[non_exhaustive]pub struct DescribeResourcePolicyOutput {
pub resource_arn: Option<String>,
pub policy: 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 is attached to.
policy: Option<String>The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .
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 DescribeResourcePolicyOutput
impl DescribeResourcePolicyOutput
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 is attached to.
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .
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 DescribeResourcePolicyOutput
impl DescribeResourcePolicyOutput
sourcepub fn builder() -> DescribeResourcePolicyOutputBuilder
pub fn builder() -> DescribeResourcePolicyOutputBuilder
Creates a new builder-style object to manufacture DescribeResourcePolicyOutput.
Trait Implementations§
source§impl Clone for DescribeResourcePolicyOutput
impl Clone for DescribeResourcePolicyOutput
source§fn clone(&self) -> DescribeResourcePolicyOutput
fn clone(&self) -> DescribeResourcePolicyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeResourcePolicyOutput
impl Debug for DescribeResourcePolicyOutput
source§impl PartialEq for DescribeResourcePolicyOutput
impl PartialEq for DescribeResourcePolicyOutput
source§fn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
fn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
self and other values to be equal, and is used by ==.source§impl RequestId for DescribeResourcePolicyOutput
impl RequestId for DescribeResourcePolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeResourcePolicyOutput
Auto Trait Implementations§
impl Freeze for DescribeResourcePolicyOutput
impl RefUnwindSafe for DescribeResourcePolicyOutput
impl Send for DescribeResourcePolicyOutput
impl Sync for DescribeResourcePolicyOutput
impl Unpin for DescribeResourcePolicyOutput
impl UnwindSafe for DescribeResourcePolicyOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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