# File lib/fog/compute/requests/aws/modify_snapshot_attribute.rb, line 19 def modify_snapshot_attribute(snapshot_id, attribute, operation_type, options = {}) params = {} params.merge!(Fog::AWS.indexed_param('UserId', options['UserId'])) params.merge!(Fog::AWS.indexed_param('UserGroup', options['UserGroup'])) request({ 'Action' => 'ModifySnapshotAttribute', 'Attribute' => attribute, 'SnapshotId' => snapshot_id, 'OperationType' => operation_type, :idempotent => true, :parser => Fog::Parsers::Compute::AWS::Basic.new }.merge!(params)) end