    # File lib/fog/aws/models/beanstalk/templates.rb, line 15
            def all(options={})
              application_filter = []
              if options.has_key?('ApplicationName')
                application_filter << options['ApplicationName']
              end

              # Initialize with empty array
              data = []

              applications = service.describe_applications(application_filter).body['DescribeApplicationsResult']['Applications']
              applications.each { |application|
                application['ConfigurationTemplates'].each { |template_name|
                  begin
                    options = {
                        'ApplicationName' => application['ApplicationName'],
                        'TemplateName' => template_name
                    }
                    settings = service.describe_configuration_settings(options).body['DescribeConfigurationSettingsResult']['ConfigurationSettings']
                    if settings.length == 1
                      # Add to data
                      data << settings.first
                    end
                  rescue Fog::AWS::ElasticBeanstalk::InvalidParameterError
                    # Ignore
                  end

                }
              }

              load(data) # data is an array of attribute hashes
            end