AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListWebhookItem

import "github.com/aws/aws-sdk-go/service/codepipeline"

type ListWebhookItem struct { Arn *string `locationName:"arn" type:"string"` Definition *WebhookDefinition `locationName:"definition" type:"structure" required:"true"` ErrorCode *string `locationName:"errorCode" type:"string"` ErrorMessage *string `locationName:"errorMessage" type:"string"` LastTriggered *time.Time `locationName:"lastTriggered" type:"timestamp"` Url *string `locationName:"url" min:"1" type:"string" required:"true"` }

The detail returned for each webhook after listing webhooks, such as the webhook URL, the webhook name, and the webhook ARN.

Arn

Type: *string

The Amazon Resource Name (ARN) of the webhook.

Definition

Represents information about a webhook and its definition.

ErrorCode

Type: *string

The number code of the error.

ErrorMessage

Type: *string

The text of the error message about the webhook.

LastTriggered

Type: *time.Time

The date and time a webhook was last successfully triggered, in timestamp format.

Url

Type: *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 will make the old URL invalid and generate a new URL.

Url is a required field

Method

GoString

func (s ListWebhookItem) GoString() string

GoString returns the string representation

SetArn

func (s *ListWebhookItem) SetArn(v string) *ListWebhookItem

SetArn sets the Arn field's value.

SetDefinition

func (s *ListWebhookItem) SetDefinition(v *WebhookDefinition) *ListWebhookItem

SetDefinition sets the Definition field's value.

SetErrorCode

func (s *ListWebhookItem) SetErrorCode(v string) *ListWebhookItem

SetErrorCode sets the ErrorCode field's value.

SetErrorMessage

func (s *ListWebhookItem) SetErrorMessage(v string) *ListWebhookItem

SetErrorMessage sets the ErrorMessage field's value.

SetLastTriggered

func (s *ListWebhookItem) SetLastTriggered(v time.Time) *ListWebhookItem

SetLastTriggered sets the LastTriggered field's value.

SetUrl

func (s *ListWebhookItem) SetUrl(v string) *ListWebhookItem

SetUrl sets the Url field's value.

String

func (s ListWebhookItem) String() string

String returns the string representation

On this page: