Sha256: 79be45b031240ce310140b4480ed6b2f7b13510aaa23ab0a5848905f07ce5af7

Contents?: true

Size: 1.43 KB

Versions: 98

Compression:

Stored size: 1.43 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

98 entries across 96 versions & 6 rubygems

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