1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/aws/parsers/beanstalk/describe_environment_resources.rb
George Scott 5d3785ba70 [aws|beanstalk] Update parser for DescribeEnvironmentResources
Updated parser to handle both new and "legacy" beanstalk stacks.
Updated Environment#load_balancer to return correct result for both
stack types.
2013-03-27 12:09:05 -07:00

37 lines
1.2 KiB
Ruby

module Fog
module Parsers
module AWS
module ElasticBeanstalk
require 'fog/aws/parsers/beanstalk/parser'
class DescribeEnvironmentResources < Fog::Parsers::AWS::ElasticBeanstalk::BaseParser
def initialize
super("DescribeEnvironmentResourcesResult")
tag 'EnvironmentResources', :object
tag 'AutoScalingGroups', :object, :list
tag 'Name', :string
tag 'EnvironmentName', :string
tag 'Instances', :object, :list
tag 'Id', :string
tag 'LaunchConfigurations', :object, :list
tag 'LoadBalancers', :object, :list
tag 'Resources', :object, :list
tag 'Description', :string
tag 'LogicalResourceId', :string
tag 'PhysicalResourceId', :string
tag 'Type', :string
tag 'Properties', :object, :list
tag 'RuntimeSources', :object, :list
tag 'Parameter', :string
tag 'Versions', :object, :list
tag 'ApplicationName', :string
tag 'VersionLabel', :string
tag 'Triggers', :object, :list
end
end
end
end
end
end