def modify_image_attributes(image_id, attribute, operation_type, options = {})
params = {}
params.merge!(Fog::AWS.indexed_param('UserId', options['UserId']))
params.merge!(Fog::AWS.indexed_param('UserGroup', options['UserGroup']))
params.merge!(Fog::AWS.indexed_param('ProductCode', options['ProductCode']))
request({
'Action' => 'ModifyImageAttribute',
'Attribute' => attribute,
'ImageId' => image_id,
'OperationType' => operation_type,
:idempotent => true,
:parser => Fog::Parsers::Compute::AWS::Basic.new
}.merge!(params))
end