Sha256: 9eda705026aa6b5b1bcfc579c652335f2ce4cac1bf395b72e1e8b5758bc9ab50

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/list_stack_resources'

        # List stack resources.
        #
        # @param options [Hash]
        # @option options StackName [String] Name of the stack to describe.
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * StackResourceSummaries [Array] - Matching stacks
        #       * resources [Hash]:
        #         * ResourceStatus [String] -
        #         * LogicalResourceId [String] -
        #         * PhysicalResourceId [String] -
        #         * ResourceType [String] -
        #         * LastUpdatedTimestamp [Time] -
        #
        #
        # @see http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStacks.html

        def list_stack_resources(options = {})
          request({
            'Action'    => 'ListStackResources',
            :parser     => Fog::Parsers::AWS::CloudFormation::ListStackResources.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/cloud_formation/list_stack_resources.rb
fog-1.21.0 lib/fog/aws/requests/cloud_formation/list_stack_resources.rb