#[non_exhaustive]pub struct DescribeResourcePolicyOutput { /* private fields */ }Implementations
sourceimpl 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.
sourceimpl DescribeResourcePolicyOutput
impl DescribeResourcePolicyOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeResourcePolicyOutput.
Trait Implementations
sourceimpl Clone for DescribeResourcePolicyOutput
impl Clone for DescribeResourcePolicyOutput
sourcefn clone(&self) -> DescribeResourcePolicyOutput
fn clone(&self) -> DescribeResourcePolicyOutput
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 moresourceimpl Debug for DescribeResourcePolicyOutput
impl Debug for DescribeResourcePolicyOutput
sourceimpl PartialEq<DescribeResourcePolicyOutput> for DescribeResourcePolicyOutput
impl PartialEq<DescribeResourcePolicyOutput> for DescribeResourcePolicyOutput
sourcefn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
fn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
impl StructuralPartialEq for DescribeResourcePolicyOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeResourcePolicyOutput
impl Send for DescribeResourcePolicyOutput
impl Sync for DescribeResourcePolicyOutput
impl Unpin for DescribeResourcePolicyOutput
impl UnwindSafe for DescribeResourcePolicyOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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