Struct aws_sdk_codepipeline::types::PipelineMetadata
source · #[non_exhaustive]pub struct PipelineMetadata {
pub pipeline_arn: Option<String>,
pub created: Option<DateTime>,
pub updated: Option<DateTime>,
pub polling_disabled_at: Option<DateTime>,
}
Expand description
Information about a pipeline.
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.pipeline_arn: Option<String>
The Amazon Resource Name (ARN) of the pipeline.
created: Option<DateTime>
The date and time the pipeline was created, in timestamp format.
updated: Option<DateTime>
The date and time the pipeline was last updated, in timestamp format.
polling_disabled_at: Option<DateTime>
The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see Migrate polling pipelines to use event-based change detection in the CodePipeline User Guide.
Implementations§
source§impl PipelineMetadata
impl PipelineMetadata
sourcepub fn pipeline_arn(&self) -> Option<&str>
pub fn pipeline_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the pipeline.
sourcepub fn created(&self) -> Option<&DateTime>
pub fn created(&self) -> Option<&DateTime>
The date and time the pipeline was created, in timestamp format.
sourcepub fn updated(&self) -> Option<&DateTime>
pub fn updated(&self) -> Option<&DateTime>
The date and time the pipeline was last updated, in timestamp format.
sourcepub fn polling_disabled_at(&self) -> Option<&DateTime>
pub fn polling_disabled_at(&self) -> Option<&DateTime>
The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see Migrate polling pipelines to use event-based change detection in the CodePipeline User Guide.
source§impl PipelineMetadata
impl PipelineMetadata
sourcepub fn builder() -> PipelineMetadataBuilder
pub fn builder() -> PipelineMetadataBuilder
Creates a new builder-style object to manufacture PipelineMetadata
.
Trait Implementations§
source§impl Clone for PipelineMetadata
impl Clone for PipelineMetadata
source§fn clone(&self) -> PipelineMetadata
fn clone(&self) -> PipelineMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineMetadata
impl Debug for PipelineMetadata
source§impl PartialEq for PipelineMetadata
impl PartialEq for PipelineMetadata
source§fn eq(&self, other: &PipelineMetadata) -> bool
fn eq(&self, other: &PipelineMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.