Struct aws_sdk_codecommit::model::RepositoryTrigger
source · [−]#[non_exhaustive]pub struct RepositoryTrigger { /* private fields */ }Expand description
Information about a trigger for a repository.
Implementations
sourceimpl RepositoryTrigger
impl RepositoryTrigger
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
sourcepub fn custom_data(&self) -> Option<&str>
pub fn custom_data(&self) -> Option<&str>
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
sourcepub fn branches(&self) -> Option<&[String]>
pub fn branches(&self) -> Option<&[String]>
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
Although no content is required in the array, you must include the array itself.
sourcepub fn events(&self) -> Option<&[RepositoryTriggerEventEnum]>
pub fn events(&self) -> Option<&[RepositoryTriggerEventEnum]>
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.
sourceimpl RepositoryTrigger
impl RepositoryTrigger
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RepositoryTrigger.
Trait Implementations
sourceimpl Clone for RepositoryTrigger
impl Clone for RepositoryTrigger
sourcefn clone(&self) -> RepositoryTrigger
fn clone(&self) -> RepositoryTrigger
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RepositoryTrigger
impl Debug for RepositoryTrigger
sourceimpl PartialEq<RepositoryTrigger> for RepositoryTrigger
impl PartialEq<RepositoryTrigger> for RepositoryTrigger
sourcefn eq(&self, other: &RepositoryTrigger) -> bool
fn eq(&self, other: &RepositoryTrigger) -> bool
impl StructuralPartialEq for RepositoryTrigger
Auto Trait Implementations
impl RefUnwindSafe for RepositoryTrigger
impl Send for RepositoryTrigger
impl Sync for RepositoryTrigger
impl Unpin for RepositoryTrigger
impl UnwindSafe for RepositoryTrigger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more