#[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
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
sourceimpl ValidateResourcePolicyInput
impl ValidateResourcePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidateResourcePolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidateResourcePolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ValidateResourcePolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ValidateResourcePolicyInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for ValidateResourcePolicyInput
impl Clone for ValidateResourcePolicyInput
sourcefn clone(&self) -> ValidateResourcePolicyInput
fn clone(&self) -> ValidateResourcePolicyInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ValidateResourcePolicyInput
impl Debug for ValidateResourcePolicyInput
sourceimpl PartialEq<ValidateResourcePolicyInput> for ValidateResourcePolicyInput
impl PartialEq<ValidateResourcePolicyInput> for ValidateResourcePolicyInput
sourcefn eq(&self, other: &ValidateResourcePolicyInput) -> bool
fn eq(&self, other: &ValidateResourcePolicyInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ValidateResourcePolicyInput) -> bool
fn ne(&self, other: &ValidateResourcePolicyInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ValidateResourcePolicyInput
Auto Trait Implementations
impl RefUnwindSafe for ValidateResourcePolicyInput
impl Send for ValidateResourcePolicyInput
impl Sync for ValidateResourcePolicyInput
impl Unpin for ValidateResourcePolicyInput
impl UnwindSafe for ValidateResourcePolicyInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more