def get_attributes(domain_name, item_name, options = {})
if options.is_a?(Array)
Fog::Logger.deprecation("get_attributes with array attributes param is deprecated, use 'AttributeName' => attributes) instead [light_black](#{caller.first})[/]")
options = {'AttributeName' => options}
end
options['AttributeName'] ||= []
request({
'Action' => 'GetAttributes',
'ConsistentRead' => !!options['ConsistentRead'],
'DomainName' => domain_name,
'ItemName' => item_name,
:idempotent => true,
:parser => Fog::Parsers::AWS::SimpleDB::GetAttributes.new(@nil_string)
}.merge!(encode_attribute_names(options['AttributeName'])))
end