Sha256: 74c7d278bcdf410e0d3e62606d6d94d6162210bf98a6f5134b234009e8e9f4d9

Contents?: true

Size: 1.37 KB

Versions: 98

Compression:

Stored size: 1.37 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real
        require 'fog/aws/parsers/cloud_formation/describe_stack_events'

        # Describe stack events.
        #
        # @param stack_name [String] stack name to return events for.
        # @param options [Hash]
        # @option options NextToken [String] Identifies the start of the next list of events, if there is one.
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * StackEvents [Array] - Matching resources
        #       * event [Hash]:
        #         * EventId [String] -
        #         * StackId [String] -
        #         * StackName [String] -
        #         * LogicalResourceId [String] -
        #         * PhysicalResourceId [String] -
        #         * ResourceType [String] -
        #         * Timestamp [Time] -
        #         * ResourceStatus [String] -
        #         * ResourceStatusReason [String] -
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DescribeStackEvents.html

        def describe_stack_events(stack_name, options = {})
          request({
            'Action'    => 'DescribeStackEvents',
            'StackName' => stack_name,
            :parser     => Fog::Parsers::AWS::CloudFormation::DescribeStackEvents.new
          }.merge!(options))
        end
      end
    end
  end
end

Version data entries

98 entries across 96 versions & 6 rubygems

Version Path
fog-aws-3.30.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.29.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.28.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.27.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.26.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.25.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.24.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.23.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.22.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.21.1 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.21.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.20.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.19.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.18.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.17.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.16.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.15.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.14.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.13.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-aws-3.12.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb