Sha256: d940c9f1ececa3d209196e3ed4baa05a7c7187998a67af7252a75c38442c8a1d

Contents?: true

Size: 1.53 KB

Versions: 56

Compression:

Stored size: 1.53 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

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

        # Describe stack resources
        #
        # ==== Parameters
        # * 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
        #
        # ==== Returns
        # * response<~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 Also
        # 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

56 entries across 56 versions & 14 rubygems

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