Sha256: 95360dfc9e6fc8219074dd1397a949824ea5ee92631575ceef80954f18fbfdbc

Contents?: true

Size: 1.44 KB

Versions: 58

Compression:

Stored size: 1.44 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/describe_stack_resources'

        # Describe stack resources.
        #
        # @param options Hash]:
        #   * PhysicalResourceId [String] name or unique identifier that corresponds to a physical instance ID
        #   or (one of PhysicalResourceId and StackName is required)
        #   * StackName [String] Only return events related to this stack name
        #   * LogicalResourceId [String] Logical name of the resource as specified in the template
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * StackResources [Array] - Matching resources
        #       * resource [Hash]:
        #         * StackId [String] -
        #         * StackName [String] -
        #         * LogicalResourceId [String] -
        #         * PhysicalResourceId [String] -
        #         * ResourceType [String] -
        #         * Timestamp [Time] -
        #         * ResourceStatus [String] -
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DescribeStackResources.html
        
        def describe_stack_resources(options = {})
          request({
            'Action'    => 'DescribeStackResources',
            :parser     => Fog::Parsers::AWS::CloudFormation::DescribeStackResources.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

58 entries across 58 versions & 6 rubygems

Version Path
fog-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-1.20.0 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-1.19.0 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb