#[non_exhaustive]pub struct SourceRevisionOverride {
pub action_name: String,
pub revision_type: SourceRevisionType,
pub revision_value: String,
}
Expand description
A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
For the S3_OBJECT_VERSION_ID
and S3_OBJECT_KEY
types of source revisions, either of the types can be used independently, or they can be used together to override the source with a specific ObjectKey and VersionID.
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.action_name: String
The name of the action where the override will be applied.
revision_type: SourceRevisionType
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
revision_value: String
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
Implementations§
source§impl SourceRevisionOverride
impl SourceRevisionOverride
sourcepub fn action_name(&self) -> &str
pub fn action_name(&self) -> &str
The name of the action where the override will be applied.
sourcepub fn revision_type(&self) -> &SourceRevisionType
pub fn revision_type(&self) -> &SourceRevisionType
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
sourcepub fn revision_value(&self) -> &str
pub fn revision_value(&self) -> &str
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
source§impl SourceRevisionOverride
impl SourceRevisionOverride
sourcepub fn builder() -> SourceRevisionOverrideBuilder
pub fn builder() -> SourceRevisionOverrideBuilder
Creates a new builder-style object to manufacture SourceRevisionOverride
.
Trait Implementations§
source§impl Clone for SourceRevisionOverride
impl Clone for SourceRevisionOverride
source§fn clone(&self) -> SourceRevisionOverride
fn clone(&self) -> SourceRevisionOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceRevisionOverride
impl Debug for SourceRevisionOverride
source§impl PartialEq for SourceRevisionOverride
impl PartialEq for SourceRevisionOverride
impl StructuralPartialEq for SourceRevisionOverride
Auto Trait Implementations§
impl Freeze for SourceRevisionOverride
impl RefUnwindSafe for SourceRevisionOverride
impl Send for SourceRevisionOverride
impl Sync for SourceRevisionOverride
impl Unpin for SourceRevisionOverride
impl UnwindSafe for SourceRevisionOverride
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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