#[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.