#[non_exhaustive]pub struct DescribeResourcePolicyOutput { /* private fields */ }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() -> Builder
pub fn builder() -> Builder
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
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 DescribeResourcePolicyOutput
impl Debug for DescribeResourcePolicyOutput
source§impl PartialEq<DescribeResourcePolicyOutput> for DescribeResourcePolicyOutput
impl PartialEq<DescribeResourcePolicyOutput> for DescribeResourcePolicyOutput
source§fn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
fn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.