#[non_exhaustive]pub struct GetResourcePolicyOutput { /* private fields */ }Implementations§
source§impl GetResourcePolicyOutput
impl GetResourcePolicyOutput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The ARN of the secret that the resource-based policy was retrieved for.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the secret that the resource-based policy was retrieved for.
sourcepub fn resource_policy(&self) -> Option<&str>
pub fn resource_policy(&self) -> Option<&str>
A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see Authentication and access control for Secrets Manager.
source§impl GetResourcePolicyOutput
impl GetResourcePolicyOutput
sourcepub fn builder() -> GetResourcePolicyOutputBuilder
pub fn builder() -> GetResourcePolicyOutputBuilder
Creates a new builder-style object to manufacture GetResourcePolicyOutput.
Trait Implementations§
source§impl Clone for GetResourcePolicyOutput
impl Clone for GetResourcePolicyOutput
source§fn clone(&self) -> GetResourcePolicyOutput
fn clone(&self) -> GetResourcePolicyOutput
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 GetResourcePolicyOutput
impl Debug for GetResourcePolicyOutput
source§impl PartialEq<GetResourcePolicyOutput> for GetResourcePolicyOutput
impl PartialEq<GetResourcePolicyOutput> for GetResourcePolicyOutput
source§fn eq(&self, other: &GetResourcePolicyOutput) -> bool
fn eq(&self, other: &GetResourcePolicyOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetResourcePolicyOutput
impl RequestId for GetResourcePolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.