#[non_exhaustive]pub struct GetResourcePoliciesResponseEntry {
pub policy_id: Option<String>,
pub policy_hash: Option<String>,
pub policy: Option<String>,
}
Expand description
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
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.policy_id: Option<String>
A policy ID.
policy_hash: Option<String>
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
policy: Option<String>
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
Implementations§
source§impl GetResourcePoliciesResponseEntry
impl GetResourcePoliciesResponseEntry
sourcepub fn policy_hash(&self) -> Option<&str>
pub fn policy_hash(&self) -> Option<&str>
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
source§impl GetResourcePoliciesResponseEntry
impl GetResourcePoliciesResponseEntry
sourcepub fn builder() -> GetResourcePoliciesResponseEntryBuilder
pub fn builder() -> GetResourcePoliciesResponseEntryBuilder
Creates a new builder-style object to manufacture GetResourcePoliciesResponseEntry
.
Trait Implementations§
source§impl Clone for GetResourcePoliciesResponseEntry
impl Clone for GetResourcePoliciesResponseEntry
source§fn clone(&self) -> GetResourcePoliciesResponseEntry
fn clone(&self) -> GetResourcePoliciesResponseEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetResourcePoliciesResponseEntry
impl PartialEq for GetResourcePoliciesResponseEntry
source§fn eq(&self, other: &GetResourcePoliciesResponseEntry) -> bool
fn eq(&self, other: &GetResourcePoliciesResponseEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResourcePoliciesResponseEntry
Auto Trait Implementations§
impl Freeze for GetResourcePoliciesResponseEntry
impl RefUnwindSafe for GetResourcePoliciesResponseEntry
impl Send for GetResourcePoliciesResponseEntry
impl Sync for GetResourcePoliciesResponseEntry
impl Unpin for GetResourcePoliciesResponseEntry
impl UnwindSafe for GetResourcePoliciesResponseEntry
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more