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)


2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

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

#definitionTypes::WebhookDefinition

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



2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

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

#error_codeString

The number code of the error.

Returns:

  • (String)


2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

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

#error_messageString

The text of the error message about the webhook.

Returns:

  • (String)


2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

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

#last_triggeredTime

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

Returns:

  • (Time)


2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

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

#tagsArray<Types::Tag>

Specifies the tags applied to the webhook.

Returns:



2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

class ListWebhookItem < Struct.new(
  :definition,
  :url,
  :error_message,
  :error_code,
  :last_triggered,
  :arn,
  :tags)
  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)


2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2266

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