Struct aws_sdk_pcaconnectorad::types::TemplateSummary
source · #[non_exhaustive]pub struct TemplateSummary {
pub arn: Option<String>,
pub connector_arn: Option<String>,
pub definition: Option<TemplateDefinition>,
pub name: Option<String>,
pub object_identifier: Option<String>,
pub policy_schema: Option<i32>,
pub status: Option<TemplateStatus>,
pub revision: Option<TemplateRevision>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}
Expand description
An Active Directory compatible certificate template. Connectors issue certificates against these templates based on the requestor's Active Directory group membership.
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.arn: Option<String>
The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.
connector_arn: Option<String>
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
definition: Option<TemplateDefinition>
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
name: Option<String>
Name of the template. The template name must be unique.
object_identifier: Option<String>
Object identifier of a template.
policy_schema: Option<i32>
The template schema version. Template schema versions can be v2, v3, or v4. The template configuration options change based on the template schema version.
status: Option<TemplateStatus>
Status of the template. Status can be creating, active, deleting, or failed.
revision: Option<TemplateRevision>
The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.
created_at: Option<DateTime>
The date and time that the template was created.
updated_at: Option<DateTime>
The date and time that the template was updated.
Implementations§
source§impl TemplateSummary
impl TemplateSummary
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.
sourcepub fn connector_arn(&self) -> Option<&str>
pub fn connector_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
sourcepub fn definition(&self) -> Option<&TemplateDefinition>
pub fn definition(&self) -> Option<&TemplateDefinition>
Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
sourcepub fn object_identifier(&self) -> Option<&str>
pub fn object_identifier(&self) -> Option<&str>
Object identifier of a template.
sourcepub fn policy_schema(&self) -> Option<i32>
pub fn policy_schema(&self) -> Option<i32>
The template schema version. Template schema versions can be v2, v3, or v4. The template configuration options change based on the template schema version.
sourcepub fn status(&self) -> Option<&TemplateStatus>
pub fn status(&self) -> Option<&TemplateStatus>
Status of the template. Status can be creating, active, deleting, or failed.
sourcepub fn revision(&self) -> Option<&TemplateRevision>
pub fn revision(&self) -> Option<&TemplateRevision>
The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the template was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time that the template was updated.
source§impl TemplateSummary
impl TemplateSummary
sourcepub fn builder() -> TemplateSummaryBuilder
pub fn builder() -> TemplateSummaryBuilder
Creates a new builder-style object to manufacture TemplateSummary
.
Trait Implementations§
source§impl Clone for TemplateSummary
impl Clone for TemplateSummary
source§fn clone(&self) -> TemplateSummary
fn clone(&self) -> TemplateSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TemplateSummary
impl Debug for TemplateSummary
source§impl PartialEq for TemplateSummary
impl PartialEq for TemplateSummary
source§fn eq(&self, other: &TemplateSummary) -> bool
fn eq(&self, other: &TemplateSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TemplateSummary
Auto Trait Implementations§
impl Freeze for TemplateSummary
impl RefUnwindSafe for TemplateSummary
impl Send for TemplateSummary
impl Sync for TemplateSummary
impl Unpin for TemplateSummary
impl UnwindSafe for TemplateSummary
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