Sha256: cdbf7f537d4979a4daee770c08691840d59ebfabcbe36f878f4413424781b0b6

Contents?: true

Size: 1.45 KB

Versions: 56

Compression:

Stored size: 1.45 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/describe_stack_events'

        # Describe stack events
        #
        # ==== Parameters
        # * stack_name<~String>: stack name to return events for
        # * options<~Hash>:
        #   * NextToken<~String>: identifies the start of the next list of events, if there is one
        #
        # ==== Returns
        # * response<~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 Also
        # 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

56 entries across 56 versions & 14 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-nirvanix-1.8.1 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-parser-fix-1.6.1 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-test-again-1.6.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-parser-fix-1.6.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.10.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.9.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-sgonyea-1.8.1 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.8.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.7.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.6.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.5.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
fog-1.4.0 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
michiels-fog-1.3.1 lib/fog/aws/requests/cloud_formation/describe_stack_events.rb