# File lib/fog/aws/models/auto_scaling/configurations.rb, line 15 def all data = [] next_token = nil loop do result = service.describe_launch_configurations('NextToken' => next_token).body['DescribeLaunchConfigurationsResult'] data += result['LaunchConfigurations'] next_token = result['NextToken'] break if next_token.nil? end load(data) end
# File lib/fog/aws/models/auto_scaling/configurations.rb, line 27 def get(identity) data = service.describe_launch_configurations('LaunchConfigurationNames' => identity).body['DescribeLaunchConfigurationsResult']['LaunchConfigurations'].first new(data) unless data.nil? end
Generated with the Darkfish Rdoc Generator 2.