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.