pub struct GetResourcePolicyResponse {
pub arn: Option<String>,
pub name: Option<String>,
pub resource_policy: Option<String>,
}
Fields§
§arn: Option<String>
The ARN of the secret that the resource-based policy was retrieved for.
name: Option<String>
The friendly name of the secret that the resource-based policy was retrieved for.
resource_policy: Option<String>
A JSON-formatted string that describes the permissions that are associated with the attached secret. These permissions are combined with any permissions that are associated with the user or role that attempts to access this secret. The combined permissions specify who can access the secret and what actions they can perform. For more information, see Authentication and Access Control for AWS Secrets Manager in the AWS Secrets Manager User Guide.
Trait Implementations§
Source§impl Clone for GetResourcePolicyResponse
impl Clone for GetResourcePolicyResponse
Source§fn clone(&self) -> GetResourcePolicyResponse
fn clone(&self) -> GetResourcePolicyResponse
Returns a duplicate 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 GetResourcePolicyResponse
impl Debug for GetResourcePolicyResponse
Source§impl Default for GetResourcePolicyResponse
impl Default for GetResourcePolicyResponse
Source§fn default() -> GetResourcePolicyResponse
fn default() -> GetResourcePolicyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetResourcePolicyResponse
impl<'de> Deserialize<'de> for GetResourcePolicyResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GetResourcePolicyResponse
Auto Trait Implementations§
impl Freeze for GetResourcePolicyResponse
impl RefUnwindSafe for GetResourcePolicyResponse
impl Send for GetResourcePolicyResponse
impl Sync for GetResourcePolicyResponse
impl Unpin for GetResourcePolicyResponse
impl UnwindSafe for GetResourcePolicyResponse
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
Mutably borrows from an owned value. Read more