Struct aws_sdk_codepipeline::model::ListWebhookItem
source · [−]#[non_exhaustive]pub struct ListWebhookItem {
pub definition: Option<WebhookDefinition>,
pub url: Option<String>,
pub error_message: Option<String>,
pub error_code: Option<String>,
pub last_triggered: Option<DateTime>,
pub arn: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
The detail returned for each webhook after listing webhooks, such as the webhook URL, the webhook name, and the webhook ARN.
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.definition: Option<WebhookDefinition>
The detail returned for each webhook, such as the webhook authentication type and filter rules.
url: Option<String>
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.
error_message: Option<String>
The text of the error message about the webhook.
error_code: Option<String>
The number code of the error.
last_triggered: Option<DateTime>
The date and time a webhook was last successfully triggered, in timestamp format.
arn: Option<String>
The Amazon Resource Name (ARN) of the webhook.
Specifies the tags applied to the webhook.
Implementations
sourceimpl ListWebhookItem
impl ListWebhookItem
sourcepub fn definition(&self) -> Option<&WebhookDefinition>
pub fn definition(&self) -> Option<&WebhookDefinition>
The detail returned for each webhook, such as the webhook authentication type and filter rules.
sourcepub fn url(&self) -> Option<&str>
pub fn url(&self) -> Option<&str>
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The text of the error message about the webhook.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The number code of the error.
sourcepub fn last_triggered(&self) -> Option<&DateTime>
pub fn last_triggered(&self) -> Option<&DateTime>
The date and time a webhook was last successfully triggered, in timestamp format.
Specifies the tags applied to the webhook.
sourceimpl ListWebhookItem
impl ListWebhookItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListWebhookItem
.
Trait Implementations
sourceimpl Clone for ListWebhookItem
impl Clone for ListWebhookItem
sourcefn clone(&self) -> ListWebhookItem
fn clone(&self) -> ListWebhookItem
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 more
sourceimpl Debug for ListWebhookItem
impl Debug for ListWebhookItem
sourceimpl PartialEq<ListWebhookItem> for ListWebhookItem
impl PartialEq<ListWebhookItem> for ListWebhookItem
sourcefn eq(&self, other: &ListWebhookItem) -> bool
fn eq(&self, other: &ListWebhookItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListWebhookItem) -> bool
fn ne(&self, other: &ListWebhookItem) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListWebhookItem
Auto Trait Implementations
impl RefUnwindSafe for ListWebhookItem
impl Send for ListWebhookItem
impl Sync for ListWebhookItem
impl Unpin for ListWebhookItem
impl UnwindSafe for ListWebhookItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more