Struct aws_sdk_secretsmanager::output::GetResourcePolicyOutput
source ·
[−]#[non_exhaustive]pub struct GetResourcePolicyOutput {
pub arn: Option<String>,
pub name: Option<String>,
pub resource_policy: Option<String>,
}
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.arn: Option<String>
The ARN of the secret that the resource-based policy was retrieved for.
name: Option<String>
The name of the secret that the resource-based policy was retrieved for.
resource_policy: Option<String>
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.
Implementations
The ARN of the secret that the resource-based policy was retrieved for.
The name of the secret that the resource-based policy was retrieved for.
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.
Creates a new builder-style object to manufacture GetResourcePolicyOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetResourcePolicyOutput
impl Send for GetResourcePolicyOutput
impl Sync for GetResourcePolicyOutput
impl Unpin for GetResourcePolicyOutput
impl UnwindSafe for GetResourcePolicyOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more