You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodePipeline::Types::ListWebhookItem

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the webhook.

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2125

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn)
  include Aws::Structure
end

#definitionTypes::WebhookDefinition

The detail returned for each webhook, such as the webhook authentication type and filter rules.



2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2125

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn)
  include Aws::Structure
end

#error_codeString

The number code of the error.

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2125

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn)
  include Aws::Structure
end

#error_messageString

The text of the error message about the webhook.

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2125

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn)
  include Aws::Structure
end

#last_triggeredTime

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

Returns:

  • (Time)


2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2125

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn)
  include Aws::Structure
end

#urlString

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.

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2125

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn)
  include Aws::Structure
end