#[non_exhaustive]pub struct UpdatePolicyOutput {
pub policy_store_id: String,
pub policy_id: String,
pub policy_type: PolicyType,
pub principal: Option<EntityIdentifier>,
pub resource: Option<EntityIdentifier>,
pub created_date: DateTime,
pub last_updated_date: DateTime,
/* private fields */
}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_store_id: StringThe ID of the policy store that contains the policy that was updated.
policy_id: StringThe ID of the policy that was updated.
policy_type: PolicyTypeThe type of the policy that was updated.
principal: Option<EntityIdentifier>The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
resource: Option<EntityIdentifier>The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
created_date: DateTimeThe date and time that the policy was originally created.
last_updated_date: DateTimeThe date and time that the policy was most recently updated.
Implementations§
source§impl UpdatePolicyOutput
impl UpdatePolicyOutput
sourcepub fn policy_store_id(&self) -> &str
pub fn policy_store_id(&self) -> &str
The ID of the policy store that contains the policy that was updated.
sourcepub fn policy_type(&self) -> &PolicyType
pub fn policy_type(&self) -> &PolicyType
The type of the policy that was updated.
sourcepub fn principal(&self) -> Option<&EntityIdentifier>
pub fn principal(&self) -> Option<&EntityIdentifier>
The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
sourcepub fn resource(&self) -> Option<&EntityIdentifier>
pub fn resource(&self) -> Option<&EntityIdentifier>
The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date and time that the policy was originally created.
sourcepub fn last_updated_date(&self) -> &DateTime
pub fn last_updated_date(&self) -> &DateTime
The date and time that the policy was most recently updated.
source§impl UpdatePolicyOutput
impl UpdatePolicyOutput
sourcepub fn builder() -> UpdatePolicyOutputBuilder
pub fn builder() -> UpdatePolicyOutputBuilder
Creates a new builder-style object to manufacture UpdatePolicyOutput.
Trait Implementations§
source§impl Clone for UpdatePolicyOutput
impl Clone for UpdatePolicyOutput
source§fn clone(&self) -> UpdatePolicyOutput
fn clone(&self) -> UpdatePolicyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdatePolicyOutput
impl Debug for UpdatePolicyOutput
source§impl PartialEq for UpdatePolicyOutput
impl PartialEq for UpdatePolicyOutput
source§fn eq(&self, other: &UpdatePolicyOutput) -> bool
fn eq(&self, other: &UpdatePolicyOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for UpdatePolicyOutput
impl RequestId for UpdatePolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for UpdatePolicyOutput
Auto Trait Implementations§
impl Freeze for UpdatePolicyOutput
impl RefUnwindSafe for UpdatePolicyOutput
impl Send for UpdatePolicyOutput
impl Sync for UpdatePolicyOutput
impl Unpin for UpdatePolicyOutput
impl UnwindSafe for UpdatePolicyOutput
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