#[non_exhaustive]pub struct GetPolicyTemplateOutput {
pub policy_store_id: String,
pub policy_template_id: String,
pub description: Option<String>,
pub statement: String,
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 template.
policy_template_id: StringThe ID of the policy template.
description: Option<String>The description of the policy template.
statement: StringThe content of the body of the policy template written in the Cedar policy language.
created_date: DateTimeThe date and time that the policy template was originally created.
last_updated_date: DateTimeThe date and time that the policy template was most recently updated.
Implementations§
source§impl GetPolicyTemplateOutput
impl GetPolicyTemplateOutput
sourcepub fn policy_store_id(&self) -> &str
pub fn policy_store_id(&self) -> &str
The ID of the policy store that contains the policy template.
sourcepub fn policy_template_id(&self) -> &str
pub fn policy_template_id(&self) -> &str
The ID of the policy template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the policy template.
sourcepub fn statement(&self) -> &str
pub fn statement(&self) -> &str
The content of the body of the policy template written in the Cedar policy language.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date and time that the policy template was originally created.
sourcepub fn last_updated_date(&self) -> &DateTime
pub fn last_updated_date(&self) -> &DateTime
The date and time that the policy template was most recently updated.
source§impl GetPolicyTemplateOutput
impl GetPolicyTemplateOutput
sourcepub fn builder() -> GetPolicyTemplateOutputBuilder
pub fn builder() -> GetPolicyTemplateOutputBuilder
Creates a new builder-style object to manufacture GetPolicyTemplateOutput.
Trait Implementations§
source§impl Clone for GetPolicyTemplateOutput
impl Clone for GetPolicyTemplateOutput
source§fn clone(&self) -> GetPolicyTemplateOutput
fn clone(&self) -> GetPolicyTemplateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPolicyTemplateOutput
impl Debug for GetPolicyTemplateOutput
source§impl PartialEq for GetPolicyTemplateOutput
impl PartialEq for GetPolicyTemplateOutput
source§fn eq(&self, other: &GetPolicyTemplateOutput) -> bool
fn eq(&self, other: &GetPolicyTemplateOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetPolicyTemplateOutput
impl RequestId for GetPolicyTemplateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.