Struct aws_sdk_secretsmanager::operation::validate_resource_policy::ValidateResourcePolicyInput
source · #[non_exhaustive]pub struct ValidateResourcePolicyInput {
pub secret_id: Option<String>,
pub resource_policy: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.secret_id: Option<String>
This field is reserved for internal use.
resource_policy: Option<String>
A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.
Implementations§
source§impl ValidateResourcePolicyInput
impl ValidateResourcePolicyInput
sourcepub fn resource_policy(&self) -> Option<&str>
pub fn resource_policy(&self) -> Option<&str>
A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.
source§impl ValidateResourcePolicyInput
impl ValidateResourcePolicyInput
sourcepub fn builder() -> ValidateResourcePolicyInputBuilder
pub fn builder() -> ValidateResourcePolicyInputBuilder
Creates a new builder-style object to manufacture ValidateResourcePolicyInput
.
Trait Implementations§
source§impl Clone for ValidateResourcePolicyInput
impl Clone for ValidateResourcePolicyInput
source§fn clone(&self) -> ValidateResourcePolicyInput
fn clone(&self) -> ValidateResourcePolicyInput
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 ValidateResourcePolicyInput
impl Debug for ValidateResourcePolicyInput
impl StructuralPartialEq for ValidateResourcePolicyInput
Auto Trait Implementations§
impl Freeze for ValidateResourcePolicyInput
impl RefUnwindSafe for ValidateResourcePolicyInput
impl Send for ValidateResourcePolicyInput
impl Sync for ValidateResourcePolicyInput
impl Unpin for ValidateResourcePolicyInput
impl UnwindSafe for ValidateResourcePolicyInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.