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 ==
.impl StructuralPartialEq for PipelineMetadata
Auto Trait Implementations§
impl Freeze for PipelineMetadata
impl RefUnwindSafe for PipelineMetadata
impl Send for PipelineMetadata
impl Sync for PipelineMetadata
impl Unpin for PipelineMetadata
impl UnwindSafe for PipelineMetadata
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